Send feedback
Class GrpcOperationsCallableFactory (2.19.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.19.6 keyboard_arrow_down
public class GrpcOperationsCallableFactory implements GrpcStubCallableFactory
gRPC callable factory implementation for Google Long Running Operations API.
This class is for advanced usage.
Constructors
GrpcOperationsCallableFactory()
public GrpcOperationsCallableFactory ()
Methods
<RequestT,ResponseT,MetadataT>createOperationCallable(GrpcCallSettings<RequestT,Operation> grpcCallSettings, OperationCallSettings<RequestT,ResponseT,MetadataT> operationCallSettings, ClientContext clientContext, OperationsStub operationsStub)
public OperationCallable<RequestT , ResponseT , MetadataT > <RequestT , ResponseT , MetadataT>createOperationCallable ( GrpcCallSettings<RequestT , Operation > grpcCallSettings , OperationCallSettings<RequestT , ResponseT , MetadataT > operationCallSettings , ClientContext clientContext , OperationsStub operationsStub )
Creates a callable object that represents a long-running operation. Designed for use by
generated code.
Parameters
Returns
<RequestT,ResponseT,PagedListResponseT>createPagedCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, PagedCallSettings<RequestT,ResponseT,PagedListResponseT> pagedCallSettings, ClientContext clientContext)
public UnaryCallable<RequestT , PagedListResponseT > <RequestT , ResponseT , PagedListResponseT>createPagedCallable ( GrpcCallSettings<RequestT , ResponseT > grpcCallSettings , PagedCallSettings<RequestT , ResponseT , PagedListResponseT > pagedCallSettings , ClientContext clientContext )
Create a paged callable object that represents a paged API method. Designed for use by
generated code.
Parameters
Returns
<RequestT,ResponseT>createBatchingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, BatchingCallSettings<RequestT,ResponseT> batchingCallSettings, ClientContext clientContext)
public UnaryCallable<RequestT , ResponseT > <RequestT , ResponseT>createBatchingCallable ( GrpcCallSettings<RequestT , ResponseT > grpcCallSettings , BatchingCallSettings<RequestT , ResponseT > batchingCallSettings , ClientContext clientContext )
Create a callable object that represents a batching API method. Designed for use by generated
code.
Parameters
Returns
<RequestT,ResponseT>createBidiStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, StreamingCallSettings<RequestT,ResponseT> streamingCallSettings, ClientContext clientContext)
public BidiStreamingCallable<RequestT , ResponseT > <RequestT , ResponseT>createBidiStreamingCallable ( GrpcCallSettings<RequestT , ResponseT > grpcCallSettings , StreamingCallSettings<RequestT , ResponseT > streamingCallSettings , ClientContext clientContext )
Create a bidirectional streaming callable object with grpc-specific functionality. Designed for
use by generated code.
Parameters
Returns
<RequestT,ResponseT>createClientStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, StreamingCallSettings<RequestT,ResponseT> streamingCallSettings, ClientContext clientContext)
public ClientStreamingCallable<RequestT , ResponseT > <RequestT , ResponseT>createClientStreamingCallable ( GrpcCallSettings<RequestT , ResponseT > grpcCallSettings , StreamingCallSettings<RequestT , ResponseT > streamingCallSettings , ClientContext clientContext )
Create a client-streaming callable object with grpc-specific functionality. Designed for use by
generated code.
Parameters
Returns
<RequestT,ResponseT>createServerStreamingCallable(GrpcCallSettings<RequestT,ResponseT> grpcCallSettings, ServerStreamingCallSettings<RequestT,ResponseT> streamingCallSettings, ClientContext clientContext)
public ServerStreamingCallable<RequestT , ResponseT > <RequestT , ResponseT>createServerStreamingCallable ( GrpcCallSettings<RequestT , ResponseT > grpcCallSettings , ServerStreamingCallSettings<RequestT , ResponseT > streamingCallSettings , ClientContext clientContext )
Create a server-streaming callable with grpc-specific functionality. Designed for use by
generated code.
Parameters
Returns
<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 )
Create a callable object with grpc-specific functionality. Designed for use by generated code.
Parameters
Returns
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-03-21 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-03-21 UTC."],[[["The webpage provides documentation for the `GrpcOperationsCallableFactory` class, which is a gRPC callable factory implementation for the Google Long Running Operations API, and it is intended for advanced usage."],["The latest documented version available is 2.63.1, while the page specifically refers to version 2.19.6, and the page also lists numerous versions, including the current one, that span from 2.63.1 down to 2.7.1."],["The `GrpcOperationsCallableFactory` class implements the `GrpcStubCallableFactory` interface and extends the `java.lang.Object` class, inheriting several methods like `clone()`, `equals()`, and `hashCode()`."],["The `GrpcOperationsCallableFactory` offers methods for creating various callable objects, including `createOperationCallable`, `createPagedCallable`, `createBatchingCallable`, and several types of streaming callables, all used for gRPC-specific functionalities."],["Each one of the methods provided is designed for use by generated code and require parameters such as `GrpcCallSettings`, specific `CallSettings`, and `ClientContext`."]]],[]]