Packages

package struct

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. 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()
  2. sealed abstract class NullValue extends GeneratedEnum

    Represents a JSON null.

    Represents a JSON null.

    NullValue is a sentinel, using an enum with only one value to represent the null value for the Value type union.

    A field of type NullValue with any value other than 0 is considered invalid. Most ProtoJSON serializers will emit a Value with a null_value set as a JSON null regardless of the integer value, and so will round trip to a 0 value.

  3. 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/Infinity numbers, 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()
  4. 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.

    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 is an invalid state.

    Annotations
    @SerialVersionUID()

Ungrouped