Enum Class FastForwardPollingResult

java.lang.Object
java.lang.Enum<FastForwardPollingResult>
io.temporal.api.enums.v1.FastForwardPollingResult
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<FastForwardPollingResult>, Constable

@Generated(value="protoc", comments="annotations:FastForwardPollingResult.java.pb.meta") public enum FastForwardPollingResult extends Enum<FastForwardPollingResult> implements com.google.protobuf.ProtocolMessageEnum
 FastForwardPollingResult is the result of polling and waiting for a fast-forward to complete
 on a time-skipping execution.
 FAST_FORWARD_POLLING_RESULT_POLL_TIMEOUT and FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_COMPLETED
 are the normal poll outcomes; FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED means the
 fast-forward can no longer complete.
 
Protobuf enum temporal.api.enums.v1.FastForwardPollingResult
  • Enum Constant Details

    • FAST_FORWARD_POLLING_RESULT_UNSPECIFIED

      public static final FastForwardPollingResult FAST_FORWARD_POLLING_RESULT_UNSPECIFIED
       Never returned; guards against an unset result.
       
      FAST_FORWARD_POLLING_RESULT_UNSPECIFIED = 0;
    • FAST_FORWARD_POLLING_RESULT_POLL_TIMEOUT

      public static final FastForwardPollingResult FAST_FORWARD_POLLING_RESULT_POLL_TIMEOUT
       The poll timed out server-side before the fast-forward completed. The caller may poll again.
       
      FAST_FORWARD_POLLING_RESULT_POLL_TIMEOUT = 1;
    • FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_COMPLETED

      public static final FastForwardPollingResult FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_COMPLETED
       The fast-forward identified by the request's `fast_forward_id` reached its target time and completed.
       
      FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_COMPLETED = 2;
    • FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED

      public static final FastForwardPollingResult FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED
       The fast-forward can no longer complete, which usually indicates improper usage of
       fast-forward on the client side. Possible reasons: the `fast_forward_id` does not match
       the execution's current fast-forward, the execution ended before the fast-forward
       completed, the fast-forward config was updated while the poll was in flight, etc.
       See `failed_reason` in the response for the specific cause.
       
      FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED = 3;
    • UNRECOGNIZED

      public static final FastForwardPollingResult UNRECOGNIZED
  • Field Details

    • FAST_FORWARD_POLLING_RESULT_UNSPECIFIED_VALUE

      public static final int FAST_FORWARD_POLLING_RESULT_UNSPECIFIED_VALUE
       Never returned; guards against an unset result.
       
      FAST_FORWARD_POLLING_RESULT_UNSPECIFIED = 0;
      See Also:
    • FAST_FORWARD_POLLING_RESULT_POLL_TIMEOUT_VALUE

      public static final int FAST_FORWARD_POLLING_RESULT_POLL_TIMEOUT_VALUE
       The poll timed out server-side before the fast-forward completed. The caller may poll again.
       
      FAST_FORWARD_POLLING_RESULT_POLL_TIMEOUT = 1;
      See Also:
    • FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_COMPLETED_VALUE

      public static final int FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_COMPLETED_VALUE
       The fast-forward identified by the request's `fast_forward_id` reached its target time and completed.
       
      FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_COMPLETED = 2;
      See Also:
    • FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED_VALUE

      public static final int FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED_VALUE
       The fast-forward can no longer complete, which usually indicates improper usage of
       fast-forward on the client side. Possible reasons: the `fast_forward_id` does not match
       the execution's current fast-forward, the execution ended before the fast-forward
       completed, the fast-forward config was updated while the poll was in flight, etc.
       See `failed_reason` in the response for the specific cause.
       
      FAST_FORWARD_POLLING_RESULT_FAST_FORWARD_FAILED = 3;
      See Also:
  • Method Details

    • values

      public static FastForwardPollingResult[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FastForwardPollingResult valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static FastForwardPollingResult valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      value - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static FastForwardPollingResult forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<FastForwardPollingResult> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static FastForwardPollingResult valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      desc - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null