Struct
represents a structured data value, consisting of fields
which map to dynamically typed values. 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.
Struct
represents a structured data value, consisting of fields
which map to dynamically typed values. 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.
- Value Params
- fields
Unordered map of dynamically typed values.
- Companion
- object
Value members
Concrete methods
Inherited methods
Serializes the messgae and returns a byte array containing its raw bytes
Serializes the messgae and returns a byte array containing its raw bytes
- Inherited from
- GeneratedMessage
Serializes the messgae and returns a ByteString containing its raw bytes
Serializes the messgae and returns a ByteString containing its raw bytes
- Inherited from
- GeneratedMessage
Serializes the message into the given output stream
Serializes the message into the given output stream
- Inherited from
- GeneratedMessage