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

Google.Protobuf.Reflection.DescriptorProto

namespace Google.Protobuf.Reflection { public sealed class DescriptorProto : IMessage<DescriptorProto>, IMessage, IEquatable<DescriptorProto>, IDeepCloneable<DescriptorProto>, IBufferMessage { public static class Types { public sealed class ExtensionRange : IMessage<ExtensionRange>, IMessage, IEquatable<ExtensionRange>, IDeepCloneable<ExtensionRange>, IBufferMessage { public const int StartFieldNumber = 1; public const int EndFieldNumber = 2; public const int OptionsFieldNumber = 3; public static MessageParser<ExtensionRange> Parser { get; } public static MessageDescriptor Descriptor { get; } public int Start { get; set; } public bool HasStart { get; } public int End { get; set; } public bool HasEnd { get; } public ExtensionRangeOptions Options { get; set; } public ExtensionRange(); public ExtensionRange(ExtensionRange other); public ExtensionRange Clone(); public void ClearStart(); public void ClearEnd(); public bool Equals(ExtensionRange other); public void WriteTo(CodedOutputStream output); public int CalculateSize(); public void MergeFrom(ExtensionRange other); public void MergeFrom(CodedInputStream input); } public sealed class ReservedRange : IMessage<ReservedRange>, IMessage, IEquatable<ReservedRange>, IDeepCloneable<ReservedRange>, IBufferMessage { public const int StartFieldNumber = 1; public const int EndFieldNumber = 2; public static MessageParser<ReservedRange> Parser { get; } public static MessageDescriptor Descriptor { get; } public int Start { get; set; } public bool HasStart { get; } public int End { get; set; } public bool HasEnd { get; } public ReservedRange(); public ReservedRange(ReservedRange other); public ReservedRange Clone(); public void ClearStart(); public void ClearEnd(); public bool Equals(ReservedRange other); public void WriteTo(CodedOutputStream output); public int CalculateSize(); public void MergeFrom(ReservedRange other); public void MergeFrom(CodedInputStream input); } } public const int NameFieldNumber = 1; public const int FieldFieldNumber = 2; public const int ExtensionFieldNumber = 6; public const int NestedTypeFieldNumber = 3; public const int EnumTypeFieldNumber = 4; public const int ExtensionRangeFieldNumber = 5; public const int OneofDeclFieldNumber = 8; public const int OptionsFieldNumber = 7; public const int ReservedRangeFieldNumber = 9; public const int ReservedNameFieldNumber = 10; public const int VisibilityFieldNumber = 11; public static MessageParser<DescriptorProto> Parser { get; } public static MessageDescriptor Descriptor { get; } public string Name { get; set; } public bool HasName { get; } public RepeatedField<FieldDescriptorProto> Field { get; } public RepeatedField<FieldDescriptorProto> Extension { get; } public RepeatedField<DescriptorProto> NestedType { get; } public RepeatedField<EnumDescriptorProto> EnumType { get; } public RepeatedField<Types.ExtensionRange> ExtensionRange { get; } public RepeatedField<OneofDescriptorProto> OneofDecl { get; } public MessageOptions Options { get; set; } public RepeatedField<Types.ReservedRange> ReservedRange { get; } public RepeatedField<string> ReservedName { get; } public SymbolVisibility Visibility { get; set; } public bool HasVisibility { get; } public DescriptorProto(); public DescriptorProto(DescriptorProto other); public DescriptorProto Clone(); public void ClearName(); public void ClearVisibility(); public bool Equals(DescriptorProto other); public void WriteTo(CodedOutputStream output); public int CalculateSize(); public void MergeFrom(DescriptorProto other); public void MergeFrom(CodedInputStream input); } } namespace Google.Protobuf.Reflection { public sealed class FieldDescriptor : DescriptorBase, IComparable<FieldDescriptor> { public MessageDescriptor ContainingType { get; } public OneofDescriptor ContainingOneof { get; } public OneofDescriptor RealContainingOneof { get; } public string JsonName { get; } public string PropertyName { get; } public bool HasPresence { get; } public Extension Extension { get; } public IFieldAccessor Accessor { get; } public bool IsRepeated { get; } public bool IsRequired { get; } public bool IsMap { get; } public bool IsPacked { get; } public bool IsExtension { get; } public FieldType FieldType { get; } public int FieldNumber { get; } public EnumDescriptor EnumType { get; } public MessageDescriptor MessageType { get; } public MessageDescriptor ExtendeeType { get; } public CustomOptions CustomOptions { get; } public FieldDescriptorProto ToProto(); public int CompareTo(FieldDescriptor other); public FieldOptions GetOptions(); public T GetOption<T>(Extension<FieldOptions, T> extension); public RepeatedField<T> GetOption<T>(RepeatedExtension<FieldOptions, T> extension); } }