WriteStream

com.google.cloud.bigquery.storage.v1.stream.WriteStream
See theWriteStream companion object
final case class WriteStream(name: String, `type`: Type, createTime: Option[Timestamp], commitTime: Option[Timestamp], tableSchema: Option[TableSchema], writeMode: WriteMode, location: String, unknownFields: UnknownFieldSet) extends GeneratedMessage with Updatable[WriteStream]

Information about a single stream that gets data inside the storage system.

Attributes

commitTime

Output only. Commit time of the stream. If a stream is of COMMITTED type, then it will have a commit_time same as create_time. If the stream is of PENDING type, empty commit_time means it is not committed.

createTime

Output only. Create time of the stream. For the _default stream, this is the creation_time of the table.

location

Immutable. The geographic location where the stream's dataset resides. See https://cloud.google.com/bigquery/docs/locations for supported locations.

name

Output only. Name of the stream, in the form projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}.

tableSchema

Output only. The schema of the destination table. It is only returned in CreateWriteStream response. Caller should generate data that's compatible with this schema to send in initial AppendRowsRequest. The table schema could go out of date during the life time of the stream.

type

Immutable. Type of the stream.

writeMode

Immutable. Mode of the stream.

Companion:
object
Source:
WriteStream.scala
Graph
Supertypes
trait Updatable[WriteStream]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

Attributes

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

Attributes

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

Attributes

Source:
WriteStream.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source:
WriteStream.scala

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:
WriteStream.scala

Attributes

Source:
WriteStream.scala

Attributes

Source:
WriteStream.scala

Attributes

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

Attributes

Source:
WriteStream.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:
WriteStream.scala

Inherited methods

Attributes

Inherited from:
Product

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[WriteStream, WriteStream] => () => WriteStream*): 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