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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
    • getDefaultInstanceForType

      public TimeSkippingStatePropagation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TimeSkippingStatePropagation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
    • setField

      public TimeSkippingStatePropagation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
    • clearField

      public TimeSkippingStatePropagation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
    • clearOneof

      public TimeSkippingStatePropagation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
    • setRepeatedField

      public TimeSkippingStatePropagation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
    • addRepeatedField

      public TimeSkippingStatePropagation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
    • mergeFrom

      public TimeSkippingStatePropagation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TimeSkippingStatePropagation.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasInitialSkippedDuration in interface TimeSkippingStatePropagationOrBuilder
      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:
      getInitialSkippedDuration in interface TimeSkippingStatePropagationOrBuilder
      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

      public TimeSkippingStatePropagation.Builder 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:
      getInitialSkippedDurationOrBuilder in interface TimeSkippingStatePropagationOrBuilder
    • 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:
      hasFastForwardTargetTime in interface TimeSkippingStatePropagationOrBuilder
      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:
      getFastForwardTargetTime in interface TimeSkippingStatePropagationOrBuilder
      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

      public TimeSkippingStatePropagation.Builder 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:
      getFastForwardTargetTimeOrBuilder in interface TimeSkippingStatePropagationOrBuilder
    • setUnknownFields

      public final TimeSkippingStatePropagation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>
    • mergeUnknownFields

      public final TimeSkippingStatePropagation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TimeSkippingStatePropagation.Builder>