Enum ChangesetState
-
- All Implemented Interfaces:
-
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum
public enum ChangesetState implements ProtocolMessageEnumProtobuf enum
xyz.block.ftl.schema.v1.ChangesetState
-
-
Field Summary
Fields Modifier and Type Field Description public final static intCHANGESET_STATE_UNSPECIFIED_VALUEpublic final static intCHANGESET_STATE_PREPARING_VALUEpublic final static intCHANGESET_STATE_PREPARED_VALUEpublic final static intCHANGESET_STATE_COMMITTED_VALUEpublic final static intCHANGESET_STATE_DRAINED_VALUEpublic final static intCHANGESET_STATE_FINALIZED_VALUEpublic final static intCHANGESET_STATE_ROLLING_BACK_VALUEpublic final static intCHANGESET_STATE_FAILED_VALUE
-
Enum Constant Summary
Enum Constants Enum Constant Description CHANGESET_STATE_UNSPECIFIEDCHANGESET_STATE_UNSPECIFIED = 0;CHANGESET_STATE_PREPARINGCHANGESET_STATE_PREPARING = 1;CHANGESET_STATE_PREPAREDCHANGESET_STATE_PREPARED = 2;CHANGESET_STATE_COMMITTEDCHANGESET_STATE_COMMITTED = 3;CHANGESET_STATE_DRAINEDCHANGESET_STATE_DRAINED = 4;CHANGESET_STATE_FINALIZEDCHANGESET_STATE_FINALIZED = 5;CHANGESET_STATE_ROLLING_BACKCHANGESET_STATE_ROLLING_BACK = 6;CHANGESET_STATE_FAILEDCHANGESET_STATE_FAILED = 7;UNRECOGNIZED
-
Method Summary
Modifier and Type Method Description final intgetNumber()static ChangesetStatevalueOf(int value)static ChangesetStateforNumber(int value)static Internal.EnumLiteMap<ChangesetState>internalGetValueMap()final Descriptors.EnumValueDescriptorgetValueDescriptor()final Descriptors.EnumDescriptorgetDescriptorForType()final static Descriptors.EnumDescriptorgetDescriptor()static ChangesetStatevalueOf(Descriptors.EnumValueDescriptor desc)static Array<ChangesetState>values()Returns an array containing the constants of this enum type, in the order they're declared. static ChangesetStatevalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getNumber
final int getNumber()
-
valueOf
@Deprecated() static ChangesetState valueOf(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
forNumber
static ChangesetState 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
static Internal.EnumLiteMap<ChangesetState> internalGetValueMap()
-
getValueDescriptor
final Descriptors.EnumValueDescriptor getValueDescriptor()
-
getDescriptorForType
final Descriptors.EnumDescriptor getDescriptorForType()
-
getDescriptor
final static Descriptors.EnumDescriptor getDescriptor()
-
valueOf
static ChangesetState valueOf(Descriptors.EnumValueDescriptor desc)
-
values
static Array<ChangesetState> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static ChangesetState valueOf(String name)
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.)
- Returns:
the enum constant with the specified name
-
-
-
-