package struct
- Alphabetic
- Public
- All
Type Members
-
final
case class
ListValue(values: Seq[Value] = _root_.scala.Seq.empty, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[ListValue] with Product with Serializable
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.- values
Repeated field of dynamically typed values.
- Annotations
- @SerialVersionUID()
-
sealed abstract
class
NullValue extends GeneratedEnum
NullValue
is a singleton enumeration to represent the null value for theValue
type union.NullValue
is a singleton enumeration to represent the null value for theValue
type union.The JSON representation for
NullValue
is JSONnull
. -
final
case class
Struct(fields: Map[String, Value] = ..., unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[Struct] with Product with Serializable
Struct
represents a structured data value, consisting of fields which map to dynamically typed values.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.- fields
Unordered map of dynamically typed values.
- Annotations
- @SerialVersionUID()
-
final
case class
Value(kind: Kind = ..., unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[Value] with Product with Serializable
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.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.- Annotations
- @SerialVersionUID()
Value Members
- object ListValue extends GeneratedMessageCompanion[ListValue] with JavaProtoSupport[ListValue, protobuf.ListValue]
- object NullValue extends GeneratedEnumCompanion[NullValue]
- object Struct extends GeneratedMessageCompanion[Struct] with JavaProtoSupport[Struct, protobuf.Struct]
- object StructProto extends GeneratedFileObject
- object Value extends GeneratedMessageCompanion[Value] with JavaProtoSupport[Value, protobuf.Value]