Package com.google.dataflow.v1beta3
Enum SnapshotState
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SnapshotState>
@Generated
public enum SnapshotState
extends Enum<SnapshotState>
implements com.google.protobuf.ProtocolMessageEnum
Snapshot state.Protobuf enum
google.dataflow.v1beta3.SnapshotState-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSnapshot has been deleted.Snapshot failed to be created.Snapshot intent to create has been persisted, snapshotting of state has not yet started.Snapshot has been created and is ready to be used.Snapshotting is being performed.Unknown state. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSnapshot has been deleted.static final intSnapshot failed to be created.static final intSnapshot intent to create has been persisted, snapshotting of state has not yet started.static final intSnapshot has been created and is ready to be used.static final intSnapshotting is being performed.static final intUnknown state. -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotStateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SnapshotState>static SnapshotStatevalueOf(int value) Deprecated.static SnapshotStatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SnapshotStateReturns the enum constant of this type with the specified name.static SnapshotState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN_SNAPSHOT_STATE
Unknown state.
UNKNOWN_SNAPSHOT_STATE = 0; -
PENDING
Snapshot intent to create has been persisted, snapshotting of state has not yet started.
PENDING = 1; -
RUNNING
Snapshotting is being performed.
RUNNING = 2; -
READY
Snapshot has been created and is ready to be used.
READY = 3; -
FAILED
Snapshot failed to be created.
FAILED = 4; -
DELETED
Snapshot has been deleted.
DELETED = 5; -
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_SNAPSHOT_STATE_VALUE
public static final int UNKNOWN_SNAPSHOT_STATE_VALUEUnknown state.
UNKNOWN_SNAPSHOT_STATE = 0;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUESnapshot intent to create has been persisted, snapshotting of state has not yet started.
PENDING = 1;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUESnapshotting is being performed.
RUNNING = 2;- See Also:
-
READY_VALUE
public static final int READY_VALUESnapshot has been created and is ready to be used.
READY = 3;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUESnapshot failed to be created.
FAILED = 4;- See Also:
-
DELETED_VALUE
public static final int DELETED_VALUESnapshot has been deleted.
DELETED = 5;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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 type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type 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
-
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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-