Class UnpauseActivityRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<UnpauseActivityRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.Builder>
io.temporal.api.workflowservice.v1.UnpauseActivityRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UnpauseActivityRequestOrBuilder,Cloneable
- Enclosing class:
UnpauseActivityRequest
public static final class UnpauseActivityRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.Builder>
implements UnpauseActivityRequestOrBuilder
Deprecated. Use `UnpauseActivityExecutionRequest`.Protobuf type
temporal.api.workflowservice.v1.UnpauseActivityRequest-
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 unpaused.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) Providing this flag will also reset the number of attempts.Providing this flag will also reset the heartbeat details.Unpause all running activities with of this type.Unpause all running activities.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 unpaused.com.google.protobuf.ByteStringOnly the activity with this ID will be unpaused.The 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.booleanProviding this flag will also reset the number of attempts.booleanProviding this flag will also reset the heartbeat details.getType()Unpause all running activities with of this type.com.google.protobuf.ByteStringUnpause all running activities with of this type.booleanUnpause all running activities.booleanExecution info of the workflow which scheduled this activitybooleanhasId()Only the activity with this ID will be unpaused.booleanIf set, the activity will start at a random time within the specified jitter duration.booleanhasType()Unpause all running activities with of this type.booleanUnpause all running activities.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(UnpauseActivityRequest 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) 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 unpaused.setIdBytes(com.google.protobuf.ByteString value) Only the activity with this ID will be unpaused.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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setResetAttempts(boolean value) Providing this flag will also reset the number of attempts.setResetHeartbeat(boolean value) Providing this flag will also reset the heartbeat details.Unpause all running activities with of this type.setTypeBytes(com.google.protobuf.ByteString value) Unpause all running activities with of this type.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setUnpauseAll(boolean value) Unpause all running activities.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<UnpauseActivityRequest.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<UnpauseActivityRequest.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<UnpauseActivityRequest.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<UnpauseActivityRequest.Builder>
-
setField
public UnpauseActivityRequest.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<UnpauseActivityRequest.Builder>
-
clearField
public UnpauseActivityRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.Builder>
-
clearOneof
public UnpauseActivityRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.Builder>
-
setRepeatedField
public UnpauseActivityRequest.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<UnpauseActivityRequest.Builder>
-
addRepeatedField
public UnpauseActivityRequest.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<UnpauseActivityRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UnpauseActivityRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.Builder>
-
mergeFrom
public UnpauseActivityRequest.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<UnpauseActivityRequest.Builder>- Throws:
IOException
-
getActivityCase
- Specified by:
getActivityCasein interfaceUnpauseActivityRequestOrBuilder
-
clearActivity
-
getNamespace
Namespace of the workflow which scheduled this activity.
string namespace = 1;- Specified by:
getNamespacein interfaceUnpauseActivityRequestOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Namespace of the workflow which scheduled this activity.
string namespace = 1;- Specified by:
getNamespaceBytesin interfaceUnpauseActivityRequestOrBuilder- 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 interfaceUnpauseActivityRequestOrBuilder- 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 interfaceUnpauseActivityRequestOrBuilder- 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 interfaceUnpauseActivityRequestOrBuilder
-
getIdentity
The identity of the client who initiated this request.
string identity = 3;- Specified by:
getIdentityin interfaceUnpauseActivityRequestOrBuilder- 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 interfaceUnpauseActivityRequestOrBuilder- 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 unpaused.
string id = 4;- Specified by:
hasIdin interfaceUnpauseActivityRequestOrBuilder- Returns:
- Whether the id field is set.
-
getId
Only the activity with this ID will be unpaused.
string id = 4;- Specified by:
getIdin interfaceUnpauseActivityRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Only the activity with this ID will be unpaused.
string id = 4;- Specified by:
getIdBytesin interfaceUnpauseActivityRequestOrBuilder- Returns:
- The bytes for id.
-
setId
Only the activity with this ID will be unpaused.
string id = 4;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Only the activity with this ID will be unpaused.
string id = 4;- Returns:
- This builder for chaining.
-
setIdBytes
Only the activity with this ID will be unpaused.
string id = 4;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()Unpause all running activities with of this type.
string type = 5;- Specified by:
hasTypein interfaceUnpauseActivityRequestOrBuilder- Returns:
- Whether the type field is set.
-
getType
Unpause all running activities with of this type.
string type = 5;- Specified by:
getTypein interfaceUnpauseActivityRequestOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Unpause all running activities with of this type.
string type = 5;- Specified by:
getTypeBytesin interfaceUnpauseActivityRequestOrBuilder- Returns:
- The bytes for type.
-
setType
Unpause all running activities with of this type.
string type = 5;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Unpause all running activities with of this type.
string type = 5;- Returns:
- This builder for chaining.
-
setTypeBytes
Unpause all running activities with of this type.
string type = 5;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasUnpauseAll
public boolean hasUnpauseAll()Unpause all running activities.
bool unpause_all = 6;- Specified by:
hasUnpauseAllin interfaceUnpauseActivityRequestOrBuilder- Returns:
- Whether the unpauseAll field is set.
-
getUnpauseAll
public boolean getUnpauseAll()Unpause all running activities.
bool unpause_all = 6;- Specified by:
getUnpauseAllin interfaceUnpauseActivityRequestOrBuilder- Returns:
- The unpauseAll.
-
setUnpauseAll
Unpause all running activities.
bool unpause_all = 6;- Parameters:
value- The unpauseAll to set.- Returns:
- This builder for chaining.
-
clearUnpauseAll
Unpause all running activities.
bool unpause_all = 6;- Returns:
- This builder for chaining.
-
getResetAttempts
public boolean getResetAttempts()Providing this flag will also reset the number of attempts.
bool reset_attempts = 7;- Specified by:
getResetAttemptsin interfaceUnpauseActivityRequestOrBuilder- Returns:
- The resetAttempts.
-
setResetAttempts
Providing this flag will also reset the number of attempts.
bool reset_attempts = 7;- Parameters:
value- The resetAttempts to set.- Returns:
- This builder for chaining.
-
clearResetAttempts
Providing this flag will also reset the number of attempts.
bool reset_attempts = 7;- Returns:
- This builder for chaining.
-
getResetHeartbeat
public boolean getResetHeartbeat()Providing this flag will also reset the heartbeat details.
bool reset_heartbeat = 8;- Specified by:
getResetHeartbeatin interfaceUnpauseActivityRequestOrBuilder- Returns:
- The resetHeartbeat.
-
setResetHeartbeat
Providing this flag will also reset the heartbeat details.
bool reset_heartbeat = 8;- Parameters:
value- The resetHeartbeat to set.- Returns:
- This builder for chaining.
-
clearResetHeartbeat
Providing this flag will also reset the heartbeat details.
bool reset_heartbeat = 8;- 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 interfaceUnpauseActivityRequestOrBuilder- 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 interfaceUnpauseActivityRequestOrBuilder- 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 UnpauseActivityRequest.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 interfaceUnpauseActivityRequestOrBuilder
-
setUnknownFields
public final UnpauseActivityRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.Builder>
-
mergeUnknownFields
public final UnpauseActivityRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UnpauseActivityRequest.Builder>
-