ProtoType

class ProtoType

Names a protocol buffer message, enumerated type, service, map, or a scalar. This class models a fully-qualified name using the protocol buffer package.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns the enclosing type, or null if this type is not nested in another type.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

True if this type is defined in google/protobuf/wrappers.proto.

Link copied to clipboard

The type of the map's keys. Only present when isMap is true.

Link copied to clipboard
Link copied to clipboard

Returns a string like "type.googleapis.com/packagename.messagename" or null if this type is a scalar or a map. Note that this returns a non-null string for enums because it doesn't know if the named type is a message or an enum.

Link copied to clipboard

The type of the map's values. Only present when isMap is true.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String