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

Google.Protobuf.Reflection.OneofDescriptorProto

Describes a oneof.
namespace Google.Protobuf.Reflection { public sealed class OneofDescriptorProto : IMessage<OneofDescriptorProto>, IMessage, IEquatable<OneofDescriptorProto>, IDeepCloneable<OneofDescriptorProto>, IBufferMessage { public const int NameFieldNumber = 1; public const int OptionsFieldNumber = 2; public static MessageParser<OneofDescriptorProto> Parser { get; } public static MessageDescriptor Descriptor { get; } public string Name { get; set; } public bool HasName { get; } public OneofOptions Options { get; set; } public OneofDescriptorProto(); public OneofDescriptorProto(OneofDescriptorProto other); public OneofDescriptorProto Clone(); public void ClearName(); public bool Equals(OneofDescriptorProto other); public void WriteTo(CodedOutputStream output); public int CalculateSize(); public void MergeFrom(OneofDescriptorProto other); public void MergeFrom(CodedInputStream input); } }