Package io.dapr.v1
Class DaprProtos.TransactionalActorStateOperation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.TransactionalActorStateOperation.Builder>
io.dapr.v1.DaprProtos.TransactionalActorStateOperation.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.TransactionalActorStateOperationOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.TransactionalActorStateOperation
public static final class DaprProtos.TransactionalActorStateOperation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.TransactionalActorStateOperation.Builder>
implements DaprProtos.TransactionalActorStateOperationOrBuilder
TransactionalActorStateOperation is the message to execute a specified operation with a key-value pair.Protobuf type
dapr.proto.runtime.v1.TransactionalActorStateOperation
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearKey()
string key = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) string operationType = 1;
.google.protobuf.Any value = 3;
clone()
boolean
containsMetadata
(String key) The metadata used for transactional operations.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getKey()
string key = 2;
com.google.protobuf.ByteString
string key = 2;
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.string operationType = 1;
com.google.protobuf.ByteString
string operationType = 1;
com.google.protobuf.Any
getValue()
.google.protobuf.Any value = 3;
com.google.protobuf.Any.Builder
.google.protobuf.Any value = 3;
com.google.protobuf.AnyOrBuilder
.google.protobuf.Any value = 3;
boolean
hasValue()
.google.protobuf.Any value = 3;
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) mergeValue
(com.google.protobuf.Any value) .google.protobuf.Any value = 3;
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.string key = 2;
setKeyBytes
(com.google.protobuf.ByteString value) string key = 2;
setOperationType
(String value) string operationType = 1;
setOperationTypeBytes
(com.google.protobuf.ByteString value) string operationType = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setValue
(com.google.protobuf.Any value) .google.protobuf.Any value = 3;
setValue
(com.google.protobuf.Any.Builder builderForValue) .google.protobuf.Any value = 3;
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.TransactionalActorStateOperation.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.TransactionalActorStateOperation.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.TransactionalActorStateOperation.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.TransactionalActorStateOperation.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.TransactionalActorStateOperation.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.TransactionalActorStateOperation.Builder>
-
setField
public DaprProtos.TransactionalActorStateOperation.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.TransactionalActorStateOperation.Builder>
-
clearField
public DaprProtos.TransactionalActorStateOperation.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.TransactionalActorStateOperation.Builder>
-
clearOneof
public DaprProtos.TransactionalActorStateOperation.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.TransactionalActorStateOperation.Builder>
-
setRepeatedField
public DaprProtos.TransactionalActorStateOperation.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.TransactionalActorStateOperation.Builder>
-
addRepeatedField
public DaprProtos.TransactionalActorStateOperation.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.TransactionalActorStateOperation.Builder>
-
mergeFrom
public DaprProtos.TransactionalActorStateOperation.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.TransactionalActorStateOperation.Builder>
-
mergeFrom
public DaprProtos.TransactionalActorStateOperation.Builder mergeFrom(DaprProtos.TransactionalActorStateOperation other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.TransactionalActorStateOperation.Builder>
-
mergeFrom
public DaprProtos.TransactionalActorStateOperation.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.TransactionalActorStateOperation.Builder>
- Throws:
IOException
-
getOperationType
string operationType = 1;
- Specified by:
getOperationType
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
- Returns:
- The operationType.
-
getOperationTypeBytes
public com.google.protobuf.ByteString getOperationTypeBytes()string operationType = 1;
- Specified by:
getOperationTypeBytes
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
- Returns:
- The bytes for operationType.
-
setOperationType
string operationType = 1;
- Parameters:
value
- The operationType to set.- Returns:
- This builder for chaining.
-
clearOperationType
string operationType = 1;
- Returns:
- This builder for chaining.
-
setOperationTypeBytes
public DaprProtos.TransactionalActorStateOperation.Builder setOperationTypeBytes(com.google.protobuf.ByteString value) string operationType = 1;
- Parameters:
value
- The bytes for operationType to set.- Returns:
- This builder for chaining.
-
getKey
string key = 2;
- Specified by:
getKey
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.ByteString getKeyBytes()string key = 2;
- Specified by:
getKeyBytes
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
- Returns:
- The bytes for key.
-
setKey
string key = 2;
- Parameters:
value
- The key to set.- Returns:
- This builder for chaining.
-
clearKey
string key = 2;
- Returns:
- This builder for chaining.
-
setKeyBytes
public DaprProtos.TransactionalActorStateOperation.Builder setKeyBytes(com.google.protobuf.ByteString value) string key = 2;
- Parameters:
value
- The bytes for key to set.- Returns:
- This builder for chaining.
-
hasValue
public boolean hasValue().google.protobuf.Any value = 3;
- Specified by:
hasValue
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
public com.google.protobuf.Any getValue().google.protobuf.Any value = 3;
- Specified by:
getValue
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
- Returns:
- The value.
-
setValue
.google.protobuf.Any value = 3;
-
setValue
public DaprProtos.TransactionalActorStateOperation.Builder setValue(com.google.protobuf.Any.Builder builderForValue) .google.protobuf.Any value = 3;
-
mergeValue
public DaprProtos.TransactionalActorStateOperation.Builder mergeValue(com.google.protobuf.Any value) .google.protobuf.Any value = 3;
-
clearValue
.google.protobuf.Any value = 3;
-
getValueBuilder
public com.google.protobuf.Any.Builder getValueBuilder().google.protobuf.Any value = 3;
-
getValueOrBuilder
public com.google.protobuf.AnyOrBuilder getValueOrBuilder().google.protobuf.Any value = 3;
- Specified by:
getValueOrBuilder
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DaprProtos.TransactionalActorStateOperationOrBuilder
The metadata used for transactional operations. Common metadata property: - ttlInSeconds : the time to live in seconds for the stored value.
map<string, string> metadata = 4;
- Specified by:
getMetadataCount
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
-
containsMetadata
The metadata used for transactional operations. Common metadata property: - ttlInSeconds : the time to live in seconds for the stored value.
map<string, string> metadata = 4;
- Specified by:
containsMetadata
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
-
getMetadataMap
The metadata used for transactional operations. Common metadata property: - ttlInSeconds : the time to live in seconds for the stored value.
map<string, string> metadata = 4;
- Specified by:
getMetadataMap
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
-
getMetadataOrDefault
The metadata used for transactional operations. Common metadata property: - ttlInSeconds : the time to live in seconds for the stored value.
map<string, string> metadata = 4;
- Specified by:
getMetadataOrDefault
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
-
getMetadataOrThrow
The metadata used for transactional operations. Common metadata property: - ttlInSeconds : the time to live in seconds for the stored value.
map<string, string> metadata = 4;
- Specified by:
getMetadataOrThrow
in interfaceDaprProtos.TransactionalActorStateOperationOrBuilder
-
clearMetadata
-
removeMetadata
The metadata used for transactional operations. Common metadata property: - ttlInSeconds : the time to live in seconds for the stored value.
map<string, string> metadata = 4;
-
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
The metadata used for transactional operations. Common metadata property: - ttlInSeconds : the time to live in seconds for the stored value.
map<string, string> metadata = 4;
-
putAllMetadata
public DaprProtos.TransactionalActorStateOperation.Builder putAllMetadata(Map<String, String> values) The metadata used for transactional operations. Common metadata property: - ttlInSeconds : the time to live in seconds for the stored value.
map<string, string> metadata = 4;
-
setUnknownFields
public final DaprProtos.TransactionalActorStateOperation.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.TransactionalActorStateOperation.Builder>
-
mergeUnknownFields
public final DaprProtos.TransactionalActorStateOperation.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.TransactionalActorStateOperation.Builder>
-