Interface ResetActivityRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResetActivityRequest,ResetActivityRequest.Builder
@Generated(value="protoc", comments="annotations:ResetActivityRequestOrBuilder.java.pb.meta") public interface ResetActivityRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResetActivityRequest.ActivityCasegetActivityCase()WorkflowExecutiongetExecution()Execution info of the workflow which scheduled this activityWorkflowExecutionOrBuildergetExecutionOrBuilder()Execution info of the workflow which scheduled this activityjava.lang.StringgetId()Only activity with this ID will be reset.com.google.protobuf.ByteStringgetIdBytes()Only activity with this ID will be reset.java.lang.StringgetIdentity()The identity of the client who initiated this request.com.google.protobuf.ByteStringgetIdentityBytes()The identity of the client who initiated this request.com.google.protobuf.DurationgetJitter()If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration.com.google.protobuf.DurationOrBuildergetJitterOrBuilder()If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration.booleangetKeepPaused()If activity is paused, it will remain paused after resetbooleangetMatchAll()Reset all running activities.java.lang.StringgetNamespace()Namespace of the workflow which scheduled this activity.com.google.protobuf.ByteStringgetNamespaceBytes()Namespace of the workflow which scheduled this activity.booleangetResetHeartbeat()Indicates that activity should reset heartbeat details.booleangetRestoreOriginalOptions()If set, the activity options will be restored to the defaults.java.lang.StringgetType()Reset all running activities with of this type.com.google.protobuf.ByteStringgetTypeBytes()Reset all running activities with of this type.booleanhasExecution()Execution info of the workflow which scheduled this activitybooleanhasId()Only activity with this ID will be reset.booleanhasJitter()If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration.booleanhasMatchAll()Reset all running activities.booleanhasType()Reset all running activities with of this type.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNamespace
java.lang.String getNamespace()
Namespace of the workflow which scheduled this activity.
string namespace = 1;- Returns:
- The namespace.
-
getNamespaceBytes
com.google.protobuf.ByteString getNamespaceBytes()
Namespace of the workflow which scheduled this activity.
string namespace = 1;- Returns:
- The bytes for namespace.
-
hasExecution
boolean hasExecution()
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2;- Returns:
- Whether the execution field is set.
-
getExecution
WorkflowExecution getExecution()
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2;- Returns:
- The execution.
-
getExecutionOrBuilder
WorkflowExecutionOrBuilder getExecutionOrBuilder()
Execution info of the workflow which scheduled this activity
.temporal.api.common.v1.WorkflowExecution execution = 2;
-
getIdentity
java.lang.String getIdentity()
The identity of the client who initiated this request.
string identity = 3;- Returns:
- The identity.
-
getIdentityBytes
com.google.protobuf.ByteString getIdentityBytes()
The identity of the client who initiated this request.
string identity = 3;- Returns:
- The bytes for identity.
-
hasId
boolean hasId()
Only activity with this ID will be reset.
string id = 4;- Returns:
- Whether the id field is set.
-
getId
java.lang.String getId()
Only activity with this ID will be reset.
string id = 4;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Only activity with this ID will be reset.
string id = 4;- Returns:
- The bytes for id.
-
hasType
boolean hasType()
Reset all running activities with of this type.
string type = 5;- Returns:
- Whether the type field is set.
-
getType
java.lang.String getType()
Reset all running activities with of this type.
string type = 5;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
Reset all running activities with of this type.
string type = 5;- Returns:
- The bytes for type.
-
hasMatchAll
boolean hasMatchAll()
Reset all running activities.
bool match_all = 10;- Returns:
- Whether the matchAll field is set.
-
getMatchAll
boolean getMatchAll()
Reset all running activities.
bool match_all = 10;- Returns:
- The matchAll.
-
getResetHeartbeat
boolean getResetHeartbeat()
Indicates that activity should reset heartbeat details. This flag will be applied only to the new instance of the activity.
bool reset_heartbeat = 6;- Returns:
- The resetHeartbeat.
-
getKeepPaused
boolean getKeepPaused()
If activity is paused, it will remain paused after reset
bool keep_paused = 7;- Returns:
- The keepPaused.
-
hasJitter
boolean hasJitter()
If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. (unless it is paused and keep_paused is set)
.google.protobuf.Duration jitter = 8;- Returns:
- Whether the jitter field is set.
-
getJitter
com.google.protobuf.Duration getJitter()
If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. (unless it is paused and keep_paused is set)
.google.protobuf.Duration jitter = 8;- Returns:
- The jitter.
-
getJitterOrBuilder
com.google.protobuf.DurationOrBuilder getJitterOrBuilder()
If set, and activity is in backoff, the activity will start at a random time within the specified jitter duration. (unless it is paused and keep_paused is set)
.google.protobuf.Duration jitter = 8;
-
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 SCHEDULE event.
bool restore_original_options = 9;- Returns:
- The restoreOriginalOptions.
-
getActivityCase
ResetActivityRequest.ActivityCase getActivityCase()
-
-