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_typeis the type of the array elements.- structType
If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then
struct_typeprovides type information for the struct's fields.
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- Type
- Product
- Equals
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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_typeis the type of the array elements.- structType
If [code][google.spanner.v1.Type.code] == [STRUCT][google.spanner.v1.TypeCode.STRUCT], then
struct_typeprovides type information for the struct's fields.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val arrayElementType: Option[Type]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearArrayElementType: Type
- def clearStructType: Type
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val code: TypeCode
-
def
companion: Type.type
- Definition Classes
- Type → GeneratedMessage
- def discardUnknownFields: Type
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def getArrayElementType: Type
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- Type → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- Type → GeneratedMessage
- def getStructType: StructType
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
serializedSize: Int
- Definition Classes
- Type → GeneratedMessage
- val structType: Option[StructType]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- Type → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[Type, Type]) ⇒ scalapb.lenses.Mutation[Type]*): Type
- Definition Classes
- Updatable
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def withArrayElementType(__v: Type): Type
- def withCode(__v: TypeCode): Type
- def withStructType(__v: StructType): Type
- def withUnknownFields(__v: UnknownFieldSet): Type
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- Type → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage