Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see
Model versions and lifecycle .
Send feedback
Class HttpJsonEndpointServiceCallableFactory (1.32.0)
Stay organized with collections
Save and categorize content based on your preferences.
public class HttpJsonEndpointServiceCallableFactory implements HttpJsonStubCallableFactory<Operation , OperationsStub >
REST callable factory implementation for the EndpointService service API.
This class is for advanced usage.
Implements
com.google.api.gax.httpjson.HttpJsonStubCallableFactory<com.google.longrunning.Operation,com.google.api.gax.httpjson.longrunning.stub.OperationsStub>
Constructors
HttpJsonEndpointServiceCallableFactory()
public HttpJsonEndpointServiceCallableFactory ()
Methods
<RequestT,ResponseT,MetadataT>createOperationCallable(HttpJsonCallSettings<RequestT,Operation> httpJsonCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, OperationsStub operationsStub)
public OperationCallable<RequestT , ResponseT , MetadataT > <RequestT , ResponseT , MetadataT>createOperationCallable ( HttpJsonCallSettings<RequestT , Operation > httpJsonCallSettings , OperationCallSettings<RequestT , ResponseT , MetadataT > callSettings , ClientContext clientContext , OperationsStub operationsStub )
<RequestT,ResponseT,PagedListResponseT>createPagedCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> callSettings, ClientContext clientContext)
public UnaryCallable<RequestT , PagedListResponseT > <RequestT , ResponseT , PagedListResponseT>createPagedCallable ( HttpJsonCallSettings<RequestT , ResponseT > httpJsonCallSettings , PagedCallSettings<RequestT , ResponseT , PagedListResponseT > callSettings , ClientContext clientContext )
Returns
Type
Description
UnaryCallable <RequestT ,PagedListResponseT >
<RequestT,ResponseT>createBatchingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, BatchingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
public UnaryCallable<RequestT , ResponseT > <RequestT , ResponseT>createBatchingCallable ( HttpJsonCallSettings<RequestT , ResponseT > httpJsonCallSettings , BatchingCallSettings<RequestT , ResponseT > callSettings , ClientContext clientContext )
<RequestT,ResponseT>createServerStreamingCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
public ServerStreamingCallable<RequestT , ResponseT > <RequestT , ResponseT>createServerStreamingCallable ( HttpJsonCallSettings<RequestT , ResponseT > httpJsonCallSettings , ServerStreamingCallSettings<RequestT , ResponseT > callSettings , ClientContext clientContext )
<RequestT,ResponseT>createUnaryCallable(HttpJsonCallSettings<RequestT,ResponseT> httpJsonCallSettings, UnaryCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
public UnaryCallable<RequestT , ResponseT > <RequestT , ResponseT>createUnaryCallable ( HttpJsonCallSettings<RequestT , ResponseT > httpJsonCallSettings , UnaryCallSettings<RequestT , ResponseT > callSettings , ClientContext clientContext )
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Class HttpJsonEndpointServiceCallableFactory (1.32.0)\n\n public class HttpJsonEndpointServiceCallableFactory implements HttpJsonStubCallableFactory\u003cOperation,OperationsStub\u003e\n\nREST callable factory implementation for the EndpointService service API.\n\nThis class is for advanced usage. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e HttpJsonEndpointServiceCallableFactory \n\nImplements\n----------\n\ncom.google.api.gax.httpjson.HttpJsonStubCallableFactory\\\u003ccom.google.longrunning.Operation,com.google.api.gax.httpjson.longrunning.stub.OperationsStub\\\u003e \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nConstructors\n------------\n\n### HttpJsonEndpointServiceCallableFactory()\n\n public HttpJsonEndpointServiceCallableFactory()\n\nMethods\n-------\n\n### \\\u003cRequestT,ResponseT,MetadataT\\\u003ecreateOperationCallable(HttpJsonCallSettings\\\u003cRequestT,Operation\\\u003e httpJsonCallSettings, OperationCallSettings\\\u003cRequestT,ResponseT,MetadataT\\\u003e callSettings, ClientContext clientContext, OperationsStub operationsStub)\n\n public OperationCallable\u003cRequestT,ResponseT,MetadataT\u003e \u003cRequestT,ResponseT,MetadataT\u003ecreateOperationCallable(HttpJsonCallSettings\u003cRequestT,Operation\u003e httpJsonCallSettings, OperationCallSettings\u003cRequestT,ResponseT,MetadataT\u003e callSettings, ClientContext clientContext, OperationsStub operationsStub)\n\n### \\\u003cRequestT,ResponseT,PagedListResponseT\\\u003ecreatePagedCallable(HttpJsonCallSettings\\\u003cRequestT,ResponseT\\\u003e httpJsonCallSettings, PagedCallSettings\\\u003cRequestT,ResponseT,PagedListResponseT\\\u003e callSettings, ClientContext clientContext)\n\n public UnaryCallable\u003cRequestT,PagedListResponseT\u003e \u003cRequestT,ResponseT,PagedListResponseT\u003ecreatePagedCallable(HttpJsonCallSettings\u003cRequestT,ResponseT\u003e httpJsonCallSettings, PagedCallSettings\u003cRequestT,ResponseT,PagedListResponseT\u003e callSettings, ClientContext clientContext)\n\n### \\\u003cRequestT,ResponseT\\\u003ecreateBatchingCallable(HttpJsonCallSettings\\\u003cRequestT,ResponseT\\\u003e httpJsonCallSettings, BatchingCallSettings\\\u003cRequestT,ResponseT\\\u003e callSettings, ClientContext clientContext)\n\n public UnaryCallable\u003cRequestT,ResponseT\u003e \u003cRequestT,ResponseT\u003ecreateBatchingCallable(HttpJsonCallSettings\u003cRequestT,ResponseT\u003e httpJsonCallSettings, BatchingCallSettings\u003cRequestT,ResponseT\u003e callSettings, ClientContext clientContext)\n\n### \\\u003cRequestT,ResponseT\\\u003ecreateServerStreamingCallable(HttpJsonCallSettings\\\u003cRequestT,ResponseT\\\u003e httpJsonCallSettings, ServerStreamingCallSettings\\\u003cRequestT,ResponseT\\\u003e callSettings, ClientContext clientContext)\n\n public ServerStreamingCallable\u003cRequestT,ResponseT\u003e \u003cRequestT,ResponseT\u003ecreateServerStreamingCallable(HttpJsonCallSettings\u003cRequestT,ResponseT\u003e httpJsonCallSettings, ServerStreamingCallSettings\u003cRequestT,ResponseT\u003e callSettings, ClientContext clientContext)\n\n### \\\u003cRequestT,ResponseT\\\u003ecreateUnaryCallable(HttpJsonCallSettings\\\u003cRequestT,ResponseT\\\u003e httpJsonCallSettings, UnaryCallSettings\\\u003cRequestT,ResponseT\\\u003e callSettings, ClientContext clientContext)\n\n public UnaryCallable\u003cRequestT,ResponseT\u003e \u003cRequestT,ResponseT\u003ecreateUnaryCallable(HttpJsonCallSettings\u003cRequestT,ResponseT\u003e httpJsonCallSettings, UnaryCallSettings\u003cRequestT,ResponseT\u003e callSettings, ClientContext clientContext)"]]