final case class Type(code: TypeCode = ..., arrayElementType: Option[Type] = _root_.scala.None, structType: Option[StructType] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[Type] with Product with Serializable

Type indicates the type of a Cloud Spanner value, as might be stored in a table cell or returned from an SQL query.

code

Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.

arrayElementType

If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then array_element_type is the type of the array elements.

structType

If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then struct_type provides type information for the struct's fields.

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

Instance Constructors

  1. new Type(code: TypeCode = ..., arrayElementType: Option[Type] = _root_.scala.None, structType: Option[StructType] = _root_.scala.None, unknownFields: UnknownFieldSet = ...)

    code

    Required. The [TypeCode][google.spanner.v1.TypeCode] for this type.

    arrayElementType

    If [code][google.spanner.v1.Type.code] == [ARRAY][google.spanner.v1.TypeCode.ARRAY], then array_element_type is the type of the array elements.

    structType

    If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then struct_type provides type information for the struct's fields.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val arrayElementType: Option[Type]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clearArrayElementType: Type
  7. def clearStructType: Type
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. val code: TypeCode
  10. def companion: Type.type
    Definition Classes
    Type → GeneratedMessage
  11. def discardUnknownFields: Type
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def getArrayElementType: Type
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Type → GeneratedMessage
  17. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Type → GeneratedMessage
  18. def getStructType: StructType
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def serializedSize: Int
    Definition Classes
    Type → GeneratedMessage
  24. val structType: Option[StructType]
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  27. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  28. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  29. def toProtoString: String
    Definition Classes
    Type → GeneratedMessage
  30. val unknownFields: UnknownFieldSet
  31. def update(ms: (Lens[Type, Type]) ⇒ scalapb.lenses.Mutation[Type]*): Type
    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 withArrayElementType(__v: Type): Type
  36. def withCode(__v: TypeCode): Type
  37. def withStructType(__v: StructType): Type
  38. def withUnknownFields(__v: UnknownFieldSet): Type
  39. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  40. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Type → GeneratedMessage
  41. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Inherited from Product

Inherited from Equals

Inherited from Updatable[Type]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped