Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
chore: update gax-java dependency to 1.62 (#65)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/8f966dc9-8611-4e71-a69b-4cc9a85e78af/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 361377784
Source-Link: googleapis/googleapis@0e91521
  • Loading branch information
yoshi-automation committed Mar 8, 2021
1 parent df845cc commit 1f93ede
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 88 deletions.
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.retail.v2;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;

/**
*
Expand Down Expand Up @@ -188,7 +183,8 @@ public void listCatalogs(
com.google.cloud.retail.v2.ListCatalogsRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.retail.v2.ListCatalogsResponse>
responseObserver) {
asyncUnimplementedUnaryCall(getListCatalogsMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getListCatalogsMethod(), responseObserver);
}

/**
Expand All @@ -201,22 +197,23 @@ public void listCatalogs(
public void updateCatalog(
com.google.cloud.retail.v2.UpdateCatalogRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.retail.v2.Catalog> responseObserver) {
asyncUnimplementedUnaryCall(getUpdateCatalogMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
getUpdateCatalogMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getListCatalogsMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.retail.v2.ListCatalogsRequest,
com.google.cloud.retail.v2.ListCatalogsResponse>(
this, METHODID_LIST_CATALOGS)))
.addMethod(
getUpdateCatalogMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.retail.v2.UpdateCatalogRequest,
com.google.cloud.retail.v2.Catalog>(this, METHODID_UPDATE_CATALOG)))
Expand Down Expand Up @@ -254,7 +251,7 @@ public void listCatalogs(
com.google.cloud.retail.v2.ListCatalogsRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.retail.v2.ListCatalogsResponse>
responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListCatalogsMethod(), getCallOptions()),
request,
responseObserver);
Expand All @@ -270,7 +267,7 @@ public void listCatalogs(
public void updateCatalog(
com.google.cloud.retail.v2.UpdateCatalogRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.retail.v2.Catalog> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateCatalogMethod(), getCallOptions()),
request,
responseObserver);
Expand Down Expand Up @@ -306,7 +303,8 @@ protected CatalogServiceBlockingStub build(
*/
public com.google.cloud.retail.v2.ListCatalogsResponse listCatalogs(
com.google.cloud.retail.v2.ListCatalogsRequest request) {
return blockingUnaryCall(getChannel(), getListCatalogsMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListCatalogsMethod(), getCallOptions(), request);
}

/**
Expand All @@ -318,7 +316,8 @@ public com.google.cloud.retail.v2.ListCatalogsResponse listCatalogs(
*/
public com.google.cloud.retail.v2.Catalog updateCatalog(
com.google.cloud.retail.v2.UpdateCatalogRequest request) {
return blockingUnaryCall(getChannel(), getUpdateCatalogMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateCatalogMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -352,7 +351,7 @@ protected CatalogServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.retail.v2.ListCatalogsResponse>
listCatalogs(com.google.cloud.retail.v2.ListCatalogsRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListCatalogsMethod(), getCallOptions()), request);
}

Expand All @@ -365,7 +364,7 @@ protected CatalogServiceFutureStub build(
*/
public com.google.common.util.concurrent.ListenableFuture<com.google.cloud.retail.v2.Catalog>
updateCatalog(com.google.cloud.retail.v2.UpdateCatalogRequest request) {
return futureUnaryCall(
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateCatalogMethod(), getCallOptions()), request);
}
}
Expand Down
Expand Up @@ -16,11 +16,6 @@
package com.google.cloud.retail.v2;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;

/**
*
Expand Down Expand Up @@ -140,15 +135,15 @@ public abstract static class PredictionServiceImplBase implements io.grpc.Bindab
public void predict(
com.google.cloud.retail.v2.PredictRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.retail.v2.PredictResponse> responseObserver) {
asyncUnimplementedUnaryCall(getPredictMethod(), responseObserver);
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPredictMethod(), responseObserver);
}

@java.lang.Override
public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getPredictMethod(),
asyncUnaryCall(
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.cloud.retail.v2.PredictRequest,
com.google.cloud.retail.v2.PredictResponse>(this, METHODID_PREDICT)))
Expand Down Expand Up @@ -185,7 +180,7 @@ protected PredictionServiceStub build(
public void predict(
com.google.cloud.retail.v2.PredictRequest request,
io.grpc.stub.StreamObserver<com.google.cloud.retail.v2.PredictResponse> responseObserver) {
asyncUnaryCall(
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getPredictMethod(), getCallOptions()), request, responseObserver);
}
}
Expand Down Expand Up @@ -219,7 +214,8 @@ protected PredictionServiceBlockingStub build(
*/
public com.google.cloud.retail.v2.PredictResponse predict(
com.google.cloud.retail.v2.PredictRequest request) {
return blockingUnaryCall(getChannel(), getPredictMethod(), getCallOptions(), request);
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getPredictMethod(), getCallOptions(), request);
}
}

Expand Down Expand Up @@ -252,7 +248,8 @@ protected PredictionServiceFutureStub build(
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.retail.v2.PredictResponse>
predict(com.google.cloud.retail.v2.PredictRequest request) {
return futureUnaryCall(getChannel().newCall(getPredictMethod(), getCallOptions()), request);
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getPredictMethod(), getCallOptions()), request);
}
}

Expand Down

0 comments on commit 1f93ede

Please sign in to comment.