FileDescriptorProto
Describes a complete .proto file.
Properties
Names of files imported by this file.
Returns the value of the edition field if present, otherwise null.
All top-level definitions in this file.
Returns the value of the name field if present, otherwise null.
Names of files imported by this file purely for the purpose of providing option extensions. These are excluded from the dependency list above.
Returns the value of the options field if present, otherwise null.
Returns the value of the package field if present, otherwise null.
Returns the field-presence view for this FileDescriptorProto instance.
Indexes of the public imported files in the dependency list above.
This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.
Returns the value of the sourceCodeInfo field if present, otherwise null.
Returns the value of the syntax field if present, otherwise null.
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
Functions
Copies the original message, including unknown fields.