Google.Protobuf.Reflection.FileDescriptorProto
public sealed class FileDescriptorProto : IMessage<FileDescriptorProto>, IMessage, IEquatable<FileDescriptorProto>, IDeepCloneable<FileDescriptorProto>, IBufferMessage
Describes a complete .proto file.
Field number for the "dependency" field.
Field number for the "edition" field.
Field number for the "enum_type" field.
Field number for the "extension" field.
Field number for the "message_type" field.
Field number for the "name" field.
Field number for the "option_dependency" field.
Field number for the "options" field.
Field number for the "package" field.
Field number for the "public_dependency" field.
Field number for the "service" field.
Field number for the "source_code_info" field.
Field number for the "syntax" field.
Field number for the "weak_dependency" field.
Names of files imported by this file.
The edition of the proto file.
WARNING: This field should only be used by protobuf plugins or special
cases like the proto compiler. Other uses are discouraged and
developers should rely on the protoreflect APIs for their client language.
Gets whether the "edition" field is set
Gets whether the "name" field is set
Gets whether the "package" field is set
Gets whether the "syntax" field is set
All top-level definitions in this file.
file name, relative to root of source tree
Names of files imported by this file purely for the purpose of providing
option extensions. These are excluded from the dependency list above.
e.g. "foo", "foo.bar", etc.
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.
The syntax of the proto file.
The supported values are "proto2", "proto3", and "editions".
If `edition` is present, this value must be "editions".
WARNING: This field should only be used by protobuf plugins or special
cases like the proto compiler. Other uses are discouraged and
developers should rely on the protoreflect APIs for their client language.
Indexes of the weak imported files in the dependency list.
For Google-internal migration only. Do not use.
public FileDescriptorProto()
Clears the value of the "edition" field
Clears the value of the "name" field
Clears the value of the "package" field
Clears the value of the "syntax" field