Class UInt64Value (3.15.8)

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

Wrapper message for uint64.

The JSON representation for UInt64Value is JSON string.

Inheritance

Object > UInt64Value

Namespace

Google.Protobuf.WellKnownTypes

Assembly

Google.Protobuf.dll

Constructors

UInt64Value()

public UInt64Value()

UInt64Value(UInt64Value)

public UInt64Value(UInt64Value other)
Parameter
NameDescription
otherUInt64Value

Fields

ValueFieldNumber

public const int ValueFieldNumber = null

Field number for the "value" field.

Field Value
TypeDescription
Int32

Properties

Descriptor

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

Parser

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

Value

public ulong Value { get; set; }

The uint64 value.

Property Value
TypeDescription
UInt64

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

Clone()

public UInt64Value Clone()
Returns
TypeDescription
UInt64Value

Equals(UInt64Value)

public bool Equals(UInt64Value other)
Parameter
NameDescription
otherUInt64Value
Returns
TypeDescription
Boolean

Equals(Object)

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

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream

MergeFrom(UInt64Value)

public void MergeFrom(UInt64Value other)
Parameter
NameDescription
otherUInt64Value

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