Class UpdateWorkflowExecutionOptionsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateWorkflowExecutionOptionsRequestOrBuilder,Cloneable
- Enclosing class:
UpdateWorkflowExecutionOptionsRequest
public static final class UpdateWorkflowExecutionOptionsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
implements UpdateWorkflowExecutionOptionsRequestOrBuilder
Keep the parameters in sync with: - temporal.api.batch.v1.BatchOperationUpdateWorkflowExecutionOptions. - temporal.api.workflow.v1.PostResetOperation.UpdateWorkflowOptions.Protobuf type
temporal.api.workflowservice.v1.UpdateWorkflowExecutionOptionsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Optional.The namespace name of the target Workflow.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Controls which fields from `workflow_execution_options` will be applied.The target Workflow Id and (optionally) a specific Run Id thereof.Workflow Execution options.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.The namespace name of the target Workflow.com.google.protobuf.ByteStringThe namespace name of the target Workflow.com.google.protobuf.FieldMaskControls which fields from `workflow_execution_options` will be applied.com.google.protobuf.FieldMask.BuilderControls which fields from `workflow_execution_options` will be applied.com.google.protobuf.FieldMaskOrBuilderControls which fields from `workflow_execution_options` will be applied.The target Workflow Id and (optionally) a specific Run Id thereof.The target Workflow Id and (optionally) a specific Run Id thereof.Workflow Execution options.Workflow Execution options.Workflow Execution options.The target Workflow Id and (optionally) a specific Run Id thereof.booleanControls which fields from `workflow_execution_options` will be applied.booleanThe target Workflow Id and (optionally) a specific Run Id thereof.booleanWorkflow Execution options.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeUpdateMask(com.google.protobuf.FieldMask value) Controls which fields from `workflow_execution_options` will be applied.The target Workflow Id and (optionally) a specific Run Id thereof.Workflow Execution options.setIdentity(String value) Optional.setIdentityBytes(com.google.protobuf.ByteString value) Optional.setNamespace(String value) The namespace name of the target Workflow.setNamespaceBytes(com.google.protobuf.ByteString value) The namespace name of the target Workflow.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUpdateMask(com.google.protobuf.FieldMask value) Controls which fields from `workflow_execution_options` will be applied.setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) Controls which fields from `workflow_execution_options` will be applied.The target Workflow Id and (optionally) a specific Run Id thereof.setWorkflowExecution(WorkflowExecution.Builder builderForValue) The target Workflow Id and (optionally) a specific Run Id thereof.Workflow Execution options.setWorkflowExecutionOptions(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, 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<UpdateWorkflowExecutionOptionsRequest.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<UpdateWorkflowExecutionOptionsRequest.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<UpdateWorkflowExecutionOptionsRequest.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<UpdateWorkflowExecutionOptionsRequest.Builder>
-
setField
public UpdateWorkflowExecutionOptionsRequest.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<UpdateWorkflowExecutionOptionsRequest.Builder>
-
clearField
public UpdateWorkflowExecutionOptionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
-
clearOneof
public UpdateWorkflowExecutionOptionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
-
setRepeatedField
public UpdateWorkflowExecutionOptionsRequest.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<UpdateWorkflowExecutionOptionsRequest.Builder>
-
addRepeatedField
public UpdateWorkflowExecutionOptionsRequest.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<UpdateWorkflowExecutionOptionsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
-
mergeFrom
public UpdateWorkflowExecutionOptionsRequest.Builder mergeFrom(UpdateWorkflowExecutionOptionsRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
-
mergeFrom
public UpdateWorkflowExecutionOptionsRequest.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<UpdateWorkflowExecutionOptionsRequest.Builder>- Throws:
IOException
-
getNamespace
The namespace name of the target Workflow.
string namespace = 1;- Specified by:
getNamespacein interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace name of the target Workflow.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
The namespace name of the target Workflow.
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
The namespace name of the target Workflow.
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public UpdateWorkflowExecutionOptionsRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) The namespace name of the target Workflow.
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
hasWorkflowExecution
public boolean hasWorkflowExecution()The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --).temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
hasWorkflowExecutionin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder- Returns:
- Whether the workflowExecution field is set.
-
getWorkflowExecution
The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --).temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder- Returns:
- The workflowExecution.
-
setWorkflowExecution
The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --).temporal.api.common.v1.WorkflowExecution workflow_execution = 2; -
setWorkflowExecution
public UpdateWorkflowExecutionOptionsRequest.Builder setWorkflowExecution(WorkflowExecution.Builder builderForValue) The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --).temporal.api.common.v1.WorkflowExecution workflow_execution = 2; -
mergeWorkflowExecution
public UpdateWorkflowExecutionOptionsRequest.Builder mergeWorkflowExecution(WorkflowExecution value) The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --).temporal.api.common.v1.WorkflowExecution workflow_execution = 2; -
clearWorkflowExecution
The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --).temporal.api.common.v1.WorkflowExecution workflow_execution = 2; -
getWorkflowExecutionBuilder
The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --).temporal.api.common.v1.WorkflowExecution workflow_execution = 2; -
getWorkflowExecutionOrBuilder
The target Workflow Id and (optionally) a specific Run Id thereof. (-- api-linter: core::0203::optional=disabled aip.dev/not-precedent: false positive triggered by the word "optional" --).temporal.api.common.v1.WorkflowExecution workflow_execution = 2;- Specified by:
getWorkflowExecutionOrBuilderin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder
-
hasWorkflowExecutionOptions
public boolean hasWorkflowExecutionOptions()Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3;- Specified by:
hasWorkflowExecutionOptionsin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder- Returns:
- Whether the workflowExecutionOptions field is set.
-
getWorkflowExecutionOptions
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3;- Specified by:
getWorkflowExecutionOptionsin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder- Returns:
- The workflowExecutionOptions.
-
setWorkflowExecutionOptions
public UpdateWorkflowExecutionOptionsRequest.Builder setWorkflowExecutionOptions(WorkflowExecutionOptions value) Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3; -
setWorkflowExecutionOptions
public UpdateWorkflowExecutionOptionsRequest.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 = 3; -
mergeWorkflowExecutionOptions
public UpdateWorkflowExecutionOptionsRequest.Builder mergeWorkflowExecutionOptions(WorkflowExecutionOptions value) Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3; -
clearWorkflowExecutionOptions
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3; -
getWorkflowExecutionOptionsBuilder
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3; -
getWorkflowExecutionOptionsOrBuilder
Workflow Execution options. Partial updates are accepted and controlled by update_mask.
.temporal.api.workflow.v1.WorkflowExecutionOptions workflow_execution_options = 3;- Specified by:
getWorkflowExecutionOptionsOrBuilderin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder
-
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 = 4;- Specified by:
hasUpdateMaskin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder- 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 = 4;- Specified by:
getUpdateMaskin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder- Returns:
- The updateMask.
-
setUpdateMask
public UpdateWorkflowExecutionOptionsRequest.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 = 4; -
setUpdateMask
public UpdateWorkflowExecutionOptionsRequest.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 = 4; -
mergeUpdateMask
public UpdateWorkflowExecutionOptionsRequest.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 = 4; -
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 = 4; -
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 = 4; -
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 = 4;- Specified by:
getUpdateMaskOrBuilderin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder
-
getIdentity
Optional. The identity of the client who initiated this request.
string identity = 5;- Specified by:
getIdentityin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()Optional. The identity of the client who initiated this request.
string identity = 5;- Specified by:
getIdentityBytesin interfaceUpdateWorkflowExecutionOptionsRequestOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
Optional. The identity of the client who initiated this request.
string identity = 5;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
Optional. The identity of the client who initiated this request.
string identity = 5;- Returns:
- This builder for chaining.
-
setIdentityBytes
public UpdateWorkflowExecutionOptionsRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value) Optional. The identity of the client who initiated this request.
string identity = 5;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UpdateWorkflowExecutionOptionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
-
mergeUnknownFields
public final UpdateWorkflowExecutionOptionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionOptionsRequest.Builder>
-