Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate firestore client #4848

Merged
merged 1 commit into from
Apr 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -358,28 +358,10 @@ public Map<String, String> extract(RunQueryRequest request) {
GrpcCallSettings<WriteRequest, WriteResponse> writeTransportSettings =
GrpcCallSettings.<WriteRequest, WriteResponse>newBuilder()
.setMethodDescriptor(writeMethodDescriptor)
.setParamsExtractor(
new RequestParamsExtractor<WriteRequest>() {
@Override
public Map<String, String> extract(WriteRequest request) {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("database", String.valueOf(request.getDatabase()));
return params.build();
}
})
.build();
GrpcCallSettings<ListenRequest, ListenResponse> listenTransportSettings =
GrpcCallSettings.<ListenRequest, ListenResponse>newBuilder()
.setMethodDescriptor(listenMethodDescriptor)
.setParamsExtractor(
new RequestParamsExtractor<ListenRequest>() {
@Override
public Map<String, String> extract(ListenRequest request) {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("database", String.valueOf(request.getDatabase()));
return params.build();
}
})
.build();
GrpcCallSettings<ListCollectionIdsRequest, ListCollectionIdsResponse>
listCollectionIdsTransportSettings =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,28 +358,10 @@ public Map<String, String> extract(RunQueryRequest request) {
GrpcCallSettings<WriteRequest, WriteResponse> writeTransportSettings =
GrpcCallSettings.<WriteRequest, WriteResponse>newBuilder()
.setMethodDescriptor(writeMethodDescriptor)
.setParamsExtractor(
new RequestParamsExtractor<WriteRequest>() {
@Override
public Map<String, String> extract(WriteRequest request) {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("database", String.valueOf(request.getDatabase()));
return params.build();
}
})
.build();
GrpcCallSettings<ListenRequest, ListenResponse> listenTransportSettings =
GrpcCallSettings.<ListenRequest, ListenResponse>newBuilder()
.setMethodDescriptor(listenMethodDescriptor)
.setParamsExtractor(
new RequestParamsExtractor<ListenRequest>() {
@Override
public Map<String, String> extract(ListenRequest request) {
ImmutableMap.Builder<String, String> params = ImmutableMap.builder();
params.put("database", String.valueOf(request.getDatabase()));
return params.build();
}
})
.build();
GrpcCallSettings<ListCollectionIdsRequest, ListCollectionIdsResponse>
listCollectionIdsTransportSettings =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
@javax.annotation.Generated("by GAPIC")
@BetaApi
public class MockFirestoreAdminImpl extends FirestoreAdminImplBase {
private ArrayList<AbstractMessage> requests;
private List<AbstractMessage> requests;
private Queue<Object> responses;

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

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

public MockFirestoreImpl() {
Expand Down
10 changes: 5 additions & 5 deletions google-cloud-clients/google-cloud-firestore/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-03-30T07:45:26.469058Z",
"updateTime": "2019-04-02T07:46:06.702450Z",
"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": "fd67be4b51a8c809b97100ccf1c3cffd15b85d7b",
"internalRef": "241096997"
"sha": "6c48ab5aef47dc14e02e2dc718d232a28067129d",
"internalRef": "241437588"
}
}
],
Expand Down