public static enum Vector.ValueOneofCase extends Enum<Vector.ValueOneofCase> implements com.google.protobuf.Internal.EnumLite
| 枚举常量和说明 |
|---|
BYTE_VECTOR |
FLOAT_VECTOR |
VALUEONEOF_NOT_SET |
| 限定符和类型 | 方法和说明 |
|---|---|
static Vector.ValueOneofCase |
forNumber(int value) |
int |
getNumber() |
static Vector.ValueOneofCase |
valueOf(int value)
已过时。
Use
forNumber(int) instead. |
static Vector.ValueOneofCase |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static Vector.ValueOneofCase[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final Vector.ValueOneofCase BYTE_VECTOR
public static final Vector.ValueOneofCase FLOAT_VECTOR
public static final Vector.ValueOneofCase VALUEONEOF_NOT_SET
public static Vector.ValueOneofCase[] values()
for (Vector.ValueOneofCase c : Vector.ValueOneofCase.values()) System.out.println(c);
public static Vector.ValueOneofCase valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值@Deprecated public static Vector.ValueOneofCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Vector.ValueOneofCase forNumber(int value)
public int getNumber()
getNumber 在接口中 com.google.protobuf.Internal.EnumLiteCopyright © 2023. All rights reserved.