public sealed class Int32Value : object, IMessage<Int32Value>, IEquatable<Int32Value>, IDeepCloneable<Int32Value>, IBufferMessage, IMessageWrapper message for int32.
The JSON representation for Int32Value is JSON number.
Implements
IMessage<Int32Value>, IEquatable<Int32Value>, IDeepCloneable<Int32Value>, IBufferMessage, IMessageNamespace
Google.Protobuf.WellKnownTypesAssembly
Google.Protobuf.dll
Constructors
Int32Value()
public Int32Value()Int32Value(Int32Value)
public Int32Value(Int32Value other)| Parameter | |
|---|---|
| Name | Description |
other |
Int32Value |
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<Int32Value> Parser { get; }| Property Value | |
|---|---|
| Type | Description |
MessageParser<Int32Value> |
|
Value
public int Value { get; set; }The int32 value.
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|
Methods
CalculateSize()
public int CalculateSize()| Returns | |
|---|---|
| Type | Description |
Int32 |
|
Clone()
public Int32Value Clone()| Returns | |
|---|---|
| Type | Description |
Int32Value |
|
Equals(Int32Value)
public bool Equals(Int32Value other)| Parameter | |
|---|---|
| Name | Description |
other |
Int32Value |
| 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(Int32Value)
public void MergeFrom(Int32Value other)| Parameter | |
|---|---|
| Name | Description |
other |
Int32Value |
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 |
|