ProtobufTaskName

public enum ProtobufTaskName implements TaskName

Names of Gradle tasks defined by the Protobuf Gradle plugin.

See also

<a href="https://github.com/google/protobuf-gradle-plugin">the plugin doc</a>

Entries

Link copied to clipboard

Generates production code from Protobuf.

Link copied to clipboard

Generates test code from Protobuf.

Functions

Link copied to clipboard
public static ProtobufTaskName 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.)

Link copied to clipboard
public static Array<ProtobufTaskName> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Inherited functions

Link copied to clipboard
public abstract String name()
The value of the name.
Link copied to clipboard
public String path()
Obtains this task name as a path.