Package lgraph
Enum Lgraph.GraphApiRequest.ReqCase
- java.lang.Object
-
- java.lang.Enum<Lgraph.GraphApiRequest.ReqCase>
-
- lgraph.Lgraph.GraphApiRequest.ReqCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<Lgraph.GraphApiRequest.ReqCase>
- Enclosing class:
- Lgraph.GraphApiRequest
public static enum Lgraph.GraphApiRequest.ReqCase extends Enum<Lgraph.GraphApiRequest.ReqCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_EDGES_REQUESTADD_INDEX_REQUESTADD_LABEL_REQUESTADD_VERTEXES_REQUESTDEL_EDGE_REQUESTDEL_INDEX_REQUESTDEL_VERTEX_REQUESTFLUSH_REQUESTMOD_EDGE_REQUESTMOD_VERTEX_REQUESTREQ_NOT_SETSUB_GRAPH_REQUEST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Lgraph.GraphApiRequest.ReqCaseforNumber(int value)intgetNumber()static Lgraph.GraphApiRequest.ReqCasevalueOf(int value)Deprecated.static Lgraph.GraphApiRequest.ReqCasevalueOf(String name)Returns the enum constant of this type with the specified name.static Lgraph.GraphApiRequest.ReqCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_LABEL_REQUEST
public static final Lgraph.GraphApiRequest.ReqCase ADD_LABEL_REQUEST
-
ADD_INDEX_REQUEST
public static final Lgraph.GraphApiRequest.ReqCase ADD_INDEX_REQUEST
-
ADD_VERTEXES_REQUEST
public static final Lgraph.GraphApiRequest.ReqCase ADD_VERTEXES_REQUEST
-
ADD_EDGES_REQUEST
public static final Lgraph.GraphApiRequest.ReqCase ADD_EDGES_REQUEST
-
DEL_INDEX_REQUEST
public static final Lgraph.GraphApiRequest.ReqCase DEL_INDEX_REQUEST
-
DEL_VERTEX_REQUEST
public static final Lgraph.GraphApiRequest.ReqCase DEL_VERTEX_REQUEST
-
DEL_EDGE_REQUEST
public static final Lgraph.GraphApiRequest.ReqCase DEL_EDGE_REQUEST
-
MOD_VERTEX_REQUEST
public static final Lgraph.GraphApiRequest.ReqCase MOD_VERTEX_REQUEST
-
MOD_EDGE_REQUEST
public static final Lgraph.GraphApiRequest.ReqCase MOD_EDGE_REQUEST
-
SUB_GRAPH_REQUEST
public static final Lgraph.GraphApiRequest.ReqCase SUB_GRAPH_REQUEST
-
FLUSH_REQUEST
public static final Lgraph.GraphApiRequest.ReqCase FLUSH_REQUEST
-
REQ_NOT_SET
public static final Lgraph.GraphApiRequest.ReqCase REQ_NOT_SET
-
-
Method Detail
-
values
public static Lgraph.GraphApiRequest.ReqCase[] 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.GraphApiRequest.ReqCase c : Lgraph.GraphApiRequest.ReqCase.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.GraphApiRequest.ReqCase 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.GraphApiRequest.ReqCase 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.GraphApiRequest.ReqCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-