public enum BackupState extends Enum<BackupState> implements com.google.protobuf.ProtocolMessageEnum
alluxio.grpc.meta.BackupState
Enum Constant and Description |
---|
Completed
Completed = 5; |
Failed
Failed = 6; |
Initiating
Initiating = 2; |
None
None = 1; |
Running
Running = 4; |
Transitioning
Transitioning = 3; |
Modifier and Type | Field and Description |
---|---|
static int |
Completed_VALUE
Completed = 5; |
static int |
Failed_VALUE
Failed = 6; |
static int |
Initiating_VALUE
Initiating = 2; |
static int |
None_VALUE
None = 1; |
static int |
Running_VALUE
Running = 4; |
static int |
Transitioning_VALUE
Transitioning = 3; |
Modifier and Type | Method and Description |
---|---|
static BackupState |
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<BackupState> |
internalGetValueMap() |
static BackupState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static BackupState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static BackupState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BackupState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BackupState None
None = 1;
public static final BackupState Initiating
Initiating = 2;
public static final BackupState Transitioning
Transitioning = 3;
public static final BackupState Running
Running = 4;
public static final BackupState Completed
Completed = 5;
public static final BackupState Failed
Failed = 6;
public static final int None_VALUE
None = 1;
public static final int Initiating_VALUE
Initiating = 2;
public static final int Transitioning_VALUE
Transitioning = 3;
public static final int Running_VALUE
Running = 4;
public static final int Completed_VALUE
Completed = 5;
public static final int Failed_VALUE
Failed = 6;
public static BackupState[] values()
for (BackupState c : BackupState.values()) System.out.println(c);
public static BackupState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static BackupState valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static BackupState forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<BackupState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static BackupState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.