Package lgraph
Enum Lgraph.PluginRequest.PluginType
- java.lang.Object
-
- java.lang.Enum<Lgraph.PluginRequest.PluginType>
-
- lgraph.Lgraph.PluginRequest.PluginType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Lgraph.PluginRequest.PluginType>
- Enclosing class:
- Lgraph.PluginRequest
public static enum Lgraph.PluginRequest.PluginType extends Enum<Lgraph.PluginRequest.PluginType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumlgraph.PluginRequest.PluginType
-
-
Field Summary
Fields Modifier and Type Field Description static intCPP_VALUECPP = 1;static intPYTHON_VALUEPYTHON = 2;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Lgraph.PluginRequest.PluginTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Lgraph.PluginRequest.PluginType>internalGetValueMap()static Lgraph.PluginRequest.PluginTypevalueOf(int value)Deprecated.static Lgraph.PluginRequest.PluginTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Lgraph.PluginRequest.PluginTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Lgraph.PluginRequest.PluginType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CPP
public static final Lgraph.PluginRequest.PluginType CPP
CPP = 1;
-
PYTHON
public static final Lgraph.PluginRequest.PluginType PYTHON
PYTHON = 2;
-
-
Field Detail
-
CPP_VALUE
public static final int CPP_VALUE
CPP = 1;- See Also:
- Constant Field Values
-
PYTHON_VALUE
public static final int PYTHON_VALUE
PYTHON = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Lgraph.PluginRequest.PluginType[] 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.PluginRequest.PluginType c : Lgraph.PluginRequest.PluginType.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.PluginRequest.PluginType 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
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Lgraph.PluginRequest.PluginType 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.PluginRequest.PluginType forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Lgraph.PluginRequest.PluginType> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Lgraph.PluginRequest.PluginType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- 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
-
-