Package io.dapr.v1
Class DaprProtos.TransactionalStateOperation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.TransactionalStateOperation.Builder>
io.dapr.v1.DaprProtos.TransactionalStateOperation.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.TransactionalStateOperationOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.TransactionalStateOperation
public static final class DaprProtos.TransactionalStateOperation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.TransactionalStateOperation.Builder>
implements DaprProtos.TransactionalStateOperationOrBuilder
TransactionalStateOperation is the message to execute a specified operation with a key-value pair.Protobuf type
dapr.proto.runtime.v1.TransactionalStateOperation
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The type of operation to be executedState values to be operated onclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The type of operation to be executedcom.google.protobuf.ByteString
The type of operation to be executedState values to be operated onState values to be operated onState values to be operated onboolean
State values to be operated onprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) State values to be operated onmergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setOperationType
(String value) The type of operation to be executedsetOperationTypeBytes
(com.google.protobuf.ByteString value) The type of operation to be executedsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequest
(CommonProtos.StateItem value) State values to be operated onsetRequest
(CommonProtos.StateItem.Builder builderForValue) State values to be operated onsetUnknownFields
(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, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.TransactionalStateOperation.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.TransactionalStateOperation.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.TransactionalStateOperation.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.TransactionalStateOperation.Builder>
-
setField
public DaprProtos.TransactionalStateOperation.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.TransactionalStateOperation.Builder>
-
clearField
public DaprProtos.TransactionalStateOperation.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.TransactionalStateOperation.Builder>
-
clearOneof
public DaprProtos.TransactionalStateOperation.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.TransactionalStateOperation.Builder>
-
setRepeatedField
public DaprProtos.TransactionalStateOperation.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.TransactionalStateOperation.Builder>
-
addRepeatedField
public DaprProtos.TransactionalStateOperation.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.TransactionalStateOperation.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.TransactionalStateOperation.Builder>
-
mergeFrom
public DaprProtos.TransactionalStateOperation.Builder mergeFrom(DaprProtos.TransactionalStateOperation other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.TransactionalStateOperation.Builder>
-
mergeFrom
public DaprProtos.TransactionalStateOperation.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.TransactionalStateOperation.Builder>
- Throws:
IOException
-
getOperationType
The type of operation to be executed
string operationType = 1;
- Specified by:
getOperationType
in interfaceDaprProtos.TransactionalStateOperationOrBuilder
- Returns:
- The operationType.
-
getOperationTypeBytes
public com.google.protobuf.ByteString getOperationTypeBytes()The type of operation to be executed
string operationType = 1;
- Specified by:
getOperationTypeBytes
in interfaceDaprProtos.TransactionalStateOperationOrBuilder
- Returns:
- The bytes for operationType.
-
setOperationType
The type of operation to be executed
string operationType = 1;
- Parameters:
value
- The operationType to set.- Returns:
- This builder for chaining.
-
clearOperationType
The type of operation to be executed
string operationType = 1;
- Returns:
- This builder for chaining.
-
setOperationTypeBytes
public DaprProtos.TransactionalStateOperation.Builder setOperationTypeBytes(com.google.protobuf.ByteString value) The type of operation to be executed
string operationType = 1;
- Parameters:
value
- The bytes for operationType to set.- Returns:
- This builder for chaining.
-
hasRequest
public boolean hasRequest()State values to be operated on
.dapr.proto.common.v1.StateItem request = 2;
- Specified by:
hasRequest
in interfaceDaprProtos.TransactionalStateOperationOrBuilder
- Returns:
- Whether the request field is set.
-
getRequest
State values to be operated on
.dapr.proto.common.v1.StateItem request = 2;
- Specified by:
getRequest
in interfaceDaprProtos.TransactionalStateOperationOrBuilder
- Returns:
- The request.
-
setRequest
State values to be operated on
.dapr.proto.common.v1.StateItem request = 2;
-
setRequest
public DaprProtos.TransactionalStateOperation.Builder setRequest(CommonProtos.StateItem.Builder builderForValue) State values to be operated on
.dapr.proto.common.v1.StateItem request = 2;
-
mergeRequest
State values to be operated on
.dapr.proto.common.v1.StateItem request = 2;
-
clearRequest
State values to be operated on
.dapr.proto.common.v1.StateItem request = 2;
-
getRequestBuilder
State values to be operated on
.dapr.proto.common.v1.StateItem request = 2;
-
getRequestOrBuilder
State values to be operated on
.dapr.proto.common.v1.StateItem request = 2;
- Specified by:
getRequestOrBuilder
in interfaceDaprProtos.TransactionalStateOperationOrBuilder
-
setUnknownFields
public final DaprProtos.TransactionalStateOperation.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.TransactionalStateOperation.Builder>
-
mergeUnknownFields
public final DaprProtos.TransactionalStateOperation.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.TransactionalStateOperation.Builder>
-