Skip to main content

Interface: IFileDescriptorProto

Properties of a FileDescriptorProto.

Extends​

Properties​

dependency?​

optional dependency?: string[] | null

Names of files imported by this file.

Inherited from​

$Properties.dependency


edition?​

optional edition?: Edition | null

The edition of the proto file.

Inherited from​

$Properties.edition


enumType?​

optional enumType?: $Properties[] | null

FileDescriptorProto enumType

Inherited from​

$Properties.enumType


extension?​

optional extension?: $Properties[] | null

FileDescriptorProto extension

Inherited from​

$Properties.extension


messageType?​

optional messageType?: $Properties[] | null

All top-level definitions in this file.

Inherited from​

$Properties.messageType


name?​

optional name?: string | null

file name, relative to root of source tree

Inherited from​

$Properties.name


options?​

optional options?: $Properties | null

FileDescriptorProto options

Inherited from​

$Properties.options


package?​

optional package?: string | null

e.g. "foo", "foo.bar", etc.

Inherited from​

$Properties.package


publicDependency?​

optional publicDependency?: number[] | null

Indexes of the public imported files in the dependency list above.

Inherited from​

$Properties.publicDependency


service?​

optional service?: $Properties[] | null

FileDescriptorProto service

Inherited from​

$Properties.service


sourceCodeInfo?​

optional sourceCodeInfo?: $Properties | null

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.

Inherited from​

$Properties.sourceCodeInfo


syntax?​

optional syntax?: string | null

The syntax of the proto file. The supported values are "proto2", "proto3", and "editions".

If edition is present, this value must be "editions".

Inherited from​

$Properties.syntax


weakDependency?​

optional weakDependency?: number[] | null

Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.

Inherited from​

$Properties.weakDependency