Skip to content

Commit

Permalink
fix(deps): Update the Java code generator (gapic-generator-java) to 2…
Browse files Browse the repository at this point in the history
….30.0 (#2703)

* feat: add PG.OID type cod annotation

PiperOrigin-RevId: 577053414

Source-Link: googleapis/googleapis@727c286

Source-Link: https://github.com/googleapis/googleapis-gen/commit/2015275a7dda2ad3d1609f06c4208125c7de8a9d
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjAxNTI3NWE3ZGRhMmFkM2QxNjA5ZjA2YzQyMDgxMjVjN2RlOGE5ZCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat(spanner): add directed_read_option in spanner.proto
docs(spanner): updated comment formatting

PiperOrigin-RevId: 578551679

Source-Link: googleapis/googleapis@7c80b96

Source-Link: https://github.com/googleapis/googleapis-gen/commit/7b1172ba5e020eaef7de75062a576a11b8e117e4
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiN2IxMTcyYmE1ZTAyMGVhZWY3ZGU3NTA2MmE1NzZhMTFiOGUxMTdlNCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* fix(deps): Update the Java code generator (gapic-generator-java) to 2.30.0

PiperOrigin-RevId: 586674624

Source-Link: googleapis/googleapis@53ff6ca

Source-Link: https://github.com/googleapis/googleapis-gen/commit/07fedaca77917547e1d29bbe7ebfdcb6ebe562b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDdmZWRhY2E3NzkxNzU0N2UxZDI5YmJlN2ViZmRjYjZlYmU1NjJiMCJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* fix(deps): Update the Java code generator (gapic-generator-java) to 2.30.0

PiperOrigin-RevId: 586734351

Source-Link: googleapis/googleapis@5fa9214

Source-Link: https://github.com/googleapis/googleapis-gen/commit/3d5069b1de6cb9106b55ce4521b9b749a0e6a395
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2Q1MDY5YjFkZTZjYjkxMDZiNTVjZTQ1MjFiOWI3NDlhMGU2YTM5NSJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Dec 1, 2023
1 parent b9d9571 commit 961aa78
Show file tree
Hide file tree
Showing 34 changed files with 7,217 additions and 1,326 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -942,6 +942,7 @@ public final UnaryCallable<DeleteSessionRequest, Empty> deleteSessionCallable()
* .setSeqno(109325920)
* .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
* .setRequestOptions(RequestOptions.newBuilder().build())
* .setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
* .setDataBoostEnabled(true)
* .build();
* ResultSet response = spannerClient.executeSql(request);
Expand Down Expand Up @@ -990,6 +991,7 @@ public final ResultSet executeSql(ExecuteSqlRequest request) {
* .setSeqno(109325920)
* .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
* .setRequestOptions(RequestOptions.newBuilder().build())
* .setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
* .setDataBoostEnabled(true)
* .build();
* ApiFuture<ResultSet> future = spannerClient.executeSqlCallable().futureCall(request);
Expand Down Expand Up @@ -1031,6 +1033,7 @@ public final UnaryCallable<ExecuteSqlRequest, ResultSet> executeSqlCallable() {
* .setSeqno(109325920)
* .setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
* .setRequestOptions(RequestOptions.newBuilder().build())
* .setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
* .setDataBoostEnabled(true)
* .build();
* ServerStream<PartialResultSet> stream =
Expand Down Expand Up @@ -1167,6 +1170,7 @@ public final ExecuteBatchDmlResponse executeBatchDml(ExecuteBatchDmlRequest requ
* .setResumeToken(ByteString.EMPTY)
* .setPartitionToken(ByteString.EMPTY)
* .setRequestOptions(RequestOptions.newBuilder().build())
* .setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
* .setDataBoostEnabled(true)
* .build();
* ResultSet response = spannerClient.read(request);
Expand Down Expand Up @@ -1216,6 +1220,7 @@ public final ResultSet read(ReadRequest request) {
* .setResumeToken(ByteString.EMPTY)
* .setPartitionToken(ByteString.EMPTY)
* .setRequestOptions(RequestOptions.newBuilder().build())
* .setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
* .setDataBoostEnabled(true)
* .build();
* ApiFuture<ResultSet> future = spannerClient.readCallable().futureCall(request);
Expand Down Expand Up @@ -1257,6 +1262,7 @@ public final UnaryCallable<ReadRequest, ResultSet> readCallable() {
* .setResumeToken(ByteString.EMPTY)
* .setPartitionToken(ByteString.EMPTY)
* .setRequestOptions(RequestOptions.newBuilder().build())
* .setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
* .setDataBoostEnabled(true)
* .build();
* ServerStream<PartialResultSet> stream = spannerClient.streamingReadCallable().call(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1322,6 +1322,87 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.DirectedReadOptions",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.DirectedReadOptions$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.DirectedReadOptions$ExcludeReplicas",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.DirectedReadOptions$ExcludeReplicas$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.DirectedReadOptions$IncludeReplicas",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.DirectedReadOptions$IncludeReplicas$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.DirectedReadOptions$ReplicaSelection",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.DirectedReadOptions$ReplicaSelection$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.DirectedReadOptions$ReplicaSelection$Type",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.ExecuteBatchDmlRequest",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
import com.google.spanner.v1.BatchCreateSessionsResponse;
import com.google.spanner.v1.CommitResponse;
import com.google.spanner.v1.DatabaseName;
import com.google.spanner.v1.DirectedReadOptions;
import com.google.spanner.v1.ExecuteBatchDmlRequest;
import com.google.spanner.v1.ExecuteBatchDmlResponse;
import com.google.spanner.v1.ExecuteSqlRequest;
Expand Down Expand Up @@ -598,6 +599,7 @@ public void executeSqlTest() throws Exception {
.setSeqno(109325920)
.setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();

Expand Down Expand Up @@ -640,6 +642,7 @@ public void executeSqlExceptionTest() throws Exception {
.setSeqno(109325920)
.setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();
client.executeSql(request);
Expand Down Expand Up @@ -744,6 +747,7 @@ public void readTest() throws Exception {
.setResumeToken(ByteString.EMPTY)
.setPartitionToken(ByteString.EMPTY)
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();

Expand Down Expand Up @@ -786,6 +790,7 @@ public void readExceptionTest() throws Exception {
.setResumeToken(ByteString.EMPTY)
.setPartitionToken(ByteString.EMPTY)
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();
client.read(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
import com.google.spanner.v1.CreateSessionRequest;
import com.google.spanner.v1.DatabaseName;
import com.google.spanner.v1.DeleteSessionRequest;
import com.google.spanner.v1.DirectedReadOptions;
import com.google.spanner.v1.ExecuteBatchDmlRequest;
import com.google.spanner.v1.ExecuteBatchDmlResponse;
import com.google.spanner.v1.ExecuteSqlRequest;
Expand Down Expand Up @@ -556,6 +557,7 @@ public void executeSqlTest() throws Exception {
.setSeqno(109325920)
.setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();

Expand All @@ -577,6 +579,7 @@ public void executeSqlTest() throws Exception {
Assert.assertEquals(request.getSeqno(), actualRequest.getSeqno());
Assert.assertEquals(request.getQueryOptions(), actualRequest.getQueryOptions());
Assert.assertEquals(request.getRequestOptions(), actualRequest.getRequestOptions());
Assert.assertEquals(request.getDirectedReadOptions(), actualRequest.getDirectedReadOptions());
Assert.assertEquals(request.getDataBoostEnabled(), actualRequest.getDataBoostEnabled());
Assert.assertTrue(
channelProvider.isHeaderSent(
Expand All @@ -603,6 +606,7 @@ public void executeSqlExceptionTest() throws Exception {
.setSeqno(109325920)
.setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();
client.executeSql(request);
Expand Down Expand Up @@ -636,6 +640,7 @@ public void executeStreamingSqlTest() throws Exception {
.setSeqno(109325920)
.setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();

Expand Down Expand Up @@ -667,6 +672,7 @@ public void executeStreamingSqlExceptionTest() throws Exception {
.setSeqno(109325920)
.setQueryOptions(ExecuteSqlRequest.QueryOptions.newBuilder().build())
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();

Expand Down Expand Up @@ -768,6 +774,7 @@ public void readTest() throws Exception {
.setResumeToken(ByteString.EMPTY)
.setPartitionToken(ByteString.EMPTY)
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();

Expand All @@ -788,6 +795,7 @@ public void readTest() throws Exception {
Assert.assertEquals(request.getResumeToken(), actualRequest.getResumeToken());
Assert.assertEquals(request.getPartitionToken(), actualRequest.getPartitionToken());
Assert.assertEquals(request.getRequestOptions(), actualRequest.getRequestOptions());
Assert.assertEquals(request.getDirectedReadOptions(), actualRequest.getDirectedReadOptions());
Assert.assertEquals(request.getDataBoostEnabled(), actualRequest.getDataBoostEnabled());
Assert.assertTrue(
channelProvider.isHeaderSent(
Expand All @@ -814,6 +822,7 @@ public void readExceptionTest() throws Exception {
.setResumeToken(ByteString.EMPTY)
.setPartitionToken(ByteString.EMPTY)
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();
client.read(request);
Expand Down Expand Up @@ -847,6 +856,7 @@ public void streamingReadTest() throws Exception {
.setResumeToken(ByteString.EMPTY)
.setPartitionToken(ByteString.EMPTY)
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();

Expand Down Expand Up @@ -878,6 +888,7 @@ public void streamingReadExceptionTest() throws Exception {
.setResumeToken(ByteString.EMPTY)
.setPartitionToken(ByteString.EMPTY)
.setRequestOptions(RequestOptions.newBuilder().build())
.setDirectedReadOptions(DirectedReadOptions.newBuilder().build())
.setDataBoostEnabled(true)
.build();

Expand Down
Loading

0 comments on commit 961aa78

Please sign in to comment.