Skip to content

Commit

Permalink
Regenerate spanner client (#4860)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and Praful Makani committed Apr 2, 2019
1 parent 87faf97 commit 9e5d406
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1399,10 +1399,10 @@ public final UnaryCallable<RollbackRequest, Empty> rollbackCallable() {
*
* <pre><code>
* try (SpannerClient spannerClient = SpannerClient.create()) {
* String formattedSession = SessionName.format("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
* SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
* String sql = "";
* PartitionQueryRequest request = PartitionQueryRequest.newBuilder()
* .setSession(formattedSession)
* .setSession(session.toString())
* .setSql(sql)
* .build();
* PartitionResponse response = spannerClient.partitionQuery(request);
Expand Down Expand Up @@ -1433,10 +1433,10 @@ public final PartitionResponse partitionQuery(PartitionQueryRequest request) {
*
* <pre><code>
* try (SpannerClient spannerClient = SpannerClient.create()) {
* String formattedSession = SessionName.format("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
* SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
* String sql = "";
* PartitionQueryRequest request = PartitionQueryRequest.newBuilder()
* .setSession(formattedSession)
* .setSession(session.toString())
* .setSql(sql)
* .build();
* ApiFuture&lt;PartitionResponse&gt; future = spannerClient.partitionQueryCallable().futureCall(request);
Expand Down Expand Up @@ -1467,11 +1467,11 @@ public final UnaryCallable<PartitionQueryRequest, PartitionResponse> partitionQu
*
* <pre><code>
* try (SpannerClient spannerClient = SpannerClient.create()) {
* String formattedSession = SessionName.format("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
* SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
* String table = "";
* KeySet keySet = KeySet.newBuilder().build();
* PartitionReadRequest request = PartitionReadRequest.newBuilder()
* .setSession(formattedSession)
* .setSession(session.toString())
* .setTable(table)
* .setKeySet(keySet)
* .build();
Expand Down Expand Up @@ -1504,11 +1504,11 @@ public final PartitionResponse partitionRead(PartitionReadRequest request) {
*
* <pre><code>
* try (SpannerClient spannerClient = SpannerClient.create()) {
* String formattedSession = SessionName.format("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
* SessionName session = SessionName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]", "[SESSION]");
* String table = "";
* KeySet keySet = KeySet.newBuilder().build();
* PartitionReadRequest request = PartitionReadRequest.newBuilder()
* .setSession(formattedSession)
* .setSession(session.toString())
* .setTable(table)
* .setKeySet(keySet)
* .build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
@javax.annotation.Generated("by GAPIC")
@BetaApi
public class MockDatabaseAdminImpl extends DatabaseAdminImplBase {
private ArrayList<AbstractMessage> requests;
private List<AbstractMessage> requests;
private Queue<Object> responses;

public MockDatabaseAdminImpl() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
@javax.annotation.Generated("by GAPIC")
@BetaApi
public class MockInstanceAdminImpl extends InstanceAdminImplBase {
private ArrayList<AbstractMessage> requests;
private List<AbstractMessage> requests;
private Queue<Object> responses;

public MockInstanceAdminImpl() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
@javax.annotation.Generated("by GAPIC")
@BetaApi
public class MockSpannerImpl extends SpannerImplBase {
private ArrayList<AbstractMessage> requests;
private List<AbstractMessage> requests;
private Queue<Object> responses;

public MockSpannerImpl() {
Expand Down
10 changes: 5 additions & 5 deletions google-cloud-clients/google-cloud-spanner/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-03-29T07:55:57.058527Z",
"updateTime": "2019-04-02T07:55:48.539500Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.21",
"dockerImage": "googleapis/artman@sha256:854131ec1af7b3a313253474c24748dc0acd217a58a0b74dbfb559f340a15d78"
"version": "0.16.22",
"dockerImage": "googleapis/artman@sha256:e7f9554322a8aa1416c122c918fdc4cdec8cfe816f027fc948dec0be7edef320"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "37386f1ebcaed51bcb7d15d00124d22c38606e45",
"internalRef": "240841842"
"sha": "6c48ab5aef47dc14e02e2dc718d232a28067129d",
"internalRef": "241437588"
}
}
],
Expand Down

0 comments on commit 9e5d406

Please sign in to comment.