public enum ProtocPluginName extends java.lang.Enum<ProtocPluginName>
Enum Constant and Description |
---|
dart
The Dart code generation plugin.
|
grpc
The gRPC protoc plugin.
|
java
The standard Java protoc plugin.
|
js
The standard JavaScript protoc plugin.
|
spineProtoc
The Spine code generation plugin.
|
Modifier and Type | Method and Description |
---|---|
static ProtocPluginName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtocPluginName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocPluginName java
Built into the Protobuf compiler.
public static final ProtocPluginName js
Built into the Protobuf compiler.
public static final ProtocPluginName grpc
Generates service implementation bases and stubs for remote calls.
public static final ProtocPluginName spineProtoc
Generates message interfaces as well as additional methods and nested classes for messages.
public static final ProtocPluginName dart
public static ProtocPluginName[] values()
for (ProtocPluginName c : ProtocPluginName.values()) System.out.println(c);
public static ProtocPluginName valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null