From 87636a5812874a77e9004aab07607121efa43736 Mon Sep 17 00:00:00 2001 From: Vadym Matsishevskyi <25311427+vam-google@users.noreply.github.com> Date: Tue, 13 Jul 2021 16:10:58 -0700 Subject: [PATCH] fix: remove `extends ApiMessage` from `HttpJsonStubCallableFactory` definition (#1426) This is needed to match DIREGAPIC architecture, which does not rely on ApiMessage but on the proto stubs instead. --- .../api/gax/httpjson/HttpJsonStubCallableFactory.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonStubCallableFactory.java b/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonStubCallableFactory.java index 64ad402d7..89992d9f8 100644 --- a/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonStubCallableFactory.java +++ b/gax-httpjson/src/main/java/com/google/api/gax/httpjson/HttpJsonStubCallableFactory.java @@ -41,7 +41,7 @@ @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public interface HttpJsonStubCallableFactory< - OperationT extends ApiMessage, OperationsStub extends BackgroundResource> { + OperationT, OperationsStub extends BackgroundResource> { /** * Create a callable object with http/json-specific functionality. Designed for use by generated @@ -52,7 +52,7 @@ public interface HttpJsonStubCallableFactory< * @param clientContext {@link ClientContext} to use to connect to the service. * @return {@link UnaryCallable} callable object. */ - public UnaryCallable createUnaryCallable( + UnaryCallable createUnaryCallable( HttpJsonCallSettings httpJsonCallSettings, UnaryCallSettings callSettings, ClientContext clientContext); @@ -66,7 +66,7 @@ public UnaryCallable createUnaryCalla * @param clientContext {@link ClientContext} to use to connect to the service. * @return {@link UnaryCallable} callable object. */ - public + UnaryCallable createPagedCallable( HttpJsonCallSettings httpJsonCallSettings, PagedCallSettings pagedCallSettings, @@ -82,12 +82,12 @@ UnaryCallable createPagedCallable( * @param clientContext {@link ClientContext} to use to connect to the service. * @return {@link UnaryCallable} callable object. */ - public UnaryCallable createBatchingCallable( + UnaryCallable createBatchingCallable( HttpJsonCallSettings httpJsonCallSettings, BatchingCallSettings batchingCallSettings, ClientContext clientContext); - public + OperationCallable createOperationCallable( HttpJsonCallSettings httpJsonCallSettings, OperationCallSettings operationCallSettings,