Class RespondWorkflowTaskCompletedRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<RespondWorkflowTaskCompletedRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<RespondWorkflowTaskCompletedRequest.Builder>
io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RespondWorkflowTaskCompletedRequestOrBuilder,Cloneable
- Enclosing class:
RespondWorkflowTaskCompletedRequest
public static final class RespondWorkflowTaskCompletedRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<RespondWorkflowTaskCompletedRequest.Builder>
implements RespondWorkflowTaskCompletedRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllCommands(Iterable<? extends Command> values) A list of commands generated when driving the workflow code in response to the new taskaddAllMessages(Iterable<? extends Message> values) Protocol messages piggybacking on a WFT as a transportaddCommands(int index, Command value) A list of commands generated when driving the workflow code in response to the new taskaddCommands(int index, Command.Builder builderForValue) A list of commands generated when driving the workflow code in response to the new taskaddCommands(Command value) A list of commands generated when driving the workflow code in response to the new taskaddCommands(Command.Builder builderForValue) A list of commands generated when driving the workflow code in response to the new taskA list of commands generated when driving the workflow code in response to the new taskaddCommandsBuilder(int index) A list of commands generated when driving the workflow code in response to the new taskaddMessages(int index, Message value) Protocol messages piggybacking on a WFT as a transportaddMessages(int index, Message.Builder builderForValue) Protocol messages piggybacking on a WFT as a transportaddMessages(Message value) Protocol messages piggybacking on a WFT as a transportaddMessages(Message.Builder builderForValue) Protocol messages piggybacking on a WFT as a transportProtocol messages piggybacking on a WFT as a transportaddMessagesBuilder(int index) Protocol messages piggybacking on a WFT as a transportaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.binary_checksum is deprecated.All capabilities the SDK supports.A list of commands generated when driving the workflow code in response to the new taskDeprecated.Worker deployment options that user has set in the worker.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Can be used to *force* creation of a new workflow task, even if no commands have resolved or one would not otherwise have been generated.The identity of the worker/clientTrue for non-final pages of a paginated workflow task completion.Protocol messages piggybacking on a WFT as a transportLocal usage data collected for meteringstring namespace = 9;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) 0-indexed page number when the workflow task completion is split across multiple requests ("pages").Resource ID for routing.If set, the worker wishes to immediately receive the next workflow task as a response to this completion.Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.The task token as received in `PollWorkflowTaskQueueResponse`Versioning behavior of this workflow execution as set on the worker that completed this task.A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g.A unique key for this worker instance, used for tracking worker lifecycle.Deprecated.clone()booleanResponses to the `queries` field in the task being responded toDeprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.binary_checksum is deprecated.com.google.protobuf.ByteStringDeprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.binary_checksum is deprecated.All capabilities the SDK supports.All capabilities the SDK supports.All capabilities the SDK supports.getCommands(int index) A list of commands generated when driving the workflow code in response to the new taskgetCommandsBuilder(int index) A list of commands generated when driving the workflow code in response to the new taskA list of commands generated when driving the workflow code in response to the new taskintA list of commands generated when driving the workflow code in response to the new taskA list of commands generated when driving the workflow code in response to the new taskgetCommandsOrBuilder(int index) A list of commands generated when driving the workflow code in response to the new taskList<? extends CommandOrBuilder> A list of commands generated when driving the workflow code in response to the new taskDeprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.deployment is deprecated.Deprecated.Worker deployment options that user has set in the worker.Worker deployment options that user has set in the worker.Worker deployment options that user has set in the worker.Deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanCan be used to *force* creation of a new workflow task, even if no commands have resolved or one would not otherwise have been generated.The identity of the worker/clientcom.google.protobuf.ByteStringThe identity of the worker/clientbooleanTrue for non-final pages of a paginated workflow task completion.getMessages(int index) Protocol messages piggybacking on a WFT as a transportgetMessagesBuilder(int index) Protocol messages piggybacking on a WFT as a transportProtocol messages piggybacking on a WFT as a transportintProtocol messages piggybacking on a WFT as a transportProtocol messages piggybacking on a WFT as a transportgetMessagesOrBuilder(int index) Protocol messages piggybacking on a WFT as a transportList<? extends MessageOrBuilder> Protocol messages piggybacking on a WFT as a transportLocal usage data collected for meteringLocal usage data collected for meteringLocal usage data collected for meteringDeprecated.string namespace = 9;com.google.protobuf.ByteStringstring namespace = 9;int0-indexed page number when the workflow task completion is split across multiple requests ("pages").Deprecated.intResponses to the `queries` field in the task being responded toResponses to the `queries` field in the task being responded togetQueryResultsOrDefault(String key, WorkflowQueryResult defaultValue) Responses to the `queries` field in the task being responded toResponses to the `queries` field in the task being responded toResource ID for routing.com.google.protobuf.ByteStringResource ID for routing.booleanIf set, the worker wishes to immediately receive the next workflow task as a response to this completion.Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.com.google.protobuf.ByteStringThe task token as received in `PollWorkflowTaskQueueResponse`Versioning behavior of this workflow execution as set on the worker that completed this task.intVersioning behavior of this workflow execution as set on the worker that completed this task.A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g.com.google.protobuf.ByteStringA dedicated per-worker Nexus task queue on which the server sends control tasks (e.g.A unique key for this worker instance, used for tracking worker lifecycle.com.google.protobuf.ByteStringA unique key for this worker instance, used for tracking worker lifecycle.Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.worker_version_stamp is deprecated.Deprecated.Deprecated.booleanAll capabilities the SDK supports.booleanDeprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.deployment is deprecated.booleanWorker deployment options that user has set in the worker.booleanLocal usage data collected for meteringbooleanData the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.booleanMay be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.booleanDeprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.worker_version_stamp is deprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanAll capabilities the SDK supports.mergeDeployment(Deployment value) Deprecated.Worker deployment options that user has set in the worker.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Local usage data collected for meteringData the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Deprecated.putAllQueryResults(Map<String, WorkflowQueryResult> values) Responses to the `queries` field in the task being responded toputQueryResults(String key, WorkflowQueryResult value) Responses to the `queries` field in the task being responded toResponses to the `queries` field in the task being responded toremoveCommands(int index) A list of commands generated when driving the workflow code in response to the new taskremoveMessages(int index) Protocol messages piggybacking on a WFT as a transportremoveQueryResults(String key) Responses to the `queries` field in the task being responded tosetBinaryChecksum(String value) Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.binary_checksum is deprecated.setBinaryChecksumBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.binary_checksum is deprecated.All capabilities the SDK supports.setCapabilities(RespondWorkflowTaskCompletedRequest.Capabilities.Builder builderForValue) All capabilities the SDK supports.setCommands(int index, Command value) A list of commands generated when driving the workflow code in response to the new tasksetCommands(int index, Command.Builder builderForValue) A list of commands generated when driving the workflow code in response to the new tasksetDeployment(Deployment value) Deprecated.setDeployment(Deployment.Builder builderForValue) Deprecated.Worker deployment options that user has set in the worker.setDeploymentOptions(WorkerDeploymentOptions.Builder builderForValue) Worker deployment options that user has set in the worker.setForceCreateNewWorkflowTask(boolean value) Can be used to *force* creation of a new workflow task, even if no commands have resolved or one would not otherwise have been generated.setIdentity(String value) The identity of the worker/clientsetIdentityBytes(com.google.protobuf.ByteString value) The identity of the worker/clientsetIntermediatePage(boolean value) True for non-final pages of a paginated workflow task completion.setMessages(int index, Message value) Protocol messages piggybacking on a WFT as a transportsetMessages(int index, Message.Builder builderForValue) Protocol messages piggybacking on a WFT as a transportLocal usage data collected for meteringsetMeteringMetadata(MeteringMetadata.Builder builderForValue) Local usage data collected for meteringsetNamespace(String value) string namespace = 9;setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 9;setPageNumber(int value) 0-indexed page number when the workflow task completion is split across multiple requests ("pages").setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResourceId(String value) Resource ID for routing.setResourceIdBytes(com.google.protobuf.ByteString value) Resource ID for routing.setReturnNewWorkflowTask(boolean value) If set, the worker wishes to immediately receive the next workflow task as a response to this completion.Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.setSdkMetadata(WorkflowTaskCompletedMetadata.Builder builderForValue) Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.setStickyAttributes(StickyExecutionAttributes.Builder builderForValue) May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.setTaskToken(com.google.protobuf.ByteString value) The task token as received in `PollWorkflowTaskQueueResponse`setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Versioning behavior of this workflow execution as set on the worker that completed this task.setVersioningBehaviorValue(int value) Versioning behavior of this workflow execution as set on the worker that completed this task.setWorkerControlTaskQueue(String value) A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g.setWorkerControlTaskQueueBytes(com.google.protobuf.ByteString value) A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g.setWorkerInstanceKey(String value) A unique key for this worker instance, used for tracking worker lifecycle.setWorkerInstanceKeyBytes(com.google.protobuf.ByteString value) A unique key for this worker instance, used for tracking worker lifecycle.Deprecated.setWorkerVersionStamp(WorkerVersionStamp.Builder builderForValue) Deprecated.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, 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondWorkflowTaskCompletedRequest.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondWorkflowTaskCompletedRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RespondWorkflowTaskCompletedRequest.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<RespondWorkflowTaskCompletedRequest.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<RespondWorkflowTaskCompletedRequest.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<RespondWorkflowTaskCompletedRequest.Builder>
-
setField
public RespondWorkflowTaskCompletedRequest.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<RespondWorkflowTaskCompletedRequest.Builder>
-
clearField
public RespondWorkflowTaskCompletedRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondWorkflowTaskCompletedRequest.Builder>
-
clearOneof
public RespondWorkflowTaskCompletedRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondWorkflowTaskCompletedRequest.Builder>
-
setRepeatedField
public RespondWorkflowTaskCompletedRequest.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<RespondWorkflowTaskCompletedRequest.Builder>
-
addRepeatedField
public RespondWorkflowTaskCompletedRequest.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<RespondWorkflowTaskCompletedRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RespondWorkflowTaskCompletedRequest.Builder>
-
mergeFrom
public RespondWorkflowTaskCompletedRequest.Builder mergeFrom(RespondWorkflowTaskCompletedRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondWorkflowTaskCompletedRequest.Builder>
-
mergeFrom
public RespondWorkflowTaskCompletedRequest.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<RespondWorkflowTaskCompletedRequest.Builder>- Throws:
IOException
-
getTaskToken
public com.google.protobuf.ByteString getTaskToken()The task token as received in `PollWorkflowTaskQueueResponse`
bytes task_token = 1;- Specified by:
getTaskTokenin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The taskToken.
-
setTaskToken
public RespondWorkflowTaskCompletedRequest.Builder setTaskToken(com.google.protobuf.ByteString value) The task token as received in `PollWorkflowTaskQueueResponse`
bytes task_token = 1;- Parameters:
value- The taskToken to set.- Returns:
- This builder for chaining.
-
clearTaskToken
The task token as received in `PollWorkflowTaskQueueResponse`
bytes task_token = 1;- Returns:
- This builder for chaining.
-
getCommandsList
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2;- Specified by:
getCommandsListin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getCommandsCount
public int getCommandsCount()A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2;- Specified by:
getCommandsCountin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getCommands
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2;- Specified by:
getCommandsin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
setCommands
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
setCommands
public RespondWorkflowTaskCompletedRequest.Builder setCommands(int index, Command.Builder builderForValue) A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
addCommands
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
addCommands
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
addCommands
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
addCommands
public RespondWorkflowTaskCompletedRequest.Builder addCommands(int index, Command.Builder builderForValue) A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
addAllCommands
public RespondWorkflowTaskCompletedRequest.Builder addAllCommands(Iterable<? extends Command> values) A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
clearCommands
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
removeCommands
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
getCommandsBuilder
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
getCommandsOrBuilder
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2;- Specified by:
getCommandsOrBuilderin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getCommandsOrBuilderList
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2;- Specified by:
getCommandsOrBuilderListin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
addCommandsBuilder
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
addCommandsBuilder
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
getCommandsBuilderList
A list of commands generated when driving the workflow code in response to the new task
repeated .temporal.api.command.v1.Command commands = 2; -
getIdentity
The identity of the worker/client
string identity = 3;- Specified by:
getIdentityin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the worker/client
string identity = 3;- Specified by:
getIdentityBytesin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- 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
public RespondWorkflowTaskCompletedRequest.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.
-
hasStickyAttributes
public boolean hasStickyAttributes()May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.
.temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4;- Specified by:
hasStickyAttributesin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- Whether the stickyAttributes field is set.
-
getStickyAttributes
May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.
.temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4;- Specified by:
getStickyAttributesin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The stickyAttributes.
-
setStickyAttributes
public RespondWorkflowTaskCompletedRequest.Builder setStickyAttributes(StickyExecutionAttributes value) May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.
.temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4; -
setStickyAttributes
public RespondWorkflowTaskCompletedRequest.Builder setStickyAttributes(StickyExecutionAttributes.Builder builderForValue) May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.
.temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4; -
mergeStickyAttributes
public RespondWorkflowTaskCompletedRequest.Builder mergeStickyAttributes(StickyExecutionAttributes value) May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.
.temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4; -
clearStickyAttributes
May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.
.temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4; -
getStickyAttributesBuilder
May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.
.temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4; -
getStickyAttributesOrBuilder
May be set by workers to indicate that the worker desires future tasks to be provided with incremental history on a sticky queue.
.temporal.api.taskqueue.v1.StickyExecutionAttributes sticky_attributes = 4;- Specified by:
getStickyAttributesOrBuilderin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getReturnNewWorkflowTask
public boolean getReturnNewWorkflowTask()If set, the worker wishes to immediately receive the next workflow task as a response to this completion. This can save on polling round-trips.
bool return_new_workflow_task = 5;- Specified by:
getReturnNewWorkflowTaskin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The returnNewWorkflowTask.
-
setReturnNewWorkflowTask
If set, the worker wishes to immediately receive the next workflow task as a response to this completion. This can save on polling round-trips.
bool return_new_workflow_task = 5;- Parameters:
value- The returnNewWorkflowTask to set.- Returns:
- This builder for chaining.
-
clearReturnNewWorkflowTask
If set, the worker wishes to immediately receive the next workflow task as a response to this completion. This can save on polling round-trips.
bool return_new_workflow_task = 5;- Returns:
- This builder for chaining.
-
getForceCreateNewWorkflowTask
public boolean getForceCreateNewWorkflowTask()Can be used to *force* creation of a new workflow task, even if no commands have resolved or one would not otherwise have been generated. This is used when the worker knows it is doing something useful, but cannot complete it within the workflow task timeout. Local activities which run for longer than the task timeout being the prime example.
bool force_create_new_workflow_task = 6;- Specified by:
getForceCreateNewWorkflowTaskin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The forceCreateNewWorkflowTask.
-
setForceCreateNewWorkflowTask
Can be used to *force* creation of a new workflow task, even if no commands have resolved or one would not otherwise have been generated. This is used when the worker knows it is doing something useful, but cannot complete it within the workflow task timeout. Local activities which run for longer than the task timeout being the prime example.
bool force_create_new_workflow_task = 6;- Parameters:
value- The forceCreateNewWorkflowTask to set.- Returns:
- This builder for chaining.
-
clearForceCreateNewWorkflowTask
Can be used to *force* creation of a new workflow task, even if no commands have resolved or one would not otherwise have been generated. This is used when the worker knows it is doing something useful, but cannot complete it within the workflow task timeout. Local activities which run for longer than the task timeout being the prime example.
bool force_create_new_workflow_task = 6;- Returns:
- This builder for chaining.
-
getBinaryChecksum
Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=406Deprecated. Use `deployment_options` instead. Worker process' unique binary id
string binary_checksum = 7 [deprecated = true];- Specified by:
getBinaryChecksumin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The binaryChecksum.
-
getBinaryChecksumBytes
Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=406Deprecated. Use `deployment_options` instead. Worker process' unique binary id
string binary_checksum = 7 [deprecated = true];- Specified by:
getBinaryChecksumBytesin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The bytes for binaryChecksum.
-
setBinaryChecksum
Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=406Deprecated. Use `deployment_options` instead. Worker process' unique binary id
string binary_checksum = 7 [deprecated = true];- Parameters:
value- The binaryChecksum to set.- Returns:
- This builder for chaining.
-
clearBinaryChecksum
Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=406Deprecated. Use `deployment_options` instead. Worker process' unique binary id
string binary_checksum = 7 [deprecated = true];- Returns:
- This builder for chaining.
-
setBinaryChecksumBytes
@Deprecated public RespondWorkflowTaskCompletedRequest.Builder setBinaryChecksumBytes(com.google.protobuf.ByteString value) Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.binary_checksum is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=406Deprecated. Use `deployment_options` instead. Worker process' unique binary id
string binary_checksum = 7 [deprecated = true];- Parameters:
value- The bytes for binaryChecksum to set.- Returns:
- This builder for chaining.
-
getQueryResultsCount
public int getQueryResultsCount()Description copied from interface:RespondWorkflowTaskCompletedRequestOrBuilderResponses to the `queries` field in the task being responded to
map<string, .temporal.api.query.v1.WorkflowQueryResult> query_results = 8;- Specified by:
getQueryResultsCountin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
containsQueryResults
Responses to the `queries` field in the task being responded to
map<string, .temporal.api.query.v1.WorkflowQueryResult> query_results = 8;- Specified by:
containsQueryResultsin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getQueryResults
Deprecated.UsegetQueryResultsMap()instead.- Specified by:
getQueryResultsin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getQueryResultsMap
Responses to the `queries` field in the task being responded to
map<string, .temporal.api.query.v1.WorkflowQueryResult> query_results = 8;- Specified by:
getQueryResultsMapin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getQueryResultsOrDefault
Responses to the `queries` field in the task being responded to
map<string, .temporal.api.query.v1.WorkflowQueryResult> query_results = 8;- Specified by:
getQueryResultsOrDefaultin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getQueryResultsOrThrow
Responses to the `queries` field in the task being responded to
map<string, .temporal.api.query.v1.WorkflowQueryResult> query_results = 8;- Specified by:
getQueryResultsOrThrowin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
clearQueryResults
-
removeQueryResults
Responses to the `queries` field in the task being responded to
map<string, .temporal.api.query.v1.WorkflowQueryResult> query_results = 8; -
getMutableQueryResults
Deprecated.Use alternate mutation accessors instead. -
putQueryResults
public RespondWorkflowTaskCompletedRequest.Builder putQueryResults(String key, WorkflowQueryResult value) Responses to the `queries` field in the task being responded to
map<string, .temporal.api.query.v1.WorkflowQueryResult> query_results = 8; -
putAllQueryResults
public RespondWorkflowTaskCompletedRequest.Builder putAllQueryResults(Map<String, WorkflowQueryResult> values) Responses to the `queries` field in the task being responded to
map<string, .temporal.api.query.v1.WorkflowQueryResult> query_results = 8; -
putQueryResultsBuilderIfAbsent
Responses to the `queries` field in the task being responded to
map<string, .temporal.api.query.v1.WorkflowQueryResult> query_results = 8; -
getNamespace
string namespace = 9;- Specified by:
getNamespacein interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()string namespace = 9;- Specified by:
getNamespaceBytesin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
string namespace = 9;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
string namespace = 9;- Returns:
- This builder for chaining.
-
setNamespaceBytes
public RespondWorkflowTaskCompletedRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) string namespace = 9;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getResourceId
Resource ID for routing. Contains the workflow ID from the original task.
string resource_id = 18;- Specified by:
getResourceIdin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The resourceId.
-
getResourceIdBytes
public com.google.protobuf.ByteString getResourceIdBytes()Resource ID for routing. Contains the workflow ID from the original task.
string resource_id = 18;- Specified by:
getResourceIdBytesin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The bytes for resourceId.
-
setResourceId
Resource ID for routing. Contains the workflow ID from the original task.
string resource_id = 18;- Parameters:
value- The resourceId to set.- Returns:
- This builder for chaining.
-
clearResourceId
Resource ID for routing. Contains the workflow ID from the original task.
string resource_id = 18;- Returns:
- This builder for chaining.
-
setResourceIdBytes
public RespondWorkflowTaskCompletedRequest.Builder setResourceIdBytes(com.google.protobuf.ByteString value) Resource ID for routing. Contains the workflow ID from the original task.
string resource_id = 18;- Parameters:
value- The bytes for resourceId to set.- Returns:
- This builder for chaining.
-
hasWorkerVersionStamp
Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.worker_version_stamp is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=416Version info of the worker who processed this task. This message's `build_id` field should always be set by SDKs. Workers opting into versioning will also set the `use_versioning` field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version_stamp = 10 [deprecated = true];- Specified by:
hasWorkerVersionStampin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- Whether the workerVersionStamp field is set.
-
getWorkerVersionStamp
Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.worker_version_stamp is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=416Version info of the worker who processed this task. This message's `build_id` field should always be set by SDKs. Workers opting into versioning will also set the `use_versioning` field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version_stamp = 10 [deprecated = true];- Specified by:
getWorkerVersionStampin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The workerVersionStamp.
-
setWorkerVersionStamp
@Deprecated public RespondWorkflowTaskCompletedRequest.Builder setWorkerVersionStamp(WorkerVersionStamp value) Deprecated.Version info of the worker who processed this task. This message's `build_id` field should always be set by SDKs. Workers opting into versioning will also set the `use_versioning` field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version_stamp = 10 [deprecated = true]; -
setWorkerVersionStamp
@Deprecated public RespondWorkflowTaskCompletedRequest.Builder setWorkerVersionStamp(WorkerVersionStamp.Builder builderForValue) Deprecated.Version info of the worker who processed this task. This message's `build_id` field should always be set by SDKs. Workers opting into versioning will also set the `use_versioning` field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version_stamp = 10 [deprecated = true]; -
mergeWorkerVersionStamp
@Deprecated public RespondWorkflowTaskCompletedRequest.Builder mergeWorkerVersionStamp(WorkerVersionStamp value) Deprecated.Version info of the worker who processed this task. This message's `build_id` field should always be set by SDKs. Workers opting into versioning will also set the `use_versioning` field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version_stamp = 10 [deprecated = true]; -
clearWorkerVersionStamp
Deprecated.Version info of the worker who processed this task. This message's `build_id` field should always be set by SDKs. Workers opting into versioning will also set the `use_versioning` field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version_stamp = 10 [deprecated = true]; -
getWorkerVersionStampBuilder
Deprecated.Version info of the worker who processed this task. This message's `build_id` field should always be set by SDKs. Workers opting into versioning will also set the `use_versioning` field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version_stamp = 10 [deprecated = true]; -
getWorkerVersionStampOrBuilder
Deprecated.Version info of the worker who processed this task. This message's `build_id` field should always be set by SDKs. Workers opting into versioning will also set the `use_versioning` field to true. See message docstrings for more. Deprecated. Use `deployment_options` and `versioning_behavior` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version_stamp = 10 [deprecated = true];- Specified by:
getWorkerVersionStampOrBuilderin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getMessagesList
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11;- Specified by:
getMessagesListin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getMessagesCount
public int getMessagesCount()Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11;- Specified by:
getMessagesCountin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getMessages
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11;- Specified by:
getMessagesin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
setMessages
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
setMessages
public RespondWorkflowTaskCompletedRequest.Builder setMessages(int index, Message.Builder builderForValue) Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
addMessages
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
addMessages
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
addMessages
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
addMessages
public RespondWorkflowTaskCompletedRequest.Builder addMessages(int index, Message.Builder builderForValue) Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
addAllMessages
public RespondWorkflowTaskCompletedRequest.Builder addAllMessages(Iterable<? extends Message> values) Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
clearMessages
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
removeMessages
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
getMessagesBuilder
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
getMessagesOrBuilder
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11;- Specified by:
getMessagesOrBuilderin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getMessagesOrBuilderList
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11;- Specified by:
getMessagesOrBuilderListin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
addMessagesBuilder
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
addMessagesBuilder
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
getMessagesBuilderList
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11; -
hasSdkMetadata
public boolean hasSdkMetadata()Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 12;- Specified by:
hasSdkMetadatain interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- Whether the sdkMetadata field is set.
-
getSdkMetadata
Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 12;- Specified by:
getSdkMetadatain interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The sdkMetadata.
-
setSdkMetadata
public RespondWorkflowTaskCompletedRequest.Builder setSdkMetadata(WorkflowTaskCompletedMetadata value) Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 12; -
setSdkMetadata
public RespondWorkflowTaskCompletedRequest.Builder setSdkMetadata(WorkflowTaskCompletedMetadata.Builder builderForValue) Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 12; -
mergeSdkMetadata
public RespondWorkflowTaskCompletedRequest.Builder mergeSdkMetadata(WorkflowTaskCompletedMetadata value) Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 12; -
clearSdkMetadata
Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 12; -
getSdkMetadataBuilder
Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 12; -
getSdkMetadataOrBuilder
Data the SDK wishes to record for itself, but server need not interpret, and does not directly impact workflow state.
.temporal.api.sdk.v1.WorkflowTaskCompletedMetadata sdk_metadata = 12;- Specified by:
getSdkMetadataOrBuilderin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
hasMeteringMetadata
public boolean hasMeteringMetadata()Local usage data collected for metering
.temporal.api.common.v1.MeteringMetadata metering_metadata = 13;- Specified by:
hasMeteringMetadatain interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- Whether the meteringMetadata field is set.
-
getMeteringMetadata
Local usage data collected for metering
.temporal.api.common.v1.MeteringMetadata metering_metadata = 13;- Specified by:
getMeteringMetadatain interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The meteringMetadata.
-
setMeteringMetadata
Local usage data collected for metering
.temporal.api.common.v1.MeteringMetadata metering_metadata = 13; -
setMeteringMetadata
public RespondWorkflowTaskCompletedRequest.Builder setMeteringMetadata(MeteringMetadata.Builder builderForValue) Local usage data collected for metering
.temporal.api.common.v1.MeteringMetadata metering_metadata = 13; -
mergeMeteringMetadata
Local usage data collected for metering
.temporal.api.common.v1.MeteringMetadata metering_metadata = 13; -
clearMeteringMetadata
Local usage data collected for metering
.temporal.api.common.v1.MeteringMetadata metering_metadata = 13; -
getMeteringMetadataBuilder
Local usage data collected for metering
.temporal.api.common.v1.MeteringMetadata metering_metadata = 13; -
getMeteringMetadataOrBuilder
Local usage data collected for metering
.temporal.api.common.v1.MeteringMetadata metering_metadata = 13;- Specified by:
getMeteringMetadataOrBuilderin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
hasCapabilities
public boolean hasCapabilities()All capabilities the SDK supports.
.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities capabilities = 14;- Specified by:
hasCapabilitiesin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- Whether the capabilities field is set.
-
getCapabilities
All capabilities the SDK supports.
.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities capabilities = 14;- Specified by:
getCapabilitiesin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The capabilities.
-
setCapabilities
public RespondWorkflowTaskCompletedRequest.Builder setCapabilities(RespondWorkflowTaskCompletedRequest.Capabilities value) All capabilities the SDK supports.
.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities capabilities = 14; -
setCapabilities
public RespondWorkflowTaskCompletedRequest.Builder setCapabilities(RespondWorkflowTaskCompletedRequest.Capabilities.Builder builderForValue) All capabilities the SDK supports.
.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities capabilities = 14; -
mergeCapabilities
public RespondWorkflowTaskCompletedRequest.Builder mergeCapabilities(RespondWorkflowTaskCompletedRequest.Capabilities value) All capabilities the SDK supports.
.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities capabilities = 14; -
clearCapabilities
All capabilities the SDK supports.
.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities capabilities = 14; -
getCapabilitiesBuilder
All capabilities the SDK supports.
.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities capabilities = 14; -
getCapabilitiesOrBuilder
All capabilities the SDK supports.
.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.Capabilities capabilities = 14;- Specified by:
getCapabilitiesOrBuilderin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
hasDeployment
Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.deployment is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=429Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`.
.temporal.api.deployment.v1.Deployment deployment = 15 [deprecated = true];- Specified by:
hasDeploymentin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- Whether the deployment field is set.
-
getDeployment
Deprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.deployment is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=429Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`.
.temporal.api.deployment.v1.Deployment deployment = 15 [deprecated = true];- Specified by:
getDeploymentin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The deployment.
-
setDeployment
Deprecated.Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`.
.temporal.api.deployment.v1.Deployment deployment = 15 [deprecated = true]; -
setDeployment
@Deprecated public RespondWorkflowTaskCompletedRequest.Builder setDeployment(Deployment.Builder builderForValue) Deprecated.Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`.
.temporal.api.deployment.v1.Deployment deployment = 15 [deprecated = true]; -
mergeDeployment
Deprecated.Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`.
.temporal.api.deployment.v1.Deployment deployment = 15 [deprecated = true]; -
clearDeployment
Deprecated.Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`.
.temporal.api.deployment.v1.Deployment deployment = 15 [deprecated = true]; -
getDeploymentBuilder
Deprecated.Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`.
.temporal.api.deployment.v1.Deployment deployment = 15 [deprecated = true]; -
getDeploymentOrBuilder
Deprecated.Deployment info of the worker that completed this task. Must be present if user has set `WorkerDeploymentOptions` regardless of versioning being enabled or not. Deprecated. Replaced with `deployment_options`.
.temporal.api.deployment.v1.Deployment deployment = 15 [deprecated = true];- Specified by:
getDeploymentOrBuilderin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getVersioningBehaviorValue
public int getVersioningBehaviorValue()Versioning behavior of this workflow execution as set on the worker that completed this task. UNSPECIFIED means versioning is not enabled in the worker.
.temporal.api.enums.v1.VersioningBehavior versioning_behavior = 16;- Specified by:
getVersioningBehaviorValuein interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The enum numeric value on the wire for versioningBehavior.
-
setVersioningBehaviorValue
Versioning behavior of this workflow execution as set on the worker that completed this task. UNSPECIFIED means versioning is not enabled in the worker.
.temporal.api.enums.v1.VersioningBehavior versioning_behavior = 16;- Parameters:
value- The enum numeric value on the wire for versioningBehavior to set.- Returns:
- This builder for chaining.
-
getVersioningBehavior
Versioning behavior of this workflow execution as set on the worker that completed this task. UNSPECIFIED means versioning is not enabled in the worker.
.temporal.api.enums.v1.VersioningBehavior versioning_behavior = 16;- Specified by:
getVersioningBehaviorin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The versioningBehavior.
-
setVersioningBehavior
Versioning behavior of this workflow execution as set on the worker that completed this task. UNSPECIFIED means versioning is not enabled in the worker.
.temporal.api.enums.v1.VersioningBehavior versioning_behavior = 16;- Parameters:
value- The versioningBehavior to set.- Returns:
- This builder for chaining.
-
clearVersioningBehavior
Versioning behavior of this workflow execution as set on the worker that completed this task. UNSPECIFIED means versioning is not enabled in the worker.
.temporal.api.enums.v1.VersioningBehavior versioning_behavior = 16;- Returns:
- This builder for chaining.
-
hasDeploymentOptions
public boolean hasDeploymentOptions()Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 17;- Specified by:
hasDeploymentOptionsin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- Whether the deploymentOptions field is set.
-
getDeploymentOptions
Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 17;- Specified by:
getDeploymentOptionsin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The deploymentOptions.
-
setDeploymentOptions
public RespondWorkflowTaskCompletedRequest.Builder setDeploymentOptions(WorkerDeploymentOptions value) Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 17; -
setDeploymentOptions
public RespondWorkflowTaskCompletedRequest.Builder setDeploymentOptions(WorkerDeploymentOptions.Builder builderForValue) Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 17; -
mergeDeploymentOptions
public RespondWorkflowTaskCompletedRequest.Builder mergeDeploymentOptions(WorkerDeploymentOptions value) Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 17; -
clearDeploymentOptions
Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 17; -
getDeploymentOptionsBuilder
Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 17; -
getDeploymentOptionsOrBuilder
Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 17;- Specified by:
getDeploymentOptionsOrBuilderin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
getWorkerInstanceKey
A unique key for this worker instance, used for tracking worker lifecycle. This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
string worker_instance_key = 19;- Specified by:
getWorkerInstanceKeyin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The workerInstanceKey.
-
getWorkerInstanceKeyBytes
public com.google.protobuf.ByteString getWorkerInstanceKeyBytes()A unique key for this worker instance, used for tracking worker lifecycle. This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
string worker_instance_key = 19;- Specified by:
getWorkerInstanceKeyBytesin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The bytes for workerInstanceKey.
-
setWorkerInstanceKey
A unique key for this worker instance, used for tracking worker lifecycle. This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
string worker_instance_key = 19;- Parameters:
value- The workerInstanceKey to set.- Returns:
- This builder for chaining.
-
clearWorkerInstanceKey
A unique key for this worker instance, used for tracking worker lifecycle. This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
string worker_instance_key = 19;- Returns:
- This builder for chaining.
-
setWorkerInstanceKeyBytes
public RespondWorkflowTaskCompletedRequest.Builder setWorkerInstanceKeyBytes(com.google.protobuf.ByteString value) A unique key for this worker instance, used for tracking worker lifecycle. This is guaranteed to be unique, whereas identity is not guaranteed to be unique.
string worker_instance_key = 19;- Parameters:
value- The bytes for workerInstanceKey to set.- Returns:
- This builder for chaining.
-
getWorkerControlTaskQueue
A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g. activity cancellation) to this specific worker instance.
string worker_control_task_queue = 20;- Specified by:
getWorkerControlTaskQueuein interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The workerControlTaskQueue.
-
getWorkerControlTaskQueueBytes
public com.google.protobuf.ByteString getWorkerControlTaskQueueBytes()A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g. activity cancellation) to this specific worker instance.
string worker_control_task_queue = 20;- Specified by:
getWorkerControlTaskQueueBytesin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The bytes for workerControlTaskQueue.
-
setWorkerControlTaskQueue
A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g. activity cancellation) to this specific worker instance.
string worker_control_task_queue = 20;- Parameters:
value- The workerControlTaskQueue to set.- Returns:
- This builder for chaining.
-
clearWorkerControlTaskQueue
A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g. activity cancellation) to this specific worker instance.
string worker_control_task_queue = 20;- Returns:
- This builder for chaining.
-
setWorkerControlTaskQueueBytes
public RespondWorkflowTaskCompletedRequest.Builder setWorkerControlTaskQueueBytes(com.google.protobuf.ByteString value) A dedicated per-worker Nexus task queue on which the server sends control tasks (e.g. activity cancellation) to this specific worker instance.
string worker_control_task_queue = 20;- Parameters:
value- The bytes for workerControlTaskQueue to set.- Returns:
- This builder for chaining.
-
getPageNumber
public int getPageNumber()0-indexed page number when the workflow task completion is split across multiple requests ("pages"). 0 for single-page requests. May only be set to non-zero value when the namespace capability workflow_task_completion_pagination is true.int32 page_number = 21;- Specified by:
getPageNumberin interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The pageNumber.
-
setPageNumber
0-indexed page number when the workflow task completion is split across multiple requests ("pages"). 0 for single-page requests. May only be set to non-zero value when the namespace capability workflow_task_completion_pagination is true.int32 page_number = 21;- Parameters:
value- The pageNumber to set.- Returns:
- This builder for chaining.
-
clearPageNumber
0-indexed page number when the workflow task completion is split across multiple requests ("pages"). 0 for single-page requests. May only be set to non-zero value when the namespace capability workflow_task_completion_pagination is true.int32 page_number = 21;- Returns:
- This builder for chaining.
-
getIntermediatePage
public boolean getIntermediatePage()True for non-final pages of a paginated workflow task completion. The final page's `page_number` tells the server how many intermediate pages (0..page_number-1) preceded it. May only be used when the namespace capability workflow_task_completion_pagination is true.
bool intermediate_page = 22;- Specified by:
getIntermediatePagein interfaceRespondWorkflowTaskCompletedRequestOrBuilder- Returns:
- The intermediatePage.
-
setIntermediatePage
True for non-final pages of a paginated workflow task completion. The final page's `page_number` tells the server how many intermediate pages (0..page_number-1) preceded it. May only be used when the namespace capability workflow_task_completion_pagination is true.
bool intermediate_page = 22;- Parameters:
value- The intermediatePage to set.- Returns:
- This builder for chaining.
-
clearIntermediatePage
True for non-final pages of a paginated workflow task completion. The final page's `page_number` tells the server how many intermediate pages (0..page_number-1) preceded it. May only be used when the namespace capability workflow_task_completion_pagination is true.
bool intermediate_page = 22;- Returns:
- This builder for chaining.
-
setUnknownFields
public final RespondWorkflowTaskCompletedRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondWorkflowTaskCompletedRequest.Builder>
-
mergeUnknownFields
public final RespondWorkflowTaskCompletedRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RespondWorkflowTaskCompletedRequest.Builder>
-