Package io.dapr.v1
Class DaprProtos.ExecuteStateTransactionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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
,java.lang.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
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, 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.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, java.lang.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, java.lang.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, java.lang.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 java.io.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:
java.io.IOException
-
getStoreName
public java.lang.String 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(java.lang.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
public java.util.List<? extends DaprProtos.TransactionalStateOperationOrBuilder> 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
public boolean containsMetadata(java.lang.String key)The metadata used for transactional operations.
map<string, string> metadata = 3;
- Specified by:
containsMetadata
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
getMetadata
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMetadata()Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
getMetadataMap
public java.util.Map<java.lang.String,java.lang.String> getMetadataMap()The metadata used for transactional operations.
map<string, string> metadata = 3;
- Specified by:
getMetadataMap
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
getMetadataOrDefault
public java.lang.String getMetadataOrDefault(java.lang.String key, java.lang.String defaultValue)The metadata used for transactional operations.
map<string, string> metadata = 3;
- Specified by:
getMetadataOrDefault
in interfaceDaprProtos.ExecuteStateTransactionRequestOrBuilder
-
getMetadataOrThrow
public java.lang.String getMetadataOrThrow(java.lang.String key)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 public java.util.Map<java.lang.String,java.lang.String> getMutableMetadata()Deprecated.Use alternate mutation accessors instead. -
putMetadata
public DaprProtos.ExecuteStateTransactionRequest.Builder putMetadata(java.lang.String key, java.lang.String value)The metadata used for transactional operations.
map<string, string> metadata = 3;
-
putAllMetadata
public DaprProtos.ExecuteStateTransactionRequest.Builder putAllMetadata(java.util.Map<java.lang.String,java.lang.String> values)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>
-