@Generated(value="by gapic-generator-java") public class GrpcBatchControllerStub extends BatchControllerStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcBatchControllerStub(BatchControllerStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcBatchControllerStub, using the given settings.
|
protected |
GrpcBatchControllerStub(BatchControllerStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcBatchControllerStub, using the given settings.
|
getHttpJsonOperationsStub
protected GrpcBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcBatchControllerStub create(BatchControllerStubSettings settings) throws IOException
IOException
public static final GrpcBatchControllerStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcBatchControllerStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class BatchControllerStub
public UnaryCallable<CreateBatchRequest,Operation> createBatchCallable()
createBatchCallable
in class BatchControllerStub
public OperationCallable<CreateBatchRequest,Batch,BatchOperationMetadata> createBatchOperationCallable()
createBatchOperationCallable
in class BatchControllerStub
public UnaryCallable<GetBatchRequest,Batch> getBatchCallable()
getBatchCallable
in class BatchControllerStub
public UnaryCallable<ListBatchesRequest,ListBatchesResponse> listBatchesCallable()
listBatchesCallable
in class BatchControllerStub
public UnaryCallable<ListBatchesRequest,BatchControllerClient.ListBatchesPagedResponse> listBatchesPagedCallable()
listBatchesPagedCallable
in class BatchControllerStub
public UnaryCallable<DeleteBatchRequest,Empty> deleteBatchCallable()
deleteBatchCallable
in class BatchControllerStub
public final void close()
close
in interface AutoCloseable
close
in class BatchControllerStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.