Interface RespondActivityTaskCanceledByIdRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RespondActivityTaskCanceledByIdRequest,RespondActivityTaskCanceledByIdRequest.Builder
@Generated(value="protoc", comments="annotations:RespondActivityTaskCanceledByIdRequestOrBuilder.java.pb.meta") public interface RespondActivityTaskCanceledByIdRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetActivityId()Id of the activity to confirm is cancelledcom.google.protobuf.ByteStringgetActivityIdBytes()Id of the activity to confirm is cancelledWorkerDeploymentOptionsgetDeploymentOptions()Worker deployment options that user has set in the worker.WorkerDeploymentOptionsOrBuildergetDeploymentOptionsOrBuilder()Worker deployment options that user has set in the worker.PayloadsgetDetails()Serialized additional information to attach to the cancellationPayloadsOrBuildergetDetailsOrBuilder()Serialized additional information to attach to the cancellationjava.lang.StringgetIdentity()The identity of the worker/clientcom.google.protobuf.ByteStringgetIdentityBytes()The identity of the worker/clientjava.lang.StringgetNamespace()Namespace of the workflow which scheduled this activitycom.google.protobuf.ByteStringgetNamespaceBytes()Namespace of the workflow which scheduled this activityjava.lang.StringgetResourceId()Resource ID for routing.com.google.protobuf.ByteStringgetResourceIdBytes()Resource ID for routing.java.lang.StringgetRunId()For a workflow activity - the run ID of the workflow which scheduled this activity.com.google.protobuf.ByteStringgetRunIdBytes()For a workflow activity - the run ID of the workflow which scheduled this activity.java.lang.StringgetWorkflowId()Id of the workflow which scheduled this activity, leave empty to target a standalone activitycom.google.protobuf.ByteStringgetWorkflowIdBytes()Id of the workflow which scheduled this activity, leave empty to target a standalone activitybooleanhasDeploymentOptions()Worker deployment options that user has set in the worker.booleanhasDetails()Serialized additional information to attach to the cancellation-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNamespace
java.lang.String getNamespace()
Namespace of the workflow which scheduled this activity
string namespace = 1;- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()
Namespace of the workflow which scheduled this activity
string namespace = 1;- Returns:
- The bytes for namespace.
-
getWorkflowId
java.lang.String getWorkflowId()
Id of the workflow which scheduled this activity, leave empty to target a standalone activity
string workflow_id = 2;- Returns:
- The workflowId.
-
getWorkflowIdBytes
com.google.protobuf.ByteString getWorkflowIdBytes()
Id of the workflow which scheduled this activity, leave empty to target a standalone activity
string workflow_id = 2;- Returns:
- The bytes for workflowId.
-
getRunId
java.lang.String getRunId()
For a workflow activity - the run ID of the workflow which scheduled this activity. For a standalone activity - the run ID of the activity.
string run_id = 3;- Returns:
- The runId.
-
getRunIdBytes
com.google.protobuf.ByteString getRunIdBytes()
For a workflow activity - the run ID of the workflow which scheduled this activity. For a standalone activity - the run ID of the activity.
string run_id = 3;- Returns:
- The bytes for runId.
-
getActivityId
java.lang.String getActivityId()
Id of the activity to confirm is cancelled
string activity_id = 4;- Returns:
- The activityId.
-
getActivityIdBytes
com.google.protobuf.ByteString getActivityIdBytes()
Id of the activity to confirm is cancelled
string activity_id = 4;- Returns:
- The bytes for activityId.
-
hasDetails
boolean hasDetails()
Serialized additional information to attach to the cancellation
.temporal.api.common.v1.Payloads details = 5;- Returns:
- Whether the details field is set.
-
getDetails
Payloads getDetails()
Serialized additional information to attach to the cancellation
.temporal.api.common.v1.Payloads details = 5;- Returns:
- The details.
-
getDetailsOrBuilder
PayloadsOrBuilder getDetailsOrBuilder()
Serialized additional information to attach to the cancellation
.temporal.api.common.v1.Payloads details = 5;
-
getIdentity
java.lang.String getIdentity()
The identity of the worker/client
string identity = 6;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client
string identity = 6;- Returns:
- The bytes for identity.
-
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;
-
getResourceId
java.lang.String getResourceId()
Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.
string resource_id = 8;- Returns:
- The resourceId.
-
getResourceIdBytes
com.google.protobuf.ByteString getResourceIdBytes()
Resource ID for routing. Contains "workflow:workflow_id" or "activity:activity_id" for standalone activities.
string resource_id = 8;- Returns:
- The bytes for resourceId.
-
-