Package io.temporal.api.batch.v1
Class BatchOperationUpdateWorkflowExecutionOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
- io.temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BatchOperationUpdateWorkflowExecutionOptionsOrBuilder,java.lang.Cloneable
- Enclosing class:
- BatchOperationUpdateWorkflowExecutionOptions
public static final class BatchOperationUpdateWorkflowExecutionOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUpdateWorkflowExecutionOptions.Builder> implements BatchOperationUpdateWorkflowExecutionOptionsOrBuilder
BatchOperationUpdateWorkflowExecutionOptions sends UpdateWorkflowExecutionOptions requests to batch workflows. Keep the parameters in sync with temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest.
Protobuf typetemporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchOperationUpdateWorkflowExecutionOptions.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BatchOperationUpdateWorkflowExecutionOptionsbuild()BatchOperationUpdateWorkflowExecutionOptionsbuildPartial()BatchOperationUpdateWorkflowExecutionOptions.Builderclear()BatchOperationUpdateWorkflowExecutionOptions.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchOperationUpdateWorkflowExecutionOptions.BuilderclearIdentity()The identity of the worker/client.BatchOperationUpdateWorkflowExecutionOptions.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchOperationUpdateWorkflowExecutionOptions.BuilderclearUpdateMask()Controls which fields from `workflow_execution_options` will be applied.BatchOperationUpdateWorkflowExecutionOptions.BuilderclearWorkflowExecutionOptions()Workflow Execution options.BatchOperationUpdateWorkflowExecutionOptions.Builderclone()BatchOperationUpdateWorkflowExecutionOptionsgetDefaultInstanceForType()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.com.google.protobuf.FieldMaskgetUpdateMask()Controls which fields from `workflow_execution_options` will be applied.com.google.protobuf.FieldMask.BuildergetUpdateMaskBuilder()Controls which fields from `workflow_execution_options` will be applied.com.google.protobuf.FieldMaskOrBuildergetUpdateMaskOrBuilder()Controls which fields from `workflow_execution_options` will be applied.WorkflowExecutionOptionsgetWorkflowExecutionOptions()Workflow Execution options.WorkflowExecutionOptions.BuildergetWorkflowExecutionOptionsBuilder()Workflow Execution options.WorkflowExecutionOptionsOrBuildergetWorkflowExecutionOptionsOrBuilder()Workflow Execution options.booleanhasUpdateMask()Controls which fields from `workflow_execution_options` will be applied.booleanhasWorkflowExecutionOptions()Workflow Execution options.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchOperationUpdateWorkflowExecutionOptions.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchOperationUpdateWorkflowExecutionOptions.BuildermergeFrom(com.google.protobuf.Message other)BatchOperationUpdateWorkflowExecutionOptions.BuildermergeFrom(BatchOperationUpdateWorkflowExecutionOptions other)BatchOperationUpdateWorkflowExecutionOptions.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchOperationUpdateWorkflowExecutionOptions.BuildermergeUpdateMask(com.google.protobuf.FieldMask value)Controls which fields from `workflow_execution_options` will be applied.BatchOperationUpdateWorkflowExecutionOptions.BuildermergeWorkflowExecutionOptions(WorkflowExecutionOptions value)Workflow Execution options.BatchOperationUpdateWorkflowExecutionOptions.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BatchOperationUpdateWorkflowExecutionOptions.BuildersetIdentity(java.lang.String value)The identity of the worker/client.BatchOperationUpdateWorkflowExecutionOptions.BuildersetIdentityBytes(com.google.protobuf.ByteString value)The identity of the worker/client.BatchOperationUpdateWorkflowExecutionOptions.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)BatchOperationUpdateWorkflowExecutionOptions.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchOperationUpdateWorkflowExecutionOptions.BuildersetUpdateMask(com.google.protobuf.FieldMask value)Controls which fields from `workflow_execution_options` will be applied.BatchOperationUpdateWorkflowExecutionOptions.BuildersetUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)Controls which fields from `workflow_execution_options` will be applied.BatchOperationUpdateWorkflowExecutionOptions.BuildersetWorkflowExecutionOptions(WorkflowExecutionOptions value)Workflow Execution options.BatchOperationUpdateWorkflowExecutionOptions.BuildersetWorkflowExecutionOptions(WorkflowExecutionOptions.Builder builderForValue)Workflow Execution options.-
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<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
clear
public BatchOperationUpdateWorkflowExecutionOptions.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<BatchOperationUpdateWorkflowExecutionOptions.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<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
getDefaultInstanceForType
public BatchOperationUpdateWorkflowExecutionOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchOperationUpdateWorkflowExecutionOptions build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchOperationUpdateWorkflowExecutionOptions buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchOperationUpdateWorkflowExecutionOptions.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<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
setField
public BatchOperationUpdateWorkflowExecutionOptions.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<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
clearField
public BatchOperationUpdateWorkflowExecutionOptions.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
clearOneof
public BatchOperationUpdateWorkflowExecutionOptions.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
setRepeatedField
public BatchOperationUpdateWorkflowExecutionOptions.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<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
addRepeatedField
public BatchOperationUpdateWorkflowExecutionOptions.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<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
mergeFrom
public BatchOperationUpdateWorkflowExecutionOptions.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
mergeFrom
public BatchOperationUpdateWorkflowExecutionOptions.Builder mergeFrom(BatchOperationUpdateWorkflowExecutionOptions other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
mergeFrom
public BatchOperationUpdateWorkflowExecutionOptions.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<BatchOperationUpdateWorkflowExecutionOptions.Builder>- Throws:
java.io.IOException
-
getIdentity
public java.lang.String getIdentity()
The identity of the worker/client.
string identity = 1;- Specified by:
getIdentityin interfaceBatchOperationUpdateWorkflowExecutionOptionsOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client.
string identity = 1;- Specified by:
getIdentityBytesin interfaceBatchOperationUpdateWorkflowExecutionOptionsOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
public BatchOperationUpdateWorkflowExecutionOptions.Builder setIdentity(java.lang.String value)
The identity of the worker/client.
string identity = 1;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
public BatchOperationUpdateWorkflowExecutionOptions.Builder clearIdentity()
The identity of the worker/client.
string identity = 1;- Returns:
- This builder for chaining.
-
setIdentityBytes
public BatchOperationUpdateWorkflowExecutionOptions.Builder setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the worker/client.
string identity = 1;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
hasWorkflowExecutionOptions
public boolean hasWorkflowExecutionOptions()
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 2;- Specified by:
hasWorkflowExecutionOptionsin interfaceBatchOperationUpdateWorkflowExecutionOptionsOrBuilder- Returns:
- Whether the workflowExecutionOptions field is set.
-
getWorkflowExecutionOptions
public WorkflowExecutionOptions getWorkflowExecutionOptions()
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 2;- Specified by:
getWorkflowExecutionOptionsin interfaceBatchOperationUpdateWorkflowExecutionOptionsOrBuilder- Returns:
- The workflowExecutionOptions.
-
setWorkflowExecutionOptions
public BatchOperationUpdateWorkflowExecutionOptions.Builder setWorkflowExecutionOptions(WorkflowExecutionOptions value)
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 2;
-
setWorkflowExecutionOptions
public BatchOperationUpdateWorkflowExecutionOptions.Builder setWorkflowExecutionOptions(WorkflowExecutionOptions.Builder builderForValue)
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 2;
-
mergeWorkflowExecutionOptions
public BatchOperationUpdateWorkflowExecutionOptions.Builder mergeWorkflowExecutionOptions(WorkflowExecutionOptions value)
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 2;
-
clearWorkflowExecutionOptions
public BatchOperationUpdateWorkflowExecutionOptions.Builder clearWorkflowExecutionOptions()
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 2;
-
getWorkflowExecutionOptionsBuilder
public WorkflowExecutionOptions.Builder getWorkflowExecutionOptionsBuilder()
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 2;
-
getWorkflowExecutionOptionsOrBuilder
public WorkflowExecutionOptionsOrBuilder getWorkflowExecutionOptionsOrBuilder()
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 2;- Specified by:
getWorkflowExecutionOptionsOrBuilderin interfaceBatchOperationUpdateWorkflowExecutionOptionsOrBuilder
-
hasUpdateMask
public boolean hasUpdateMask()
Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated.
.google.protobuf.FieldMask update_mask = 3;- Specified by:
hasUpdateMaskin interfaceBatchOperationUpdateWorkflowExecutionOptionsOrBuilder- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
public com.google.protobuf.FieldMask getUpdateMask()
Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated.
.google.protobuf.FieldMask update_mask = 3;- Specified by:
getUpdateMaskin interfaceBatchOperationUpdateWorkflowExecutionOptionsOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
public BatchOperationUpdateWorkflowExecutionOptions.Builder setUpdateMask(com.google.protobuf.FieldMask value)
Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated.
.google.protobuf.FieldMask update_mask = 3;
-
setUpdateMask
public BatchOperationUpdateWorkflowExecutionOptions.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated.
.google.protobuf.FieldMask update_mask = 3;
-
mergeUpdateMask
public BatchOperationUpdateWorkflowExecutionOptions.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated.
.google.protobuf.FieldMask update_mask = 3;
-
clearUpdateMask
public BatchOperationUpdateWorkflowExecutionOptions.Builder clearUpdateMask()
Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated.
.google.protobuf.FieldMask update_mask = 3;
-
getUpdateMaskBuilder
public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated.
.google.protobuf.FieldMask update_mask = 3;
-
getUpdateMaskOrBuilder
public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Controls which fields from `workflow_execution_options` will be applied. To unset a field, set it to null and use the update mask to indicate that it should be mutated.
.google.protobuf.FieldMask update_mask = 3;- Specified by:
getUpdateMaskOrBuilderin interfaceBatchOperationUpdateWorkflowExecutionOptionsOrBuilder
-
setUnknownFields
public final BatchOperationUpdateWorkflowExecutionOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
mergeUnknownFields
public final BatchOperationUpdateWorkflowExecutionOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUpdateWorkflowExecutionOptions.Builder>
-
-