package struct
- Alphabetic
- Public
- All
Type Members
-
final
case class
ListValue
(values: Seq[Value] = _root_.scala.collection.Seq.empty) extends scalapb.GeneratedMessage with scalapb.Message[ListValue] with Updatable[ListValue] with Product with Serializable
ListValueis a wrapper around a repeated field of values.ListValueis a wrapper around a repeated field of values.The JSON representation for
ListValueis JSON array.- values
Repeated field of dynamically typed values.
- Annotations
- @SerialVersionUID()
- sealed trait NullValue extends GeneratedEnum
-
final
case class
Struct
(fields: Map[String, Value] = ...) extends scalapb.GeneratedMessage with scalapb.Message[Struct] with Updatable[Struct] with Product with Serializable
Structrepresents a structured data value, consisting of fields which map to dynamically typed values.Structrepresents a structured data value, consisting of fields which map to dynamically typed values. In some languages,Structmight 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
Structis JSON object.- fields
Unordered map of dynamically typed values.
- Annotations
- @SerialVersionUID()
-
final
case class
Value
(kind: Kind = ...) extends scalapb.GeneratedMessage with scalapb.Message[Value] with Updatable[Value] with Product with Serializable
Valuerepresents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values.Valuerepresents 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
Valueis JSON value.- Annotations
- @SerialVersionUID()
Value Members
- object ListValue extends GeneratedMessageCompanion[ListValue] with JavaProtoSupport[ListValue, protobuf.ListValue] with Serializable
- object NullValue extends GeneratedEnumCompanion[NullValue] with Serializable
- object Struct extends GeneratedMessageCompanion[Struct] with JavaProtoSupport[Struct, protobuf.Struct] with Serializable
- object StructProto extends GeneratedFileObject
- object Value extends GeneratedMessageCompanion[Value] with JavaProtoSupport[Value, protobuf.Value] with Serializable