public enum ExtentState extends java.lang.Enum<ExtentState> implements com.google.protobuf.ProtocolMessageEnum
staros.starlog.proto.ExtentState| Enum Constant and Description |
|---|
ACTIVE
ACTIVE = 1; |
FULL
FULL = 3; |
INACTIVE
INACTIVE = 4; |
INVALID_EXTENT_STATE
INVALID_EXTENT_STATE = 0; |
SEALED
SEALED = 2; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
ACTIVE = 1; |
static int |
FULL_VALUE
FULL = 3; |
static int |
INACTIVE_VALUE
INACTIVE = 4; |
static int |
INVALID_EXTENT_STATE_VALUE
INVALID_EXTENT_STATE = 0; |
static int |
SEALED_VALUE
SEALED = 2; |
| Modifier and Type | Method and Description |
|---|---|
static ExtentState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<ExtentState> |
internalGetValueMap() |
static ExtentState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ExtentState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ExtentState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExtentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtentState INVALID_EXTENT_STATE
INVALID_EXTENT_STATE = 0;public static final ExtentState ACTIVE
ACTIVE = 1;public static final ExtentState SEALED
SEALED = 2;public static final ExtentState FULL
FULL = 3;public static final ExtentState INACTIVE
INACTIVE = 4;public static final ExtentState UNRECOGNIZED
public static final int INVALID_EXTENT_STATE_VALUE
INVALID_EXTENT_STATE = 0;public static final int ACTIVE_VALUE
ACTIVE = 1;public static final int SEALED_VALUE
SEALED = 2;public static final int FULL_VALUE
FULL = 3;public static final int INACTIVE_VALUE
INACTIVE = 4;public static ExtentState[] values()
for (ExtentState c : ExtentState.values()) System.out.println(c);
public static ExtentState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ExtentState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ExtentState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ExtentState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ExtentState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All rights reserved.