Class TimeSkippingStatePropagation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<TimeSkippingStatePropagation.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
io.temporal.api.common.v1.TimeSkippingStatePropagation.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,TimeSkippingStatePropagationOrBuilder,Cloneable
- Enclosing class:
TimeSkippingStatePropagation
public static final class TimeSkippingStatePropagation.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
implements TimeSkippingStatePropagationOrBuilder
The time-skipping state that needs to be propagated from a parent workflow to a child workflow, or through a chain of runs.Protobuf type
temporal.api.common.v1.TimeSkippingStatePropagation-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The time skipped by the previous execution that started this workflow.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampIf there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.com.google.protobuf.Timestamp.BuilderIf there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.com.google.protobuf.TimestampOrBuilderIf there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.com.google.protobuf.DurationThe time skipped by the previous execution that started this workflow.com.google.protobuf.Duration.BuilderThe time skipped by the previous execution that started this workflow.com.google.protobuf.DurationOrBuilderThe time skipped by the previous execution that started this workflow.booleanIf there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.booleanThe time skipped by the previous execution that started this workflow.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFastForwardTargetTime(com.google.protobuf.Timestamp value) If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInitialSkippedDuration(com.google.protobuf.Duration value) The time skipped by the previous execution that started this workflow.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setFastForwardTargetTime(com.google.protobuf.Timestamp value) If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.setFastForwardTargetTime(com.google.protobuf.Timestamp.Builder builderForValue) If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.setInitialSkippedDuration(com.google.protobuf.Duration value) The time skipped by the previous execution that started this workflow.setInitialSkippedDuration(com.google.protobuf.Duration.Builder builderForValue) The time skipped by the previous execution that started this workflow.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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<TimeSkippingStatePropagation.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<TimeSkippingStatePropagation.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<TimeSkippingStatePropagation.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<TimeSkippingStatePropagation.Builder>
-
setField
public TimeSkippingStatePropagation.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<TimeSkippingStatePropagation.Builder>
-
clearField
public TimeSkippingStatePropagation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
-
clearOneof
public TimeSkippingStatePropagation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
-
setRepeatedField
public TimeSkippingStatePropagation.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<TimeSkippingStatePropagation.Builder>
-
addRepeatedField
public TimeSkippingStatePropagation.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<TimeSkippingStatePropagation.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimeSkippingStatePropagation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
-
mergeFrom
public TimeSkippingStatePropagation.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<TimeSkippingStatePropagation.Builder>- Throws:
IOException
-
hasInitialSkippedDuration
public boolean hasInitialSkippedDuration()The time skipped by the previous execution that started this workflow. It can happen in child workflows and a chain of runs (CaN, cron, retry).
.google.protobuf.Duration initial_skipped_duration = 1;- Specified by:
hasInitialSkippedDurationin interfaceTimeSkippingStatePropagationOrBuilder- Returns:
- Whether the initialSkippedDuration field is set.
-
getInitialSkippedDuration
public com.google.protobuf.Duration getInitialSkippedDuration()The time skipped by the previous execution that started this workflow. It can happen in child workflows and a chain of runs (CaN, cron, retry).
.google.protobuf.Duration initial_skipped_duration = 1;- Specified by:
getInitialSkippedDurationin interfaceTimeSkippingStatePropagationOrBuilder- Returns:
- The initialSkippedDuration.
-
setInitialSkippedDuration
public TimeSkippingStatePropagation.Builder setInitialSkippedDuration(com.google.protobuf.Duration value) The time skipped by the previous execution that started this workflow. It can happen in child workflows and a chain of runs (CaN, cron, retry).
.google.protobuf.Duration initial_skipped_duration = 1; -
setInitialSkippedDuration
public TimeSkippingStatePropagation.Builder setInitialSkippedDuration(com.google.protobuf.Duration.Builder builderForValue) The time skipped by the previous execution that started this workflow. It can happen in child workflows and a chain of runs (CaN, cron, retry).
.google.protobuf.Duration initial_skipped_duration = 1; -
mergeInitialSkippedDuration
public TimeSkippingStatePropagation.Builder mergeInitialSkippedDuration(com.google.protobuf.Duration value) The time skipped by the previous execution that started this workflow. It can happen in child workflows and a chain of runs (CaN, cron, retry).
.google.protobuf.Duration initial_skipped_duration = 1; -
clearInitialSkippedDuration
The time skipped by the previous execution that started this workflow. It can happen in child workflows and a chain of runs (CaN, cron, retry).
.google.protobuf.Duration initial_skipped_duration = 1; -
getInitialSkippedDurationBuilder
public com.google.protobuf.Duration.Builder getInitialSkippedDurationBuilder()The time skipped by the previous execution that started this workflow. It can happen in child workflows and a chain of runs (CaN, cron, retry).
.google.protobuf.Duration initial_skipped_duration = 1; -
getInitialSkippedDurationOrBuilder
public com.google.protobuf.DurationOrBuilder getInitialSkippedDurationOrBuilder()The time skipped by the previous execution that started this workflow. It can happen in child workflows and a chain of runs (CaN, cron, retry).
.google.protobuf.Duration initial_skipped_duration = 1;- Specified by:
getInitialSkippedDurationOrBuilderin interfaceTimeSkippingStatePropagationOrBuilder
-
hasFastForwardTargetTime
public boolean hasFastForwardTargetTime()If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.
.google.protobuf.Timestamp fast_forward_target_time = 2;- Specified by:
hasFastForwardTargetTimein interfaceTimeSkippingStatePropagationOrBuilder- Returns:
- Whether the fastForwardTargetTime field is set.
-
getFastForwardTargetTime
public com.google.protobuf.Timestamp getFastForwardTargetTime()If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.
.google.protobuf.Timestamp fast_forward_target_time = 2;- Specified by:
getFastForwardTargetTimein interfaceTimeSkippingStatePropagationOrBuilder- Returns:
- The fastForwardTargetTime.
-
setFastForwardTargetTime
public TimeSkippingStatePropagation.Builder setFastForwardTargetTime(com.google.protobuf.Timestamp value) If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.
.google.protobuf.Timestamp fast_forward_target_time = 2; -
setFastForwardTargetTime
public TimeSkippingStatePropagation.Builder setFastForwardTargetTime(com.google.protobuf.Timestamp.Builder builderForValue) If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.
.google.protobuf.Timestamp fast_forward_target_time = 2; -
mergeFastForwardTargetTime
public TimeSkippingStatePropagation.Builder mergeFastForwardTargetTime(com.google.protobuf.Timestamp value) If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.
.google.protobuf.Timestamp fast_forward_target_time = 2; -
clearFastForwardTargetTime
If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.
.google.protobuf.Timestamp fast_forward_target_time = 2; -
getFastForwardTargetTimeBuilder
public com.google.protobuf.Timestamp.Builder getFastForwardTargetTimeBuilder()If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.
.google.protobuf.Timestamp fast_forward_target_time = 2; -
getFastForwardTargetTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getFastForwardTargetTimeOrBuilder()If there is a fast-forward action set for the previous run in a chain of runs, the target time should be propagated to the next run as well.
.google.protobuf.Timestamp fast_forward_target_time = 2;- Specified by:
getFastForwardTargetTimeOrBuilderin interfaceTimeSkippingStatePropagationOrBuilder
-
setUnknownFields
public final TimeSkippingStatePropagation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
-
mergeUnknownFields
public final TimeSkippingStatePropagation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
-