com.google.protobuf.struct

Members list

Type members

Classlikes

final case class ListValue(values: Seq[Value], unknownFields: UnknownFieldSet) extends GeneratedMessage, 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 parameters

values

Repeated field of dynamically typed values.

Attributes

Companion
object
Supertypes
trait Updatable[ListValue]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
ListValue.type
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.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object NULL_VALUE
trait Recognized
class Unrecognized

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
NullValue.type
final case class Struct(fields: Map[String, Value], unknownFields: UnknownFieldSet) extends GeneratedMessage, 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 parameters

fields

Unordered map of dynamically typed values.

Attributes

Companion
object
Supertypes
trait Updatable[Struct]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Struct.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class Value(kind: Kind, unknownFields: UnknownFieldSet) extends GeneratedMessage, 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 these 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 these variants. Absence of any variant indicates an error.

The JSON representation for Value is JSON value.

Attributes

Companion
object
Supertypes
trait Updatable[Value]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
Value.type