proto/google/protobuf/descriptor.pb library

Classes

DescriptorProto
Describes a message type.
DescriptorProto_ExtensionRange
DescriptorProto_ReservedRange
Range of reserved tag numbers. Reserved tag numbers may not be used by fields or extension ranges in the same message. Reserved ranges may not overlap.
Edition
The full set of known editions.
EnumDescriptorProto
Describes an enum type.
EnumDescriptorProto_EnumReservedRange
Range of reserved numeric values. Reserved values may not be used by entries in the same enum. Reserved ranges may not overlap.
EnumOptions
EnumValueDescriptorProto
Describes a value within an enum.
EnumValueOptions
ExtensionRangeOptions
ExtensionRangeOptions_Declaration
ExtensionRangeOptions_VerificationState
The verification state of the extension range.
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.
FeatureSet_EnumType
FeatureSet_FieldPresence
FeatureSet_JsonFormat
FeatureSet_MessageEncoding
FeatureSet_RepeatedFieldEncoding
FeatureSet_Utf8Validation
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.
FeatureSetDefaults_FeatureSetEditionDefault
A map from every known edition with a unique set of defaults to its defaults. Not all editions may be contained here. For a given edition, the defaults at the closest matching edition ordered at or before it should be used. This field must be in strict ascending order by edition.
FieldDescriptorProto
Describes a field within a message.
FieldDescriptorProto_Label
FieldDescriptorProto_Type
FieldOptions
FieldOptions_CType
FieldOptions_EditionDefault
FieldOptions_FeatureSupport
Information about the support window of a feature.
FieldOptions_JSType
FieldOptions_OptionRetention
If set to RETENTION_SOURCE, the option will be omitted from the binary.
FieldOptions_OptionTargetType
This indicates the types of entities that the field may apply to when used as an option. If it is unset, then the field may be freely used as an option on any kind of entity.
FileDescriptorProto
Describes a complete .proto file.
FileDescriptorSet
The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.
FileOptions
FileOptions_OptimizeMode
Generated classes can be optimized for speed or code size.
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.
GeneratedCodeInfo_Annotation
GeneratedCodeInfo_Annotation_Semantic
Represents the identified object's effect on the element in the original .proto file.
MessageOptions
MethodDescriptorProto
Describes a method of a service.
MethodOptions
MethodOptions_IdempotencyLevel
Is this method side-effect-free (or safe in HTTP parlance), or idempotent, or neither? HTTP based RPC implementation may choose GET verb for safe methods, and PUT verb for idempotent methods instead of the default POST.
OneofDescriptorProto
Describes a oneof.
OneofOptions
ServiceDescriptorProto
Describes a service.
ServiceOptions
SourceCodeInfo
Encapsulates information about the original source file from which a FileDescriptorProto was generated.
SourceCodeInfo_Location
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.
UninterpretedOption_NamePart
The name of the uninterpreted option. Each string represents a segment in a dot-separated name. is_extension is true iff a segment represents an extension (denoted with parentheses in options specs in .proto files). E.g.,{ "foo", false, "bar.baz", true, "moo", false } represents "foo.(bar.baz).moo".