Interface PauseActivityRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PauseActivityRequest,PauseActivityRequest.Builder
@Generated(value="protoc",
comments="annotations:PauseActivityRequestOrBuilder.java.pb.meta")
public interface PauseActivityRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionExecution info of the workflow which scheduled this activityExecution info of the workflow which scheduled this activitygetId()Only the activity with this ID will be paused.com.google.protobuf.ByteStringOnly the activity with this ID will be paused.The identity of the client who initiated this request.com.google.protobuf.ByteStringThe identity of the client who initiated this request.Namespace of the workflow which scheduled this activity.com.google.protobuf.ByteStringNamespace of the workflow which scheduled this activity.Reason to pause the activity.com.google.protobuf.ByteStringReason to pause the activity.Used to de-dupe pause requests.com.google.protobuf.ByteStringUsed to de-dupe pause requests.getType()Pause all running activities of this type.com.google.protobuf.ByteStringPause all running activities of this type.booleanExecution info of the workflow which scheduled this activitybooleanhasId()Only the activity with this ID will be paused.booleanhasType()Pause all running activities of this type.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
-
getNamespace
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.
-
hasExecution
boolean hasExecution()Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2;- Returns:
- Whether the execution field is set.
-
getExecution
WorkflowExecution getExecution()Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2;- Returns:
- The execution.
-
getExecutionOrBuilder
WorkflowExecutionOrBuilder getExecutionOrBuilder()Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2; -
getIdentity
String getIdentity()The identity of the client who initiated this request.
string identity = 3;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request.
string identity = 3;- Returns:
- The bytes for identity.
-
hasId
boolean hasId()Only the activity with this ID will be paused.
string id = 4;- Returns:
- Whether the id field is set.
-
getId
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Only the activity with this ID will be paused.
string id = 4;- Returns:
- The bytes for id.
-
hasType
boolean hasType()Pause all running activities of this type. Note: Experimental - the behavior of pause by activity type might change in a future release.
string type = 5;- Returns:
- Whether the type field is set.
-
getType
String getType()Pause all running activities of this type. Note: Experimental - the behavior of pause by activity type might change in a future release.
string type = 5;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()Pause all running activities of this type. Note: Experimental - the behavior of pause by activity type might change in a future release.
string type = 5;- Returns:
- The bytes for type.
-
getReason
-
getReasonBytes
com.google.protobuf.ByteString getReasonBytes()Reason to pause the activity.
string reason = 6;- Returns:
- The bytes for reason.
-
getRequestId
String getRequestId()Used to de-dupe pause requests.
string request_id = 7;- Returns:
- The requestId.
-
getRequestIdBytes
com.google.protobuf.ByteString getRequestIdBytes()Used to de-dupe pause requests.
string request_id = 7;- Returns:
- The bytes for requestId.
-
getActivityCase
PauseActivityRequest.ActivityCase getActivityCase()
-