public enum ImportState extends Enum<ImportState> implements com.google.protobuf.ProtocolMessageEnum
milvus.proto.common.ImportState| 枚举常量和说明 |
|---|
ImportAllocSegment
ImportAllocSegment = 10; |
ImportCompleted
ImportCompleted = 6; |
ImportDownloaded
ImportDownloaded = 3; |
ImportFailed
ImportFailed = 1; |
ImportParsed
ImportParsed = 4; |
ImportPending
ImportPending = 0; |
ImportPersisted
ImportPersisted = 5; |
ImportStarted
ImportStarted = 2; |
UNRECOGNIZED |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
ImportAllocSegment_VALUE
ImportAllocSegment = 10; |
static int |
ImportCompleted_VALUE
ImportCompleted = 6; |
static int |
ImportDownloaded_VALUE
ImportDownloaded = 3; |
static int |
ImportFailed_VALUE
ImportFailed = 1; |
static int |
ImportParsed_VALUE
ImportParsed = 4; |
static int |
ImportPending_VALUE
ImportPending = 0; |
static int |
ImportPersisted_VALUE
ImportPersisted = 5; |
static int |
ImportStarted_VALUE
ImportStarted = 2; |
| 限定符和类型 | 方法和说明 |
|---|---|
static ImportState |
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<ImportState> |
internalGetValueMap() |
static ImportState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ImportState |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static ImportState |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ImportState[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ImportState ImportPending
ImportPending = 0;public static final ImportState ImportFailed
ImportFailed = 1;public static final ImportState ImportStarted
ImportStarted = 2;public static final ImportState ImportDownloaded
ImportDownloaded = 3;public static final ImportState ImportParsed
ImportParsed = 4;public static final ImportState ImportPersisted
ImportPersisted = 5;public static final ImportState ImportCompleted
ImportCompleted = 6;public static final ImportState ImportAllocSegment
ImportAllocSegment = 10;public static final ImportState UNRECOGNIZED
public static final int ImportPending_VALUE
ImportPending = 0;public static final int ImportFailed_VALUE
ImportFailed = 1;public static final int ImportStarted_VALUE
ImportStarted = 2;public static final int ImportDownloaded_VALUE
ImportDownloaded = 3;public static final int ImportParsed_VALUE
ImportParsed = 4;public static final int ImportPersisted_VALUE
ImportPersisted = 5;public static final int ImportCompleted_VALUE
ImportCompleted = 6;public static final int ImportAllocSegment_VALUE
ImportAllocSegment = 10;public static ImportState[] values()
for (ImportState c : ImportState.values()) System.out.println(c);
public static ImportState valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public final int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLitegetNumber 在接口中 com.google.protobuf.ProtocolMessageEnum@Deprecated public static ImportState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ImportState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ImportState> 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 ImportState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022. All rights reserved.