Describes a message type.

interface DescriptorProto {
    enumType: EnumDescriptorProto[];
    extension: FieldDescriptorProto[];
    extensionRange: DescriptorProto_ExtensionRange[];
    field: FieldDescriptorProto[];
    name: string;
    nestedType: DescriptorProto[];
    oneofDecl: OneofDescriptorProto[];
    options?: MessageOptions;
    reservedName: string[];
    reservedRange: DescriptorProto_ReservedRange[];
}

Properties

name: string
nestedType: DescriptorProto[]
options?: MessageOptions
reservedName: string[]

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