Class UpdateWorkflowExecutionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionRequest.Builder>
io.temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateWorkflowExecutionRequestOrBuilder,Cloneable
- Enclosing class:
UpdateWorkflowExecutionRequest
public static final class UpdateWorkflowExecutionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionRequest.Builder>
implements UpdateWorkflowExecutionRequestOrBuilder
(-- api-linter: core::0134=disabled
aip.dev/not-precedent: Update RPCs don't follow Google API format. --)
Protobuf type temporal.api.workflowservice.v1.UpdateWorkflowExecutionRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) If set, this call will error if the most recent (if no Run Id is set on `workflow_execution`), or specified (if it is) Workflow Execution is not part of the same execution chain as this Id.The namespace name of the target Workflow.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The request information that will be delivered all the way down to the Workflow Execution.Specifies client's intent to wait for Update results.The target Workflow Id and (optionally) a specific Run Id thereof.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf set, this call will error if the most recent (if no Run Id is set on `workflow_execution`), or specified (if it is) Workflow Execution is not part of the same execution chain as this Id.com.google.protobuf.ByteStringIf set, this call will error if the most recent (if no Run Id is set on `workflow_execution`), or specified (if it is) Workflow Execution is not part of the same execution chain as this Id.The namespace name of the target Workflow.com.google.protobuf.ByteStringThe namespace name of the target Workflow.The request information that will be delivered all the way down to the Workflow Execution.The request information that will be delivered all the way down to the Workflow Execution.The request information that will be delivered all the way down to the Workflow Execution.Specifies client's intent to wait for Update results.Specifies client's intent to wait for Update results.Specifies client's intent to wait for Update results.The target Workflow Id and (optionally) a specific Run Id thereof.The target Workflow Id and (optionally) a specific Run Id thereof.The target Workflow Id and (optionally) a specific Run Id thereof.booleanThe request information that will be delivered all the way down to the Workflow Execution.booleanSpecifies client's intent to wait for Update results.booleanThe target Workflow Id and (optionally) a specific Run Id thereof.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeRequest(Request value) The request information that will be delivered all the way down to the Workflow Execution.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) mergeWaitPolicy(WaitPolicy value) Specifies client's intent to wait for Update results.The target Workflow Id and (optionally) a specific Run Id thereof.setFirstExecutionRunId(String value) If set, this call will error if the most recent (if no Run Id is set on `workflow_execution`), or specified (if it is) Workflow Execution is not part of the same execution chain as this Id.setFirstExecutionRunIdBytes(com.google.protobuf.ByteString value) If set, this call will error if the most recent (if no Run Id is set on `workflow_execution`), or specified (if it is) Workflow Execution is not part of the same execution chain as this Id.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) setRequest(Request value) The request information that will be delivered all the way down to the Workflow Execution.setRequest(Request.Builder builderForValue) The request information that will be delivered all the way down to the Workflow Execution.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWaitPolicy(WaitPolicy value) Specifies client's intent to wait for Update results.setWaitPolicy(WaitPolicy.Builder builderForValue) Specifies client's intent to wait for Update results.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.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<UpdateWorkflowExecutionRequest.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<UpdateWorkflowExecutionRequest.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<UpdateWorkflowExecutionRequest.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<UpdateWorkflowExecutionRequest.Builder>
-
setField
public UpdateWorkflowExecutionRequest.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<UpdateWorkflowExecutionRequest.Builder>
-
clearField
public UpdateWorkflowExecutionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionRequest.Builder>
-
clearOneof
public UpdateWorkflowExecutionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionRequest.Builder>
-
setRepeatedField
public UpdateWorkflowExecutionRequest.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<UpdateWorkflowExecutionRequest.Builder>
-
addRepeatedField
public UpdateWorkflowExecutionRequest.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<UpdateWorkflowExecutionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateWorkflowExecutionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionRequest.Builder>
-
mergeFrom
public UpdateWorkflowExecutionRequest.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<UpdateWorkflowExecutionRequest.Builder>- Throws:
IOException
-
getNamespace
The namespace name of the target Workflow.
string namespace = 1;- Specified by:
getNamespacein interfaceUpdateWorkflowExecutionRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()The namespace name of the target Workflow.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceUpdateWorkflowExecutionRequestOrBuilder- 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 UpdateWorkflowExecutionRequest.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 interfaceUpdateWorkflowExecutionRequestOrBuilder- 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 interfaceUpdateWorkflowExecutionRequestOrBuilder- 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 UpdateWorkflowExecutionRequest.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
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 interfaceUpdateWorkflowExecutionRequestOrBuilder
-
getFirstExecutionRunId
If set, this call will error if the most recent (if no Run Id is set on `workflow_execution`), or specified (if it is) Workflow Execution is not part of the same execution chain as this Id.
string first_execution_run_id = 3;- Specified by:
getFirstExecutionRunIdin interfaceUpdateWorkflowExecutionRequestOrBuilder- Returns:
- The firstExecutionRunId.
-
getFirstExecutionRunIdBytes
public com.google.protobuf.ByteString getFirstExecutionRunIdBytes()If set, this call will error if the most recent (if no Run Id is set on `workflow_execution`), or specified (if it is) Workflow Execution is not part of the same execution chain as this Id.
string first_execution_run_id = 3;- Specified by:
getFirstExecutionRunIdBytesin interfaceUpdateWorkflowExecutionRequestOrBuilder- Returns:
- The bytes for firstExecutionRunId.
-
setFirstExecutionRunId
If set, this call will error if the most recent (if no Run Id is set on `workflow_execution`), or specified (if it is) Workflow Execution is not part of the same execution chain as this Id.
string first_execution_run_id = 3;- Parameters:
value- The firstExecutionRunId to set.- Returns:
- This builder for chaining.
-
clearFirstExecutionRunId
If set, this call will error if the most recent (if no Run Id is set on `workflow_execution`), or specified (if it is) Workflow Execution is not part of the same execution chain as this Id.
string first_execution_run_id = 3;- Returns:
- This builder for chaining.
-
setFirstExecutionRunIdBytes
public UpdateWorkflowExecutionRequest.Builder setFirstExecutionRunIdBytes(com.google.protobuf.ByteString value) If set, this call will error if the most recent (if no Run Id is set on `workflow_execution`), or specified (if it is) Workflow Execution is not part of the same execution chain as this Id.
string first_execution_run_id = 3;- Parameters:
value- The bytes for firstExecutionRunId to set.- Returns:
- This builder for chaining.
-
hasWaitPolicy
public boolean hasWaitPolicy()Specifies client's intent to wait for Update results. NOTE: This field works together with API call timeout which is limited by server timeout (maximum wait time). If server timeout is expired before user specified timeout, API call returns even if specified stage is not reached. Actual reached stage will be included in the response.
.temporal.api.update.v1.WaitPolicy wait_policy = 4;- Specified by:
hasWaitPolicyin interfaceUpdateWorkflowExecutionRequestOrBuilder- Returns:
- Whether the waitPolicy field is set.
-
getWaitPolicy
Specifies client's intent to wait for Update results. NOTE: This field works together with API call timeout which is limited by server timeout (maximum wait time). If server timeout is expired before user specified timeout, API call returns even if specified stage is not reached. Actual reached stage will be included in the response.
.temporal.api.update.v1.WaitPolicy wait_policy = 4;- Specified by:
getWaitPolicyin interfaceUpdateWorkflowExecutionRequestOrBuilder- Returns:
- The waitPolicy.
-
setWaitPolicy
Specifies client's intent to wait for Update results. NOTE: This field works together with API call timeout which is limited by server timeout (maximum wait time). If server timeout is expired before user specified timeout, API call returns even if specified stage is not reached. Actual reached stage will be included in the response.
.temporal.api.update.v1.WaitPolicy wait_policy = 4; -
setWaitPolicy
Specifies client's intent to wait for Update results. NOTE: This field works together with API call timeout which is limited by server timeout (maximum wait time). If server timeout is expired before user specified timeout, API call returns even if specified stage is not reached. Actual reached stage will be included in the response.
.temporal.api.update.v1.WaitPolicy wait_policy = 4; -
mergeWaitPolicy
Specifies client's intent to wait for Update results. NOTE: This field works together with API call timeout which is limited by server timeout (maximum wait time). If server timeout is expired before user specified timeout, API call returns even if specified stage is not reached. Actual reached stage will be included in the response.
.temporal.api.update.v1.WaitPolicy wait_policy = 4; -
clearWaitPolicy
Specifies client's intent to wait for Update results. NOTE: This field works together with API call timeout which is limited by server timeout (maximum wait time). If server timeout is expired before user specified timeout, API call returns even if specified stage is not reached. Actual reached stage will be included in the response.
.temporal.api.update.v1.WaitPolicy wait_policy = 4; -
getWaitPolicyBuilder
Specifies client's intent to wait for Update results. NOTE: This field works together with API call timeout which is limited by server timeout (maximum wait time). If server timeout is expired before user specified timeout, API call returns even if specified stage is not reached. Actual reached stage will be included in the response.
.temporal.api.update.v1.WaitPolicy wait_policy = 4; -
getWaitPolicyOrBuilder
Specifies client's intent to wait for Update results. NOTE: This field works together with API call timeout which is limited by server timeout (maximum wait time). If server timeout is expired before user specified timeout, API call returns even if specified stage is not reached. Actual reached stage will be included in the response.
.temporal.api.update.v1.WaitPolicy wait_policy = 4;- Specified by:
getWaitPolicyOrBuilderin interfaceUpdateWorkflowExecutionRequestOrBuilder
-
hasRequest
public boolean hasRequest()The request information that will be delivered all the way down to the Workflow Execution.
.temporal.api.update.v1.Request request = 5;- Specified by:
hasRequestin interfaceUpdateWorkflowExecutionRequestOrBuilder- Returns:
- Whether the request field is set.
-
getRequest
The request information that will be delivered all the way down to the Workflow Execution.
.temporal.api.update.v1.Request request = 5;- Specified by:
getRequestin interfaceUpdateWorkflowExecutionRequestOrBuilder- Returns:
- The request.
-
setRequest
The request information that will be delivered all the way down to the Workflow Execution.
.temporal.api.update.v1.Request request = 5; -
setRequest
The request information that will be delivered all the way down to the Workflow Execution.
.temporal.api.update.v1.Request request = 5; -
mergeRequest
The request information that will be delivered all the way down to the Workflow Execution.
.temporal.api.update.v1.Request request = 5; -
clearRequest
The request information that will be delivered all the way down to the Workflow Execution.
.temporal.api.update.v1.Request request = 5; -
getRequestBuilder
The request information that will be delivered all the way down to the Workflow Execution.
.temporal.api.update.v1.Request request = 5; -
getRequestOrBuilder
The request information that will be delivered all the way down to the Workflow Execution.
.temporal.api.update.v1.Request request = 5;- Specified by:
getRequestOrBuilderin interfaceUpdateWorkflowExecutionRequestOrBuilder
-
setUnknownFields
public final UpdateWorkflowExecutionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionRequest.Builder>
-
mergeUnknownFields
public final UpdateWorkflowExecutionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateWorkflowExecutionRequest.Builder>
-