<PackageReference Include="Google.Protobuf" Version="3.35.0" />

Google.Protobuf.Reflection.DescriptorProto

Describes a message type.
public static class Types

Container for nested types declared in the DescriptorProto message type.

public const int EnumTypeFieldNumber = 4

Field number for the "enum_type" field.

public const int ExtensionFieldNumber = 6

Field number for the "extension" field.

public const int ExtensionRangeFieldNumber = 5

Field number for the "extension_range" field.

public const int FieldFieldNumber = 2

Field number for the "field" field.

public const int NameFieldNumber = 1

Field number for the "name" field.

public const int NestedTypeFieldNumber = 3

Field number for the "nested_type" field.

public const int OneofDeclFieldNumber = 8

Field number for the "oneof_decl" field.

public const int OptionsFieldNumber = 7

Field number for the "options" field.

public const int ReservedNameFieldNumber = 10

Field number for the "reserved_name" field.

public const int ReservedRangeFieldNumber = 9

Field number for the "reserved_range" field.

public const int VisibilityFieldNumber = 11

Field number for the "visibility" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<DescriptorProto> Parser { get; }

public bool HasName { get; }

Gets whether the "name" field is set

public bool HasVisibility { get; }

Gets whether the "visibility" field is set

public string Name { get; set; }

public MessageOptions Options { get; set; }

public RepeatedField<string> ReservedName { get; }

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

public SymbolVisibility Visibility { get; set; }

Support for `export` and `local` keywords on enums.

public DescriptorProto()

public int CalculateSize()

public void ClearName()

Clears the value of the "name" field

public void ClearVisibility()

Clears the value of the "visibility" field

public bool Equals(DescriptorProto other)

public void MergeFrom(DescriptorProto other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)