Package io.temporal.api.batch.v1
Class BatchOperationReset.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
- io.temporal.api.batch.v1.BatchOperationReset.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BatchOperationResetOrBuilder,java.lang.Cloneable
- Enclosing class:
- BatchOperationReset
public static final class BatchOperationReset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder> implements BatchOperationResetOrBuilder
BatchOperationReset sends reset requests to batch workflows. Keep the parameter in sync with temporal.api.workflowservice.v1.ResetWorkflowExecutionRequest.
Protobuf typetemporal.api.batch.v1.BatchOperationReset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchOperationReset.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BatchOperationResetbuild()BatchOperationResetbuildPartial()BatchOperationReset.Builderclear()BatchOperationReset.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchOperationReset.BuilderclearIdentity()The identity of the worker/client.BatchOperationReset.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchOperationReset.BuilderclearResetReapplyType()History event reapply options.BatchOperationReset.BuilderclearResetType()Reset type.BatchOperationReset.Builderclone()BatchOperationResetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetIdentity()The identity of the worker/client.com.google.protobuf.ByteStringgetIdentityBytes()The identity of the worker/client.ResetReapplyTypegetResetReapplyType()History event reapply options.intgetResetReapplyTypeValue()History event reapply options.ResetTypegetResetType()Reset type.intgetResetTypeValue()Reset type.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchOperationReset.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchOperationReset.BuildermergeFrom(com.google.protobuf.Message other)BatchOperationReset.BuildermergeFrom(BatchOperationReset other)BatchOperationReset.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchOperationReset.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BatchOperationReset.BuildersetIdentity(java.lang.String value)The identity of the worker/client.BatchOperationReset.BuildersetIdentityBytes(com.google.protobuf.ByteString value)The identity of the worker/client.BatchOperationReset.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)BatchOperationReset.BuildersetResetReapplyType(ResetReapplyType value)History event reapply options.BatchOperationReset.BuildersetResetReapplyTypeValue(int value)History event reapply options.BatchOperationReset.BuildersetResetType(ResetType value)Reset type.BatchOperationReset.BuildersetResetTypeValue(int value)Reset type.BatchOperationReset.BuildersetUnknownFields(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, internalGetMutableMapField, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
clear
public BatchOperationReset.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
getDefaultInstanceForType
public BatchOperationReset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchOperationReset build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchOperationReset buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchOperationReset.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
setField
public BatchOperationReset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
clearField
public BatchOperationReset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
clearOneof
public BatchOperationReset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
setRepeatedField
public BatchOperationReset.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
addRepeatedField
public BatchOperationReset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
mergeFrom
public BatchOperationReset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchOperationReset.Builder>
-
mergeFrom
public BatchOperationReset.Builder mergeFrom(BatchOperationReset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
mergeFrom
public BatchOperationReset.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchOperationReset.Builder>- Throws:
java.io.IOException
-
getResetTypeValue
public int getResetTypeValue()
Reset type.
.temporal.api.enums.v1.ResetType reset_type = 1;- Specified by:
getResetTypeValuein interfaceBatchOperationResetOrBuilder- Returns:
- The enum numeric value on the wire for resetType.
-
setResetTypeValue
public BatchOperationReset.Builder setResetTypeValue(int value)
Reset type.
.temporal.api.enums.v1.ResetType reset_type = 1;- Parameters:
value- The enum numeric value on the wire for resetType to set.- Returns:
- This builder for chaining.
-
getResetType
public ResetType getResetType()
Reset type.
.temporal.api.enums.v1.ResetType reset_type = 1;- Specified by:
getResetTypein interfaceBatchOperationResetOrBuilder- Returns:
- The resetType.
-
setResetType
public BatchOperationReset.Builder setResetType(ResetType value)
Reset type.
.temporal.api.enums.v1.ResetType reset_type = 1;- Parameters:
value- The resetType to set.- Returns:
- This builder for chaining.
-
clearResetType
public BatchOperationReset.Builder clearResetType()
Reset type.
.temporal.api.enums.v1.ResetType reset_type = 1;- Returns:
- This builder for chaining.
-
getResetReapplyTypeValue
public int getResetReapplyTypeValue()
History event reapply options.
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2;- Specified by:
getResetReapplyTypeValuein interfaceBatchOperationResetOrBuilder- Returns:
- The enum numeric value on the wire for resetReapplyType.
-
setResetReapplyTypeValue
public BatchOperationReset.Builder setResetReapplyTypeValue(int value)
History event reapply options.
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2;- Parameters:
value- The enum numeric value on the wire for resetReapplyType to set.- Returns:
- This builder for chaining.
-
getResetReapplyType
public ResetReapplyType getResetReapplyType()
History event reapply options.
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2;- Specified by:
getResetReapplyTypein interfaceBatchOperationResetOrBuilder- Returns:
- The resetReapplyType.
-
setResetReapplyType
public BatchOperationReset.Builder setResetReapplyType(ResetReapplyType value)
History event reapply options.
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2;- Parameters:
value- The resetReapplyType to set.- Returns:
- This builder for chaining.
-
clearResetReapplyType
public BatchOperationReset.Builder clearResetReapplyType()
History event reapply options.
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2;- Returns:
- This builder for chaining.
-
getIdentity
public java.lang.String getIdentity()
The identity of the worker/client.
string identity = 3;- Specified by:
getIdentityin interfaceBatchOperationResetOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client.
string identity = 3;- Specified by:
getIdentityBytesin interfaceBatchOperationResetOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
public BatchOperationReset.Builder setIdentity(java.lang.String value)
The identity of the worker/client.
string identity = 3;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
public BatchOperationReset.Builder clearIdentity()
The identity of the worker/client.
string identity = 3;- Returns:
- This builder for chaining.
-
setIdentityBytes
public BatchOperationReset.Builder setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the worker/client.
string identity = 3;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BatchOperationReset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
mergeUnknownFields
public final BatchOperationReset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
-