com.google.protobuf.type
Type members
Classlikes
Enum type definition.
Enum type definition.
- Value parameters:
- enumvalue
Enum value definitions.
- name
Enum type name.
- options
Protocol buffer options.
- sourceContext
The source context.
- syntax
The source syntax.
- Companion:
- object
Enum value definition.
Enum value definition.
- Value parameters:
- name
Enum value name.
- number
Enum value number.
- options
Protocol buffer options.
- Companion:
- object
- Companion:
- class
A single field of a message type.
A single field of a message type.
- Value parameters:
- cardinality
The field cardinality.
- defaultValue
The string value of the default value of this field. Proto2 syntax only.
- jsonName
The field JSON name.
- kind
The field type.
- name
The field name.
- number
The field number.
- oneofIndex
The index of the field type in
Type.oneofs
, for message or enumeration types. The first type has index 1; zero means the type is not in the list.- options
The protocol buffer options.
- packed
Whether to use alternative packed wire representation.
- typeUrl
The field type URL, without the scheme, for message or enumeration types. Example:
"type.googleapis.com/google.protobuf.Timestamp"
.
- Companion:
- object
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
A protocol buffer option, which can be attached to a message, field, enumeration, etc.
- Value parameters:
- name
The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example,
"map_entry"
. For custom options, it should be the fully-qualified name. For example,"google.api.http"
.- value
The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.
- Companion:
- object
- Companion:
- class
The syntax in which a protocol buffer element is defined.
The syntax in which a protocol buffer element is defined.
- Companion:
- object
A protocol buffer message type.
A protocol buffer message type.
- Value parameters:
- fields
The list of fields.
- name
The fully qualified message name.
- oneofs
The list of types appearing in
oneof
definitions in this type.- options
The protocol buffer options.
- sourceContext
The source context.
- syntax
The source syntax.
- Companion:
- object