Class FastForwardConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<FastForwardConfig.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<FastForwardConfig.Builder>
io.temporal.api.common.v1.FastForwardConfig.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FastForwardConfigOrBuilder, Cloneable
Enclosing class:
FastForwardConfig

public static final class FastForwardConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FastForwardConfig.Builder> implements FastForwardConfigOrBuilder
Protobuf type temporal.api.common.v1.FastForwardConfig
  • 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<FastForwardConfig.Builder>
    • clear

      public FastForwardConfig.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<FastForwardConfig.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<FastForwardConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public FastForwardConfig.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<FastForwardConfig.Builder>
    • setField

      public FastForwardConfig.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<FastForwardConfig.Builder>
    • clearField

      public FastForwardConfig.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<FastForwardConfig.Builder>
    • clearOneof

      public FastForwardConfig.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<FastForwardConfig.Builder>
    • setRepeatedField

      public FastForwardConfig.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<FastForwardConfig.Builder>
    • addRepeatedField

      public FastForwardConfig.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<FastForwardConfig.Builder>
    • mergeFrom

      public FastForwardConfig.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<FastForwardConfig.Builder>
    • mergeFrom

      public FastForwardConfig.Builder mergeFrom(FastForwardConfig other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FastForwardConfig.Builder>
    • mergeFrom

      public FastForwardConfig.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<FastForwardConfig.Builder>
      Throws:
      IOException
    • getId

      public 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;
      Specified by:
      getId in interface FastForwardConfigOrBuilder
      Returns:
      The id.
    • getIdBytes

      public 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;
      Specified by:
      getIdBytes in interface FastForwardConfigOrBuilder
      Returns:
      The bytes for id.
    • setId

      public FastForwardConfig.Builder setId(String value)
       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;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public FastForwardConfig.Builder clearId()
       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:
      This builder for chaining.
    • setIdBytes

      public FastForwardConfig.Builder setIdBytes(com.google.protobuf.ByteString value)
       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;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • hasDuration

      public 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;
      Specified by:
      hasDuration in interface FastForwardConfigOrBuilder
      Returns:
      Whether the duration field is set.
    • getDuration

      public 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;
      Specified by:
      getDuration in interface FastForwardConfigOrBuilder
      Returns:
      The duration.
    • setDuration

      public FastForwardConfig.Builder setDuration(com.google.protobuf.Duration value)
       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;
    • setDuration

      public FastForwardConfig.Builder setDuration(com.google.protobuf.Duration.Builder builderForValue)
       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;
    • mergeDuration

      public FastForwardConfig.Builder mergeDuration(com.google.protobuf.Duration value)
       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;
    • clearDuration

      public FastForwardConfig.Builder clearDuration()
       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;
    • getDurationBuilder

      public com.google.protobuf.Duration.Builder getDurationBuilder()
       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;
    • getDurationOrBuilder

      public 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;
      Specified by:
      getDurationOrBuilder in interface FastForwardConfigOrBuilder
    • setUnknownFields

      public final FastForwardConfig.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<FastForwardConfig.Builder>
    • mergeUnknownFields

      public final FastForwardConfig.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<FastForwardConfig.Builder>