public sealed class Int64Value : object, IMessage<Int64Value>, IEquatable<Int64Value>, IDeepCloneable<Int64Value>, IBufferMessage, IMessageWrapper message for int64.
The JSON representation for Int64Value is JSON string.
Implements
IMessage<Int64Value>, IEquatable<Int64Value>, IDeepCloneable<Int64Value>, IBufferMessage, IMessageNamespace
Google.Protobuf.WellKnownTypesAssembly
Google.Protobuf.dll
Constructors
Int64Value()
public Int64Value()Int64Value(Int64Value)
public Int64Value(Int64Value other)| Parameter | |
|---|---|
| Name | Description |
other |
Int64Value |
Fields
ValueFieldNumber
public const int ValueFieldNumber = nullField number for the "value" field.
| Field Value | |
|---|---|
| Type | Description |
Int32 |
|
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }| Property Value | |
|---|---|
| Type | Description |
MessageDescriptor |
|
Parser
public static MessageParser<Int64Value> Parser { get; }| Property Value | |
|---|---|
| Type | Description |
MessageParser<Int64Value> |
|
Value
public long Value { get; set; }The int64 value.
| Property Value | |
|---|---|
| Type | Description |
Int64 |
|
Methods
CalculateSize()
public int CalculateSize()| Returns | |
|---|---|
| Type | Description |
Int32 |
|
Clone()
public Int64Value Clone()| Returns | |
|---|---|
| Type | Description |
Int64Value |
|
Equals(Int64Value)
public bool Equals(Int64Value other)| Parameter | |
|---|---|
| Name | Description |
other |
Int64Value |
| Returns | |
|---|---|
| Type | Description |
Boolean |
|
Equals(Object)
public override bool Equals(object other)| Parameter | |
|---|---|
| Name | Description |
other |
Object |
| Returns | |
|---|---|
| Type | Description |
Boolean |
|
GetHashCode()
public override int GetHashCode()| Returns | |
|---|---|
| Type | Description |
Int32 |
|
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
MergeFrom(Int64Value)
public void MergeFrom(Int64Value other)| Parameter | |
|---|---|
| Name | Description |
other |
Int64Value |
ToString()
public override string ToString()| Returns | |
|---|---|
| Type | Description |
String |
|
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
Explicit Interface Implementations
IBufferMessage.InternalMergeFrom(ref ParseContext)
void IBufferMessage.InternalMergeFrom(ref ParseContext input)| Parameter | |
|---|---|
| Name | Description |
input |
ParseContext |
IBufferMessage.InternalWriteTo(ref WriteContext)
void IBufferMessage.InternalWriteTo(ref WriteContext output)| Parameter | |
|---|---|
| Name | Description |
output |
WriteContext |
IMessage.Descriptor
MessageDescriptor IMessage.Descriptor { get; }| Returns | |
|---|---|
| Type | Description |
MessageDescriptor |
|