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

Wrapper message for double.

Summary

The JSON representation for DoubleValue is JSON number.

Inheritance

Inherits from: pb::IMessage< DoubleValue >

Constructors and Destructors

DoubleValue()
DoubleValue(DoubleValue other)

Properties

Descriptor
pbr::MessageDescriptor
Descriptor
pbr::MessageDescriptor pb::IMessage.
Parser
pb::MessageParser< DoubleValue >
Value
double
The double value.

Public attributes

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

Public functions

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

Value

double Value

The double value.

Public attributes

ValueFieldNumber

const int ValueFieldNumber = 1

Field number for the "value" field.

Public functions

CalculateSize

int CalculateSize()

Clone

DoubleValue Clone()

DoubleValue

 DoubleValue()

DoubleValue

 DoubleValue(
  DoubleValue other
)

Equals

override bool Equals(
  object other
)

Equals

bool Equals(
  DoubleValue other
)

GetHashCode

override int GetHashCode()

MergeFrom

void MergeFrom(
  DoubleValue other
)

MergeFrom

void MergeFrom(
  pb::CodedInputStream input
)

ToString

override string ToString()

WriteTo

void WriteTo(
  pb::CodedOutputStream output
)