Interface TimeSkippingInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TimeSkippingInfo,TimeSkippingInfo.Builder
@Generated(value="protoc",
comments="annotations:TimeSkippingInfoOrBuilder.java.pb.meta")
public interface TimeSkippingInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe number of skips accumulated in the current session, bounded by `max_session_skip_count`.com.google.protobuf.TimestampCurrent virtual time of the execution.com.google.protobuf.TimestampOrBuilderCurrent virtual time of the execution.The current effective time-skipping config, which can differ from the config the user last set: internally-defaulted fields are populated, and `enabled` reflects whether the execution is still skipping time — e.g.The current effective time-skipping config, which can differ from the config the user last set: internally-defaulted fields are populated, and `enabled` reflects whether the execution is still skipping time — e.g.The execution's current fast-forward, if any.The execution's current fast-forward, if any.booleanCurrent virtual time of the execution.booleanThe current effective time-skipping config, which can differ from the config the user last set: internally-defaulted fields are populated, and `enabled` reflects whether the execution is still skipping time — e.g.booleanThe execution's current fast-forward, if any.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
-
hasCurrentTime
boolean hasCurrentTime()Current virtual time of the execution. If the execution hasn't skipped any time yet, it will be the same as wall clock time.
.google.protobuf.Timestamp current_time = 1;- Returns:
- Whether the currentTime field is set.
-
getCurrentTime
com.google.protobuf.Timestamp getCurrentTime()Current virtual time of the execution. If the execution hasn't skipped any time yet, it will be the same as wall clock time.
.google.protobuf.Timestamp current_time = 1;- Returns:
- The currentTime.
-
getCurrentTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCurrentTimeOrBuilder()Current virtual time of the execution. If the execution hasn't skipped any time yet, it will be the same as wall clock time.
.google.protobuf.Timestamp current_time = 1; -
hasEffectiveConfig
boolean hasEffectiveConfig()The current effective time-skipping config, which can differ from the config the user last set: internally-defaulted fields are populated, and `enabled` reflects whether the execution is still skipping time — e.g. it is set to false once `max_session_skip_count` is reached, the fast-forward completes, or a client call disables time skipping.
.temporal.api.common.v1.TimeSkippingConfig effective_config = 2;- Returns:
- Whether the effectiveConfig field is set.
-
getEffectiveConfig
TimeSkippingConfig getEffectiveConfig()The current effective time-skipping config, which can differ from the config the user last set: internally-defaulted fields are populated, and `enabled` reflects whether the execution is still skipping time — e.g. it is set to false once `max_session_skip_count` is reached, the fast-forward completes, or a client call disables time skipping.
.temporal.api.common.v1.TimeSkippingConfig effective_config = 2;- Returns:
- The effectiveConfig.
-
getEffectiveConfigOrBuilder
TimeSkippingConfigOrBuilder getEffectiveConfigOrBuilder()The current effective time-skipping config, which can differ from the config the user last set: internally-defaulted fields are populated, and `enabled` reflects whether the execution is still skipping time — e.g. it is set to false once `max_session_skip_count` is reached, the fast-forward completes, or a client call disables time skipping.
.temporal.api.common.v1.TimeSkippingConfig effective_config = 2; -
hasFastForwardInfo
boolean hasFastForwardInfo()The execution's current fast-forward, if any. Unset if time skipping is enabled without a fast-forward.
.temporal.api.common.v1.TimeSkippingFastForwardInfo fast_forward_info = 4;- Returns:
- Whether the fastForwardInfo field is set.
-
getFastForwardInfo
TimeSkippingFastForwardInfo getFastForwardInfo()The execution's current fast-forward, if any. Unset if time skipping is enabled without a fast-forward.
.temporal.api.common.v1.TimeSkippingFastForwardInfo fast_forward_info = 4;- Returns:
- The fastForwardInfo.
-
getFastForwardInfoOrBuilder
TimeSkippingFastForwardInfoOrBuilder getFastForwardInfoOrBuilder()The execution's current fast-forward, if any. Unset if time skipping is enabled without a fast-forward.
.temporal.api.common.v1.TimeSkippingFastForwardInfo fast_forward_info = 4; -
getCurrentSessionSkipCount
int getCurrentSessionSkipCount()The number of skips accumulated in the current session, bounded by `max_session_skip_count`. A new session begins — and this resets to 0 — each time `max_session_skip_count` is updated.
int32 current_session_skip_count = 6;- Returns:
- The currentSessionSkipCount.
-