Skip to content

Commit

Permalink
chore: Update generation configuration at Thu Oct 10 02:24:36 UTC 2024 (
Browse files Browse the repository at this point in the history
#3385)

* chore: Update generation configuration at Sat Oct  5 02:23:23 UTC 2024

* chore: generate libraries at Sat Oct  5 02:23:49 UTC 2024

* chore: Update generation configuration at Sun Oct  6 02:26:59 UTC 2024

* chore: generate libraries at Sun Oct  6 02:27:24 UTC 2024

* chore: Update generation configuration at Tue Oct  8 02:26:11 UTC 2024

* chore: Update generation configuration at Wed Oct  9 02:24:28 UTC 2024

* chore: Update generation configuration at Wed Oct  9 10:12:15 UTC 2024

* chore: generate libraries at Wed Oct  9 10:12:45 UTC 2024

* chore: Update generation configuration at Thu Oct 10 02:24:36 UTC 2024
  • Loading branch information
cloud-java-bot authored Oct 10, 2024
1 parent 438f837 commit 139a715
Show file tree
Hide file tree
Showing 33 changed files with 4,269 additions and 242 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.47.0</version>
<version>26.48.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
gapic_generator_version: 2.46.1
googleapis_commitish: b6a27d13a2f0223051ef720e4e9d0d52323560e6
gapic_generator_version: 2.47.0
googleapis_commitish: 10b8dc3b54c9a609dcfda8060b8c4c734a942e8c
libraries_bom_version: 26.48.0
libraries:
- api_shortname: spanner
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5471,6 +5471,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.MultiplexedSessionPrecommitToken",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.MultiplexedSessionPrecommitToken$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.Mutation",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1629,6 +1629,7 @@ public final Transaction beginTransaction(String session, TransactionOptions opt
* SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
* .setOptions(TransactionOptions.newBuilder().build())
* .setRequestOptions(RequestOptions.newBuilder().build())
* .setMutationKey(Mutation.newBuilder().build())
* .build();
* Transaction response = spannerClient.beginTransaction(request);
* }
Expand Down Expand Up @@ -1662,6 +1663,7 @@ public final Transaction beginTransaction(BeginTransactionRequest request) {
* SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]").toString())
* .setOptions(TransactionOptions.newBuilder().build())
* .setRequestOptions(RequestOptions.newBuilder().build())
* .setMutationKey(Mutation.newBuilder().build())
* .build();
* ApiFuture<Transaction> future = spannerClient.beginTransactionCallable().futureCall(request);
* // Do something.
Expand Down Expand Up @@ -1911,6 +1913,7 @@ public final CommitResponse commit(
* .setReturnCommitStats(true)
* .setMaxCommitDelay(Duration.newBuilder().build())
* .setRequestOptions(RequestOptions.newBuilder().build())
* .setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
* .build();
* CommitResponse response = spannerClient.commit(request);
* }
Expand Down Expand Up @@ -1955,6 +1958,7 @@ public final CommitResponse commit(CommitRequest request) {
* .setReturnCommitStats(true)
* .setMaxCommitDelay(Duration.newBuilder().build())
* .setRequestOptions(RequestOptions.newBuilder().build())
* .setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
* .build();
* ApiFuture<CommitResponse> future = spannerClient.commitCallable().futureCall(request);
* // Do something.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1745,6 +1745,24 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.MultiplexedSessionPrecommitToken",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.MultiplexedSessionPrecommitToken$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.spanner.v1.Mutation",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
import com.google.spanner.v1.ExecuteSqlRequest;
import com.google.spanner.v1.KeySet;
import com.google.spanner.v1.ListSessionsResponse;
import com.google.spanner.v1.MultiplexedSessionPrecommitToken;
import com.google.spanner.v1.Mutation;
import com.google.spanner.v1.Partition;
import com.google.spanner.v1.PartitionOptions;
Expand Down Expand Up @@ -587,6 +588,7 @@ public void executeSqlTest() throws Exception {
.setMetadata(ResultSetMetadata.newBuilder().build())
.addAllRows(new ArrayList<ListValue>())
.setStats(ResultSetStats.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);

Expand Down Expand Up @@ -673,6 +675,7 @@ public void executeBatchDmlTest() throws Exception {
ExecuteBatchDmlResponse.newBuilder()
.addAllResultSets(new ArrayList<ResultSet>())
.setStatus(Status.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);

Expand Down Expand Up @@ -735,6 +738,7 @@ public void readTest() throws Exception {
.setMetadata(ResultSetMetadata.newBuilder().build())
.addAllRows(new ArrayList<ListValue>())
.setStats(ResultSetStats.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);

Expand Down Expand Up @@ -821,6 +825,7 @@ public void beginTransactionTest() throws Exception {
Transaction.newBuilder()
.setId(ByteString.EMPTY)
.setReadTimestamp(Timestamp.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);

Expand Down Expand Up @@ -868,6 +873,7 @@ public void beginTransactionTest2() throws Exception {
Transaction.newBuilder()
.setId(ByteString.EMPTY)
.setReadTimestamp(Timestamp.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockService.addResponse(expectedResponse);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
import com.google.spanner.v1.KeySet;
import com.google.spanner.v1.ListSessionsRequest;
import com.google.spanner.v1.ListSessionsResponse;
import com.google.spanner.v1.MultiplexedSessionPrecommitToken;
import com.google.spanner.v1.Mutation;
import com.google.spanner.v1.PartialResultSet;
import com.google.spanner.v1.Partition;
Expand Down Expand Up @@ -545,6 +546,7 @@ public void executeSqlTest() throws Exception {
.setMetadata(ResultSetMetadata.newBuilder().build())
.addAllRows(new ArrayList<ListValue>())
.setStats(ResultSetStats.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockSpanner.addResponse(expectedResponse);

Expand Down Expand Up @@ -629,6 +631,7 @@ public void executeStreamingSqlTest() throws Exception {
.setChunkedValue(true)
.setResumeToken(ByteString.EMPTY)
.setStats(ResultSetStats.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockSpanner.addResponse(expectedResponse);
ExecuteSqlRequest request =
Expand Down Expand Up @@ -702,6 +705,7 @@ public void executeBatchDmlTest() throws Exception {
ExecuteBatchDmlResponse.newBuilder()
.addAllResultSets(new ArrayList<ResultSet>())
.setStatus(Status.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockSpanner.addResponse(expectedResponse);

Expand Down Expand Up @@ -762,6 +766,7 @@ public void readTest() throws Exception {
.setMetadata(ResultSetMetadata.newBuilder().build())
.addAllRows(new ArrayList<ListValue>())
.setStats(ResultSetStats.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockSpanner.addResponse(expectedResponse);

Expand Down Expand Up @@ -847,6 +852,7 @@ public void streamingReadTest() throws Exception {
.setChunkedValue(true)
.setResumeToken(ByteString.EMPTY)
.setStats(ResultSetStats.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockSpanner.addResponse(expectedResponse);
ReadRequest request =
Expand Down Expand Up @@ -920,6 +926,7 @@ public void beginTransactionTest() throws Exception {
Transaction.newBuilder()
.setId(ByteString.EMPTY)
.setReadTimestamp(Timestamp.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockSpanner.addResponse(expectedResponse);

Expand Down Expand Up @@ -962,6 +969,7 @@ public void beginTransactionTest2() throws Exception {
Transaction.newBuilder()
.setId(ByteString.EMPTY)
.setReadTimestamp(Timestamp.newBuilder().build())
.setPrecommitToken(MultiplexedSessionPrecommitToken.newBuilder().build())
.build();
mockSpanner.addResponse(expectedResponse);

Expand Down
Loading

0 comments on commit 139a715

Please sign in to comment.