Package io.dapr.v1
Class DaprProtos.ExecuteStateTransactionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
io.dapr.v1.DaprProtos.ExecuteStateTransactionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.ExecuteStateTransactionRequestOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.ExecuteStateTransactionRequest
public static final class DaprProtos.ExecuteStateTransactionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
implements DaprProtos.ExecuteStateTransactionRequestOrBuilder
ExecuteStateTransactionRequest is the message to execute multiple operations on a specified store.Protobuf type
dapr.proto.runtime.v1.ExecuteStateTransactionRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddAllOperations
(Iterable<? extends DaprProtos.TransactionalStateOperation> values) Required.addOperations
(int index, DaprProtos.TransactionalStateOperation value) Required.addOperations
(int index, DaprProtos.TransactionalStateOperation.Builder builderForValue) Required.Required.addOperations
(DaprProtos.TransactionalStateOperation.Builder builderForValue) Required.Required.addOperationsBuilder
(int index) Required.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Required.Required.clone()
boolean
containsMetadata
(String key) The metadata used for transactional operations.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.int
The metadata used for transactional operations.The metadata used for transactional operations.getMetadataOrDefault
(String key, String defaultValue) The metadata used for transactional operations.getMetadataOrThrow
(String key) The metadata used for transactional operations.Deprecated.getOperations
(int index) Required.getOperationsBuilder
(int index) Required.Required.int
Required.Required.getOperationsOrBuilder
(int index) Required.Required.Required.com.google.protobuf.ByteString
Required.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllMetadata
(Map<String, String> values) The metadata used for transactional operations.putMetadata
(String key, String value) The metadata used for transactional operations.removeMetadata
(String key) The metadata used for transactional operations.removeOperations
(int index) Required.setOperations
(int index, DaprProtos.TransactionalStateOperation value) Required.setOperations
(int index, DaprProtos.TransactionalStateOperation.Builder builderForValue) Required.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStoreName
(String value) Required.setStoreNameBytes
(com.google.protobuf.ByteString value) Required.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapFieldReflection, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
setField
public DaprProtos.ExecuteStateTransactionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
clearField
public DaprProtos.ExecuteStateTransactionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
clearOneof
public DaprProtos.ExecuteStateTransactionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
setRepeatedField
public DaprProtos.ExecuteStateTransactionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
addRepeatedField
public DaprProtos.ExecuteStateTransactionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
mergeFrom
public DaprProtos.ExecuteStateTransactionRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
mergeFrom
public DaprProtos.ExecuteStateTransactionRequest.Builder mergeFrom(DaprProtos.ExecuteStateTransactionRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
mergeFrom
public DaprProtos.ExecuteStateTransactionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
- Throws:
IOException
-
getStoreName
Required. name of state store.
string storeName = 1;
- Specified by:
getStoreName
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
- Returns:
- The storeName.
-
getStoreNameBytes
public com.google.protobuf.ByteString getStoreNameBytes()Required. name of state store.
string storeName = 1;
- Specified by:
getStoreNameBytes
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
- Returns:
- The bytes for storeName.
-
setStoreName
Required. name of state store.
string storeName = 1;
- Parameters:
value
- The storeName to set.- Returns:
- This builder for chaining.
-
clearStoreName
Required. name of state store.
string storeName = 1;
- Returns:
- This builder for chaining.
-
setStoreNameBytes
public DaprProtos.ExecuteStateTransactionRequest.Builder setStoreNameBytes(com.google.protobuf.ByteString value) Required. name of state store.
string storeName = 1;
- Parameters:
value
- The bytes for storeName to set.- Returns:
- This builder for chaining.
-
getOperationsList
Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
- Specified by:
getOperationsList
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
getOperationsCount
public int getOperationsCount()Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
- Specified by:
getOperationsCount
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
getOperations
Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
- Specified by:
getOperations
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
setOperations
public DaprProtos.ExecuteStateTransactionRequest.Builder setOperations(int index, DaprProtos.TransactionalStateOperation value) Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
setOperations
public DaprProtos.ExecuteStateTransactionRequest.Builder setOperations(int index, DaprProtos.TransactionalStateOperation.Builder builderForValue) Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
addOperations
public DaprProtos.ExecuteStateTransactionRequest.Builder addOperations(DaprProtos.TransactionalStateOperation value) Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
addOperations
public DaprProtos.ExecuteStateTransactionRequest.Builder addOperations(int index, DaprProtos.TransactionalStateOperation value) Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
addOperations
public DaprProtos.ExecuteStateTransactionRequest.Builder addOperations(DaprProtos.TransactionalStateOperation.Builder builderForValue) Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
addOperations
public DaprProtos.ExecuteStateTransactionRequest.Builder addOperations(int index, DaprProtos.TransactionalStateOperation.Builder builderForValue) Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
addAllOperations
public DaprProtos.ExecuteStateTransactionRequest.Builder addAllOperations(Iterable<? extends DaprProtos.TransactionalStateOperation> values) Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
clearOperations
Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
removeOperations
Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
getOperationsBuilder
Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
getOperationsOrBuilder
Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
- Specified by:
getOperationsOrBuilder
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
getOperationsOrBuilderList
Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
- Specified by:
getOperationsOrBuilderList
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
addOperationsBuilder
Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
addOperationsBuilder
Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
getOperationsBuilderList
Required. transactional operation list.
repeated .dapr.proto.runtime.v1.TransactionalStateOperation operations = 2;
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DaprProtos.ExecuteStateTransactionRequestOrBuilder
The metadata used for transactional operations.
map<string, string> metadata = 3;
- Specified by:
getMetadataCount
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
containsMetadata
The metadata used for transactional operations.
map<string, string> metadata = 3;
- Specified by:
containsMetadata
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
getMetadataMap
The metadata used for transactional operations.
map<string, string> metadata = 3;
- Specified by:
getMetadataMap
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
getMetadataOrDefault
The metadata used for transactional operations.
map<string, string> metadata = 3;
- Specified by:
getMetadataOrDefault
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
getMetadataOrThrow
The metadata used for transactional operations.
map<string, string> metadata = 3;
- Specified by:
getMetadataOrThrow
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
clearMetadata
-
removeMetadata
The metadata used for transactional operations.
map<string, string> metadata = 3;
-
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
The metadata used for transactional operations.
map<string, string> metadata = 3;
-
putAllMetadata
The metadata used for transactional operations.
map<string, string> metadata = 3;
-
setUnknownFields
public final DaprProtos.ExecuteStateTransactionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-
mergeUnknownFields
public final DaprProtos.ExecuteStateTransactionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ExecuteStateTransactionRequest.Builder>
-