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

Google.Protobuf.Reflection.OneofDescriptorProto

Describes a oneof.
public const int NameFieldNumber = 1

Field number for the "name" field.

public const int OptionsFieldNumber = 2

Field number for the "options" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<OneofDescriptorProto> Parser { get; }

public bool HasName { get; }

Gets whether the "name" field is set

public string Name { get; set; }

public OneofOptions Options { get; set; }

public int CalculateSize()

public void ClearName()

Clears the value of the "name" field

public bool Equals(OneofDescriptorProto other)

public void MergeFrom(OneofDescriptorProto other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)