Class UInt32Value

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

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
TypeNameDescription
UInt32Valueother
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(UInt32Value)

public void MergeFrom(UInt32Value other)
Parameter
TypeNameDescription
UInt32Valueother

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