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

Wrapper message for float.

Summary

The JSON representation for FloatValue is JSON number.

Inheritance

Inherits from: pb::IMessage< FloatValue >

Constructors and Destructors

FloatValue()
FloatValue(FloatValue other)

Properties

Descriptor
pbr::MessageDescriptor
Descriptor
pbr::MessageDescriptor pb::IMessage.
Parser
pb::MessageParser< FloatValue >
Value
float
The float value.

Public attributes

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

Public functions

CalculateSize()
int
Clone()
Equals(object other)
override bool
Equals(FloatValue other)
bool
GetHashCode()
override int
MergeFrom(FloatValue 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< FloatValue > Parser

Value

float Value

The float value.

Public attributes

ValueFieldNumber

const int ValueFieldNumber = 1

Field number for the "value" field.

Public functions

CalculateSize

int CalculateSize()

Clone

FloatValue Clone()

Equals

override bool Equals(
  object other
)

Equals

bool Equals(
  FloatValue other
)

FloatValue

 FloatValue()

FloatValue

 FloatValue(
  FloatValue other
)

GetHashCode

override int GetHashCode()

MergeFrom

void MergeFrom(
  FloatValue other
)

MergeFrom

void MergeFrom(
  pb::CodedInputStream input
)

ToString

override string ToString()

WriteTo

void WriteTo(
  pb::CodedOutputStream output
)