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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BatchOperationReset
build()
BatchOperationReset
buildPartial()
BatchOperationReset.Builder
clear()
BatchOperationReset.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
BatchOperationReset.Builder
clearIdentity()
The identity of the worker/client.BatchOperationReset.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
BatchOperationReset.Builder
clearResetReapplyType()
History event reapply options.BatchOperationReset.Builder
clearResetType()
Reset type.BatchOperationReset.Builder
clone()
BatchOperationReset
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getIdentity()
The identity of the worker/client.com.google.protobuf.ByteString
getIdentityBytes()
The identity of the worker/client.ResetReapplyType
getResetReapplyType()
History event reapply options.int
getResetReapplyTypeValue()
History event reapply options.ResetType
getResetType()
Reset type.int
getResetTypeValue()
Reset type.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
BatchOperationReset.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
BatchOperationReset.Builder
mergeFrom(com.google.protobuf.Message other)
BatchOperationReset.Builder
mergeFrom(BatchOperationReset other)
BatchOperationReset.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
BatchOperationReset.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
BatchOperationReset.Builder
setIdentity(java.lang.String value)
The identity of the worker/client.BatchOperationReset.Builder
setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the worker/client.BatchOperationReset.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
BatchOperationReset.Builder
setResetReapplyType(ResetReapplyType value)
History event reapply options.BatchOperationReset.Builder
setResetReapplyTypeValue(int value)
History event reapply options.BatchOperationReset.Builder
setResetType(ResetType value)
Reset type.BatchOperationReset.Builder
setResetTypeValue(int value)
Reset type.BatchOperationReset.Builder
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, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
clear
public BatchOperationReset.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<BatchOperationReset.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<BatchOperationReset.Builder>
-
getDefaultInstanceForType
public BatchOperationReset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchOperationReset build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchOperationReset buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchOperationReset.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<BatchOperationReset.Builder>
-
setField
public BatchOperationReset.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<BatchOperationReset.Builder>
-
clearField
public BatchOperationReset.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<BatchOperationReset.Builder>
-
clearOneof
public BatchOperationReset.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<BatchOperationReset.Builder>
-
setRepeatedField
public BatchOperationReset.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<BatchOperationReset.Builder>
-
addRepeatedField
public BatchOperationReset.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<BatchOperationReset.Builder>
-
mergeFrom
public BatchOperationReset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BatchOperationReset.Builder>
-
mergeFrom
public BatchOperationReset.Builder mergeFrom(BatchOperationReset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getResetTypeValue
in 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:
getResetType
in 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:
getResetReapplyTypeValue
in 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:
getResetReapplyType
in 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:
getIdentity
in interfaceBatchOperationResetOrBuilder
- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client.
string identity = 3;
- Specified by:
getIdentityBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
mergeUnknownFields
public final BatchOperationReset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationReset.Builder>
-
-