Packages

final case class Value(kind: Kind = ...) extends scalapb.GeneratedMessage with scalapb.Message[Value] 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. A producer of value is expected to set one of that variants, absence of any variant indicates an error.

The JSON representation for Value is JSON value.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Value], scalapb.Message[Value], scalapb.GeneratedMessage, Serializable, Serializable, AnyRef, scala.Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Value
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Value(kind: Kind = ...)

Value Members

  1. final def !=(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: scala.Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearKind: Value
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def companion: Value.type
    Definition Classes
    ValueGeneratedMessage
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getBoolValue: Boolean
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    ValueGeneratedMessage
  13. def getFieldByNumber(__fieldNumber: Int): scala.Any
    Definition Classes
    ValueGeneratedMessage
  14. def getListValue: ListValue
  15. def getNullValue: NullValue
  16. def getNumberValue: Double
  17. def getStringValue: String
  18. def getStructValue: Struct
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. val kind: Kind
  21. def mergeFrom(_input__: CodedInputStream): Value
    Definition Classes
    ValueMessage
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. final def serializedSize: Int
    Definition Classes
    ValueGeneratedMessage
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  28. def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  29. def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  30. def toProtoString: String

    Returns a human-readable ASCII format representation of this message.

    Returns a human-readable ASCII format representation of this message.

    The original message can be decoded from this format by using fromAscii on the companion object.

    returns

    human-readable representation of this message.

    Definition Classes
    ValueGeneratedMessage
  31. def update(ms: (Lens[Value, Value]) ⇒ Mutation[Value]*): Value
    Definition Classes
    Updatable
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. def withBoolValue(__v: Boolean): Value
  36. def withKind(__v: Kind): Value
  37. def withListValue(__v: ListValue): Value
  38. def withNullValue(__v: NullValue): Value
  39. def withNumberValue(__v: Double): Value
  40. def withStringValue(__v: String): Value
  41. def withStructValue(__v: Struct): Value
  42. def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  43. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    ValueGeneratedMessage
  44. def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, scala.Any]
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): scala.Any
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[Value]

Inherited from scalapb.Message[Value]

Inherited from scalapb.GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from scala.Any

Ungrouped