Interface RespondActivityTaskCanceledRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RespondActivityTaskCanceledRequest,RespondActivityTaskCanceledRequest.Builder
@Generated(value="protoc",
comments="annotations:RespondActivityTaskCanceledRequestOrBuilder.java.pb.meta")
public interface RespondActivityTaskCanceledRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.deployment is deprecated.Worker deployment options that user has set in the worker.Worker deployment options that user has set in the worker.Deprecated.Serialized additional information to attach to the cancellationSerialized additional information to attach to the cancellationThe identity of the worker/clientcom.google.protobuf.ByteStringThe identity of the worker/clientstring namespace = 4;com.google.protobuf.ByteStringstring namespace = 4;Resource ID for routing.com.google.protobuf.ByteStringResource ID for routing.com.google.protobuf.ByteStringThe task token as received in `PollActivityTaskQueueResponse`Deprecated.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.worker_version is deprecated.Deprecated.booleanDeprecated.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.deployment is deprecated.booleanWorker deployment options that user has set in the worker.booleanSerialized additional information to attach to the cancellationbooleanDeprecated.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.worker_version is deprecated.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTaskToken
com.google.protobuf.ByteString getTaskToken()The task token as received in `PollActivityTaskQueueResponse`
bytes task_token = 1;- Returns:
- The taskToken.
-
hasDetails
boolean hasDetails()Serialized additional information to attach to the cancellation
.temporal.api.common.v1.Payloads details = 2;- Returns:
- Whether the details field is set.
-
getDetails
Payloads getDetails()Serialized additional information to attach to the cancellation
.temporal.api.common.v1.Payloads details = 2;- Returns:
- The details.
-
getDetailsOrBuilder
PayloadsOrBuilder getDetailsOrBuilder()Serialized additional information to attach to the cancellation
.temporal.api.common.v1.Payloads details = 2; -
getIdentity
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()The identity of the worker/client
string identity = 3;- Returns:
- The bytes for identity.
-
getNamespace
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()string namespace = 4;- Returns:
- The bytes for namespace.
-
getResourceId
String getResourceId()Resource ID for routing. Contains the workflow ID or activity ID for standalone activities.
string resource_id = 8;- Returns:
- The resourceId.
-
getResourceIdBytes
com.google.protobuf.ByteString getResourceIdBytes()Resource ID for routing. Contains the workflow ID or activity ID for standalone activities.
string resource_id = 8;- Returns:
- The bytes for resourceId.
-
hasWorkerVersion
Deprecated.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.worker_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=788Version 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` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version = 5 [deprecated = true];- Returns:
- Whether the workerVersion field is set.
-
getWorkerVersion
Deprecated.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.worker_version is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=788Version 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` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version = 5 [deprecated = true];- Returns:
- The workerVersion.
-
getWorkerVersionOrBuilder
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` instead.
.temporal.api.common.v1.WorkerVersionStamp worker_version = 5 [deprecated = true]; -
hasDeployment
Deprecated.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.deployment is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=792Deployment 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 = 6 [deprecated = true];- Returns:
- Whether the deployment field is set.
-
getDeployment
Deprecated.temporal.api.workflowservice.v1.RespondActivityTaskCanceledRequest.deployment is deprecated. See temporal/api/workflowservice/v1/request_response.proto;l=792Deployment 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 = 6 [deprecated = true];- 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 = 6 [deprecated = true]; -
hasDeploymentOptions
boolean hasDeploymentOptions()Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 7;- Returns:
- Whether the deploymentOptions field is set.
-
getDeploymentOptions
WorkerDeploymentOptions getDeploymentOptions()Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 7;- Returns:
- The deploymentOptions.
-
getDeploymentOptionsOrBuilder
WorkerDeploymentOptionsOrBuilder getDeploymentOptionsOrBuilder()Worker deployment options that user has set in the worker.
.temporal.api.deployment.v1.WorkerDeploymentOptions deployment_options = 7;
-