public static enum Enginepb.SnapshotRequest.ChunkCase extends Enum<Enginepb.SnapshotRequest.ChunkCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
CHUNK_NOT_SET |
DATA |
STATE |
Modifier and Type | Method and Description |
---|---|
static Enginepb.SnapshotRequest.ChunkCase |
forNumber(int value) |
int |
getNumber() |
static Enginepb.SnapshotRequest.ChunkCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Enginepb.SnapshotRequest.ChunkCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Enginepb.SnapshotRequest.ChunkCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enginepb.SnapshotRequest.ChunkCase STATE
public static final Enginepb.SnapshotRequest.ChunkCase DATA
public static final Enginepb.SnapshotRequest.ChunkCase CHUNK_NOT_SET
public static Enginepb.SnapshotRequest.ChunkCase[] values()
for (Enginepb.SnapshotRequest.ChunkCase c : Enginepb.SnapshotRequest.ChunkCase.values()) System.out.println(c);
public static Enginepb.SnapshotRequest.ChunkCase 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 null@Deprecated public static Enginepb.SnapshotRequest.ChunkCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static Enginepb.SnapshotRequest.ChunkCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2024 PingCAP. All rights reserved.