Class Int64Value

Stay organized with collections Save and categorize content based on your preferences.
public sealed class Int64Value : object, IMessage<Int64Value>, IEquatable<Int64Value>, IDeepCloneable<Int64Value>, IBufferMessage, IMessage

Wrapper message for int64.

The JSON representation for Int64Value is JSON string.

Inheritance

Object > Int64Value

Namespace

Google.Protobuf.WellKnownTypes

Assembly

Google.Protobuf.dll

Constructors

Int64Value()

public Int64Value()

Int64Value(Int64Value)

public Int64Value(Int64Value other)
Parameter
TypeNameDescription
Int64Valueother

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<Int64Value> Parser { get; }
Property Value
TypeDescription
MessageParser<Int64Value>

Value

public long Value { get; set; }

The int64 value.

Property Value
TypeDescription
Int64

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

Clone()

public Int64Value Clone()
Returns
TypeDescription
Int64Value

Equals(Int64Value)

public bool Equals(Int64Value other)
Parameter
TypeNameDescription
Int64Valueother
Returns
TypeDescription
Boolean

Equals(Object)

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

GetHashCode()

public override int GetHashCode()
Returns
TypeDescription
Int32

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)
Parameter
TypeNameDescription
CodedInputStreaminput

MergeFrom(Int64Value)

public void MergeFrom(Int64Value other)
Parameter
TypeNameDescription
Int64Valueother

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