Enum Class 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-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe fast-forward identified by the request's `fast_forward_id` reached its target time and completed.The fast-forward can no longer complete, which usually indicates improper usage of fast-forward on the client side.The poll timed out server-side before the fast-forward completed.Never returned; guards against an unset result. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe fast-forward identified by the request's `fast_forward_id` reached its target time and completed.static final intThe fast-forward can no longer complete, which usually indicates improper usage of fast-forward on the client side.static final intThe poll timed out server-side before the fast-forward completed.static final intNever returned; guards against an unset result. -
Method Summary
Modifier and TypeMethodDescriptionstatic FastForwardPollingResultforNumber(int value) static final com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<FastForwardPollingResult> static FastForwardPollingResultvalueOf(int value) Deprecated.static FastForwardPollingResultvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this class with the specified name.static FastForwardPollingResultReturns the enum constant of this class with the specified name.static FastForwardPollingResult[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FAST_FORWARD_POLLING_RESULT_UNSPECIFIED
Never returned; guards against an unset result.
FAST_FORWARD_POLLING_RESULT_UNSPECIFIED = 0; -
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
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
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
-
-
Field Details
-
FAST_FORWARD_POLLING_RESULT_UNSPECIFIED_VALUE
public static final int FAST_FORWARD_POLLING_RESULT_UNSPECIFIED_VALUENever 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_VALUEThe 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_VALUEThe 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_VALUEThe 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
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
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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException- if the argument is null
-
forNumber
- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-