Package lgraph
Enum Lgraph.HAResponse.RespCase
- java.lang.Object
-
- java.lang.Enum<Lgraph.HAResponse.RespCase>
-
- lgraph.Lgraph.HAResponse.RespCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Lgraph.HAResponse.RespCase>
- Enclosing class:
- Lgraph.HAResponse
public static enum Lgraph.HAResponse.RespCase extends Enum<Lgraph.HAResponse.RespCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GET_MASTER_RESPONSEHEARTBEAT_RESPONSELIST_PEERS_RESPONSERESP_NOT_SETSYNC_META_RESPONSE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Lgraph.HAResponse.RespCaseforNumber(int value)intgetNumber()static Lgraph.HAResponse.RespCasevalueOf(int value)Deprecated.static Lgraph.HAResponse.RespCasevalueOf(String name)Returns the enum constant of this type with the specified name.static Lgraph.HAResponse.RespCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEARTBEAT_RESPONSE
public static final Lgraph.HAResponse.RespCase HEARTBEAT_RESPONSE
-
LIST_PEERS_RESPONSE
public static final Lgraph.HAResponse.RespCase LIST_PEERS_RESPONSE
-
GET_MASTER_RESPONSE
public static final Lgraph.HAResponse.RespCase GET_MASTER_RESPONSE
-
SYNC_META_RESPONSE
public static final Lgraph.HAResponse.RespCase SYNC_META_RESPONSE
-
RESP_NOT_SET
public static final Lgraph.HAResponse.RespCase RESP_NOT_SET
-
-
Method Detail
-
values
public static Lgraph.HAResponse.RespCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Lgraph.HAResponse.RespCase c : Lgraph.HAResponse.RespCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Lgraph.HAResponse.RespCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
valueOf
@Deprecated public static Lgraph.HAResponse.RespCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Lgraph.HAResponse.RespCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-