Skip to main content

Interface: IFileDescriptorProto

google.protobuf.IFileDescriptorProto

Properties of a FileDescriptorProto.

Hierarchy

Properties

dependency

Optional dependency: null | string[]

Names of files imported by this file.

Inherited from

$Properties.dependency


edition

Optional edition: null | Edition

The edition of the proto file.

Inherited from

$Properties.edition


enumType

Optional enumType: null | $Properties[]

FileDescriptorProto enumType

Inherited from

$Properties.enumType


extension

Optional extension: null | $Properties[]

FileDescriptorProto extension

Inherited from

$Properties.extension


messageType

Optional messageType: null | $Properties[]

All top-level definitions in this file.

Inherited from

$Properties.messageType


name

Optional name: null | string

file name, relative to root of source tree

Inherited from

$Properties.name


options

Optional options: null | $Properties

FileDescriptorProto options

Inherited from

$Properties.options


package

Optional package: null | string

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

Inherited from

$Properties.package


publicDependency

Optional publicDependency: null | number[]

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

Inherited from

$Properties.publicDependency


service

Optional service: null | $Properties[]

FileDescriptorProto service

Inherited from

$Properties.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.

Inherited from

$Properties.sourceCodeInfo


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".

Inherited from

$Properties.syntax


weakDependency

Optional weakDependency: null | number[]

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

Inherited from

$Properties.weakDependency