Class PauseActivityRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PauseActivityRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
io.temporal.api.workflowservice.v1.PauseActivityRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PauseActivityRequestOrBuilder,Cloneable
- Enclosing class:
PauseActivityRequest
public static final class PauseActivityRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
implements PauseActivityRequestOrBuilder
Deprecated. Use `PauseActivityExecutionRequest`.Protobuf type
temporal.api.workflowservice.v1.PauseActivityRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Execution info of the workflow which scheduled this activityclearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()Only the activity with this ID will be paused.The identity of the client who initiated this request.Namespace of the workflow which scheduled this activity.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Reason to pause the activity.Used to de-dupe pause requests.Pause all running activities of this type.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorExecution info of the workflow which scheduled this activityExecution 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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeExecution(WorkflowExecution value) Execution info of the workflow which scheduled this activitymergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(PauseActivityRequest other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setExecution(WorkflowExecution value) Execution info of the workflow which scheduled this activitysetExecution(WorkflowExecution.Builder builderForValue) Execution info of the workflow which scheduled this activityOnly the activity with this ID will be paused.setIdBytes(com.google.protobuf.ByteString value) Only the activity with this ID will be paused.setIdentity(String value) The identity of the client who initiated this request.setIdentityBytes(com.google.protobuf.ByteString value) The identity of the client who initiated this request.setNamespace(String value) Namespace of the workflow which scheduled this activity.setNamespaceBytes(com.google.protobuf.ByteString value) Namespace of the workflow which scheduled this activity.Reason to pause the activity.setReasonBytes(com.google.protobuf.ByteString value) Reason to pause the activity.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) Used to de-dupe pause requests.setRequestIdBytes(com.google.protobuf.ByteString value) Used to de-dupe pause requests.Pause all running activities of this type.setTypeBytes(com.google.protobuf.ByteString value) Pause all running activities of this type.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-
setField
public PauseActivityRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-
clearField
public PauseActivityRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-
clearOneof
public PauseActivityRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-
setRepeatedField
public PauseActivityRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-
addRepeatedField
public PauseActivityRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PauseActivityRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-
mergeFrom
public PauseActivityRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PauseActivityRequest.Builder>- Throws:
IOException
-
getActivityCase
- Specified by:
getActivityCasein interfacePauseActivityRequestOrBuilder
-
clearActivity
-
getNamespace
Namespace of the workflow which scheduled this activity.
string namespace = 1;- Specified by:
getNamespacein interfacePauseActivityRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace of the workflow which scheduled this activity.
string namespace = 1;- Specified by:
getNamespaceBytesin interfacePauseActivityRequestOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
Namespace of the workflow which scheduled this activity.
string namespace = 1;- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
Namespace of the workflow which scheduled this activity.
string namespace = 1;- Returns:
- This builder for chaining.
-
setNamespaceBytes
Namespace of the workflow which scheduled this activity.
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
hasExecution
public boolean hasExecution()Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2;- Specified by:
hasExecutionin interfacePauseActivityRequestOrBuilder- Returns:
- Whether the execution field is set.
-
getExecution
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2;- Specified by:
getExecutionin interfacePauseActivityRequestOrBuilder- Returns:
- The execution.
-
setExecution
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2; -
setExecution
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2; -
mergeExecution
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2; -
clearExecution
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2; -
getExecutionBuilder
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2; -
getExecutionOrBuilder
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2;- Specified by:
getExecutionOrBuilderin interfacePauseActivityRequestOrBuilder
-
getIdentity
The identity of the client who initiated this request.
string identity = 3;- Specified by:
getIdentityin interfacePauseActivityRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request.
string identity = 3;- Specified by:
getIdentityBytesin interfacePauseActivityRequestOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
The identity of the client who initiated this request.
string identity = 3;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
The identity of the client who initiated this request.
string identity = 3;- Returns:
- This builder for chaining.
-
setIdentityBytes
The identity of the client who initiated this request.
string identity = 3;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Only the activity with this ID will be paused.
string id = 4;- Specified by:
hasIdin interfacePauseActivityRequestOrBuilder- Returns:
- Whether the id field is set.
-
getId
Only the activity with this ID will be paused.
string id = 4;- Specified by:
getIdin interfacePauseActivityRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Only the activity with this ID will be paused.
string id = 4;- Specified by:
getIdBytesin interfacePauseActivityRequestOrBuilder- Returns:
- The bytes for id.
-
setId
Only the activity with this ID will be paused.
string id = 4;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Only the activity with this ID will be paused.
string id = 4;- Returns:
- This builder for chaining.
-
setIdBytes
Only the activity with this ID will be paused.
string id = 4;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasType
public 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;- Specified by:
hasTypein interfacePauseActivityRequestOrBuilder- Returns:
- Whether the type field is set.
-
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;- Specified by:
getTypein interfacePauseActivityRequestOrBuilder- Returns:
- The type.
-
getTypeBytes
public 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;- Specified by:
getTypeBytesin interfacePauseActivityRequestOrBuilder- Returns:
- The bytes for type.
-
setType
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;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
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:
- This builder for chaining.
-
setTypeBytes
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;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getReason
Reason to pause the activity.
string reason = 6;- Specified by:
getReasonin interfacePauseActivityRequestOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()Reason to pause the activity.
string reason = 6;- Specified by:
getReasonBytesin interfacePauseActivityRequestOrBuilder- Returns:
- The bytes for reason.
-
setReason
Reason to pause the activity.
string reason = 6;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
Reason to pause the activity.
string reason = 6;- Returns:
- This builder for chaining.
-
setReasonBytes
Reason to pause the activity.
string reason = 6;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
getRequestId
Used to de-dupe pause requests.
string request_id = 7;- Specified by:
getRequestIdin interfacePauseActivityRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()Used to de-dupe pause requests.
string request_id = 7;- Specified by:
getRequestIdBytesin interfacePauseActivityRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
Used to de-dupe pause requests.
string request_id = 7;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
Used to de-dupe pause requests.
string request_id = 7;- Returns:
- This builder for chaining.
-
setRequestIdBytes
Used to de-dupe pause requests.
string request_id = 7;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PauseActivityRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-
mergeUnknownFields
public final PauseActivityRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PauseActivityRequest.Builder>
-