- getEnumType
If this is a enum type, returns the enum, otherwise fails.
- getMessageType
If this is a message type, returns the message, otherwise fails.
- of
Creates a reference to a primitive type, with default cardinality optional.
- fromPrimitiveName
Creates a reference to a primitive type based on its name in the protocol buffer
language, with defa
- isEnum
Returns true of this is an enum type.
- isMessage
Returns true of this is a message type.
- equals
- getKind
Returns the type kind.
- getMapValueField
Returns the field for a value of a map type. Error if type is not a map.
- getPrimitiveTypeName
If this is a primitive type, returns the proto type name, otherwise fails.
- isCyclic
Return true of this is a cyclic message type.
- isMap
Return trues if this type represents a map.