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

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: scala.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
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def companion: Value.type

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

    Permalink
    Definition Classes
    AnyRef
  9. def getBoolValue: Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. def getField(__field: FieldDescriptor): PValue

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

    Permalink
    Definition Classes
    ValueGeneratedMessage
  13. def getListValue: ListValue

    Permalink
  14. def getNullValue: NullValue

    Permalink
  15. def getNumberValue: Double

    Permalink
  16. def getStringValue: String

    Permalink
  17. def getStructValue: Struct

    Permalink
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val kind: Kind

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def serializedSize: Int

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

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

    Permalink
    Definition Classes
    GeneratedMessage
  27. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  28. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  29. 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
  30. def update(ms: (Lens[Value, Value]) ⇒ Mutation[Value]*): Value

    Permalink
    Definition Classes
    Updatable
  31. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(): Unit

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def getAllFields: Map[FieldDescriptor, scala.Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  3. def getField(field: FieldDescriptor): scala.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 scala.Any

Ungrouped