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)
Fields
UninterpretedOptionFieldNumber
public const int UninterpretedOptionFieldNumber = null
Field number for the "uninterpreted_option" field.
Field Value |
---|
Type | Description |
Int32 | |
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Parser
public static MessageParser<ExtensionRangeOptions> Parser { get; }
UninterpretedOption
public RepeatedField<UninterpretedOption> UninterpretedOption { get; }
The parser stores options it doesn't recognize here. See above.
Methods
CalculateSize()
public int CalculateSize()
Returns |
---|
Type | Description |
Int32 | |
ClearExtension<TValue>(Extension<ExtensionRangeOptions, TValue>)
public void ClearExtension<TValue>(Extension<ExtensionRangeOptions, TValue> extension)
Type Parameter |
---|
Name | Description |
TValue | |
ClearExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue>)
public void ClearExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue> extension)
Type Parameter |
---|
Name | Description |
TValue | |
Clone()
public ExtensionRangeOptions Clone()
Equals(ExtensionRangeOptions)
public bool Equals(ExtensionRangeOptions other)
Equals(Object)
public override bool Equals(object other)
Parameter |
---|
Name | Description |
other | Object
|
GetExtension<TValue>(Extension<ExtensionRangeOptions, TValue>)
public TValue GetExtension<TValue>(Extension<ExtensionRangeOptions, TValue> extension)
Returns |
---|
Type | Description |
TValue | |
Type Parameter |
---|
Name | Description |
TValue | |
GetExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue>)
public RepeatedField<TValue> GetExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue> extension)
Type Parameter |
---|
Name | Description |
TValue | |
GetHashCode()
public override int GetHashCode()
Returns |
---|
Type | Description |
Int32 | |
GetOrInitializeExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue>)
public RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<ExtensionRangeOptions, TValue> extension)
Type Parameter |
---|
Name | Description |
TValue | |
HasExtension<TValue>(Extension<ExtensionRangeOptions, TValue>)
public bool HasExtension<TValue>(Extension<ExtensionRangeOptions, TValue> extension)
Type Parameter |
---|
Name | Description |
TValue | |
public void MergeFrom(CodedInputStream input)
MergeFrom(ExtensionRangeOptions)
public void MergeFrom(ExtensionRangeOptions other)
SetExtension<TValue>(Extension<ExtensionRangeOptions, TValue>, TValue)
public void SetExtension<TValue>(Extension<ExtensionRangeOptions, TValue> extension, TValue value)
Type Parameter |
---|
Name | Description |
TValue | |
ToString()
public override string ToString()
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Explicit Interface Implementations
IBufferMessage.InternalMergeFrom(ref ParseContext)
void IBufferMessage.InternalMergeFrom(ref ParseContext input)
IBufferMessage.InternalWriteTo(ref WriteContext)
void IBufferMessage.InternalWriteTo(ref WriteContext output)
IMessage.Descriptor
MessageDescriptor IMessage.Descriptor { get; }