public enum CommandType extends Enum<CommandType> implements com.google.protobuf.ProtocolMessageEnum
alluxio.grpc.CommandType
Enum Constant and Description |
---|
Decommissioned
Notify the worker that it has been decommissioned
|
Delete
Ask the worker to delete files.
|
Disabled
Notify the worker that it has been disabled
|
Free
Ask the worker to free files.
|
Nothing
Nothing = 1; |
Persist
Ask the worker to persist a file for lineage
|
Register
Ask the worker to re-register.
|
Unknown
Unknown = 0; |
Modifier and Type | Field and Description |
---|---|
static int |
Decommissioned_VALUE
Notify the worker that it has been decommissioned
|
static int |
Delete_VALUE
Ask the worker to delete files.
|
static int |
Disabled_VALUE
Notify the worker that it has been disabled
|
static int |
Free_VALUE
Ask the worker to free files.
|
static int |
Nothing_VALUE
Nothing = 1; |
static int |
Persist_VALUE
Ask the worker to persist a file for lineage
|
static int |
Register_VALUE
Ask the worker to re-register.
|
static int |
Unknown_VALUE
Unknown = 0; |
Modifier and Type | Method and Description |
---|---|
static CommandType |
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<CommandType> |
internalGetValueMap() |
static CommandType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CommandType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CommandType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandType Unknown
Unknown = 0;
public static final CommandType Nothing
Nothing = 1;
public static final CommandType Register
Ask the worker to re-register.
Register = 2;
public static final CommandType Free
Ask the worker to free files.
Free = 3;
public static final CommandType Delete
Ask the worker to delete files.
Delete = 4;
public static final CommandType Persist
Ask the worker to persist a file for lineage
Persist = 5;
public static final CommandType Decommissioned
Notify the worker that it has been decommissioned
Decommissioned = 6;
public static final CommandType Disabled
Notify the worker that it has been disabled
Disabled = 7;
public static final int Unknown_VALUE
Unknown = 0;
public static final int Nothing_VALUE
Nothing = 1;
public static final int Register_VALUE
Ask the worker to re-register.
Register = 2;
public static final int Free_VALUE
Ask the worker to free files.
Free = 3;
public static final int Delete_VALUE
Ask the worker to delete files.
Delete = 4;
public static final int Persist_VALUE
Ask the worker to persist a file for lineage
Persist = 5;
public static final int Decommissioned_VALUE
Notify the worker that it has been decommissioned
Decommissioned = 6;
public static final int Disabled_VALUE
Notify the worker that it has been disabled
Disabled = 7;
public static CommandType[] values()
for (CommandType c : CommandType.values()) System.out.println(c);
public static CommandType 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 CommandType valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static CommandType forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CommandType> 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 CommandType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.