Module protobuf

Source

Modules§

descriptor_proto
Nested message and enum types in DescriptorProto.
enum_descriptor_proto
Nested message and enum types in EnumDescriptorProto.
extension_range_options
Nested message and enum types in ExtensionRangeOptions.
feature_set
Nested message and enum types in FeatureSet.
feature_set_defaults
Nested message and enum types in FeatureSetDefaults.
field_descriptor_proto
Nested message and enum types in FieldDescriptorProto.
field_options
Nested message and enum types in FieldOptions.
file_options
Nested message and enum types in FileOptions.
generated_code_info
Nested message and enum types in GeneratedCodeInfo.
method_options
Nested message and enum types in MethodOptions.
source_code_info
Nested message and enum types in SourceCodeInfo.
uninterpreted_option
Nested message and enum types in UninterpretedOption.

Structs§

DescriptorProto
Describes a message type.
EnumDescriptorProto
Describes an enum type.
EnumOptions
EnumValueDescriptorProto
Describes a value within an enum.
EnumValueOptions
ExtensionRangeOptions
FeatureSet
TODO Enums in C++ gencode (and potentially other languages) are not well scoped. This means that each of the feature enums below can clash with each other. The short names we’ve chosen maximize call-site readability, but leave us very open to this scenario. A future feature will be designed and implemented to handle this, hopefully before we ever hit a conflict here.
FeatureSetDefaults
A compiled specification for the defaults of a set of features. These messages are generated from FeatureSet extensions and can be used to seed feature resolution. The resolution with this object becomes a simple search for the closest matching edition, followed by proto merges.
FieldDescriptorProto
Describes a field within a message.
FieldOptions
FileDescriptorProto
Describes a complete .proto file.
FileDescriptorSet
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.
FileOptions
GeneratedCodeInfo
Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.
MessageOptions
MethodDescriptorProto
Describes a method of a service.
MethodOptions
OneofDescriptorProto
Describes a oneof.
OneofOptions
ServiceDescriptorProto
Describes a service.
ServiceOptions
SourceCodeInfo
Encapsulates information about the original source file from which a FileDescriptorProto was generated.
Timestamp
A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one.
UninterpretedOption
A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects (e.g. returned by Descriptor::options(), or produced by Descriptor::CopyTo()) will never have UninterpretedOptions in them.

Enums§

Edition
The full set of known editions.