Interface FastForwardConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FastForwardConfig,FastForwardConfig.Builder
@Generated(value="protoc",
comments="annotations:FastForwardConfigOrBuilder.java.pb.meta")
public interface FastForwardConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.DurationFast-forward the current execution by this duration ahead of the current execution time; required field.com.google.protobuf.DurationOrBuilderFast-forward the current execution by this duration ahead of the current execution time; required field.getId()A client-supplied ID, required field, set alongside `duration`.com.google.protobuf.ByteStringA client-supplied ID, required field, set alongside `duration`.booleanFast-forward the current execution by this duration ahead of the current execution time; required field.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
-
getId
String getId()A client-supplied ID, required field, set alongside `duration`. It is used to poll for fast-forward completion via PollWorkflowExecutionTimeSkipping. The server performs no idempotency check on this ID; the client is responsible for managing it.
string id = 1;- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()A client-supplied ID, required field, set alongside `duration`. It is used to poll for fast-forward completion via PollWorkflowExecutionTimeSkipping. The server performs no idempotency check on this ID; the client is responsible for managing it.
string id = 1;- Returns:
- The bytes for id.
-
hasDuration
boolean hasDuration()Fast-forward the current execution by this duration ahead of the current execution time; required field. The duration yields a target time (current execution time + duration), surfaced as `target_time` in TimeSkippingFastForwardInfo. Once virtual time reaches that target, the fast-forward completes, time skipping is disabled, and no further time is skipped. Time skipping can be resumed either by updating the TimeSkippingConfig with a new FastForwardConfig, or by clearing the FastForwardConfig to skip through to the end of the execution. If this duration exceeds the remaining execution timeout, time will not pass beyond the end of the execution, and the fast-forward won't have a chance to complete.
.google.protobuf.Duration duration = 2;- Returns:
- Whether the duration field is set.
-
getDuration
com.google.protobuf.Duration getDuration()Fast-forward the current execution by this duration ahead of the current execution time; required field. The duration yields a target time (current execution time + duration), surfaced as `target_time` in TimeSkippingFastForwardInfo. Once virtual time reaches that target, the fast-forward completes, time skipping is disabled, and no further time is skipped. Time skipping can be resumed either by updating the TimeSkippingConfig with a new FastForwardConfig, or by clearing the FastForwardConfig to skip through to the end of the execution. If this duration exceeds the remaining execution timeout, time will not pass beyond the end of the execution, and the fast-forward won't have a chance to complete.
.google.protobuf.Duration duration = 2;- Returns:
- The duration.
-
getDurationOrBuilder
com.google.protobuf.DurationOrBuilder getDurationOrBuilder()Fast-forward the current execution by this duration ahead of the current execution time; required field. The duration yields a target time (current execution time + duration), surfaced as `target_time` in TimeSkippingFastForwardInfo. Once virtual time reaches that target, the fast-forward completes, time skipping is disabled, and no further time is skipped. Time skipping can be resumed either by updating the TimeSkippingConfig with a new FastForwardConfig, or by clearing the FastForwardConfig to skip through to the end of the execution. If this duration exceeds the remaining execution timeout, time will not pass beyond the end of the execution, and the fast-forward won't have a chance to complete.
.google.protobuf.Duration duration = 2;
-