Interface RequestCancelActivityExecutionRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RequestCancelActivityExecutionRequest,RequestCancelActivityExecutionRequest.Builder
@Generated(value="protoc", comments="annotations:RequestCancelActivityExecutionRequestOrBuilder.java.pb.meta") public interface RequestCancelActivityExecutionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetActivityId()string activity_id = 2;com.google.protobuf.ByteStringgetActivityIdBytes()string activity_id = 2;java.lang.StringgetIdentity()The identity of the worker/client.com.google.protobuf.ByteStringgetIdentityBytes()The identity of the worker/client.java.lang.StringgetNamespace()string namespace = 1;com.google.protobuf.ByteStringgetNamespaceBytes()string namespace = 1;java.lang.StringgetReason()Reason for requesting the cancellation, recorded and available via the PollActivityExecution API.com.google.protobuf.ByteStringgetReasonBytes()Reason for requesting the cancellation, recorded and available via the PollActivityExecution API.java.lang.StringgetRequestId()Used to de-dupe cancellation requests.com.google.protobuf.ByteStringgetRequestIdBytes()Used to de-dupe cancellation requests.java.lang.StringgetRunId()Activity run ID, targets the latest run if run_id is empty.com.google.protobuf.ByteStringgetRunIdBytes()Activity run ID, targets the latest run if run_id is empty.-
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()
string namespace = 1;- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()
string namespace = 1;- Returns:
- The bytes for namespace.
-
getActivityId
java.lang.String getActivityId()
string activity_id = 2;- Returns:
- The activityId.
-
getActivityIdBytes
com.google.protobuf.ByteString getActivityIdBytes()
string activity_id = 2;- Returns:
- The bytes for activityId.
-
getRunId
java.lang.String getRunId()
Activity run ID, targets the latest run if run_id is empty.
string run_id = 3;- Returns:
- The runId.
-
getRunIdBytes
com.google.protobuf.ByteString getRunIdBytes()
Activity run ID, targets the latest run if run_id is empty.
string run_id = 3;- Returns:
- The bytes for runId.
-
getIdentity
java.lang.String getIdentity()
The identity of the worker/client.
string identity = 4;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client.
string identity = 4;- Returns:
- The bytes for identity.
-
getRequestId
java.lang.String getRequestId()
Used to de-dupe cancellation requests.
string request_id = 5;- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()
Used to de-dupe cancellation requests.
string request_id = 5;- Returns:
- The bytes for requestId.
-
getReason
java.lang.String getReason()
Reason for requesting the cancellation, recorded and available via the PollActivityExecution API. Not propagated to a worker if an activity attempt is currently running.
string reason = 6;- Returns:
- The reason.
-
getReasonBytes
com.google.protobuf.ByteString getReasonBytes()
Reason for requesting the cancellation, recorded and available via the PollActivityExecution API. Not propagated to a worker if an activity attempt is currently running.
string reason = 6;- Returns:
- The bytes for reason.
-
-