typeName

open fun typeName(protoType: ProtoType): TypeName

Returns the Java type for protoType.

Throws

if there is no known Java type for protoType, such as if that type wasn't in this generator's schema.