From 9a8a1d5fe641f47b85e426e2e4ba52024d962fd1 Mon Sep 17 00:00:00 2001 From: yoshi-automation Date: Sat, 2 Mar 2019 05:10:44 -0800 Subject: [PATCH] [CHANGE ME] Re-generated bigquery_storage to pick up changes in the API or client library generator. --- .../bigquery_storage_v1beta1/proto/avro.proto | 1 - .../proto/read_options.proto | 1 - .../proto/storage.proto | 18 +++++++----------- .../proto/table_reference.proto | 1 - bigquery_storage/synth.metadata | 6 +++--- 5 files changed, 10 insertions(+), 17 deletions(-) diff --git a/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/avro.proto b/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/avro.proto index 699d70a671ec..021d8e44f9f2 100644 --- a/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/avro.proto +++ b/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/avro.proto @@ -21,7 +21,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/storag option java_outer_classname = "AvroProto"; option java_package = "com.google.cloud.bigquery.storage.v1beta1"; - // Avro schema. message AvroSchema { // Json serialized schema, as described at diff --git a/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/read_options.proto b/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/read_options.proto index 8a3c66699f57..9591deba7f47 100644 --- a/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/read_options.proto +++ b/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/read_options.proto @@ -20,7 +20,6 @@ package google.cloud.bigquery.storage.v1beta1; option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1;storage"; option java_package = "com.google.cloud.bigquery.storage.v1beta1"; - // Options dictating how we read a table. message TableReadOptions { // Optional. Names of the fields in the table that should be read. If empty, diff --git a/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/storage.proto b/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/storage.proto index 3e6686ffdb37..9c4b18519b4b 100644 --- a/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/storage.proto +++ b/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/storage.proto @@ -26,7 +26,6 @@ import "google/protobuf/timestamp.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1;storage"; option java_package = "com.google.cloud.bigquery.storage.v1beta1"; - // BigQuery storage API. // // The BigQuery storage API can be used to read data stored in BigQuery. @@ -43,8 +42,7 @@ service BigQueryStorage { // // Read sessions automatically expire 24 hours after they are created and do // not require manual clean-up by the caller. - rpc CreateReadSession(CreateReadSessionRequest) returns (ReadSession) { - } + rpc CreateReadSession(CreateReadSessionRequest) returns (ReadSession) {} // Reads rows from the table in the format prescribed by the read session. // Each response contains one or more table rows, up to a maximum of 10 MiB @@ -55,14 +53,13 @@ service BigQueryStorage { // estimated total number of rows in the read stream. This number is computed // based on the total table size and the number of active streams in the read // session, and may change as other streams continue to read data. - rpc ReadRows(ReadRowsRequest) returns (stream ReadRowsResponse) { - } + rpc ReadRows(ReadRowsRequest) returns (stream ReadRowsResponse) {} // Creates additional streams for a ReadSession. This API can be used to // dynamically adjust the parallelism of a batch processing task upwards by // adding additional workers. - rpc BatchCreateReadSessionStreams(BatchCreateReadSessionStreamsRequest) returns (BatchCreateReadSessionStreamsResponse) { - } + rpc BatchCreateReadSessionStreams(BatchCreateReadSessionStreamsRequest) + returns (BatchCreateReadSessionStreamsResponse) {} // Triggers the graceful termination of a single stream in a ReadSession. This // API can be used to dynamically adjust the parallelism of a batch processing @@ -78,8 +75,7 @@ service BigQueryStorage { // This method will return an error if there are no other live streams // in the Session, or if SplitReadStream() has been called on the given // Stream. - rpc FinalizeStream(FinalizeStreamRequest) returns (google.protobuf.Empty) { - } + rpc FinalizeStream(FinalizeStreamRequest) returns (google.protobuf.Empty) {} // Splits a given read stream into two Streams. These streams are referred to // as the primary and the residual of the split. The original stream can still @@ -94,8 +90,8 @@ service BigQueryStorage { // completion. // // This method is guaranteed to be idempotent. - rpc SplitReadStream(SplitReadStreamRequest) returns (SplitReadStreamResponse) { - } + rpc SplitReadStream(SplitReadStreamRequest) + returns (SplitReadStreamResponse) {} } // Information about a single data stream within a read session. diff --git a/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/table_reference.proto b/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/table_reference.proto index 758864a5533c..fb74bbf6c642 100644 --- a/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/table_reference.proto +++ b/bigquery_storage/google/cloud/bigquery_storage_v1beta1/proto/table_reference.proto @@ -23,7 +23,6 @@ option go_package = "google.golang.org/genproto/googleapis/cloud/bigquery/storag option java_outer_classname = "TableReferenceProto"; option java_package = "com.google.cloud.bigquery.storage.v1beta1"; - // Table reference that includes just the 3 strings needed to identify a table. message TableReference { // The assigned project ID of the project. diff --git a/bigquery_storage/synth.metadata b/bigquery_storage/synth.metadata index 401e533d99fb..3234af72c24c 100644 --- a/bigquery_storage/synth.metadata +++ b/bigquery_storage/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2019-02-28T13:10:39.155085Z", + "updateTime": "2019-03-02T13:10:44.304044Z", "sources": [ { "generator": { @@ -12,8 +12,8 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "9c769d3a0e67e4df9b9e8eee480124c2700a7e6c", - "internalRef": "235997788" + "sha": "41d72d444fbe445f4da89e13be02078734fb7875", + "internalRef": "236230004" } } ],