public static enum QuotaProtos.ThrottleType extends Enum<QuotaProtos.ThrottleType>
ThrottleType
Enum Constant and Description |
---|
READ_NUMBER
READ_NUMBER = 5; |
READ_SIZE
READ_SIZE = 6; |
REQUEST_NUMBER
REQUEST_NUMBER = 1; |
REQUEST_SIZE
REQUEST_SIZE = 2; |
WRITE_NUMBER
WRITE_NUMBER = 3; |
WRITE_SIZE
WRITE_SIZE = 4; |
Modifier and Type | Field and Description |
---|---|
static int |
READ_NUMBER_VALUE
READ_NUMBER = 5; |
static int |
READ_SIZE_VALUE
READ_SIZE = 6; |
static int |
REQUEST_NUMBER_VALUE
REQUEST_NUMBER = 1; |
static int |
REQUEST_SIZE_VALUE
REQUEST_SIZE = 2; |
static int |
WRITE_NUMBER_VALUE
WRITE_NUMBER = 3; |
static int |
WRITE_SIZE_VALUE
WRITE_SIZE = 4; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static <any> |
internalGetValueMap() |
static QuotaProtos.ThrottleType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static QuotaProtos.ThrottleType |
valueOf(int value) |
static QuotaProtos.ThrottleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuotaProtos.ThrottleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuotaProtos.ThrottleType REQUEST_NUMBER
REQUEST_NUMBER = 1;
public static final QuotaProtos.ThrottleType REQUEST_SIZE
REQUEST_SIZE = 2;
public static final QuotaProtos.ThrottleType WRITE_NUMBER
WRITE_NUMBER = 3;
public static final QuotaProtos.ThrottleType WRITE_SIZE
WRITE_SIZE = 4;
public static final QuotaProtos.ThrottleType READ_NUMBER
READ_NUMBER = 5;
public static final QuotaProtos.ThrottleType READ_SIZE
READ_SIZE = 6;
public static final int REQUEST_NUMBER_VALUE
REQUEST_NUMBER = 1;
public static final int REQUEST_SIZE_VALUE
REQUEST_SIZE = 2;
public static final int WRITE_NUMBER_VALUE
WRITE_NUMBER = 3;
public static final int WRITE_SIZE_VALUE
WRITE_SIZE = 4;
public static final int READ_NUMBER_VALUE
READ_NUMBER = 5;
public static final int READ_SIZE_VALUE
READ_SIZE = 6;
public static QuotaProtos.ThrottleType[] values()
for (QuotaProtos.ThrottleType c : QuotaProtos.ThrottleType.values()) System.out.println(c);
public static QuotaProtos.ThrottleType 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()
public static QuotaProtos.ThrottleType valueOf(int value)
public static <any> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static QuotaProtos.ThrottleType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)