Google.Protobuf.WellKnownTypes.Struct

Struct represents a structured data value, consisting of fields which map to dynamically typed values.

Summary

In some languages, Struct might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language.

The JSON representation for Struct is JSON object.

Inheritance

Inherits from: pb::IMessage< Struct >

Constructors and Destructors

Struct()
Struct(Struct other)

Properties

Descriptor
pbr::MessageDescriptor
Descriptor
pbr::MessageDescriptor pb::IMessage.
Fields
pbc::MapField< string, global::Google.Protobuf.WellKnownTypes.Value >
Unordered map of dynamically typed values.
Parser
pb::MessageParser< Struct >

Public attributes

FieldsFieldNumber = 1
const int
Field number for the "fields" field.

Public functions

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

Fields

pbc::MapField< string, global::Google.Protobuf.WellKnownTypes.Value > Fields

Unordered map of dynamically typed values.

Parser

pb::MessageParser< Struct > Parser

Public attributes

FieldsFieldNumber

const int FieldsFieldNumber = 1

Field number for the "fields" field.

Public functions

CalculateSize

int CalculateSize()

Clone

Struct Clone()

Equals

override bool Equals(
  object other
)

Equals

bool Equals(
  Struct other
)

GetHashCode

override int GetHashCode()

MergeFrom

void MergeFrom(
  Struct other
)

MergeFrom

void MergeFrom(
  pb::CodedInputStream input
)

Struct

 Struct()

Struct

 Struct(
  Struct other
)

ToString

override string ToString()

WriteTo

void WriteTo(
  pb::CodedOutputStream output
)