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