Class/Object

com.google.protobuf.struct

Value

Related Docs: object Value | package struct

Permalink

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, 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 = ...)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clearKind: Value

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def companion: Value.type

    Permalink
    Definition Classes
    ValueGeneratedMessage
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def getBoolValue: Boolean

    Permalink
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    ValueGeneratedMessage
  13. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    ValueGeneratedMessage
  14. def getListValue: ListValue

    Permalink
  15. def getNullValue: NullValue

    Permalink
  16. def getNumberValue: Double

    Permalink
  17. def getStringValue: String

    Permalink
  18. def getStructValue: Struct

    Permalink
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val kind: Kind

    Permalink
  21. def mergeFrom(_input__: CodedInputStream): Value

    Permalink
    Definition Classes
    ValueMessage
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def serializedSize: Int

    Permalink
    Definition Classes
    ValueGeneratedMessage
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  28. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  29. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  30. def toProtoString: String

    Permalink

    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

    Permalink
    Definition Classes
    Updatable
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def withBoolValue(__v: Boolean): Value

    Permalink
  36. def withKind(__v: Kind): Value

    Permalink
  37. def withListValue(__v: ListValue): Value

    Permalink
  38. def withNullValue(__v: NullValue): Value

    Permalink
  39. def withNumberValue(__v: Double): Value

    Permalink
  40. def withStringValue(__v: String): Value

    Permalink
  41. def withStructValue(__v: Struct): Value

    Permalink
  42. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  43. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    ValueGeneratedMessage
  44. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    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 Any

Ungrouped