Class UInt32Value (3.15.8)

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

Wrapper message for uint32.

The JSON representation for UInt32Value is JSON number.

Inheritance

Object > UInt32Value

Namespace

Google.Protobuf.WellKnownTypes

Assembly

Google.Protobuf.dll

Constructors

UInt32Value()

public UInt32Value()

UInt32Value(UInt32Value)

public UInt32Value(UInt32Value other)
Parameter
NameDescription
otherUInt32Value

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

Value

public uint Value { get; set; }

The uint32 value.

Property Value
TypeDescription
UInt32

Methods

CalculateSize()

public int CalculateSize()
Returns
TypeDescription
Int32

Clone()

public UInt32Value Clone()
Returns
TypeDescription
UInt32Value

Equals(UInt32Value)

public bool Equals(UInt32Value other)
Parameter
NameDescription
otherUInt32Value
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(UInt32Value)

public void MergeFrom(UInt32Value other)
Parameter
NameDescription
otherUInt32Value

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