Class UnpauseActivityExecutionRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UnpauseActivityExecutionRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityExecutionRequest.Builder>
io.temporal.api.workflowservice.v1.UnpauseActivityExecutionRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UnpauseActivityExecutionRequestOrBuilder,Cloneable
- Enclosing class:
UnpauseActivityExecutionRequest
public static final class UnpauseActivityExecutionRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityExecutionRequest.Builder>
implements UnpauseActivityExecutionRequestOrBuilder
Protobuf type
temporal.api.workflowservice.v1.UnpauseActivityExecutionRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The ID of the activity to target.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The identity of the client who initiated this request.If set, the activity will start at a random time within the specified jitter duration.Namespace of the workflow which scheduled this activity.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Reason to unpause the activity.Used to de-dupe unpause requests.Resource ID for routing.Run ID of the workflow or standalone activity.If provided, targets a workflow activity for the given workflow ID.clone()The ID of the activity to target.com.google.protobuf.ByteStringThe ID of the activity to target.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe identity of the client who initiated this request.com.google.protobuf.ByteStringThe identity of the client who initiated this request.com.google.protobuf.DurationIf set, the activity will start at a random time within the specified jitter duration.com.google.protobuf.Duration.BuilderIf set, the activity will start at a random time within the specified jitter duration.com.google.protobuf.DurationOrBuilderIf set, the activity will start at a random time within the specified jitter duration.Namespace of the workflow which scheduled this activity.com.google.protobuf.ByteStringNamespace of the workflow which scheduled this activity.Reason to unpause the activity.com.google.protobuf.ByteStringReason to unpause the activity.Used to de-dupe unpause requests.com.google.protobuf.ByteStringUsed to de-dupe unpause requests.Resource ID for routing.com.google.protobuf.ByteStringResource ID for routing.getRunId()Run ID of the workflow or standalone activity.com.google.protobuf.ByteStringRun ID of the workflow or standalone activity.If provided, targets a workflow activity for the given workflow ID.com.google.protobuf.ByteStringIf provided, targets a workflow activity for the given workflow ID.booleanIf set, the activity will start at a random time within the specified jitter duration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeJitter(com.google.protobuf.Duration value) If set, the activity will start at a random time within the specified jitter duration.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setActivityId(String value) The ID of the activity to target.setActivityIdBytes(com.google.protobuf.ByteString value) The ID of the activity to target.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.setJitter(com.google.protobuf.Duration value) If set, the activity will start at a random time within the specified jitter duration.setJitter(com.google.protobuf.Duration.Builder builderForValue) If set, the activity will start at a random time within the specified jitter duration.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 unpause the activity.setReasonBytes(com.google.protobuf.ByteString value) Reason to unpause the activity.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequestId(String value) Used to de-dupe unpause requests.setRequestIdBytes(com.google.protobuf.ByteString value) Used to de-dupe unpause requests.setResourceId(String value) Resource ID for routing.setResourceIdBytes(com.google.protobuf.ByteString value) Resource ID for routing.Run ID of the workflow or standalone activity.setRunIdBytes(com.google.protobuf.ByteString value) Run ID of the workflow or standalone activity.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setWorkflowId(String value) If provided, targets a workflow activity for the given workflow ID.setWorkflowIdBytes(com.google.protobuf.ByteString value) If provided, targets a workflow activity for the given workflow ID.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<UnpauseActivityExecutionRequest.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<UnpauseActivityExecutionRequest.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<UnpauseActivityExecutionRequest.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<UnpauseActivityExecutionRequest.Builder>
-
setField
public UnpauseActivityExecutionRequest.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<UnpauseActivityExecutionRequest.Builder>
-
clearField
public UnpauseActivityExecutionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityExecutionRequest.Builder>
-
clearOneof
public UnpauseActivityExecutionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityExecutionRequest.Builder>
-
setRepeatedField
public UnpauseActivityExecutionRequest.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<UnpauseActivityExecutionRequest.Builder>
-
addRepeatedField
public UnpauseActivityExecutionRequest.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<UnpauseActivityExecutionRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UnpauseActivityExecutionRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityExecutionRequest.Builder>
-
mergeFrom
public UnpauseActivityExecutionRequest.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<UnpauseActivityExecutionRequest.Builder>- Throws:
IOException
-
getNamespace
Namespace of the workflow which scheduled this activity.
string namespace = 1;- Specified by:
getNamespacein interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace of the workflow which scheduled this activity.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceUnpauseActivityExecutionRequestOrBuilder- 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
public UnpauseActivityExecutionRequest.Builder setNamespaceBytes(com.google.protobuf.ByteString value) Namespace of the workflow which scheduled this activity.
string namespace = 1;- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getWorkflowId
If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.
string workflow_id = 2;- Specified by:
getWorkflowIdin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The workflowId.
-
getWorkflowIdBytes
public com.google.protobuf.ByteString getWorkflowIdBytes()If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.
string workflow_id = 2;- Specified by:
getWorkflowIdBytesin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The bytes for workflowId.
-
setWorkflowId
If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.
string workflow_id = 2;- Parameters:
value- The workflowId to set.- Returns:
- This builder for chaining.
-
clearWorkflowId
If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.
string workflow_id = 2;- Returns:
- This builder for chaining.
-
setWorkflowIdBytes
public UnpauseActivityExecutionRequest.Builder setWorkflowIdBytes(com.google.protobuf.ByteString value) If provided, targets a workflow activity for the given workflow ID. If empty, targets a standalone activity.
string workflow_id = 2;- Parameters:
value- The bytes for workflowId to set.- Returns:
- This builder for chaining.
-
getActivityId
The ID of the activity to target.
string activity_id = 3;- Specified by:
getActivityIdin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The activityId.
-
getActivityIdBytes
public com.google.protobuf.ByteString getActivityIdBytes()The ID of the activity to target.
string activity_id = 3;- Specified by:
getActivityIdBytesin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The bytes for activityId.
-
setActivityId
The ID of the activity to target.
string activity_id = 3;- Parameters:
value- The activityId to set.- Returns:
- This builder for chaining.
-
clearActivityId
The ID of the activity to target.
string activity_id = 3;- Returns:
- This builder for chaining.
-
setActivityIdBytes
public UnpauseActivityExecutionRequest.Builder setActivityIdBytes(com.google.protobuf.ByteString value) The ID of the activity to target.
string activity_id = 3;- Parameters:
value- The bytes for activityId to set.- Returns:
- This builder for chaining.
-
getRunId
Run ID of the workflow or standalone activity. If empty, targets the latest run.
string run_id = 4;- Specified by:
getRunIdin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()Run ID of the workflow or standalone activity. If empty, targets the latest run.
string run_id = 4;- Specified by:
getRunIdBytesin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The bytes for runId.
-
setRunId
Run ID of the workflow or standalone activity. If empty, targets the latest run.
string run_id = 4;- Parameters:
value- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
Run ID of the workflow or standalone activity. If empty, targets the latest run.
string run_id = 4;- Returns:
- This builder for chaining.
-
setRunIdBytes
Run ID of the workflow or standalone activity. If empty, targets the latest run.
string run_id = 4;- Parameters:
value- The bytes for runId to set.- Returns:
- This builder for chaining.
-
getIdentity
The identity of the client who initiated this request.
string identity = 5;- Specified by:
getIdentityin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()The identity of the client who initiated this request.
string identity = 5;- Specified by:
getIdentityBytesin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
The identity of the client who initiated this request.
string identity = 5;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
The identity of the client who initiated this request.
string identity = 5;- Returns:
- This builder for chaining.
-
setIdentityBytes
public UnpauseActivityExecutionRequest.Builder setIdentityBytes(com.google.protobuf.ByteString value) The identity of the client who initiated this request.
string identity = 5;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
getReason
Reason to unpause the activity.
string reason = 8;- Specified by:
getReasonin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The reason.
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()Reason to unpause the activity.
string reason = 8;- Specified by:
getReasonBytesin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The bytes for reason.
-
setReason
Reason to unpause the activity.
string reason = 8;- Parameters:
value- The reason to set.- Returns:
- This builder for chaining.
-
clearReason
Reason to unpause the activity.
string reason = 8;- Returns:
- This builder for chaining.
-
setReasonBytes
Reason to unpause the activity.
string reason = 8;- Parameters:
value- The bytes for reason to set.- Returns:
- This builder for chaining.
-
hasJitter
public boolean hasJitter()If set, the activity will start at a random time within the specified jitter duration.
.google.protobuf.Duration jitter = 9;- Specified by:
hasJitterin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- Whether the jitter field is set.
-
getJitter
public com.google.protobuf.Duration getJitter()If set, the activity will start at a random time within the specified jitter duration.
.google.protobuf.Duration jitter = 9;- Specified by:
getJitterin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The jitter.
-
setJitter
If set, the activity will start at a random time within the specified jitter duration.
.google.protobuf.Duration jitter = 9; -
setJitter
public UnpauseActivityExecutionRequest.Builder setJitter(com.google.protobuf.Duration.Builder builderForValue) If set, the activity will start at a random time within the specified jitter duration.
.google.protobuf.Duration jitter = 9; -
mergeJitter
If set, the activity will start at a random time within the specified jitter duration.
.google.protobuf.Duration jitter = 9; -
clearJitter
If set, the activity will start at a random time within the specified jitter duration.
.google.protobuf.Duration jitter = 9; -
getJitterBuilder
public com.google.protobuf.Duration.Builder getJitterBuilder()If set, the activity will start at a random time within the specified jitter duration.
.google.protobuf.Duration jitter = 9; -
getJitterOrBuilder
public com.google.protobuf.DurationOrBuilder getJitterOrBuilder()If set, the activity will start at a random time within the specified jitter duration.
.google.protobuf.Duration jitter = 9;- Specified by:
getJitterOrBuilderin interfaceUnpauseActivityExecutionRequestOrBuilder
-
getResourceId
Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.string resource_id = 10;- Specified by:
getResourceIdin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The resourceId.
-
getResourceIdBytes
public com.google.protobuf.ByteString getResourceIdBytes()Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.string resource_id = 10;- Specified by:
getResourceIdBytesin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The bytes for resourceId.
-
setResourceId
Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.string resource_id = 10;- Parameters:
value- The resourceId to set.- Returns:
- This builder for chaining.
-
clearResourceId
Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.string resource_id = 10;- Returns:
- This builder for chaining.
-
setResourceIdBytes
public UnpauseActivityExecutionRequest.Builder setResourceIdBytes(com.google.protobuf.ByteString value) Resource ID for routing. Contains "workflow:{workflow_id}" for workflow activities or "activity:{activity_id}" for standalone activities.string resource_id = 10;- Parameters:
value- The bytes for resourceId to set.- Returns:
- This builder for chaining.
-
getRequestId
Used to de-dupe unpause requests.
string request_id = 11;- Specified by:
getRequestIdin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()Used to de-dupe unpause requests.
string request_id = 11;- Specified by:
getRequestIdBytesin interfaceUnpauseActivityExecutionRequestOrBuilder- Returns:
- The bytes for requestId.
-
setRequestId
Used to de-dupe unpause requests.
string request_id = 11;- Parameters:
value- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
Used to de-dupe unpause requests.
string request_id = 11;- Returns:
- This builder for chaining.
-
setRequestIdBytes
public UnpauseActivityExecutionRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value) Used to de-dupe unpause requests.
string request_id = 11;- Parameters:
value- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UnpauseActivityExecutionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityExecutionRequest.Builder>
-
mergeUnknownFields
public final UnpauseActivityExecutionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityExecutionRequest.Builder>
-