Interface: IFileDescriptorProto
google.protobuf.IFileDescriptorProto
Properties of a FileDescriptorProto.
Implemented by
Properties
dependency
• Optional
dependency: null
| string
[]
Names of files imported by this file.
edition
• Optional
edition: null
| Edition
The edition of the proto file.
enumType
• Optional
enumType: null
| IEnumDescriptorProto
[]
FileDescriptorProto enumType
extension
• Optional
extension: null
| IFieldDescriptorProto
[]
FileDescriptorProto extension
messageType
• Optional
messageType: null
| IDescriptorProto
[]
All top-level definitions in this file.
name
• Optional
name: null
| string
file name, relative to root of source tree
options
• Optional
options: null
| IFileOptions
FileDescriptorProto options
package
• Optional
package: null
| string
e.g. "foo", "foo.bar", etc.
publicDependency
• Optional
publicDependency: null
| number
[]
Indexes of the public imported files in the dependency list above.
service
• Optional
service: null
| IServiceDescriptorProto
[]
FileDescriptorProto service
sourceCodeInfo
• Optional
sourceCodeInfo: null
| ISourceCodeInfo
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.
syntax
• Optional
syntax: null
| string
The syntax of the proto file. The supported values are "proto2", "proto3", and "editions".
If edition
is present, this value must be "editions".
weakDependency
• Optional
weakDependency: null
| number
[]
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.