StructType

com.google.spanner.v1.`type`.StructType
See theStructType companion object
final case class StructType(fields: Seq[Field], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[StructType]

StructType defines the fields of a [STRUCT][google.spanner.v1.TypeCode.STRUCT] type.

Value parameters

fields

The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields matches the order of columns in a read request, or the order of fields in the SELECT clause of a query.

Attributes

Companion
object
Source
StructType.scala
Graph
Supertypes
trait Updatable[StructType]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def addAllFields(`__vs`: Iterable[Field]): StructType

Attributes

Source
StructType.scala
def addFields(`__vs`: Field*): StructType

Attributes

Source
StructType.scala

Attributes

Source
StructType.scala
def companion: StructType.type

Attributes

Source
StructType.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
StructType.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
StructType.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
StructType.scala
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.

Attributes

Returns

human-readable representation of this message.

Source
StructType.scala
def withFields(`__v`: Seq[Field]): StructType

Attributes

Source
StructType.scala
def withUnknownFields(`__v`: UnknownFieldSet): StructType

Attributes

Source
StructType.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
StructType.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
def update(ms: Lens[StructType, StructType] => () => StructType*): A

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala