@Internal public enum ProtobufTaskName extends java.lang.Enum<ProtobufTaskName> implements TaskName
Enum Constant and Description |
---|
generateProto
Generates production code from Protobuf.
|
generateTestProto
Generates test code from Protobuf.
|
Modifier and Type | Method and Description |
---|---|
static ProtobufTaskName |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtobufTaskName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtobufTaskName generateProto
Note that this task is not a public API of the plugin. Users should be conscious and cautious when depending on it.
public static final ProtobufTaskName generateTestProto
Note that this task is not a public API of the plugin. Users should be conscious and cautious when depending on it.
public static ProtobufTaskName[] values()
for (ProtobufTaskName c : ProtobufTaskName.values()) System.out.println(c);
public static ProtobufTaskName 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