public static enum Lgraph.HARequest.ReqCase extends Enum<Lgraph.HARequest.ReqCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
GET_MASTER_REQUEST |
HEARTBEAT_REQUEST |
LIST_PEERS_REQUEST |
REQ_NOT_SET |
SYNC_META_REQUEST |
| Modifier and Type | Method and Description |
|---|---|
static Lgraph.HARequest.ReqCase |
forNumber(int value) |
int |
getNumber() |
static Lgraph.HARequest.ReqCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Lgraph.HARequest.ReqCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Lgraph.HARequest.ReqCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Lgraph.HARequest.ReqCase HEARTBEAT_REQUEST
public static final Lgraph.HARequest.ReqCase LIST_PEERS_REQUEST
public static final Lgraph.HARequest.ReqCase GET_MASTER_REQUEST
public static final Lgraph.HARequest.ReqCase SYNC_META_REQUEST
public static final Lgraph.HARequest.ReqCase REQ_NOT_SET
public static Lgraph.HARequest.ReqCase[] values()
for (Lgraph.HARequest.ReqCase c : Lgraph.HARequest.ReqCase.values()) System.out.println(c);
public static Lgraph.HARequest.ReqCase 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 Lgraph.HARequest.ReqCase valueOf(int value)
forNumber(int) instead.public static Lgraph.HARequest.ReqCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2023 Ant Group. All rights reserved.