package google.protobuf

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message DescriptorProto

descriptor.proto:134

Describes a message type.

Used in: FileDescriptorProto

message DescriptorProto.ExtensionRange

descriptor.proto:143

Used in: DescriptorProto

message DescriptorProto.ReservedRange

descriptor.proto:158

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.

Used in: DescriptorProto

enum Edition

descriptor.proto:61

The full set of known editions.

Used in: FeatureSetDefaults, FeatureSetDefaults.FeatureSetEditionDefault, FieldOptions.EditionDefault, FieldOptions.FeatureSupport, FileDescriptorProto

message EnumDescriptorProto

descriptor.proto:336

Describes an enum type.

Used in: DescriptorProto, FileDescriptorProto

message EnumDescriptorProto.EnumReservedRange

descriptor.proto:349

Range of reserved numeric values. Reserved values may not be used by entries in the same enum. Reserved ranges may not overlap. Note that this is distinct from DescriptorProto.ReservedRange in that it is inclusive such that it can appropriately represent the entire int32 domain.

Used in: EnumDescriptorProto

message EnumOptions

descriptor.proto:816

Used in: EnumDescriptorProto

message EnumValueDescriptorProto

descriptor.proto:365

Describes a value within an enum.

Used in: EnumDescriptorProto

message EnumValueOptions

descriptor.proto:848

Used in: EnumValueDescriptorProto

message ExtensionRangeOptions

descriptor.proto:168

Used in: DescriptorProto.ExtensionRange

message ExtensionRangeOptions.Declaration

descriptor.proto:172

Used in: ExtensionRangeOptions

enum ExtensionRangeOptions.VerificationState

descriptor.proto:206

The verification state of the extension range.

Used in: ExtensionRangeOptions

message FeatureSet

descriptor.proto:967

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.

Used in: EnumOptions, EnumValueOptions, ExtensionRangeOptions, FeatureSetDefaults.FeatureSetEditionDefault, FieldOptions, FileOptions, MessageOptions, MethodOptions, OneofOptions, ServiceOptions

enum FeatureSet.EnumType

descriptor.proto:986

Used in: FeatureSet

enum FeatureSet.FieldPresence

descriptor.proto:968

Used in: FeatureSet

enum FeatureSet.JsonFormat

descriptor.proto:1050

Used in: FeatureSet

enum FeatureSet.MessageEncoding

descriptor.proto:1035

Used in: FeatureSet

enum FeatureSet.RepeatedFieldEncoding

descriptor.proto:1002

Used in: FeatureSet

enum FeatureSet.Utf8Validation

descriptor.proto:1018

Used in: FeatureSet

message FeatureSetDefaults

descriptor.proto:1096

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.

message FeatureSetDefaults.FeatureSetEditionDefault

descriptor.proto:1101

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.

Used in: FeatureSetDefaults

message FieldDescriptorProto

descriptor.proto:223

Describes a field within a message.

Used in: DescriptorProto, FileDescriptorProto

enum FieldDescriptorProto.Label

descriptor.proto:258

Used in: FieldDescriptorProto

enum FieldDescriptorProto.Type

descriptor.proto:224

Used in: FieldDescriptorProto

message FieldOptions

descriptor.proto:637

Used in: FieldDescriptorProto

enum FieldOptions.CType

descriptor.proto:646

Used in: FieldOptions

message FieldOptions.EditionDefault

descriptor.proto:764

Used in: FieldOptions

message FieldOptions.FeatureSupport

descriptor.proto:774

Information about the support window of a feature.

Used in: EnumValueOptions, FieldOptions

enum FieldOptions.JSType

descriptor.proto:681

Used in: FieldOptions

enum FieldOptions.OptionRetention

descriptor.proto:737

If set to RETENTION_SOURCE, the option will be omitted from the binary. Note: as of January 2023, support for this is in progress and does not yet have an effect (b/264593489).

Used in: FieldOptions

enum FieldOptions.OptionTargetType

descriptor.proto:749

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. Note: as of January 2023, support for this is in progress and does not yet have an effect (b/264593489).

Used in: FieldOptions

message FileDescriptorProto

descriptor.proto:97

Describes a complete .proto file.

Used in: FileDescriptorSet

message FileDescriptorSet

descriptor.proto:56

The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.

message FileOptions

descriptor.proto:429

Used in: FileDescriptorProto

enum FileOptions.OptimizeMode

descriptor.proto:468

Generated classes can be optimized for speed or code size.

Used in: FileOptions

message GeneratedCodeInfo

descriptor.proto:1263

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.

message GeneratedCodeInfo.Annotation

descriptor.proto:1267

Used in: GeneratedCodeInfo

enum GeneratedCodeInfo.Annotation.Semantic

descriptor.proto:1286

Represents the identified object's effect on the element in the original .proto file.

Used in: Annotation

message MessageOptions

descriptor.proto:555

Used in: DescriptorProto

message MethodDescriptorProto

descriptor.proto:381

Describes a method of a service.

Used in: ServiceDescriptorProto

message MethodOptions

descriptor.proto:896

Used in: MethodDescriptorProto

enum MethodOptions.IdempotencyLevel

descriptor.proto:912

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.

Used in: MethodOptions

message OneofDescriptorProto

descriptor.proto:330

Describes a oneof.

Used in: DescriptorProto

message OneofOptions

descriptor.proto:805

Used in: OneofDescriptorProto

message ServiceDescriptorProto

descriptor.proto:373

Describes a service.

Used in: FileDescriptorProto

message ServiceOptions

descriptor.proto:873

Used in: ServiceDescriptorProto

message SourceCodeInfo

descriptor.proto:1129

Encapsulates information about the original source file from which a FileDescriptorProto was generated.

Used in: FileDescriptorProto

message SourceCodeInfo.Location

descriptor.proto:1174

Used in: SourceCodeInfo

message UninterpretedOption

descriptor.proto:936

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.

Used in: EnumOptions, EnumValueOptions, ExtensionRangeOptions, FieldOptions, FileOptions, MessageOptions, MethodOptions, OneofOptions, ServiceOptions

message UninterpretedOption.NamePart

descriptor.proto:942

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

Used in: UninterpretedOption