Describes a message type.

from message google.protobuf.DescriptorProto

Hierarchy

Constructors

Properties

enumType: EnumDescriptorProto[] = []

from field: repeated google.protobuf.EnumDescriptorProto enum_type = 4;

extension: FieldDescriptorProto[] = []

from field: repeated google.protobuf.FieldDescriptorProto extension = 6;

extensionRange: DescriptorProto_ExtensionRange[] = []

from field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;

field: FieldDescriptorProto[] = []

from field: repeated google.protobuf.FieldDescriptorProto field = 2;

name?: string

from field: optional string name = 1;

nestedType: DescriptorProto[] = []

from field: repeated google.protobuf.DescriptorProto nested_type = 3;

oneofDecl: OneofDescriptorProto[] = []

from field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8;

options?: MessageOptions

from field: optional google.protobuf.MessageOptions options = 7;

reservedName: string[] = []

Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.

from field: repeated string reserved_name = 10;

reservedRange: DescriptorProto_ReservedRange[] = []

from field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;

fields: FieldList = ...
runtime: ProtoRuntime = proto2
typeName: "google.protobuf.DescriptorProto" = "google.protobuf.DescriptorProto"

Methods