Output only. Commit time of the stream. If a stream is ofCOMMITTEDtype, then it will have a commit_time same ascreate_time. If the stream is ofPENDINGtype, empty commit_time means it is not committed.
Output only. The schema of the destination table. It is only returned inCreateWriteStreamresponse. Caller should generate data that's compatible with this schema to send in initialAppendRowsRequest. The table schema could go out of date during the life time of the stream.
If a stream is ofCOMMITTEDtype, then it will have a commit_time same ascreate_time. If the stream is ofPENDINGtype, empty commit_time
means it is not committed.
If a stream is ofCOMMITTEDtype, then it will have a commit_time same ascreate_time. If the stream is ofPENDINGtype, empty commit_time
means it is not committed.
Output only. The schema of the destination table. It is only returned inCreateWriteStreamresponse. Caller should generate data that's
compatible with this schema to send in initialAppendRowsRequest.
The table schema could go out of date during the life time of the stream.
Output only. The schema of the destination table. It is only returned inCreateWriteStreamresponse. Caller should generate data that's
compatible with this schema to send in initialAppendRowsRequest.
The table schema could go out of date during the life time of the stream.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google BigQuery Storage V1 Client - Class WriteStream (2.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.5 (latest)](/php/docs/reference/cloud-bigquery-storage/latest/V1.WriteStream)\n- [2.1.4](/php/docs/reference/cloud-bigquery-storage/2.1.4/V1.WriteStream)\n- [2.0.0](/php/docs/reference/cloud-bigquery-storage/2.0.0/V1.WriteStream)\n- [1.10.4](/php/docs/reference/cloud-bigquery-storage/1.10.4/V1.WriteStream)\n- [1.9.0](/php/docs/reference/cloud-bigquery-storage/1.9.0/V1.WriteStream)\n- [1.8.0](/php/docs/reference/cloud-bigquery-storage/1.8.0/V1.WriteStream)\n- [1.7.1](/php/docs/reference/cloud-bigquery-storage/1.7.1/V1.WriteStream)\n- [1.6.0](/php/docs/reference/cloud-bigquery-storage/1.6.0/V1.WriteStream)\n- [1.5.0](/php/docs/reference/cloud-bigquery-storage/1.5.0/V1.WriteStream)\n- [1.4.1](/php/docs/reference/cloud-bigquery-storage/1.4.1/V1.WriteStream)\n- [1.3.2](/php/docs/reference/cloud-bigquery-storage/1.3.2/V1.WriteStream)\n- [1.2.12](/php/docs/reference/cloud-bigquery-storage/1.2.12/V1.WriteStream) \nReference documentation and code samples for the Google BigQuery Storage V1 Client class WriteStream.\n\nInformation about a single stream that gets data inside the storage system.\n\nGenerated from protobuf message `google.cloud.bigquery.storage.v1.WriteStream`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BigQuery \\\\ Storage \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nOutput only. Name of the stream, in the form\n`projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.\n\n### setName\n\nOutput only. Name of the stream, in the form\n`projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`.\n\n### getType\n\nImmutable. Type of the stream.\n\n### setType\n\nImmutable. Type of the stream.\n\n### getCreateTime\n\nOutput only. Create time of the stream. For the _default stream, this is\nthe creation_time of the table.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. Create time of the stream. For the _default stream, this is\nthe creation_time of the table.\n\n### getCommitTime\n\nOutput only. Commit time of the stream.\n\nIf a stream is of `COMMITTED` type, then it will have a commit_time same as\n`create_time`. If the stream is of `PENDING` type, empty commit_time\nmeans it is not committed.\n\n### hasCommitTime\n\n### clearCommitTime\n\n### setCommitTime\n\nOutput only. Commit time of the stream.\n\nIf a stream is of `COMMITTED` type, then it will have a commit_time same as\n`create_time`. If the stream is of `PENDING` type, empty commit_time\nmeans it is not committed.\n\n### getTableSchema\n\nOutput only. The schema of the destination table. It is only returned in\n`CreateWriteStream` response. Caller should generate data that's\ncompatible with this schema to send in initial `AppendRowsRequest`.\n\nThe table schema could go out of date during the life time of the stream.\n\n### hasTableSchema\n\n### clearTableSchema\n\n### setTableSchema\n\nOutput only. The schema of the destination table. It is only returned in\n`CreateWriteStream` response. Caller should generate data that's\ncompatible with this schema to send in initial `AppendRowsRequest`.\n\nThe table schema could go out of date during the life time of the stream.\n\n### getWriteMode\n\nImmutable. Mode of the stream.\n\n### setWriteMode\n\nImmutable. Mode of the stream.\n\n### getLocation\n\nImmutable. The geographic location where the stream's dataset resides. See\n\u003chttps://cloud.google.com/bigquery/docs/locations\u003e for supported\nlocations.\n\n### setLocation\n\nImmutable. The geographic location where the stream's dataset resides. See\n\u003chttps://cloud.google.com/bigquery/docs/locations\u003e for supported\nlocations."]]