public enum QuotaState extends Enum<QuotaState> implements com.google.protobuf.ProtocolMessageEnum
milvus.proto.milvus.QuotaState| 枚举常量和说明 |
|---|
DenyToRead
DenyToRead = 4; |
DenyToWrite
DenyToWrite = 5; |
ReadLimited
ReadLimited = 2; |
Unknown
Unknown = 0; |
UNRECOGNIZED |
WriteLimited
WriteLimited = 3; |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
DenyToRead_VALUE
DenyToRead = 4; |
static int |
DenyToWrite_VALUE
DenyToWrite = 5; |
static int |
ReadLimited_VALUE
ReadLimited = 2; |
static int |
Unknown_VALUE
Unknown = 0; |
static int |
WriteLimited_VALUE
WriteLimited = 3; |
| 限定符和类型 | 方法和说明 |
|---|---|
static QuotaState |
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<QuotaState> |
internalGetValueMap() |
static QuotaState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static QuotaState |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static QuotaState |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static QuotaState[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final QuotaState Unknown
Unknown = 0;public static final QuotaState ReadLimited
ReadLimited = 2;public static final QuotaState WriteLimited
WriteLimited = 3;public static final QuotaState DenyToRead
DenyToRead = 4;public static final QuotaState DenyToWrite
DenyToWrite = 5;public static final QuotaState UNRECOGNIZED
public static final int Unknown_VALUE
Unknown = 0;public static final int ReadLimited_VALUE
ReadLimited = 2;public static final int WriteLimited_VALUE
WriteLimited = 3;public static final int DenyToRead_VALUE
DenyToRead = 4;public static final int DenyToWrite_VALUE
DenyToWrite = 5;public static QuotaState[] values()
for (QuotaState c : QuotaState.values()) System.out.println(c);
public static QuotaState valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static QuotaState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static QuotaState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<QuotaState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor 在接口中 com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static QuotaState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023. All rights reserved.