Class RespondWorkflowTaskCompletedRequest
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RespondWorkflowTaskCompletedRequestOrBuilder,Serializable
@Generated(value="protoc",
comments="annotations:RespondWorkflowTaskCompletedRequest.java.pb.meta")
public final class RespondWorkflowTaskCompletedRequest
extends com.google.protobuf.GeneratedMessageV3
implements RespondWorkflowTaskCompletedRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typetemporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequeststatic final classSDK capability details.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanResponses to the `queries` field in the task being responded tobooleanDeprecated.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.getCommands(int index) A 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.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.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 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 meteringstring namespace = 9;com.google.protobuf.ByteStringstring namespace = 9;int0-indexed page number when the workflow task completion is split across multiple requests ("pages").com.google.protobuf.Parser<RespondWorkflowTaskCompletedRequest> 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.intMay 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.booleanAll capabilities the SDK supports.booleanDeprecated.temporal.api.workflowservice.v1.RespondWorkflowTaskCompletedRequest.deployment is deprecated.booleanWorker deployment options that user has set in the worker.inthashCode()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) final booleannewBuilder(RespondWorkflowTaskCompletedRequest prototype) newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RespondWorkflowTaskCompletedRequest> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TASK_TOKEN_FIELD_NUMBER
public static final int TASK_TOKEN_FIELD_NUMBER- See Also:
-
COMMANDS_FIELD_NUMBER
public static final int COMMANDS_FIELD_NUMBER- See Also:
-
IDENTITY_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER- See Also:
-
STICKY_ATTRIBUTES_FIELD_NUMBER
public static final int STICKY_ATTRIBUTES_FIELD_NUMBER- See Also:
-
RETURN_NEW_WORKFLOW_TASK_FIELD_NUMBER
public static final int RETURN_NEW_WORKFLOW_TASK_FIELD_NUMBER- See Also:
-
FORCE_CREATE_NEW_WORKFLOW_TASK_FIELD_NUMBER
public static final int FORCE_CREATE_NEW_WORKFLOW_TASK_FIELD_NUMBER- See Also:
-
BINARY_CHECKSUM_FIELD_NUMBER
public static final int BINARY_CHECKSUM_FIELD_NUMBER- See Also:
-
QUERY_RESULTS_FIELD_NUMBER
public static final int QUERY_RESULTS_FIELD_NUMBER- See Also:
-
NAMESPACE_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER- See Also:
-
RESOURCE_ID_FIELD_NUMBER
public static final int RESOURCE_ID_FIELD_NUMBER- See Also:
-
WORKER_VERSION_STAMP_FIELD_NUMBER
public static final int WORKER_VERSION_STAMP_FIELD_NUMBER- See Also:
-
MESSAGES_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER- See Also:
-
SDK_METADATA_FIELD_NUMBER
public static final int SDK_METADATA_FIELD_NUMBER- See Also:
-
METERING_METADATA_FIELD_NUMBER
public static final int METERING_METADATA_FIELD_NUMBER- See Also:
-
CAPABILITIES_FIELD_NUMBER
public static final int CAPABILITIES_FIELD_NUMBER- See Also:
-
DEPLOYMENT_FIELD_NUMBER
public static final int DEPLOYMENT_FIELD_NUMBER- See Also:
-
VERSIONING_BEHAVIOR_FIELD_NUMBER
public static final int VERSIONING_BEHAVIOR_FIELD_NUMBER- See Also:
-
DEPLOYMENT_OPTIONS_FIELD_NUMBER
public static final int DEPLOYMENT_OPTIONS_FIELD_NUMBER- See Also:
-
WORKER_INSTANCE_KEY_FIELD_NUMBER
public static final int WORKER_INSTANCE_KEY_FIELD_NUMBER- See Also:
-
WORKER_CONTROL_TASK_QUEUE_FIELD_NUMBER
public static final int WORKER_CONTROL_TASK_QUEUE_FIELD_NUMBER- See Also:
-
PAGE_NUMBER_FIELD_NUMBER
public static final int PAGE_NUMBER_FIELD_NUMBER- See Also:
-
INTERMEDIATE_PAGE_FIELD_NUMBER
public static final int INTERMEDIATE_PAGE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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
-
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.
-
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.
-
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.
-
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
-
getMessagesOrBuilderList
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11;- Specified by:
getMessagesOrBuilderListin 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
-
getMessagesOrBuilder
Protocol messages piggybacking on a WFT as a transport
repeated .temporal.api.protocol.v1.Message messages = 11;- Specified by:
getMessagesOrBuilderin interfaceRespondWorkflowTaskCompletedRequestOrBuilder
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RespondWorkflowTaskCompletedRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RespondWorkflowTaskCompletedRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RespondWorkflowTaskCompletedRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RespondWorkflowTaskCompletedRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RespondWorkflowTaskCompletedRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RespondWorkflowTaskCompletedRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RespondWorkflowTaskCompletedRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RespondWorkflowTaskCompletedRequest parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static RespondWorkflowTaskCompletedRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RespondWorkflowTaskCompletedRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RespondWorkflowTaskCompletedRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static RespondWorkflowTaskCompletedRequest.Builder newBuilder(RespondWorkflowTaskCompletedRequest prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RespondWorkflowTaskCompletedRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-