Class BatchOperationReset.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BatchOperationReset.Builder>
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,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 type
temporal.api.batch.v1.BatchOperationReset-
Method Summary
Modifier and TypeMethodDescriptionaddAllPostResetOperations(Iterable<? extends PostResetOperation> values) Operations to perform after the workflow has been reset.addPostResetOperations(int index, PostResetOperation value) Operations to perform after the workflow has been reset.addPostResetOperations(int index, PostResetOperation.Builder builderForValue) Operations to perform after the workflow has been reset.Operations to perform after the workflow has been reset.addPostResetOperations(PostResetOperation.Builder builderForValue) Operations to perform after the workflow has been reset.Operations to perform after the workflow has been reset.addPostResetOperationsBuilder(int index) Operations to perform after the workflow has been reset.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The identity of the worker/client.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Describes what to reset to and how.Operations to perform after the workflow has been reset.Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_reapply_type is deprecated.Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_type is deprecated.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe identity of the worker/client.com.google.protobuf.ByteStringThe identity of the worker/client.Describes what to reset to and how.Describes what to reset to and how.Describes what to reset to and how.getPostResetOperations(int index) Operations to perform after the workflow has been reset.getPostResetOperationsBuilder(int index) Operations to perform after the workflow has been reset.Operations to perform after the workflow has been reset.intOperations to perform after the workflow has been reset.Operations to perform after the workflow has been reset.getPostResetOperationsOrBuilder(int index) Operations to perform after the workflow has been reset.List<? extends PostResetOperationOrBuilder> Operations to perform after the workflow has been reset.Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_reapply_type is deprecated.intDeprecated.temporal.api.batch.v1.BatchOperationReset.reset_reapply_type is deprecated.Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_type is deprecated.intDeprecated.temporal.api.batch.v1.BatchOperationReset.reset_type is deprecated.booleanDescribes what to reset to and how.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(BatchOperationReset other) mergeOptions(ResetOptions value) Describes what to reset to and how.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removePostResetOperations(int index) Operations to perform after the workflow has been reset.setIdentity(String value) The identity of the worker/client.setIdentityBytes(com.google.protobuf.ByteString value) The identity of the worker/client.setOptions(ResetOptions value) Describes what to reset to and how.setOptions(ResetOptions.Builder builderForValue) Describes what to reset to and how.setPostResetOperations(int index, PostResetOperation value) Operations to perform after the workflow has been reset.setPostResetOperations(int index, PostResetOperation.Builder builderForValue) Operations to perform after the workflow has been reset.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_reapply_type is deprecated.setResetReapplyTypeValue(int value) Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_reapply_type is deprecated.setResetType(ResetType value) Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_type is deprecated.setResetTypeValue(int value) Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_type is deprecated.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, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchOperationReset.Builder>
-
mergeFrom
-
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 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:
IOException
-
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
The identity of the worker/client.
string identity = 3;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
The identity of the worker/client.
string identity = 3;- Returns:
- This builder for chaining.
-
setIdentityBytes
The identity of the worker/client.
string identity = 3;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
hasOptions
public boolean hasOptions()Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.
.temporal.api.common.v1.ResetOptions options = 4;- Specified by:
hasOptionsin interfaceBatchOperationResetOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.
.temporal.api.common.v1.ResetOptions options = 4;- Specified by:
getOptionsin interfaceBatchOperationResetOrBuilder- Returns:
- The options.
-
setOptions
Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.
.temporal.api.common.v1.ResetOptions options = 4; -
setOptions
Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.
.temporal.api.common.v1.ResetOptions options = 4; -
mergeOptions
Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.
.temporal.api.common.v1.ResetOptions options = 4; -
clearOptions
Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.
.temporal.api.common.v1.ResetOptions options = 4; -
getOptionsBuilder
Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.
.temporal.api.common.v1.ResetOptions options = 4; -
getOptionsOrBuilder
Describes what to reset to and how. If set, `reset_type` and `reset_reapply_type` are ignored.
.temporal.api.common.v1.ResetOptions options = 4;- Specified by:
getOptionsOrBuilderin interfaceBatchOperationResetOrBuilder
-
getResetTypeValue
Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_type is deprecated. See temporal/api/batch/v1/message.proto;l=108Deprecated. Use `options`.
.temporal.api.enums.v1.ResetType reset_type = 1 [deprecated = true];- Specified by:
getResetTypeValuein interfaceBatchOperationResetOrBuilder- Returns:
- The enum numeric value on the wire for resetType.
-
setResetTypeValue
Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_type is deprecated. See temporal/api/batch/v1/message.proto;l=108Deprecated. Use `options`.
.temporal.api.enums.v1.ResetType reset_type = 1 [deprecated = true];- Parameters:
value- The enum numeric value on the wire for resetType to set.- Returns:
- This builder for chaining.
-
getResetType
Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_type is deprecated. See temporal/api/batch/v1/message.proto;l=108Deprecated. Use `options`.
.temporal.api.enums.v1.ResetType reset_type = 1 [deprecated = true];- Specified by:
getResetTypein interfaceBatchOperationResetOrBuilder- Returns:
- The resetType.
-
setResetType
Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_type is deprecated. See temporal/api/batch/v1/message.proto;l=108Deprecated. Use `options`.
.temporal.api.enums.v1.ResetType reset_type = 1 [deprecated = true];- Parameters:
value- The resetType to set.- Returns:
- This builder for chaining.
-
clearResetType
Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_type is deprecated. See temporal/api/batch/v1/message.proto;l=108Deprecated. Use `options`.
.temporal.api.enums.v1.ResetType reset_type = 1 [deprecated = true];- Returns:
- This builder for chaining.
-
getResetReapplyTypeValue
Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_reapply_type is deprecated. See temporal/api/batch/v1/message.proto;l=110Deprecated. Use `options`.
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2 [deprecated = true];- Specified by:
getResetReapplyTypeValuein interfaceBatchOperationResetOrBuilder- Returns:
- The enum numeric value on the wire for resetReapplyType.
-
setResetReapplyTypeValue
Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_reapply_type is deprecated. See temporal/api/batch/v1/message.proto;l=110Deprecated. Use `options`.
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2 [deprecated = true];- Parameters:
value- The enum numeric value on the wire for resetReapplyType to set.- Returns:
- This builder for chaining.
-
getResetReapplyType
Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_reapply_type is deprecated. See temporal/api/batch/v1/message.proto;l=110Deprecated. Use `options`.
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2 [deprecated = true];- Specified by:
getResetReapplyTypein interfaceBatchOperationResetOrBuilder- Returns:
- The resetReapplyType.
-
setResetReapplyType
Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_reapply_type is deprecated. See temporal/api/batch/v1/message.proto;l=110Deprecated. Use `options`.
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2 [deprecated = true];- Parameters:
value- The resetReapplyType to set.- Returns:
- This builder for chaining.
-
clearResetReapplyType
Deprecated.temporal.api.batch.v1.BatchOperationReset.reset_reapply_type is deprecated. See temporal/api/batch/v1/message.proto;l=110Deprecated. Use `options`.
.temporal.api.enums.v1.ResetReapplyType reset_reapply_type = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
getPostResetOperationsList
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5;- Specified by:
getPostResetOperationsListin interfaceBatchOperationResetOrBuilder
-
getPostResetOperationsCount
public int getPostResetOperationsCount()Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5;- Specified by:
getPostResetOperationsCountin interfaceBatchOperationResetOrBuilder
-
getPostResetOperations
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5;- Specified by:
getPostResetOperationsin interfaceBatchOperationResetOrBuilder
-
setPostResetOperations
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
setPostResetOperations
public BatchOperationReset.Builder setPostResetOperations(int index, PostResetOperation.Builder builderForValue) Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
addPostResetOperations
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
addPostResetOperations
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
addPostResetOperations
public BatchOperationReset.Builder addPostResetOperations(PostResetOperation.Builder builderForValue) Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
addPostResetOperations
public BatchOperationReset.Builder addPostResetOperations(int index, PostResetOperation.Builder builderForValue) Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
addAllPostResetOperations
public BatchOperationReset.Builder addAllPostResetOperations(Iterable<? extends PostResetOperation> values) Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
clearPostResetOperations
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
removePostResetOperations
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
getPostResetOperationsBuilder
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
getPostResetOperationsOrBuilder
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5;- Specified by:
getPostResetOperationsOrBuilderin interfaceBatchOperationResetOrBuilder
-
getPostResetOperationsOrBuilderList
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5;- Specified by:
getPostResetOperationsOrBuilderListin interfaceBatchOperationResetOrBuilder
-
addPostResetOperationsBuilder
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
addPostResetOperationsBuilder
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
getPostResetOperationsBuilderList
Operations to perform after the workflow has been reset. These operations will be applied to the *new* run of the workflow execution in the order they are provided. All operations are applied to the workflow before the first new workflow task is generated
repeated .temporal.api.workflow.v1.PostResetOperation post_reset_operations = 5; -
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>
-