Package io.temporal.api.batch.v1
Class BatchOperationResetActivities
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.temporal.api.batch.v1.BatchOperationResetActivities
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BatchOperationResetActivitiesOrBuilder,java.io.Serializable
@Generated(value="protoc", comments="annotations:BatchOperationResetActivities.java.pb.meta") public final class BatchOperationResetActivities extends com.google.protobuf.GeneratedMessageV3 implements BatchOperationResetActivitiesOrBuilderBatchOperationResetActivities sends activity reset requests in a batch. NOTE: keep in sync with temporal.api.workflowservice.v1.ResetActivityRequest
Protobuf typetemporal.api.batch.v1.BatchOperationResetActivities- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBatchOperationResetActivities.ActivityCasestatic classBatchOperationResetActivities.BuilderBatchOperationResetActivities sends activity reset requests in a batch.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intIDENTITY_FIELD_NUMBERstatic intJITTER_FIELD_NUMBERstatic intKEEP_PAUSED_FIELD_NUMBERstatic intMATCH_ALL_FIELD_NUMBERstatic intRESET_ATTEMPTS_FIELD_NUMBERstatic intRESET_HEARTBEAT_FIELD_NUMBERstatic intRESTORE_ORIGINAL_OPTIONS_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)BatchOperationResetActivities.ActivityCasegetActivityCase()static BatchOperationResetActivitiesgetDefaultInstance()BatchOperationResetActivitiesgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.DurationOrBuildergetJitterOrBuilder()If set, the activity will start at a random time within the specified jitter duration, introducing variability to the start time.booleangetKeepPaused()If activity is paused, it will remain paused after resetbooleangetMatchAll()bool match_all = 3;com.google.protobuf.Parser<BatchOperationResetActivities>getParserForType()booleangetResetAttempts()Setting this flag will also reset the number of attempts.booleangetResetHeartbeat()Setting this flag will also reset the heartbeat details.booleangetRestoreOriginalOptions()If set, the activity options will be restored to the defaults.intgetSerializedSize()java.lang.StringgetType()string type = 2;com.google.protobuf.ByteStringgetTypeBytes()string type = 2;inthashCode()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()static BatchOperationResetActivities.BuildernewBuilder()static BatchOperationResetActivities.BuildernewBuilder(BatchOperationResetActivities prototype)BatchOperationResetActivities.BuildernewBuilderForType()protected BatchOperationResetActivities.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static BatchOperationResetActivitiesparseDelimitedFrom(java.io.InputStream input)static BatchOperationResetActivitiesparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchOperationResetActivitiesparseFrom(byte[] data)static BatchOperationResetActivitiesparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchOperationResetActivitiesparseFrom(com.google.protobuf.ByteString data)static BatchOperationResetActivitiesparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchOperationResetActivitiesparseFrom(com.google.protobuf.CodedInputStream input)static BatchOperationResetActivitiesparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchOperationResetActivitiesparseFrom(java.io.InputStream input)static BatchOperationResetActivitiesparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static BatchOperationResetActivitiesparseFrom(java.nio.ByteBuffer data)static BatchOperationResetActivitiesparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<BatchOperationResetActivities>parser()BatchOperationResetActivities.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
IDENTITY_FIELD_NUMBER
public static final int IDENTITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MATCH_ALL_FIELD_NUMBER
public static final int MATCH_ALL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESET_ATTEMPTS_FIELD_NUMBER
public static final int RESET_ATTEMPTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESET_HEARTBEAT_FIELD_NUMBER
public static final int RESET_HEARTBEAT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
KEEP_PAUSED_FIELD_NUMBER
public static final int KEEP_PAUSED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
JITTER_FIELD_NUMBER
public static final int JITTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESTORE_ORIGINAL_OPTIONS_FIELD_NUMBER
public static final int RESTORE_ORIGINAL_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getActivityCase
public BatchOperationResetActivities.ActivityCase getActivityCase()
- Specified by:
getActivityCasein interfaceBatchOperationResetActivitiesOrBuilder
-
getIdentity
public java.lang.String getIdentity()
The identity of the worker/client.
string identity = 1;- Specified by:
getIdentityin interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- The identity.
-
getIdentityBytes
public com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client.
string identity = 1;- Specified by:
getIdentityBytesin interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- The bytes for identity.
-
hasType
public boolean hasType()
string type = 2;- Specified by:
hasTypein interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- Whether the type field is set.
-
getType
public java.lang.String getType()
string type = 2;- Specified by:
getTypein interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 2;- Specified by:
getTypeBytesin interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- The bytes for type.
-
hasMatchAll
public boolean hasMatchAll()
bool match_all = 3;- Specified by:
hasMatchAllin interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- Whether the matchAll field is set.
-
getMatchAll
public boolean getMatchAll()
bool match_all = 3;- Specified by:
getMatchAllin interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- The matchAll.
-
getResetAttempts
public boolean getResetAttempts()
Setting this flag will also reset the number of attempts.
bool reset_attempts = 4;- Specified by:
getResetAttemptsin interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- The resetAttempts.
-
getResetHeartbeat
public boolean getResetHeartbeat()
Setting this flag will also reset the heartbeat details.
bool reset_heartbeat = 5;- Specified by:
getResetHeartbeatin interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- The resetHeartbeat.
-
getKeepPaused
public boolean getKeepPaused()
If activity is paused, it will remain paused after reset
bool keep_paused = 6;- Specified by:
getKeepPausedin interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- The keepPaused.
-
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 = 7;- Specified by:
hasJitterin interfaceBatchOperationResetActivitiesOrBuilder- 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 = 7;- Specified by:
getJitterin interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- The jitter.
-
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 = 7;- Specified by:
getJitterOrBuilderin interfaceBatchOperationResetActivitiesOrBuilder
-
getRestoreOriginalOptions
public boolean getRestoreOriginalOptions()
If set, the activity options will be restored to the defaults. Default options are then options activity was created with. They are part of the first ActivityTaskScheduled event.
bool restore_original_options = 8;- Specified by:
getRestoreOriginalOptionsin interfaceBatchOperationResetActivitiesOrBuilder- Returns:
- The restoreOriginalOptions.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BatchOperationResetActivities parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationResetActivities parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationResetActivities parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationResetActivities parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationResetActivities parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationResetActivities parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BatchOperationResetActivities parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BatchOperationResetActivities parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BatchOperationResetActivities parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static BatchOperationResetActivities parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BatchOperationResetActivities parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static BatchOperationResetActivities parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public BatchOperationResetActivities.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BatchOperationResetActivities.Builder newBuilder()
-
newBuilder
public static BatchOperationResetActivities.Builder newBuilder(BatchOperationResetActivities prototype)
-
toBuilder
public BatchOperationResetActivities.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BatchOperationResetActivities.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BatchOperationResetActivities getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BatchOperationResetActivities> parser()
-
getParserForType
public com.google.protobuf.Parser<BatchOperationResetActivities> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BatchOperationResetActivities getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-