Class TimeSkippingInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TimeSkippingInfo.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
io.temporal.api.common.v1.TimeSkippingInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TimeSkippingInfoOrBuilder,Cloneable
- Enclosing class:
TimeSkippingInfo
public static final class TimeSkippingInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
implements TimeSkippingInfoOrBuilder
Describes the current time-skipping state of a workflow execution.Protobuf type
temporal.api.common.v1.TimeSkippingInfo-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The number of skips accumulated in the current session, bounded by `max_session_skip_count`.Current 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 execution's current fast-forward, if any.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()intThe 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.Timestamp.BuilderCurrent virtual time of the execution.com.google.protobuf.TimestampOrBuilderCurrent virtual time of the execution.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe 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 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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCurrentTime(com.google.protobuf.Timestamp value) Current 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 execution's current fast-forward, if any.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(TimeSkippingInfo other) final TimeSkippingInfo.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCurrentSessionSkipCount(int value) The number of skips accumulated in the current session, bounded by `max_session_skip_count`.setCurrentTime(com.google.protobuf.Timestamp value) Current virtual time of the execution.setCurrentTime(com.google.protobuf.Timestamp.Builder builderForValue) Current 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.setEffectiveConfig(TimeSkippingConfig.Builder builderForValue) 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.setFastForwardInfo(TimeSkippingFastForwardInfo.Builder builderForValue) The execution's current fast-forward, if any.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final TimeSkippingInfo.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-
setField
public TimeSkippingInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-
setRepeatedField
public TimeSkippingInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-
addRepeatedField
public TimeSkippingInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimeSkippingInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-
mergeFrom
public TimeSkippingInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimeSkippingInfo.Builder>- Throws:
IOException
-
hasCurrentTime
public 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;- Specified by:
hasCurrentTimein interfaceTimeSkippingInfoOrBuilder- Returns:
- Whether the currentTime field is set.
-
getCurrentTime
public 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;- Specified by:
getCurrentTimein interfaceTimeSkippingInfoOrBuilder- Returns:
- The currentTime.
-
setCurrentTime
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; -
setCurrentTime
public TimeSkippingInfo.Builder setCurrentTime(com.google.protobuf.Timestamp.Builder builderForValue) 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; -
mergeCurrentTime
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; -
clearCurrentTime
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; -
getCurrentTimeBuilder
public com.google.protobuf.Timestamp.Builder getCurrentTimeBuilder()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; -
getCurrentTimeOrBuilder
public 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;- Specified by:
getCurrentTimeOrBuilderin interfaceTimeSkippingInfoOrBuilder
-
hasEffectiveConfig
public 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;- Specified by:
hasEffectiveConfigin interfaceTimeSkippingInfoOrBuilder- Returns:
- Whether the effectiveConfig field is set.
-
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;- Specified by:
getEffectiveConfigin interfaceTimeSkippingInfoOrBuilder- Returns:
- The effectiveConfig.
-
setEffectiveConfig
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; -
setEffectiveConfig
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; -
mergeEffectiveConfig
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; -
clearEffectiveConfig
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; -
getEffectiveConfigBuilder
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; -
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;- Specified by:
getEffectiveConfigOrBuilderin interfaceTimeSkippingInfoOrBuilder
-
hasFastForwardInfo
public 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;- Specified by:
hasFastForwardInfoin interfaceTimeSkippingInfoOrBuilder- Returns:
- Whether the fastForwardInfo field is set.
-
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;- Specified by:
getFastForwardInfoin interfaceTimeSkippingInfoOrBuilder- Returns:
- The fastForwardInfo.
-
setFastForwardInfo
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; -
setFastForwardInfo
public TimeSkippingInfo.Builder setFastForwardInfo(TimeSkippingFastForwardInfo.Builder builderForValue) 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; -
mergeFastForwardInfo
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; -
clearFastForwardInfo
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; -
getFastForwardInfoBuilder
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; -
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;- Specified by:
getFastForwardInfoOrBuilderin interfaceTimeSkippingInfoOrBuilder
-
getCurrentSessionSkipCount
public 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;- Specified by:
getCurrentSessionSkipCountin interfaceTimeSkippingInfoOrBuilder- Returns:
- The currentSessionSkipCount.
-
setCurrentSessionSkipCount
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;- Parameters:
value- The currentSessionSkipCount to set.- Returns:
- This builder for chaining.
-
clearCurrentSessionSkipCount
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:
- This builder for chaining.
-
setUnknownFields
public final TimeSkippingInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-
mergeUnknownFields
public final TimeSkippingInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingInfo.Builder>
-