From 7831a105dc9b4ab1ad7f358bef684f42b90c258b Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Mon, 8 Mar 2021 08:28:15 -0800 Subject: [PATCH] chore: update gax-java dependency to 1.62 (#278) This PR was generated using Autosynth. :rainbow: 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: https://github.com/googleapis/googleapis/commit/0e915217fb5261c1e57bfaf0e16ee5c7feaaba89 --- .../v1beta1/CatalogServiceGrpc.java | 72 ++++++++++--------- .../v1beta1/PredictionApiKeyRegistryGrpc.java | 38 +++++----- .../v1beta1/PredictionServiceGrpc.java | 17 ++--- .../v1beta1/UserEventServiceGrpc.java | 63 ++++++++-------- synth.metadata | 6 +- 5 files changed, 98 insertions(+), 98 deletions(-) diff --git a/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceGrpc.java b/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceGrpc.java index f9f7883e..1de6acca 100644 --- a/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceGrpc.java +++ b/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/CatalogServiceGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.recommendationengine.v1beta1; 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; /** * @@ -382,7 +377,8 @@ public void createCatalogItem( com.google.cloud.recommendationengine.v1beta1.CreateCatalogItemRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCreateCatalogItemMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCatalogItemMethod(), responseObserver); } /** @@ -396,7 +392,8 @@ public void getCatalogItem( com.google.cloud.recommendationengine.v1beta1.GetCatalogItemRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getGetCatalogItemMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCatalogItemMethod(), responseObserver); } /** @@ -411,7 +408,8 @@ public void listCatalogItems( io.grpc.stub.StreamObserver< com.google.cloud.recommendationengine.v1beta1.ListCatalogItemsResponse> responseObserver) { - asyncUnimplementedUnaryCall(getListCatalogItemsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCatalogItemsMethod(), responseObserver); } /** @@ -426,7 +424,8 @@ public void updateCatalogItem( com.google.cloud.recommendationengine.v1beta1.UpdateCatalogItemRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getUpdateCatalogItemMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCatalogItemMethod(), responseObserver); } /** @@ -439,7 +438,8 @@ public void updateCatalogItem( public void deleteCatalogItem( com.google.cloud.recommendationengine.v1beta1.DeleteCatalogItemRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeleteCatalogItemMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCatalogItemMethod(), responseObserver); } /** @@ -456,7 +456,8 @@ public void deleteCatalogItem( public void importCatalogItems( com.google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getImportCatalogItemsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportCatalogItemsMethod(), responseObserver); } @java.lang.Override @@ -464,41 +465,41 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateCatalogItemMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1.CreateCatalogItemRequest, com.google.cloud.recommendationengine.v1beta1.CatalogItem>( this, METHODID_CREATE_CATALOG_ITEM))) .addMethod( getGetCatalogItemMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1.GetCatalogItemRequest, com.google.cloud.recommendationengine.v1beta1.CatalogItem>( this, METHODID_GET_CATALOG_ITEM))) .addMethod( getListCatalogItemsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1.ListCatalogItemsRequest, com.google.cloud.recommendationengine.v1beta1.ListCatalogItemsResponse>( this, METHODID_LIST_CATALOG_ITEMS))) .addMethod( getUpdateCatalogItemMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1.UpdateCatalogItemRequest, com.google.cloud.recommendationengine.v1beta1.CatalogItem>( this, METHODID_UPDATE_CATALOG_ITEM))) .addMethod( getDeleteCatalogItemMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1.DeleteCatalogItemRequest, com.google.protobuf.Empty>(this, METHODID_DELETE_CATALOG_ITEM))) .addMethod( getImportCatalogItemsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest, com.google.longrunning.Operation>(this, METHODID_IMPORT_CATALOG_ITEMS))) @@ -535,7 +536,7 @@ public void createCatalogItem( com.google.cloud.recommendationengine.v1beta1.CreateCatalogItemRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateCatalogItemMethod(), getCallOptions()), request, responseObserver); @@ -552,7 +553,7 @@ public void getCatalogItem( com.google.cloud.recommendationengine.v1beta1.GetCatalogItemRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetCatalogItemMethod(), getCallOptions()), request, responseObserver); @@ -570,7 +571,7 @@ public void listCatalogItems( io.grpc.stub.StreamObserver< com.google.cloud.recommendationengine.v1beta1.ListCatalogItemsResponse> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListCatalogItemsMethod(), getCallOptions()), request, responseObserver); @@ -588,7 +589,7 @@ public void updateCatalogItem( com.google.cloud.recommendationengine.v1beta1.UpdateCatalogItemRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateCatalogItemMethod(), getCallOptions()), request, responseObserver); @@ -604,7 +605,7 @@ public void updateCatalogItem( public void deleteCatalogItem( com.google.cloud.recommendationengine.v1beta1.DeleteCatalogItemRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteCatalogItemMethod(), getCallOptions()), request, responseObserver); @@ -624,7 +625,7 @@ public void deleteCatalogItem( public void importCatalogItems( com.google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getImportCatalogItemsMethod(), getCallOptions()), request, responseObserver); @@ -659,7 +660,7 @@ protected CatalogServiceBlockingStub build( */ public com.google.cloud.recommendationengine.v1beta1.CatalogItem createCatalogItem( com.google.cloud.recommendationengine.v1beta1.CreateCatalogItemRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateCatalogItemMethod(), getCallOptions(), request); } @@ -672,7 +673,8 @@ public com.google.cloud.recommendationengine.v1beta1.CatalogItem createCatalogIt */ public com.google.cloud.recommendationengine.v1beta1.CatalogItem getCatalogItem( com.google.cloud.recommendationengine.v1beta1.GetCatalogItemRequest request) { - return blockingUnaryCall(getChannel(), getGetCatalogItemMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCatalogItemMethod(), getCallOptions(), request); } /** @@ -684,7 +686,7 @@ public com.google.cloud.recommendationengine.v1beta1.CatalogItem getCatalogItem( */ public com.google.cloud.recommendationengine.v1beta1.ListCatalogItemsResponse listCatalogItems( com.google.cloud.recommendationengine.v1beta1.ListCatalogItemsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListCatalogItemsMethod(), getCallOptions(), request); } @@ -698,7 +700,7 @@ public com.google.cloud.recommendationengine.v1beta1.ListCatalogItemsResponse li */ public com.google.cloud.recommendationengine.v1beta1.CatalogItem updateCatalogItem( com.google.cloud.recommendationengine.v1beta1.UpdateCatalogItemRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateCatalogItemMethod(), getCallOptions(), request); } @@ -711,7 +713,7 @@ public com.google.cloud.recommendationengine.v1beta1.CatalogItem updateCatalogIt */ public com.google.protobuf.Empty deleteCatalogItem( com.google.cloud.recommendationengine.v1beta1.DeleteCatalogItemRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteCatalogItemMethod(), getCallOptions(), request); } @@ -728,7 +730,7 @@ public com.google.protobuf.Empty deleteCatalogItem( */ public com.google.longrunning.Operation importCatalogItems( com.google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportCatalogItemsMethod(), getCallOptions(), request); } } @@ -763,7 +765,7 @@ protected CatalogServiceFutureStub build( com.google.cloud.recommendationengine.v1beta1.CatalogItem> createCatalogItem( com.google.cloud.recommendationengine.v1beta1.CreateCatalogItemRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateCatalogItemMethod(), getCallOptions()), request); } @@ -778,7 +780,7 @@ protected CatalogServiceFutureStub build( com.google.cloud.recommendationengine.v1beta1.CatalogItem> getCatalogItem( com.google.cloud.recommendationengine.v1beta1.GetCatalogItemRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetCatalogItemMethod(), getCallOptions()), request); } @@ -793,7 +795,7 @@ protected CatalogServiceFutureStub build( com.google.cloud.recommendationengine.v1beta1.ListCatalogItemsResponse> listCatalogItems( com.google.cloud.recommendationengine.v1beta1.ListCatalogItemsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListCatalogItemsMethod(), getCallOptions()), request); } @@ -809,7 +811,7 @@ protected CatalogServiceFutureStub build( com.google.cloud.recommendationengine.v1beta1.CatalogItem> updateCatalogItem( com.google.cloud.recommendationengine.v1beta1.UpdateCatalogItemRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateCatalogItemMethod(), getCallOptions()), request); } @@ -823,7 +825,7 @@ protected CatalogServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture deleteCatalogItem( com.google.cloud.recommendationengine.v1beta1.DeleteCatalogItemRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteCatalogItemMethod(), getCallOptions()), request); } @@ -841,7 +843,7 @@ protected CatalogServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture importCatalogItems( com.google.cloud.recommendationengine.v1beta1.ImportCatalogItemsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getImportCatalogItemsMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApiKeyRegistryGrpc.java b/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApiKeyRegistryGrpc.java index ed15541d..f13dbd63 100644 --- a/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApiKeyRegistryGrpc.java +++ b/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionApiKeyRegistryGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.recommendationengine.v1beta1; 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; /** * @@ -286,7 +281,8 @@ public void createPredictionApiKeyRegistration( io.grpc.stub.StreamObserver< com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration> responseObserver) { - asyncUnimplementedUnaryCall(getCreatePredictionApiKeyRegistrationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreatePredictionApiKeyRegistrationMethod(), responseObserver); } /** @@ -303,7 +299,8 @@ public void listPredictionApiKeyRegistrations( com.google.cloud.recommendationengine.v1beta1 .ListPredictionApiKeyRegistrationsResponse> responseObserver) { - asyncUnimplementedUnaryCall(getListPredictionApiKeyRegistrationsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPredictionApiKeyRegistrationsMethod(), responseObserver); } /** @@ -317,7 +314,8 @@ public void deletePredictionApiKeyRegistration( com.google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getDeletePredictionApiKeyRegistrationMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePredictionApiKeyRegistrationMethod(), responseObserver); } @java.lang.Override @@ -325,7 +323,7 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreatePredictionApiKeyRegistrationMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1 .CreatePredictionApiKeyRegistrationRequest, @@ -333,7 +331,7 @@ public final io.grpc.ServerServiceDefinition bindService() { this, METHODID_CREATE_PREDICTION_API_KEY_REGISTRATION))) .addMethod( getListPredictionApiKeyRegistrationsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1 .ListPredictionApiKeyRegistrationsRequest, @@ -342,7 +340,7 @@ public final io.grpc.ServerServiceDefinition bindService() { this, METHODID_LIST_PREDICTION_API_KEY_REGISTRATIONS))) .addMethod( getDeletePredictionApiKeyRegistrationMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1 .DeletePredictionApiKeyRegistrationRequest, @@ -388,7 +386,7 @@ public void createPredictionApiKeyRegistration( io.grpc.stub.StreamObserver< com.google.cloud.recommendationengine.v1beta1.PredictionApiKeyRegistration> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreatePredictionApiKeyRegistrationMethod(), getCallOptions()), request, responseObserver); @@ -408,7 +406,7 @@ public void listPredictionApiKeyRegistrations( com.google.cloud.recommendationengine.v1beta1 .ListPredictionApiKeyRegistrationsResponse> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListPredictionApiKeyRegistrationsMethod(), getCallOptions()), request, responseObserver); @@ -425,7 +423,7 @@ public void deletePredictionApiKeyRegistration( com.google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeletePredictionApiKeyRegistrationMethod(), getCallOptions()), request, responseObserver); @@ -467,7 +465,7 @@ protected PredictionApiKeyRegistryBlockingStub build( createPredictionApiKeyRegistration( com.google.cloud.recommendationengine.v1beta1.CreatePredictionApiKeyRegistrationRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreatePredictionApiKeyRegistrationMethod(), getCallOptions(), request); } @@ -482,7 +480,7 @@ protected PredictionApiKeyRegistryBlockingStub build( listPredictionApiKeyRegistrations( com.google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListPredictionApiKeyRegistrationsMethod(), getCallOptions(), request); } @@ -496,7 +494,7 @@ protected PredictionApiKeyRegistryBlockingStub build( public com.google.protobuf.Empty deletePredictionApiKeyRegistration( com.google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeletePredictionApiKeyRegistrationMethod(), getCallOptions(), request); } } @@ -537,7 +535,7 @@ protected PredictionApiKeyRegistryFutureStub build( createPredictionApiKeyRegistration( com.google.cloud.recommendationengine.v1beta1.CreatePredictionApiKeyRegistrationRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreatePredictionApiKeyRegistrationMethod(), getCallOptions()), request); } @@ -554,7 +552,7 @@ protected PredictionApiKeyRegistryFutureStub build( listPredictionApiKeyRegistrations( com.google.cloud.recommendationengine.v1beta1.ListPredictionApiKeyRegistrationsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListPredictionApiKeyRegistrationsMethod(), getCallOptions()), request); } @@ -570,7 +568,7 @@ protected PredictionApiKeyRegistryFutureStub build( deletePredictionApiKeyRegistration( com.google.cloud.recommendationengine.v1beta1.DeletePredictionApiKeyRegistrationRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeletePredictionApiKeyRegistrationMethod(), getCallOptions()), request); } diff --git a/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceGrpc.java b/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceGrpc.java index 70f87267..81bbc09b 100644 --- a/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceGrpc.java +++ b/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/PredictionServiceGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.recommendationengine.v1beta1; 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; /** * @@ -150,7 +145,7 @@ public void predict( com.google.cloud.recommendationengine.v1beta1.PredictRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getPredictMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPredictMethod(), responseObserver); } @java.lang.Override @@ -158,7 +153,7 @@ 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.recommendationengine.v1beta1.PredictRequest, com.google.cloud.recommendationengine.v1beta1.PredictResponse>( @@ -200,7 +195,7 @@ public void predict( com.google.cloud.recommendationengine.v1beta1.PredictRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPredictMethod(), getCallOptions()), request, responseObserver); } } @@ -237,7 +232,8 @@ protected PredictionServiceBlockingStub build( */ public com.google.cloud.recommendationengine.v1beta1.PredictResponse predict( com.google.cloud.recommendationengine.v1beta1.PredictRequest request) { - return blockingUnaryCall(getChannel(), getPredictMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPredictMethod(), getCallOptions(), request); } } @@ -273,7 +269,8 @@ protected PredictionServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.recommendationengine.v1beta1.PredictResponse> predict(com.google.cloud.recommendationengine.v1beta1.PredictRequest request) { - return futureUnaryCall(getChannel().newCall(getPredictMethod(), getCallOptions()), request); + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getPredictMethod(), getCallOptions()), request); } } diff --git a/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceGrpc.java b/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceGrpc.java index 710199f9..b0c76c2d 100644 --- a/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceGrpc.java +++ b/grpc-google-cloud-recommendations-ai-v1beta1/src/main/java/com/google/cloud/recommendationengine/v1beta1/UserEventServiceGrpc.java @@ -16,11 +16,6 @@ package com.google.cloud.recommendationengine.v1beta1; 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; /** * @@ -333,7 +328,8 @@ public void writeUserEvent( com.google.cloud.recommendationengine.v1beta1.WriteUserEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getWriteUserEventMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getWriteUserEventMethod(), responseObserver); } /** @@ -349,7 +345,8 @@ public void writeUserEvent( public void collectUserEvent( com.google.cloud.recommendationengine.v1beta1.CollectUserEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getCollectUserEventMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCollectUserEventMethod(), responseObserver); } /** @@ -364,7 +361,8 @@ public void listUserEvents( io.grpc.stub.StreamObserver< com.google.cloud.recommendationengine.v1beta1.ListUserEventsResponse> responseObserver) { - asyncUnimplementedUnaryCall(getListUserEventsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListUserEventsMethod(), responseObserver); } /** @@ -380,7 +378,8 @@ public void listUserEvents( public void purgeUserEvents( com.google.cloud.recommendationengine.v1beta1.PurgeUserEventsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getPurgeUserEventsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getPurgeUserEventsMethod(), responseObserver); } /** @@ -398,7 +397,8 @@ public void purgeUserEvents( public void importUserEvents( com.google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnimplementedUnaryCall(getImportUserEventsMethod(), responseObserver); + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportUserEventsMethod(), responseObserver); } @java.lang.Override @@ -406,33 +406,33 @@ public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getWriteUserEventMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1.WriteUserEventRequest, com.google.cloud.recommendationengine.v1beta1.UserEvent>( this, METHODID_WRITE_USER_EVENT))) .addMethod( getCollectUserEventMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1.CollectUserEventRequest, com.google.api.HttpBody>(this, METHODID_COLLECT_USER_EVENT))) .addMethod( getListUserEventsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1.ListUserEventsRequest, com.google.cloud.recommendationengine.v1beta1.ListUserEventsResponse>( this, METHODID_LIST_USER_EVENTS))) .addMethod( getPurgeUserEventsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1.PurgeUserEventsRequest, com.google.longrunning.Operation>(this, METHODID_PURGE_USER_EVENTS))) .addMethod( getImportUserEventsMethod(), - asyncUnaryCall( + io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest, com.google.longrunning.Operation>(this, METHODID_IMPORT_USER_EVENTS))) @@ -469,7 +469,7 @@ public void writeUserEvent( com.google.cloud.recommendationengine.v1beta1.WriteUserEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getWriteUserEventMethod(), getCallOptions()), request, responseObserver); @@ -488,7 +488,7 @@ public void writeUserEvent( public void collectUserEvent( com.google.cloud.recommendationengine.v1beta1.CollectUserEventRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCollectUserEventMethod(), getCallOptions()), request, responseObserver); @@ -506,7 +506,7 @@ public void listUserEvents( io.grpc.stub.StreamObserver< com.google.cloud.recommendationengine.v1beta1.ListUserEventsResponse> responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListUserEventsMethod(), getCallOptions()), request, responseObserver); @@ -525,7 +525,7 @@ public void listUserEvents( public void purgeUserEvents( com.google.cloud.recommendationengine.v1beta1.PurgeUserEventsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPurgeUserEventsMethod(), getCallOptions()), request, responseObserver); @@ -546,7 +546,7 @@ public void purgeUserEvents( public void importUserEvents( com.google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest request, io.grpc.stub.StreamObserver responseObserver) { - asyncUnaryCall( + io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getImportUserEventsMethod(), getCallOptions()), request, responseObserver); @@ -581,7 +581,8 @@ protected UserEventServiceBlockingStub build( */ public com.google.cloud.recommendationengine.v1beta1.UserEvent writeUserEvent( com.google.cloud.recommendationengine.v1beta1.WriteUserEventRequest request) { - return blockingUnaryCall(getChannel(), getWriteUserEventMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getWriteUserEventMethod(), getCallOptions(), request); } /** @@ -596,7 +597,7 @@ public com.google.cloud.recommendationengine.v1beta1.UserEvent writeUserEvent( */ public com.google.api.HttpBody collectUserEvent( com.google.cloud.recommendationengine.v1beta1.CollectUserEventRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCollectUserEventMethod(), getCallOptions(), request); } @@ -609,7 +610,8 @@ public com.google.api.HttpBody collectUserEvent( */ public com.google.cloud.recommendationengine.v1beta1.ListUserEventsResponse listUserEvents( com.google.cloud.recommendationengine.v1beta1.ListUserEventsRequest request) { - return blockingUnaryCall(getChannel(), getListUserEventsMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListUserEventsMethod(), getCallOptions(), request); } /** @@ -624,7 +626,8 @@ public com.google.cloud.recommendationengine.v1beta1.ListUserEventsResponse list */ public com.google.longrunning.Operation purgeUserEvents( com.google.cloud.recommendationengine.v1beta1.PurgeUserEventsRequest request) { - return blockingUnaryCall(getChannel(), getPurgeUserEventsMethod(), getCallOptions(), request); + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getPurgeUserEventsMethod(), getCallOptions(), request); } /** @@ -641,7 +644,7 @@ public com.google.longrunning.Operation purgeUserEvents( */ public com.google.longrunning.Operation importUserEvents( com.google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest request) { - return blockingUnaryCall( + return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getImportUserEventsMethod(), getCallOptions(), request); } } @@ -676,7 +679,7 @@ protected UserEventServiceFutureStub build( com.google.cloud.recommendationengine.v1beta1.UserEvent> writeUserEvent( com.google.cloud.recommendationengine.v1beta1.WriteUserEventRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getWriteUserEventMethod(), getCallOptions()), request); } @@ -693,7 +696,7 @@ protected UserEventServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture collectUserEvent( com.google.cloud.recommendationengine.v1beta1.CollectUserEventRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCollectUserEventMethod(), getCallOptions()), request); } @@ -708,7 +711,7 @@ protected UserEventServiceFutureStub build( com.google.cloud.recommendationengine.v1beta1.ListUserEventsResponse> listUserEvents( com.google.cloud.recommendationengine.v1beta1.ListUserEventsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListUserEventsMethod(), getCallOptions()), request); } @@ -725,7 +728,7 @@ protected UserEventServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture purgeUserEvents( com.google.cloud.recommendationengine.v1beta1.PurgeUserEventsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPurgeUserEventsMethod(), getCallOptions()), request); } @@ -744,7 +747,7 @@ protected UserEventServiceFutureStub build( public com.google.common.util.concurrent.ListenableFuture importUserEvents( com.google.cloud.recommendationengine.v1beta1.ImportUserEventsRequest request) { - return futureUnaryCall( + return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getImportUserEventsMethod(), getCallOptions()), request); } } diff --git a/synth.metadata b/synth.metadata index b6d87c9c..cca6949c 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-recommendations-ai.git", - "sha": "92dbbc20198467aff9f7519c2c196995f92fc012" + "sha": "ba380c685324a3402067fefdec76fffaf30e972e" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "3befd26ca55723d3e8111909331eac1249837987", - "internalRef": "360805639" + "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89", + "internalRef": "361377784" } }, {