Class OneofOptions
Inheritance
System.Object
OneofOptions
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Google.Protobuf.dll
Syntax
public sealed class OneofOptions : IExtendableMessage<OneofOptions>, IMessage<OneofOptions>, IMessage, IEquatable<OneofOptions>, IDeepCloneable<OneofOptions>
Constructors
OneofOptions()
Declaration
OneofOptions(OneofOptions)
Declaration
public OneofOptions(OneofOptions other)
Parameters
Fields
UninterpretedOptionFieldNumber
Field number for the "uninterpreted_option" field.
Declaration
public const int UninterpretedOptionFieldNumber = 999
Field Value
Type |
Description |
System.Int32 |
|
Properties
Descriptor
Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Parser
Declaration
public static MessageParser<OneofOptions> Parser { get; }
Property Value
UninterpretedOption
The parser stores options it doesn't recognize here. See above.
Declaration
public RepeatedField<UninterpretedOption> UninterpretedOption { get; }
Property Value
Methods
CalculateSize()
Declaration
public int CalculateSize()
Returns
Type |
Description |
System.Int32 |
|
Implements
ClearExtension<TValue>(Extension<OneofOptions, TValue>)
Declaration
public void ClearExtension<TValue>(Extension<OneofOptions, TValue> extension)
Parameters
Type Parameters
Implements
ClearExtension<TValue>(RepeatedExtension<OneofOptions, TValue>)
Declaration
public void ClearExtension<TValue>(RepeatedExtension<OneofOptions, TValue> extension)
Parameters
Type Parameters
Implements
Clone()
Declaration
public OneofOptions Clone()
Returns
Implements
Equals(OneofOptions)
Declaration
public bool Equals(OneofOptions other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IEquatable<T>.Equals(T)
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.Object.Equals(System.Object)
GetExtension<TValue>(Extension<OneofOptions, TValue>)
Declaration
public TValue GetExtension<TValue>(Extension<OneofOptions, TValue> extension)
Parameters
Returns
Type Parameters
Implements
GetExtension<TValue>(RepeatedExtension<OneofOptions, TValue>)
Declaration
public RepeatedField<TValue> GetExtension<TValue>(RepeatedExtension<OneofOptions, TValue> extension)
Parameters
Returns
Type Parameters
Implements
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.Object.GetHashCode()
GetOrInitializeExtension<TValue>(RepeatedExtension<OneofOptions, TValue>)
Declaration
public RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<OneofOptions, TValue> extension)
Parameters
Returns
Type Parameters
Implements
HasExtension<TValue>(Extension<OneofOptions, TValue>)
Declaration
public bool HasExtension<TValue>(Extension<OneofOptions, TValue> extension)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Type Parameters
Implements
Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Implements
MergeFrom(OneofOptions)
Declaration
public void MergeFrom(OneofOptions other)
Parameters
Implements
SetExtension<TValue>(Extension<OneofOptions, TValue>, TValue)
Declaration
public void SetExtension<TValue>(Extension<OneofOptions, TValue> extension, TValue value)
Parameters
Type Parameters
Implements
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.Object.ToString()
WriteTo(CodedOutputStream)
Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Implements
Explicit Interface Implementations
IMessage.Descriptor
Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Implements
Extension Methods