package struct
- Alphabetic
- Public
- All
Type Members
-
final
case class
ListValue(values: Seq[Value] = _root_.scala.Vector.empty, unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[ListValue] with Product with Serializable
Represents a JSON array.
Represents a JSON array.
- values
Repeated field of dynamically typed values.
- Annotations
- @SerialVersionUID()
-
sealed abstract
class
NullValue extends GeneratedEnum
Represents a JSON
null.Represents a JSON
null.NullValueis a sentinel, using an enum with only one value to represent the null value for theValuetype union.A field of type
NullValuewith any value other than0is considered invalid. Most ProtoJSON serializers will emit aValuewith anull_valueset as a JSONnullregardless of the integer value, and so will round trip to a0value. -
final
case class
Struct(fields: Map[String, Value] = ..., unknownFields: scalapb.UnknownFieldSet = ...) extends scalapb.GeneratedMessage with Updatable[Struct] with Product with Serializable
Represents a JSON object.
Represents a JSON object.
An unordered key-value map, intending to perfectly capture the semantics of a JSON object. This enables parsing any arbitrary JSON payload as a message field in ProtoJSON format.
This follows RFC 8259 guidelines for interoperable JSON: notably this type cannot represent large Int64 values or
NaN/Infinitynumbers, since the JSON format generally does not support those values in its number type.If you do not intend to parse arbitrary JSON into your message, a custom typed message should be preferred instead of using this type.
- 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
Represents a JSON value.
Represents a JSON value.
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 these variants. Absence of any variant is an invalid state.- 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]