Class ExtensionRangeOptions

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
TypeNameDescription
ExtensionRangeOptionsother

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
TypeNameDescription
Extension<ExtensionRangeOptions, TValue>extension
Type Parameter
NameDescription
TValue

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

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

Clone()

public ExtensionRangeOptions Clone()
Returns
TypeDescription
ExtensionRangeOptions

Equals(ExtensionRangeOptions)

public bool Equals(ExtensionRangeOptions other)
Parameter
TypeNameDescription
ExtensionRangeOptionsother
Returns
TypeDescription
Boolean

Equals(Object)

public override bool Equals(object other)
Parameter
TypeNameDescription
Objectother
Returns
TypeDescription
Boolean

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

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

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

public RepeatedField<TValue> GetExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue> extension)
Parameter
TypeNameDescription
RepeatedExtension<ExtensionRangeOptions, TValue>extension
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
TypeNameDescription
RepeatedExtension<ExtensionRangeOptions, TValue>extension
Returns
TypeDescription
RepeatedField<TValue>
Type Parameter
NameDescription
TValue

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

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

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)
Parameter
TypeNameDescription
CodedInputStreaminput

MergeFrom(ExtensionRangeOptions)

public void MergeFrom(ExtensionRangeOptions other)
Parameter
TypeNameDescription
ExtensionRangeOptionsother

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

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

ToString()

public override string ToString()
Returns
TypeDescription
String

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)
Parameter
TypeNameDescription
CodedOutputStreamoutput

Explicit Interface Implementations

IBufferMessage.InternalMergeFrom(ref ParseContext)

void IBufferMessage.InternalMergeFrom(ref ParseContext input)
Parameter
TypeNameDescription
ParseContextinput

IBufferMessage.InternalWriteTo(ref WriteContext)

void IBufferMessage.InternalWriteTo(ref WriteContext output)
Parameter
TypeNameDescription
WriteContextoutput

IMessage.Descriptor

MessageDescriptor IMessage.Descriptor { get; }
Returns
TypeDescription
MessageDescriptor

Implements

IEquatable<>