NOTE: This site is deprecated. The site will be turned down after January 31, 2023, and traffic will redirect to the new site at https://protobuf.dev. In the meantime, updates will be made only to protobuf.dev.
Stay organized with collections Save and categorize content based on your preferences.

Google.Protobuf.WellKnownTypes.Int32Value

Wrapper message for int32.

Summary

The JSON representation for Int32Value is JSON number.

Inheritance

Inherits from: pb::IMessage< Int32Value >

Constructors and Destructors

Int32Value()
Int32Value(Int32Value other)

Properties

Descriptor
pbr::MessageDescriptor
Descriptor
pbr::MessageDescriptor pb::IMessage.
Parser
pb::MessageParser< Int32Value >
Value
int
The int32 value.

Public attributes

ValueFieldNumber = 1
const int
Field number for the "value" field.

Public functions

CalculateSize()
int
Clone()
Equals(object other)
override bool
Equals(Int32Value other)
bool
GetHashCode()
override int
MergeFrom(Int32Value other)
void
MergeFrom(pb::CodedInputStream input)
void
ToString()
override string
WriteTo(pb::CodedOutputStream output)
void

Properties

Descriptor

pbr::MessageDescriptor Descriptor

Descriptor

pbr::MessageDescriptor pb::IMessage. Descriptor

Parser

pb::MessageParser< Int32Value > Parser

Value

int Value

The int32 value.

Public attributes

ValueFieldNumber

const int ValueFieldNumber = 1

Field number for the "value" field.

Public functions

CalculateSize

int CalculateSize()

Clone

Int32Value Clone()

Equals

override bool Equals(
  object other
)

Equals

bool Equals(
  Int32Value other
)

GetHashCode

override int GetHashCode()

Int32Value

 Int32Value()

Int32Value

 Int32Value(
  Int32Value other
)

MergeFrom

void MergeFrom(
  Int32Value other
)

MergeFrom

void MergeFrom(
  pb::CodedInputStream input
)

ToString

override string ToString()

WriteTo

void WriteTo(
  pb::CodedOutputStream output
)