Class ExtensionRangeOptions (3.15.8)

public sealed class ExtensionRangeOptions : object, IExtendableMessage<ExtensionRangeOptions>, IMessage<ExtensionRangeOptions>, IEquatable<ExtensionRangeOptions>, IDeepCloneable<ExtensionRangeOptions>, IBufferMessage, IMessage

Inheritance

Object > ExtensionRangeOptions

Namespace

Google.Protobuf.Reflection

Assembly

Google.Protobuf.dll

Constructors

ExtensionRangeOptions()

public ExtensionRangeOptions()

ExtensionRangeOptions(ExtensionRangeOptions)

public ExtensionRangeOptions(ExtensionRangeOptions other)
Parameter
NameDescription
otherExtensionRangeOptions

Fields

UninterpretedOptionFieldNumber

public const int UninterpretedOptionFieldNumber = null

Field number for the "uninterpreted_option" field.

Field Value
TypeDescription
Int32

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }
Property Value
TypeDescription
MessageDescriptor

Parser

public static MessageParser<ExtensionRangeOptions> Parser { get; }
Property Value
TypeDescription
MessageParser<ExtensionRangeOptions>

UninterpretedOption

public RepeatedField<UninterpretedOption> UninterpretedOption { get; }

The parser stores options it doesn't recognize here. See above.

Property Value
TypeDescription
RepeatedField<UninterpretedOption>

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

ClearExtension<TValue>(Extension<ExtensionRangeOptions, TValue>)

public void ClearExtension<TValue>(Extension<ExtensionRangeOptions, TValue> extension)
Parameter
NameDescription
extensionExtension<ExtensionRangeOptions, TValue>
Type Parameter
NameDescription
TValue

ClearExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue>)

public void ClearExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue> extension)
Parameter
NameDescription
extensionRepeatedExtension<ExtensionRangeOptions, TValue>
Type Parameter
NameDescription
TValue

Clone()

public ExtensionRangeOptions Clone()
Returns
TypeDescription
ExtensionRangeOptions

Equals(ExtensionRangeOptions)

public bool Equals(ExtensionRangeOptions other)
Parameter
NameDescription
otherExtensionRangeOptions
Returns
TypeDescription
Boolean

Equals(Object)

public override bool Equals(object other)
Parameter
NameDescription
otherObject
Returns
TypeDescription
Boolean

GetExtension<TValue>(Extension<ExtensionRangeOptions, TValue>)

public TValue GetExtension<TValue>(Extension<ExtensionRangeOptions, TValue> extension)
Parameter
NameDescription
extensionExtension<ExtensionRangeOptions, TValue>
Returns
TypeDescription
TValue
Type Parameter
NameDescription
TValue

GetExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue>)

public RepeatedField<TValue> GetExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue> extension)
Parameter
NameDescription
extensionRepeatedExtension<ExtensionRangeOptions, TValue>
Returns
TypeDescription
RepeatedField<TValue>
Type Parameter
NameDescription
TValue

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32

GetOrInitializeExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue>)

public RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue> extension)
Parameter
NameDescription
extensionRepeatedExtension<ExtensionRangeOptions, TValue>
Returns
TypeDescription
RepeatedField<TValue>
Type Parameter
NameDescription
TValue

HasExtension<TValue>(Extension<ExtensionRangeOptions, TValue>)

public bool HasExtension<TValue>(Extension<ExtensionRangeOptions, TValue> extension)
Parameter
NameDescription
extensionExtension<ExtensionRangeOptions, TValue>
Returns
TypeDescription
Boolean
Type Parameter
NameDescription
TValue

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream

MergeFrom(ExtensionRangeOptions)

public void MergeFrom(ExtensionRangeOptions other)
Parameter
NameDescription
otherExtensionRangeOptions

SetExtension<TValue>(Extension<ExtensionRangeOptions, TValue>, TValue)

public void SetExtension<TValue>(Extension<ExtensionRangeOptions, TValue> extension, TValue value)
Parameters
NameDescription
extensionExtension<ExtensionRangeOptions, TValue>
valueTValue
Type Parameter
NameDescription
TValue

ToString()

public override string ToString()
Returns
TypeDescription
String

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream

Explicit Interface Implementations

IBufferMessage.InternalMergeFrom(ref ParseContext)

void IBufferMessage.InternalMergeFrom(ref ParseContext input)
Parameter
NameDescription
inputParseContext

IBufferMessage.InternalWriteTo(ref WriteContext)

void IBufferMessage.InternalWriteTo(ref WriteContext output)
Parameter
NameDescription
outputWriteContext

IMessage.Descriptor

MessageDescriptor IMessage.Descriptor { get; }
Returns
TypeDescription
MessageDescriptor