Package io.temporal.api.batch.v1
Interface BatchOperationResetActivitiesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchOperationResetActivities,BatchOperationResetActivities.Builder
@Generated(value="protoc", comments="annotations:BatchOperationResetActivitiesOrBuilder.java.pb.meta") public interface BatchOperationResetActivitiesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchOperationResetActivities.ActivityCasegetActivityCase()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;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.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;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getIdentity
java.lang.String getIdentity()
The identity of the worker/client.
string identity = 1;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()
The identity of the worker/client.
string identity = 1;- Returns:
- The bytes for identity.
-
hasType
boolean hasType()
string type = 2;- Returns:
- Whether the type field is set.
-
getType
java.lang.String getType()
string type = 2;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
string type = 2;- Returns:
- The bytes for type.
-
hasMatchAll
boolean hasMatchAll()
bool match_all = 3;- Returns:
- Whether the matchAll field is set.
-
getMatchAll
boolean getMatchAll()
bool match_all = 3;- Returns:
- The matchAll.
-
getResetAttempts
boolean getResetAttempts()
Setting this flag will also reset the number of attempts.
bool reset_attempts = 4;- Returns:
- The resetAttempts.
-
getResetHeartbeat
boolean getResetHeartbeat()
Setting this flag will also reset the heartbeat details.
bool reset_heartbeat = 5;- Returns:
- The resetHeartbeat.
-
getKeepPaused
boolean getKeepPaused()
If activity is paused, it will remain paused after reset
bool keep_paused = 6;- Returns:
- The keepPaused.
-
hasJitter
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;- Returns:
- Whether the jitter field is set.
-
getJitter
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;- Returns:
- The jitter.
-
getJitterOrBuilder
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;
-
getRestoreOriginalOptions
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;- Returns:
- The restoreOriginalOptions.
-
getActivityCase
BatchOperationResetActivities.ActivityCase getActivityCase()
-
-