Interface TimeSkippingConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeSkippingConfig,TimeSkippingConfig.Builder
@Generated(value="protoc",
comments="annotations:TimeSkippingConfigOrBuilder.java.pb.meta")
public interface TimeSkippingConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanBy default, executions started by another execution (e.g.booleanEnables or disables time skipping for this workflow execution.com.google.protobuf.DurationOptionally fast-forward the current workflow execution by this duration ahead of current workflow execution time.com.google.protobuf.DurationOrBuilderOptionally fast-forward the current workflow execution by this duration ahead of current workflow execution time.booleanOptionally fast-forward the current workflow execution by this duration ahead of current workflow execution time.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getEnabled
boolean getEnabled()Enables or disables time skipping for this workflow execution.
bool enabled = 1;- Returns:
- The enabled.
-
hasFastForward
boolean hasFastForward()Optionally fast-forward the current workflow execution by this duration ahead of current workflow execution time. After the fast-forward completes, time skipping is disabled, and this action is recorded in the WorkflowExecutionTimeSkippingTransitionedEvent. It can be re-enabled by setting `enabled` to true or setting `fast_forward` again via UpdateWorkflowExecutionOptions. The current workflow execution is a chain of runs (retries, cron, continue-as-new); child workflows are separate executions, so this fast_forward won't affect them. For a given workflow execution, only one active fast-forward is allowed at a time. If a new fast-forward is set via UpdateWorkflowExecutionOptions before the previous one completes, the new one will override the previous one. If the fast-forward duration exceeds the remaining execution timeout, time will only be fast-forwarded up to the end of the execution.
.google.protobuf.Duration fast_forward = 2;- Returns:
- Whether the fastForward field is set.
-
getFastForward
com.google.protobuf.Duration getFastForward()Optionally fast-forward the current workflow execution by this duration ahead of current workflow execution time. After the fast-forward completes, time skipping is disabled, and this action is recorded in the WorkflowExecutionTimeSkippingTransitionedEvent. It can be re-enabled by setting `enabled` to true or setting `fast_forward` again via UpdateWorkflowExecutionOptions. The current workflow execution is a chain of runs (retries, cron, continue-as-new); child workflows are separate executions, so this fast_forward won't affect them. For a given workflow execution, only one active fast-forward is allowed at a time. If a new fast-forward is set via UpdateWorkflowExecutionOptions before the previous one completes, the new one will override the previous one. If the fast-forward duration exceeds the remaining execution timeout, time will only be fast-forwarded up to the end of the execution.
.google.protobuf.Duration fast_forward = 2;- Returns:
- The fastForward.
-
getFastForwardOrBuilder
com.google.protobuf.DurationOrBuilder getFastForwardOrBuilder()Optionally fast-forward the current workflow execution by this duration ahead of current workflow execution time. After the fast-forward completes, time skipping is disabled, and this action is recorded in the WorkflowExecutionTimeSkippingTransitionedEvent. It can be re-enabled by setting `enabled` to true or setting `fast_forward` again via UpdateWorkflowExecutionOptions. The current workflow execution is a chain of runs (retries, cron, continue-as-new); child workflows are separate executions, so this fast_forward won't affect them. For a given workflow execution, only one active fast-forward is allowed at a time. If a new fast-forward is set via UpdateWorkflowExecutionOptions before the previous one completes, the new one will override the previous one. If the fast-forward duration exceeds the remaining execution timeout, time will only be fast-forwarded up to the end of the execution.
.google.protobuf.Duration fast_forward = 2; -
getDisablePropagation
boolean getDisablePropagation()By default, executions started by another execution (e.g. a child workflow of a parent workflow or a schedule with the timeskipping policy enabled), inherit the "enabled" flag and skip time when possible. This flag disables that inheritance.
bool disable_propagation = 3;- Returns:
- The disablePropagation.
-