FieldDescriptorProto
Describes a field within a message.
Types
Properties
For numeric types, contains the original text representation of the value. For booleans, "true" or "false". For strings, contains the default text contents (not escaped in any way). For bytes, contains the C escaped value. All bytes >= 128 are escaped.
If set, gives the index of a oneof in the containing type's oneof_decl list. This field is a member of that oneof.
Returns the field-presence view for this com.google.protobuf.kotlin.FieldDescriptorProto instance.
If true, this is a proto3 "optional". When a proto3 field is optional, it tracks presence regardless of field type.
If type_name is set, this need not be set. If both this and type_name are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
For message and enum types, this is the name of the type. If the name starts with a '.', it is fully-qualified. Otherwise, C++-like scoping rules are used to find the type (i.e. first the nested types within this message are searched, then within the parent, on up to the root namespace).
Functions
Copies the original message, including unknown fields.