Class OneofDescriptorProto
Inheritance
OneofDescriptorProto
Assembly: Google.Protobuf.dll
Syntax
public sealed class OneofDescriptorProto : IMessage<OneofDescriptorProto>, IEquatable<OneofDescriptorProto>, IDeepCloneable<OneofDescriptorProto>, IBufferMessage, IMessage
Constructors
OneofDescriptorProto()
Declaration
public OneofDescriptorProto()
OneofDescriptorProto(OneofDescriptorProto)
Declaration
public OneofDescriptorProto(OneofDescriptorProto other)
Parameters
Fields
NameFieldNumber
Declaration
public const int NameFieldNumber = 1
Field Value
OptionsFieldNumber
Declaration
public const int OptionsFieldNumber = 2
Field Value
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
HasName
Declaration
public bool HasName { get; }
Property Value
Name
Declaration
public string Name { get; set; }
Property Value
Options
Declaration
public OneofOptions Options { get; set; }
Property Value
Parser
Declaration
public static MessageParser<OneofDescriptorProto> Parser { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
ClearName()
Declaration
Clone()
Declaration
public OneofDescriptorProto Clone()
Returns
Equals(OneofDescriptorProto)
Declaration
public bool Equals(OneofDescriptorProto other)
Parameters
Returns
Equals(object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
object |
other |
|
Returns
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
MergeFrom(OneofDescriptorProto)
Declaration
public void MergeFrom(OneofDescriptorProto other)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Overrides
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Extension Methods