Show / Hide Table of Contents

Class DescriptorProto.Types.ExtensionRange

Inheritance
System.Object
DescriptorProto.Types.ExtensionRange
Implements
IMessage<DescriptorProto.Types.ExtensionRange>
IMessage
System.IEquatable<DescriptorProto.Types.ExtensionRange>
IDeepCloneable<DescriptorProto.Types.ExtensionRange>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Protobuf.Reflection
Assembly: Google.Protobuf.dll
Syntax
public sealed class ExtensionRange : IMessage<DescriptorProto.Types.ExtensionRange>, IMessage, IEquatable<DescriptorProto.Types.ExtensionRange>, IDeepCloneable<DescriptorProto.Types.ExtensionRange>

Constructors

ExtensionRange()

Declaration
public ExtensionRange()

ExtensionRange(DescriptorProto.Types.ExtensionRange)

Declaration
public ExtensionRange(DescriptorProto.Types.ExtensionRange other)
Parameters
Type Name Description
DescriptorProto.Types.ExtensionRange other

Fields

EndFieldNumber

Field number for the "end" field.

Declaration
public const int EndFieldNumber = 2
Field Value
Type Description
System.Int32

OptionsFieldNumber

Field number for the "options" field.

Declaration
public const int OptionsFieldNumber = 3
Field Value
Type Description
System.Int32

StartFieldNumber

Field number for the "start" field.

Declaration
public const int StartFieldNumber = 1
Field Value
Type Description
System.Int32

Properties

Descriptor

Declaration
public static MessageDescriptor Descriptor { get; }
Property Value
Type Description
MessageDescriptor

End

Exclusive.

Declaration
public int End { get; set; }
Property Value
Type Description
System.Int32

HasEnd

Gets whether the "end" field is set

Declaration
public bool HasEnd { get; }
Property Value
Type Description
System.Boolean

HasOptions

Gets whether the options field is set

Declaration
public bool HasOptions { get; }
Property Value
Type Description
System.Boolean

HasStart

Gets whether the "start" field is set

Declaration
public bool HasStart { get; }
Property Value
Type Description
System.Boolean

Options

Declaration
public ExtensionRangeOptions Options { get; set; }
Property Value
Type Description
ExtensionRangeOptions

Parser

Declaration
public static MessageParser<DescriptorProto.Types.ExtensionRange> Parser { get; }
Property Value
Type Description
MessageParser<DescriptorProto.Types.ExtensionRange>

Start

Inclusive.

Declaration
public int Start { get; set; }
Property Value
Type Description
System.Int32

Methods

CalculateSize()

Declaration
public int CalculateSize()
Returns
Type Description
System.Int32
Implements
IMessage.CalculateSize()

ClearEnd()

Clears the value of the "end" field

Declaration
public void ClearEnd()

ClearOptions()

Clears the value of the options field

Declaration
public void ClearOptions()

ClearStart()

Clears the value of the "start" field

Declaration
public void ClearStart()

Clone()

Declaration
public DescriptorProto.Types.ExtensionRange Clone()
Returns
Type Description
DescriptorProto.Types.ExtensionRange
Implements
IDeepCloneable<T>.Clone()

Equals(DescriptorProto.Types.ExtensionRange)

Declaration
public bool Equals(DescriptorProto.Types.ExtensionRange other)
Parameters
Type Name Description
DescriptorProto.Types.ExtensionRange other
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)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

MergeFrom(CodedInputStream)

Declaration
public void MergeFrom(CodedInputStream input)
Parameters
Type Name Description
CodedInputStream input
Implements
IMessage.MergeFrom(CodedInputStream)

MergeFrom(DescriptorProto.Types.ExtensionRange)

Declaration
public void MergeFrom(DescriptorProto.Types.ExtensionRange other)
Parameters
Type Name Description
DescriptorProto.Types.ExtensionRange other
Implements
IMessage<T>.MergeFrom(T)

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

WriteTo(CodedOutputStream)

Declaration
public void WriteTo(CodedOutputStream output)
Parameters
Type Name Description
CodedOutputStream output
Implements
IMessage.WriteTo(CodedOutputStream)

Explicit Interface Implementations

IMessage.Descriptor

Declaration
MessageDescriptor IMessage.Descriptor { get; }
Returns
Type Description
MessageDescriptor
Implements
IMessage.Descriptor

Extension Methods

MessageExtensions.MergeFrom(IMessage, Byte[])
MessageExtensions.MergeFrom(IMessage, Byte[], Int32, Int32)
MessageExtensions.MergeFrom(IMessage, ByteString)
MessageExtensions.MergeFrom(IMessage, Stream)
MessageExtensions.MergeDelimitedFrom(IMessage, Stream)
MessageExtensions.ToByteArray(IMessage)
MessageExtensions.WriteTo(IMessage, Stream)
MessageExtensions.WriteDelimitedTo(IMessage, Stream)
MessageExtensions.ToByteString(IMessage)
MessageExtensions.IsInitialized(IMessage)
Back to top