Field
A single field of a message type.
New usages of this message as an alternative to FieldDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.
Properties
Link copied to clipboard
The field cardinality.
Link copied to clipboard
The string value of the default value of this field. Proto2 syntax only.
Link copied to clipboard
The field type.
Link copied to clipboard
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.