Java Generator
class JavaGenerator
Generates Java source code that matches proto definitions.
This can map type names from protocol buffers (like uint32
, string
, or
squareup.protos.person.Person
to the corresponding Java names (like int
,
java.lang.String
, or com.squareup.protos.person.Person
).
Functions
Link copied to clipboard
Returns the Java type of the abstract adapter class generated for a corresponding
protoType
.Link copied to clipboard
Link copied to clipboard
Returns a standalone adapter for
type
.Link copied to clipboard
Returns the full name of the class generated for
member
.Returns the full name of the class generated for
type
.Link copied to clipboard
Link copied to clipboard
Returns the generated code for
type
, which may be a top-level or a nested type.Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard