AppendTypeUrlGetter

public class AppendTypeUrlGetter extends GenerationTask

Generates a method to obtain a TypeUrl for each type in a FileSet.

The class handles messages and enums of any nesting level.

Constructors

Link copied to clipboard
public void AppendTypeUrlGetter(Directory generatedRoot)

Functions

Link copied to clipboard
protected void generateFor(FileSet fileSet)
Generates code for the Protobuf files.

Inherited functions

Link copied to clipboard
protected FileSet filter(FileSet fileSet)
Filters out files that should not processed by the task.
Link copied to clipboard
protected Directory generatedRoot()
Obtains the root of the generated Protobuf sources.
Link copied to clipboard
public final void performFor(FileSet fileSet)
Generates code for the specified file set.