Skip to main content

Interface: $Properties

protobuf.FileDescriptorProto.$Properties

Properties of a FileDescriptorProto.

Hierarchy​

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 | $Properties[]

FileDescriptorProto enumType


extension​

• Optional extension: null | $Properties[]

FileDescriptorProto extension


messageType​

• Optional messageType: null | $Properties[]

All top-level definitions in this file.


name​

• Optional name: null | string

file name, relative to root of source tree


options​

• Optional options: null | $Properties

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 | $Properties[]

FileDescriptorProto service


sourceCodeInfo​

• Optional sourceCodeInfo: null | $Properties

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.