GitHub

descriptor_proto

API reference for descriptor_proto.

The types and descriptors of Google's google/protobuf/descriptor.proto (Effect's protobuf/ProtobufDescriptorProto): the messages that describe protobuf files, messages, fields, enums and services.

Each message is a TypedDict of its fields and an upper-case constant, its descriptor: FileDescriptorProto and FILE_DESCRIPTOR_PROTO. An enum field holds the number of a value of its IntEnum. The definitions and comments come from protobuf v36.2 (BSD-3-Clause; see THIRD_PARTY_NOTICES.md).

Values

AttributeTypeDescription
DESCRIPTOR_FILEFileDescriptor

The resolved google/protobuf/descriptor.proto.

FILE_DESCRIPTOR_SETMessageDescriptor

The descriptor of google.protobuf.FileDescriptorSet.

FILE_DESCRIPTOR_PROTOMessageDescriptor

The descriptor of google.protobuf.FileDescriptorProto.

DESCRIPTOR_PROTOMessageDescriptor

The descriptor of google.protobuf.DescriptorProto.

DESCRIPTOR_PROTO_EXTENSION_RANGEMessageDescriptor

The descriptor of google.protobuf.DescriptorProto.ExtensionRange.

DESCRIPTOR_PROTO_RESERVED_RANGEMessageDescriptor

The descriptor of google.protobuf.DescriptorProto.ReservedRange.

EXTENSION_RANGE_OPTIONSMessageDescriptor

The descriptor of google.protobuf.ExtensionRangeOptions.

EXTENSION_RANGE_OPTIONS_DECLARATIONMessageDescriptor

The descriptor of google.protobuf.ExtensionRangeOptions.Declaration.

FIELD_DESCRIPTOR_PROTOMessageDescriptor

The descriptor of google.protobuf.FieldDescriptorProto.

ONEOF_DESCRIPTOR_PROTOMessageDescriptor

The descriptor of google.protobuf.OneofDescriptorProto.

ENUM_DESCRIPTOR_PROTOMessageDescriptor

The descriptor of google.protobuf.EnumDescriptorProto.

ENUM_DESCRIPTOR_PROTO_ENUM_RESERVED_RANGEMessageDescriptor

The descriptor of google.protobuf.EnumDescriptorProto.EnumReservedRange.

ENUM_VALUE_DESCRIPTOR_PROTOMessageDescriptor

The descriptor of google.protobuf.EnumValueDescriptorProto.

SERVICE_DESCRIPTOR_PROTOMessageDescriptor

The descriptor of google.protobuf.ServiceDescriptorProto.

METHOD_DESCRIPTOR_PROTOMessageDescriptor

The descriptor of google.protobuf.MethodDescriptorProto.

FILE_OPTIONSMessageDescriptor

The descriptor of google.protobuf.FileOptions.

MESSAGE_OPTIONSMessageDescriptor

The descriptor of google.protobuf.MessageOptions.

FIELD_OPTIONSMessageDescriptor

The descriptor of google.protobuf.FieldOptions.

FIELD_OPTIONS_EDITION_DEFAULTMessageDescriptor

The descriptor of google.protobuf.FieldOptions.EditionDefault.

FIELD_OPTIONS_FEATURE_SUPPORTMessageDescriptor

The descriptor of google.protobuf.FieldOptions.FeatureSupport.

ONEOF_OPTIONSMessageDescriptor

The descriptor of google.protobuf.OneofOptions.

ENUM_OPTIONSMessageDescriptor

The descriptor of google.protobuf.EnumOptions.

ENUM_VALUE_OPTIONSMessageDescriptor

The descriptor of google.protobuf.EnumValueOptions.

SERVICE_OPTIONSMessageDescriptor

The descriptor of google.protobuf.ServiceOptions.

METHOD_OPTIONSMessageDescriptor

The descriptor of google.protobuf.MethodOptions.

UNINTERPRETED_OPTIONMessageDescriptor

The descriptor of google.protobuf.UninterpretedOption.

UNINTERPRETED_OPTION_NAME_PARTMessageDescriptor

The descriptor of google.protobuf.UninterpretedOption.NamePart.

FEATURE_SETMessageDescriptor

The descriptor of google.protobuf.FeatureSet.

FEATURE_SET_VISIBILITY_FEATUREMessageDescriptor

The descriptor of google.protobuf.FeatureSet.VisibilityFeature.

FEATURE_SET_PROTO_LIMITS_FEATUREMessageDescriptor

The descriptor of google.protobuf.FeatureSet.ProtoLimitsFeature.

FEATURE_SET_DEFAULTSMessageDescriptor

The descriptor of google.protobuf.FeatureSetDefaults.

FEATURE_SET_DEFAULTS_FEATURE_SET_EDITION_DEFAULTMessageDescriptor

The descriptor of google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.

SOURCE_CODE_INFOMessageDescriptor

The descriptor of google.protobuf.SourceCodeInfo.

SOURCE_CODE_INFO_LOCATIONMessageDescriptor

The descriptor of google.protobuf.SourceCodeInfo.Location.

GENERATED_CODE_INFOMessageDescriptor

The descriptor of google.protobuf.GeneratedCodeInfo.

GENERATED_CODE_INFO_ANNOTATIONMessageDescriptor

The descriptor of google.protobuf.GeneratedCodeInfo.Annotation.

Classes