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 GrpcLlmUtilityServiceCallableFactory (1.32.0)
Stay organized with collections
Save and categorize content based on your preferences.
public class GrpcLlmUtilityServiceCallableFactory implements GrpcStubCallableFactory
gRPC callable factory implementation for the LlmUtilityService service API.
This class is for advanced usage.
Constructors
GrpcLlmUtilityServiceCallableFactory()
public GrpcLlmUtilityServiceCallableFactory ()
Methods
<RequestT,ResponseT,MetadataT>createOperationCallable(GrpcCallSettings<RequestT,Operation> grpcCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> callSettings, ClientContext clientContext, OperationsStub operationsStub)
public OperationCallable<RequestT , ResponseT , MetadataT > <RequestT , ResponseT , MetadataT>createOperationCallable ( GrpcCallSettings<RequestT , Operation > grpcCallSettings , OperationCallSettings<RequestT , ResponseT , MetadataT > callSettings , ClientContext clientContext , OperationsStub operationsStub )
<RequestT,ResponseT,PagedListResponseT>createPagedCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> callSettings, ClientContext clientContext)
public UnaryCallable<RequestT , PagedListResponseT > <RequestT , ResponseT , PagedListResponseT>createPagedCallable ( GrpcCallSettings<RequestT , ResponseT > grpcCallSettings , PagedCallSettings<RequestT , ResponseT , PagedListResponseT > callSettings , ClientContext clientContext )
Returns
Type
Description
UnaryCallable <RequestT ,PagedListResponseT >
<RequestT,ResponseT>createBatchingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, BatchingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
public UnaryCallable<RequestT , ResponseT > <RequestT , ResponseT>createBatchingCallable ( GrpcCallSettings<RequestT , ResponseT > grpcCallSettings , BatchingCallSettings<RequestT , ResponseT > callSettings , ClientContext clientContext )
<RequestT,ResponseT>createBidiStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, StreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
public BidiStreamingCallable<RequestT , ResponseT > <RequestT , ResponseT>createBidiStreamingCallable ( GrpcCallSettings<RequestT , ResponseT > grpcCallSettings , StreamingCallSettings<RequestT , ResponseT > callSettings , ClientContext clientContext )
<RequestT,ResponseT>createClientStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, StreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
public ClientStreamingCallable<RequestT , ResponseT > <RequestT , ResponseT>createClientStreamingCallable ( GrpcCallSettings<RequestT , ResponseT > grpcCallSettings , StreamingCallSettings<RequestT , ResponseT > callSettings , ClientContext clientContext )
<RequestT,ResponseT>createServerStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
public ServerStreamingCallable<RequestT , ResponseT > <RequestT , ResponseT>createServerStreamingCallable ( GrpcCallSettings<RequestT , ResponseT > grpcCallSettings , ServerStreamingCallSettings<RequestT , ResponseT > callSettings , ClientContext clientContext )
<RequestT,ResponseT>createUnaryCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, UnaryCallSettings<RequestT,ResponseT> callSettings, ClientContext clientContext)
public UnaryCallable<RequestT , ResponseT > <RequestT , ResponseT>createUnaryCallable ( GrpcCallSettings<RequestT , ResponseT > grpcCallSettings , 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-28 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-28 UTC."],[],[],null,["# Class GrpcLlmUtilityServiceCallableFactory (1.32.0)\n\n public class GrpcLlmUtilityServiceCallableFactory implements GrpcStubCallableFactory\n\ngRPC callable factory implementation for the LlmUtilityService 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 GrpcLlmUtilityServiceCallableFactory \n\nImplements\n----------\n\n[GrpcStubCallableFactory](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.grpc.GrpcStubCallableFactory.html) \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### GrpcLlmUtilityServiceCallableFactory()\n\n public GrpcLlmUtilityServiceCallableFactory()\n\nMethods\n-------\n\n### \\\u003cRequestT,ResponseT,MetadataT\\\u003ecreateOperationCallable(GrpcCallSettings\\\u003cRequestT,Operation\\\u003e grpcCallSettings, OperationCallSettings\\\u003cRequestT,ResponseT,MetadataT\\\u003e callSettings, ClientContext clientContext, OperationsStub operationsStub)\n\n public OperationCallable\u003cRequestT,ResponseT,MetadataT\u003e \u003cRequestT,ResponseT,MetadataT\u003ecreateOperationCallable(GrpcCallSettings\u003cRequestT,Operation\u003e grpcCallSettings, OperationCallSettings\u003cRequestT,ResponseT,MetadataT\u003e callSettings, ClientContext clientContext, OperationsStub operationsStub)\n\n### \\\u003cRequestT,ResponseT,PagedListResponseT\\\u003ecreatePagedCallable(GrpcCallSettings\\\u003cRequestT,ResponseT\\\u003e grpcCallSettings, PagedCallSettings\\\u003cRequestT,ResponseT,PagedListResponseT\\\u003e callSettings, ClientContext clientContext)\n\n public UnaryCallable\u003cRequestT,PagedListResponseT\u003e \u003cRequestT,ResponseT,PagedListResponseT\u003ecreatePagedCallable(GrpcCallSettings\u003cRequestT,ResponseT\u003e grpcCallSettings, PagedCallSettings\u003cRequestT,ResponseT,PagedListResponseT\u003e callSettings, ClientContext clientContext)\n\n### \\\u003cRequestT,ResponseT\\\u003ecreateBatchingCallable(GrpcCallSettings\\\u003cRequestT,ResponseT\\\u003e grpcCallSettings, BatchingCallSettings\\\u003cRequestT,ResponseT\\\u003e callSettings, ClientContext clientContext)\n\n public UnaryCallable\u003cRequestT,ResponseT\u003e \u003cRequestT,ResponseT\u003ecreateBatchingCallable(GrpcCallSettings\u003cRequestT,ResponseT\u003e grpcCallSettings, BatchingCallSettings\u003cRequestT,ResponseT\u003e callSettings, ClientContext clientContext)\n\n### \\\u003cRequestT,ResponseT\\\u003ecreateBidiStreamingCallable(GrpcCallSettings\\\u003cRequestT,ResponseT\\\u003e grpcCallSettings, StreamingCallSettings\\\u003cRequestT,ResponseT\\\u003e callSettings, ClientContext clientContext)\n\n public BidiStreamingCallable\u003cRequestT,ResponseT\u003e \u003cRequestT,ResponseT\u003ecreateBidiStreamingCallable(GrpcCallSettings\u003cRequestT,ResponseT\u003e grpcCallSettings, StreamingCallSettings\u003cRequestT,ResponseT\u003e callSettings, ClientContext clientContext)\n\n### \\\u003cRequestT,ResponseT\\\u003ecreateClientStreamingCallable(GrpcCallSettings\\\u003cRequestT,ResponseT\\\u003e grpcCallSettings, StreamingCallSettings\\\u003cRequestT,ResponseT\\\u003e callSettings, ClientContext clientContext)\n\n public ClientStreamingCallable\u003cRequestT,ResponseT\u003e \u003cRequestT,ResponseT\u003ecreateClientStreamingCallable(GrpcCallSettings\u003cRequestT,ResponseT\u003e grpcCallSettings, StreamingCallSettings\u003cRequestT,ResponseT\u003e callSettings, ClientContext clientContext)\n\n### \\\u003cRequestT,ResponseT\\\u003ecreateServerStreamingCallable(GrpcCallSettings\\\u003cRequestT,ResponseT\\\u003e grpcCallSettings, ServerStreamingCallSettings\\\u003cRequestT,ResponseT\\\u003e callSettings, ClientContext clientContext)\n\n public ServerStreamingCallable\u003cRequestT,ResponseT\u003e \u003cRequestT,ResponseT\u003ecreateServerStreamingCallable(GrpcCallSettings\u003cRequestT,ResponseT\u003e grpcCallSettings, ServerStreamingCallSettings\u003cRequestT,ResponseT\u003e callSettings, ClientContext clientContext)\n\n### \\\u003cRequestT,ResponseT\\\u003ecreateUnaryCallable(GrpcCallSettings\\\u003cRequestT,ResponseT\\\u003e grpcCallSettings, UnaryCallSettings\\\u003cRequestT,ResponseT\\\u003e callSettings, ClientContext clientContext)\n\n public UnaryCallable\u003cRequestT,ResponseT\u003e \u003cRequestT,ResponseT\u003ecreateUnaryCallable(GrpcCallSettings\u003cRequestT,ResponseT\u003e grpcCallSettings, UnaryCallSettings\u003cRequestT,ResponseT\u003e callSettings, ClientContext clientContext)"]]