Package io.temporal.api.batch.v1
Class BatchOperationUnpauseActivities.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUnpauseActivities.Builder>
-
- io.temporal.api.batch.v1.BatchOperationUnpauseActivities.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BatchOperationUnpauseActivitiesOrBuilder,java.lang.Cloneable
- Enclosing class:
- BatchOperationUnpauseActivities
public static final class BatchOperationUnpauseActivities.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUnpauseActivities.Builder> implements BatchOperationUnpauseActivitiesOrBuilder
BatchOperationUnpauseActivities sends unpause requests to batch workflows.
Protobuf typetemporal.api.batch.v1.BatchOperationUnpauseActivities
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchOperationUnpauseActivities.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BatchOperationUnpauseActivitiesbuild()BatchOperationUnpauseActivitiesbuildPartial()BatchOperationUnpauseActivities.Builderclear()BatchOperationUnpauseActivities.BuilderclearActivity()BatchOperationUnpauseActivities.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BatchOperationUnpauseActivities.BuilderclearIdentity()The identity of the worker/client.BatchOperationUnpauseActivities.BuilderclearJitter()If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.BatchOperationUnpauseActivities.BuilderclearMatchAll()bool match_all = 3;BatchOperationUnpauseActivities.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BatchOperationUnpauseActivities.BuilderclearResetAttempts()Setting this flag will also reset the number of attempts.BatchOperationUnpauseActivities.BuilderclearResetHeartbeat()Setting this flag will also reset the heartbeat details.BatchOperationUnpauseActivities.BuilderclearType()string type = 2;BatchOperationUnpauseActivities.Builderclone()BatchOperationUnpauseActivities.ActivityCasegetActivityCase()BatchOperationUnpauseActivitiesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetIdentity()The identity of the worker/client.com.google.protobuf.ByteStringgetIdentityBytes()The identity of the worker/client.com.google.protobuf.DurationgetJitter()If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.com.google.protobuf.Duration.BuildergetJitterBuilder()If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.com.google.protobuf.DurationOrBuildergetJitterOrBuilder()If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.booleangetMatchAll()bool match_all = 3;booleangetResetAttempts()Setting this flag will also reset the number of attempts.booleangetResetHeartbeat()Setting this flag will also reset the heartbeat details.java.lang.StringgetType()string type = 2;com.google.protobuf.ByteStringgetTypeBytes()string type = 2;booleanhasJitter()If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.booleanhasMatchAll()bool match_all = 3;booleanhasType()string type = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()BatchOperationUnpauseActivities.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BatchOperationUnpauseActivities.BuildermergeFrom(com.google.protobuf.Message other)BatchOperationUnpauseActivities.BuildermergeFrom(BatchOperationUnpauseActivities other)BatchOperationUnpauseActivities.BuildermergeJitter(com.google.protobuf.Duration value)If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.BatchOperationUnpauseActivities.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BatchOperationUnpauseActivities.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BatchOperationUnpauseActivities.BuildersetIdentity(java.lang.String value)The identity of the worker/client.BatchOperationUnpauseActivities.BuildersetIdentityBytes(com.google.protobuf.ByteString value)The identity of the worker/client.BatchOperationUnpauseActivities.BuildersetJitter(com.google.protobuf.Duration value)If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.BatchOperationUnpauseActivities.BuildersetJitter(com.google.protobuf.Duration.Builder builderForValue)If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.BatchOperationUnpauseActivities.BuildersetMatchAll(boolean value)bool match_all = 3;BatchOperationUnpauseActivities.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)BatchOperationUnpauseActivities.BuildersetResetAttempts(boolean value)Setting this flag will also reset the number of attempts.BatchOperationUnpauseActivities.BuildersetResetHeartbeat(boolean value)Setting this flag will also reset the heartbeat details.BatchOperationUnpauseActivities.BuildersetType(java.lang.String value)string type = 2;BatchOperationUnpauseActivities.BuildersetTypeBytes(com.google.protobuf.ByteString value)string type = 2;BatchOperationUnpauseActivities.BuildersetUnknownFields(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, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<BatchOperationUnpauseActivities.Builder>
-
clear
public BatchOperationUnpauseActivities.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<BatchOperationUnpauseActivities.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<BatchOperationUnpauseActivities.Builder>
-
getDefaultInstanceForType
public BatchOperationUnpauseActivities getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BatchOperationUnpauseActivities build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BatchOperationUnpauseActivities buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BatchOperationUnpauseActivities.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<BatchOperationUnpauseActivities.Builder>
-
setField
public BatchOperationUnpauseActivities.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUnpauseActivities.Builder>
-
clearField
public BatchOperationUnpauseActivities.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUnpauseActivities.Builder>
-
clearOneof
public BatchOperationUnpauseActivities.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUnpauseActivities.Builder>
-
setRepeatedField
public BatchOperationUnpauseActivities.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUnpauseActivities.Builder>
-
addRepeatedField
public BatchOperationUnpauseActivities.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUnpauseActivities.Builder>
-
mergeFrom
public BatchOperationUnpauseActivities.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchOperationUnpauseActivities.Builder>
-
mergeFrom
public BatchOperationUnpauseActivities.Builder mergeFrom(BatchOperationUnpauseActivities other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUnpauseActivities.Builder>
-
mergeFrom
public BatchOperationUnpauseActivities.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BatchOperationUnpauseActivities.Builder>- Throws:
java.io.IOException
-
getActivityCase
public BatchOperationUnpauseActivities.ActivityCase getActivityCase()
- Specified by:
getActivityCasein interfaceBatchOperationUnpauseActivitiesOrBuilder
-
clearActivity
public BatchOperationUnpauseActivities.Builder clearActivity()
-
getIdentity
public java.lang.String getIdentity()
The identity of the worker/client.
string identity = 1;- Specified by:
getIdentityin interfaceBatchOperationUnpauseActivitiesOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client.
string identity = 1;- Specified by:
getIdentityBytesin interfaceBatchOperationUnpauseActivitiesOrBuilder- Returns:
- The bytes for identity.
-
setIdentity
public BatchOperationUnpauseActivities.Builder setIdentity(java.lang.String value)
The identity of the worker/client.
string identity = 1;- Parameters:
value- The identity to set.- Returns:
- This builder for chaining.
-
clearIdentity
public BatchOperationUnpauseActivities.Builder clearIdentity()
The identity of the worker/client.
string identity = 1;- Returns:
- This builder for chaining.
-
setIdentityBytes
public BatchOperationUnpauseActivities.Builder setIdentityBytes(com.google.protobuf.ByteString value)
The identity of the worker/client.
string identity = 1;- Parameters:
value- The bytes for identity to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()
string type = 2;- Specified by:
hasTypein interfaceBatchOperationUnpauseActivitiesOrBuilder- Returns:
- Whether the type field is set.
-
getType
public java.lang.String getType()
string type = 2;- Specified by:
getTypein interfaceBatchOperationUnpauseActivitiesOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 2;- Specified by:
getTypeBytesin interfaceBatchOperationUnpauseActivitiesOrBuilder- Returns:
- The bytes for type.
-
setType
public BatchOperationUnpauseActivities.Builder setType(java.lang.String value)
string type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public BatchOperationUnpauseActivities.Builder clearType()
string type = 2;- Returns:
- This builder for chaining.
-
setTypeBytes
public BatchOperationUnpauseActivities.Builder setTypeBytes(com.google.protobuf.ByteString value)
string type = 2;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasMatchAll
public boolean hasMatchAll()
bool match_all = 3;- Specified by:
hasMatchAllin interfaceBatchOperationUnpauseActivitiesOrBuilder- Returns:
- Whether the matchAll field is set.
-
getMatchAll
public boolean getMatchAll()
bool match_all = 3;- Specified by:
getMatchAllin interfaceBatchOperationUnpauseActivitiesOrBuilder- Returns:
- The matchAll.
-
setMatchAll
public BatchOperationUnpauseActivities.Builder setMatchAll(boolean value)
bool match_all = 3;- Parameters:
value- The matchAll to set.- Returns:
- This builder for chaining.
-
clearMatchAll
public BatchOperationUnpauseActivities.Builder clearMatchAll()
bool match_all = 3;- Returns:
- This builder for chaining.
-
getResetAttempts
public boolean getResetAttempts()
Setting this flag will also reset the number of attempts.
bool reset_attempts = 4;- Specified by:
getResetAttemptsin interfaceBatchOperationUnpauseActivitiesOrBuilder- Returns:
- The resetAttempts.
-
setResetAttempts
public BatchOperationUnpauseActivities.Builder setResetAttempts(boolean value)
Setting this flag will also reset the number of attempts.
bool reset_attempts = 4;- Parameters:
value- The resetAttempts to set.- Returns:
- This builder for chaining.
-
clearResetAttempts
public BatchOperationUnpauseActivities.Builder clearResetAttempts()
Setting this flag will also reset the number of attempts.
bool reset_attempts = 4;- Returns:
- This builder for chaining.
-
getResetHeartbeat
public boolean getResetHeartbeat()
Setting this flag will also reset the heartbeat details.
bool reset_heartbeat = 5;- Specified by:
getResetHeartbeatin interfaceBatchOperationUnpauseActivitiesOrBuilder- Returns:
- The resetHeartbeat.
-
setResetHeartbeat
public BatchOperationUnpauseActivities.Builder setResetHeartbeat(boolean value)
Setting this flag will also reset the heartbeat details.
bool reset_heartbeat = 5;- Parameters:
value- The resetHeartbeat to set.- Returns:
- This builder for chaining.
-
clearResetHeartbeat
public BatchOperationUnpauseActivities.Builder clearResetHeartbeat()
Setting this flag will also reset the heartbeat details.
bool reset_heartbeat = 5;- Returns:
- This builder for chaining.
-
hasJitter
public boolean hasJitter()
If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.
.google.protobuf.Duration jitter = 6;- Specified by:
hasJitterin interfaceBatchOperationUnpauseActivitiesOrBuilder- 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, introducing variability to the start time.
.google.protobuf.Duration jitter = 6;- Specified by:
getJitterin interfaceBatchOperationUnpauseActivitiesOrBuilder- Returns:
- The jitter.
-
setJitter
public BatchOperationUnpauseActivities.Builder setJitter(com.google.protobuf.Duration value)
If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.
.google.protobuf.Duration jitter = 6;
-
setJitter
public BatchOperationUnpauseActivities.Builder setJitter(com.google.protobuf.Duration.Builder builderForValue)
If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.
.google.protobuf.Duration jitter = 6;
-
mergeJitter
public BatchOperationUnpauseActivities.Builder mergeJitter(com.google.protobuf.Duration value)
If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.
.google.protobuf.Duration jitter = 6;
-
clearJitter
public BatchOperationUnpauseActivities.Builder clearJitter()
If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.
.google.protobuf.Duration jitter = 6;
-
getJitterBuilder
public com.google.protobuf.Duration.Builder getJitterBuilder()
If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.
.google.protobuf.Duration jitter = 6;
-
getJitterOrBuilder
public com.google.protobuf.DurationOrBuilder getJitterOrBuilder()
If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.
.google.protobuf.Duration jitter = 6;- Specified by:
getJitterOrBuilderin interfaceBatchOperationUnpauseActivitiesOrBuilder
-
setUnknownFields
public final BatchOperationUnpauseActivities.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUnpauseActivities.Builder>
-
mergeUnknownFields
public final BatchOperationUnpauseActivities.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BatchOperationUnpauseActivities.Builder>
-
-