public enum Scope extends Enum<Scope> implements com.google.protobuf.ProtocolMessageEnum
alluxio.grpc.meta.Scope
Enum Constant and Description |
---|
ALL
ALL = 7; |
CLIENT
CLIENT = 4; |
MASTER
MASTER = 1; |
NONE
NONE = 0; |
SERVER
SERVER = 3; |
WORKER
WORKER = 2; |
Modifier and Type | Field and Description |
---|---|
static int |
ALL_VALUE
ALL = 7; |
static int |
CLIENT_VALUE
CLIENT = 4; |
static int |
MASTER_VALUE
MASTER = 1; |
static int |
NONE_VALUE
NONE = 0; |
static int |
SERVER_VALUE
SERVER = 3; |
static int |
WORKER_VALUE
WORKER = 2; |
Modifier and Type | Method and Description |
---|---|
static Scope |
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<Scope> |
internalGetValueMap() |
static Scope |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Scope |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scope MASTER
MASTER = 1;
public static final Scope WORKER
WORKER = 2;
public static final Scope CLIENT
CLIENT = 4;
public static final Scope SERVER
SERVER = 3;
public static final Scope ALL
ALL = 7;
public static final Scope NONE
NONE = 0;
public static final int MASTER_VALUE
MASTER = 1;
public static final int WORKER_VALUE
WORKER = 2;
public static final int CLIENT_VALUE
CLIENT = 4;
public static final int SERVER_VALUE
SERVER = 3;
public static final int ALL_VALUE
ALL = 7;
public static final int NONE_VALUE
NONE = 0;
public static Scope[] values()
for (Scope c : Scope.values()) System.out.println(c);
public static Scope 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 Scope valueOf(int value)
forNumber(int)
instead.public static Scope forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Scope> 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 Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All Rights Reserved.