com.google.protobuf.struct

Type members

Classlikes

@SerialVersionUID(0L)
final case class ListValue(values: Seq[Value], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[ListValue]

ListValue is a wrapper around a repeated field of values.

ListValue is a wrapper around a repeated field of values.

The JSON representation for ListValue is JSON array.

Value Params
values

Repeated field of dynamically typed values.

Companion
object
sealed abstract class NullValue(val value: Int) extends GeneratedEnum

NullValue is a singleton enumeration to represent the null value for the Value type union.

NullValue is a singleton enumeration to represent the null value for the Value type union.

The JSON representation for NullValue is JSON null.

Companion
object
@SerialVersionUID(0L)
final case class Struct(fields: Map[String, Value], unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Struct]

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
Companion
class
@SerialVersionUID(0L)
final case class Value(kind: Kind, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[Value]

Value represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of that variants, absence of any variant indicates an error.

Value represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of that variants, absence of any variant indicates an error.

The JSON representation for Value is JSON value.

Companion
object
Companion
class