From c1f1854bbe4362449b0afd427e88ab9414cd8fac Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 9 Mar 2020 09:33:35 -0700 Subject: [PATCH] feat: re-generated to pick up changes in the API or client library generator. (#97) --- .../bigquery/storage/v1/ReadRowsResponse.java | 5 ++++- .../bigquery/storage/v1/ReadSession.java | 8 ++++++-- .../bigquery/storage/v1alpha2/Storage.java | 13 +++++++++--- .../bigquery/storage/v1beta1/ReadOptions.java | 3 ++- .../bigquery/storage/v1beta1/Storage.java | 10 ++++++++-- .../storage/v1beta2/ReadRowsResponse.java | 5 ++++- .../bigquery/storage/v1beta2/ReadSession.java | 8 ++++++-- synth.metadata | 20 +++++++++---------- 8 files changed, 50 insertions(+), 22 deletions(-) diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java index 48b5347a06..54ca656b3c 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadRowsResponse.java @@ -178,7 +178,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int rowsCase_ = 0; private java.lang.Object rows_; - public enum RowsCase implements com.google.protobuf.Internal.EnumLite { + public enum RowsCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_ROWS(3), ARROW_RECORD_BATCH(4), ROWS_NOT_SET(0); diff --git a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java index 8c2d3be0e0..cf7b96def8 100644 --- a/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java +++ b/proto-google-cloud-bigquerystorage-v1/src/main/java/com/google/cloud/bigquery/storage/v1/ReadSession.java @@ -1779,7 +1779,8 @@ public java.lang.String getSelectedFields(int index) { * * repeated string selected_fields = 1; * - * @param value The bytes of the selectedFields to add. + * @param index The index of the value to return. + * @return The bytes of the selectedFields at the given index. */ public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); @@ -2094,7 +2095,10 @@ public com.google.protobuf.Parser getParserForType() { private int schemaCase_ = 0; private java.lang.Object schema_; - public enum SchemaCase implements com.google.protobuf.Internal.EnumLite { + public enum SchemaCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_SCHEMA(4), ARROW_SCHEMA(5), SCHEMA_NOT_SET(0); diff --git a/proto-google-cloud-bigquerystorage-v1alpha2/src/main/java/com/google/cloud/bigquery/storage/v1alpha2/Storage.java b/proto-google-cloud-bigquerystorage-v1alpha2/src/main/java/com/google/cloud/bigquery/storage/v1alpha2/Storage.java index e782eecd58..964a819e6a 100644 --- a/proto-google-cloud-bigquerystorage-v1alpha2/src/main/java/com/google/cloud/bigquery/storage/v1alpha2/Storage.java +++ b/proto-google-cloud-bigquerystorage-v1alpha2/src/main/java/com/google/cloud/bigquery/storage/v1alpha2/Storage.java @@ -2432,7 +2432,10 @@ public com.google.protobuf.Parser getParserForType() { private int rowsCase_ = 0; private java.lang.Object rows_; - public enum RowsCase implements com.google.protobuf.Internal.EnumLite { + public enum RowsCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { PROTO_ROWS(4), ROWS_NOT_SET(0); private final int value; @@ -3775,7 +3778,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int responseCase_ = 0; private java.lang.Object response_; - public enum ResponseCase implements com.google.protobuf.Internal.EnumLite { + public enum ResponseCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { OFFSET(1), ERROR(2), RESPONSE_NOT_SET(0); @@ -6149,7 +6155,8 @@ public java.lang.String getWriteStreams(int index) { * * repeated string write_streams = 2 [(.google.api.field_behavior) = REQUIRED]; * - * @param value The bytes of the writeStreams to add. + * @param index The index of the value to return. + * @return The bytes of the writeStreams at the given index. */ public com.google.protobuf.ByteString getWriteStreamsBytes(int index) { return writeStreams_.getByteString(index); diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java index 936688db0e..affbaf60d8 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/ReadOptions.java @@ -816,7 +816,8 @@ public java.lang.String getSelectedFields(int index) { * * repeated string selected_fields = 1; * - * @param value The bytes of the selectedFields to add. + * @param index The index of the value to return. + * @return The bytes of the selectedFields at the given index. */ public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); diff --git a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java index 84f2c99e88..d08601548c 100644 --- a/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java +++ b/proto-google-cloud-bigquerystorage-v1beta1/src/main/java/com/google/cloud/bigquery/storage/v1beta1/Storage.java @@ -2386,7 +2386,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int schemaCase_ = 0; private java.lang.Object schema_; - public enum SchemaCase implements com.google.protobuf.Internal.EnumLite { + public enum SchemaCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_SCHEMA(5), ARROW_SCHEMA(6), SCHEMA_NOT_SET(0); @@ -10852,7 +10855,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int rowsCase_ = 0; private java.lang.Object rows_; - public enum RowsCase implements com.google.protobuf.Internal.EnumLite { + public enum RowsCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_ROWS(3), ARROW_RECORD_BATCH(4), ROWS_NOT_SET(0); diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java index cf53abc109..38162a98d7 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadRowsResponse.java @@ -183,7 +183,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { private int rowsCase_ = 0; private java.lang.Object rows_; - public enum RowsCase implements com.google.protobuf.Internal.EnumLite { + public enum RowsCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_ROWS(3), ARROW_RECORD_BATCH(4), ROWS_NOT_SET(0); diff --git a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java index f49b8b1cb8..10bc2268e8 100644 --- a/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java +++ b/proto-google-cloud-bigquerystorage-v1beta2/src/main/java/com/google/cloud/bigquery/storage/v1beta2/ReadSession.java @@ -1939,7 +1939,8 @@ public java.lang.String getSelectedFields(int index) { * * repeated string selected_fields = 1; * - * @param value The bytes of the selectedFields to add. + * @param index The index of the value to return. + * @return The bytes of the selectedFields at the given index. */ public com.google.protobuf.ByteString getSelectedFieldsBytes(int index) { return selectedFields_.getByteString(index); @@ -2469,7 +2470,10 @@ public com.google.protobuf.Parser getParserForType() { private int schemaCase_ = 0; private java.lang.Object schema_; - public enum SchemaCase implements com.google.protobuf.Internal.EnumLite { + public enum SchemaCase + implements + com.google.protobuf.Internal.EnumLite, + com.google.protobuf.AbstractMessage.InternalOneOfEnum { AVRO_SCHEMA(4), ARROW_SCHEMA(5), SCHEMA_NOT_SET(0); diff --git a/synth.metadata b/synth.metadata index 3c3583b946..42d7013702 100644 --- a/synth.metadata +++ b/synth.metadata @@ -1,5 +1,5 @@ { - "updateTime": "2020-03-04T22:43:32.617581Z", + "updateTime": "2020-03-06T22:43:03.741419Z", "sources": [ { "generator": { @@ -12,33 +12,33 @@ "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "a3f791827266f3496a6a5201d58adc4bb265c2a3", - "internalRef": "298942178" + "sha": "91e1fb5ef9829c0c7a64bfa5bde330e6ed594378", + "internalRef": "299404145" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "a3f791827266f3496a6a5201d58adc4bb265c2a3", - "internalRef": "298942178" + "sha": "91e1fb5ef9829c0c7a64bfa5bde330e6ed594378", + "internalRef": "299404145" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "a3f791827266f3496a6a5201d58adc4bb265c2a3", - "internalRef": "298942178" + "sha": "91e1fb5ef9829c0c7a64bfa5bde330e6ed594378", + "internalRef": "299404145" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "a3f791827266f3496a6a5201d58adc4bb265c2a3", - "internalRef": "298942178", - "log": "a3f791827266f3496a6a5201d58adc4bb265c2a3\nchore: automl/v1 publish annotations and retry config\n\nPiperOrigin-RevId: 298942178\n\n01c681586d8d6dbd60155289b587aee678530bd9\nMark return_immediately in PullRequest deprecated.\n\nPiperOrigin-RevId: 298893281\n\nc9f5e9c4bfed54bbd09227e990e7bded5f90f31c\nRemove out of date documentation for predicate support on the Storage API\n\nPiperOrigin-RevId: 298883309\n\nfd5b3b8238d783b04692a113ffe07c0363f5de0f\ngenerate webrisk v1 proto\n\nPiperOrigin-RevId: 298847934\n\n541b1ded4abadcc38e8178680b0677f65594ea6f\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 298686266\n\nc0d171acecb4f5b0bfd2c4ca34fc54716574e300\n Updated to include the Notification v1 API.\n\nPiperOrigin-RevId: 298652775\n\n2346a9186c0bff2c9cc439f2459d558068637e05\nAdd Service Directory v1beta1 protos and configs\n\nPiperOrigin-RevId: 298625638\n\na78ed801b82a5c6d9c5368e24b1412212e541bb7\nPublishing v3 protos and configs.\n\nPiperOrigin-RevId: 298607357\n\n4a180bfff8a21645b3a935c2756e8d6ab18a74e0\nautoml/v1beta1 publish proto updates\n\nPiperOrigin-RevId: 298484782\n\n6de6e938b7df1cd62396563a067334abeedb9676\nchore: use the latest gapic-generator and protoc-java-resource-name-plugin in Bazel workspace.\n\nPiperOrigin-RevId: 298474513\n\n244ab2b83a82076a1fa7be63b7e0671af73f5c02\nAdds service config definition for bigqueryreservation v1\n\nPiperOrigin-RevId: 298455048\n\n83c6f84035ee0f80eaa44d8b688a010461cc4080\nUpdate google/api/auth.proto to make AuthProvider to have JwtLocation\n\nPiperOrigin-RevId: 297918498\n\n" + "sha": "91e1fb5ef9829c0c7a64bfa5bde330e6ed594378", + "internalRef": "299404145", + "log": "91e1fb5ef9829c0c7a64bfa5bde330e6ed594378\nchore: update protobuf (protoc) version to 3.11.2\n\nPiperOrigin-RevId: 299404145\n\n30e36b4bee6749c4799f4fc1a51cc8f058ba167d\nUpdate cloud asset api v1p4beta1.\n\nPiperOrigin-RevId: 299399890\n\nffbb493674099f265693872ae250711b2238090c\nfeat: cloudbuild/v1 add new fields and annotate OUTPUT_OUT fields.\n\nPiperOrigin-RevId: 299397780\n\nbc973a15818e00c19e121959832676e9b7607456\nbazel: Fix broken common dependency\n\nPiperOrigin-RevId: 299397431\n\n71094a343e3b962e744aa49eb9338219537474e4\nchore: bigtable/admin/v2 publish retry config\n\nPiperOrigin-RevId: 299391875\n\n8f488efd7bda33885cb674ddd023b3678c40bd82\nfeat: Migrate logging to GAPIC v2; release new features.\n\nIMPORTANT: This is a breaking change for client libraries\nin all languages.\n\nCommitter: @lukesneeringer, @jskeet\nPiperOrigin-RevId: 299370279\n\n007605bf9ad3a1fd775014ebefbf7f1e6b31ee71\nUpdate API for bigqueryreservation v1beta1.\n- Adds flex capacity commitment plan to CapacityCommitment.\n- Adds methods for getting and updating BiReservations.\n- Adds methods for updating/splitting/merging CapacityCommitments.\n\nPiperOrigin-RevId: 299368059\n\nf0b581b5bdf803e45201ecdb3688b60e381628a8\nfix: recommendationengine/v1beta1 update some comments\n\nPiperOrigin-RevId: 299181282\n\n10e9a0a833dc85ff8f05b2c67ebe5ac785fe04ff\nbuild: add generated BUILD file for Routes Preferred API\n\nPiperOrigin-RevId: 299164808\n\n86738c956a8238d7c77f729be78b0ed887a6c913\npublish v1p1beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299152383\n\n73d9f2ad4591de45c2e1f352bc99d70cbd2a6d95\npublish v1: update with absolute address in comments\n\nPiperOrigin-RevId: 299147194\n\nd2158f24cb77b0b0ccfe68af784c6a628705e3c6\npublish v1beta2: update with absolute address in comments\n\nPiperOrigin-RevId: 299147086\n\n7fca61292c11b4cd5b352cee1a50bf88819dd63b\npublish v1p2beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146903\n\n583b7321624736e2c490e328f4b1957335779295\npublish v1p3beta1: update with absolute address in comments\n\nPiperOrigin-RevId: 299146674\n\n638253bf86d1ce1c314108a089b7351440c2f0bf\nfix: add java_multiple_files option for automl text_sentiment.proto\n\nPiperOrigin-RevId: 298971070\n\n373d655703bf914fb8b0b1cc4071d772bac0e0d1\nUpdate Recs AI Beta public bazel file\n\nPiperOrigin-RevId: 298961623\n\ndcc5d00fc8a8d8b56f16194d7c682027b2c66a3b\nfix: add java_multiple_files option for automl classification.proto\n\nPiperOrigin-RevId: 298953301\n\n" } }, {