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

Wrapper message for bytes.

Summary

The JSON representation for BytesValue is JSON string.

Inheritance

Inherits from: pb::IMessage< BytesValue >

Constructors and Destructors

BytesValue()
BytesValue(BytesValue other)

Properties

Descriptor
pbr::MessageDescriptor
Descriptor
pbr::MessageDescriptor pb::IMessage.
Parser
pb::MessageParser< BytesValue >
Value
pb::ByteString
The bytes value.

Public attributes

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

Public functions

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

Value

pb::ByteString Value

The bytes value.

Public attributes

ValueFieldNumber

const int ValueFieldNumber = 1

Field number for the "value" field.

Public functions

BytesValue

 BytesValue()

BytesValue

 BytesValue(
  BytesValue other
)

CalculateSize

int CalculateSize()

Clone

BytesValue Clone()

Equals

override bool Equals(
  object other
)

Equals

bool Equals(
  BytesValue other
)

GetHashCode

override int GetHashCode()

MergeFrom

void MergeFrom(
  BytesValue other
)

MergeFrom

void MergeFrom(
  pb::CodedInputStream input
)

ToString

override string ToString()

WriteTo

void WriteTo(
  pb::CodedOutputStream output
)