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

Wrapper message for string.

Summary

The JSON representation for StringValue is JSON string.

Inheritance

Inherits from: pb::IMessage< StringValue >

Constructors and Destructors

StringValue()
StringValue(StringValue other)

Properties

Descriptor
pbr::MessageDescriptor
Descriptor
pbr::MessageDescriptor pb::IMessage.
Parser
pb::MessageParser< StringValue >
Value
string
The string value.

Public attributes

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

Public functions

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

Value

string Value

The string value.

Public attributes

ValueFieldNumber

const int ValueFieldNumber = 1

Field number for the "value" field.

Public functions

CalculateSize

int CalculateSize()

Clone

StringValue Clone()

Equals

override bool Equals(
  object other
)

Equals

bool Equals(
  StringValue other
)

GetHashCode

override int GetHashCode()

MergeFrom

void MergeFrom(
  StringValue other
)

MergeFrom

void MergeFrom(
  pb::CodedInputStream input
)

StringValue

 StringValue()

StringValue

 StringValue(
  StringValue other
)

ToString

override string ToString()

WriteTo

void WriteTo(
  pb::CodedOutputStream output
)