@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,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcBatchControllerStub, using the given settings.
|
protected |
GrpcBatchControllerStub(BatchControllerStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcBatchControllerStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcBatchControllerStub |
create(BatchControllerStubSettings settings) |
static GrpcBatchControllerStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcBatchControllerStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
com.google.api.gax.rpc.UnaryCallable<CreateBatchRequest,com.google.longrunning.Operation> |
createBatchCallable() |
com.google.api.gax.rpc.OperationCallable<CreateBatchRequest,Batch,BatchOperationMetadata> |
createBatchOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteBatchRequest,com.google.protobuf.Empty> |
deleteBatchCallable() |
com.google.api.gax.rpc.UnaryCallable<GetBatchRequest,Batch> |
getBatchCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListBatchesRequest,ListBatchesResponse> |
listBatchesCallable() |
com.google.api.gax.rpc.UnaryCallable<ListBatchesRequest,BatchControllerClient.ListBatchesPagedResponse> |
listBatchesPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
getHttpJsonOperationsStubprotected GrpcBatchControllerStub(BatchControllerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcBatchControllerStub(BatchControllerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcBatchControllerStub create(BatchControllerStubSettings settings) throws IOException
IOExceptionpublic static final GrpcBatchControllerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcBatchControllerStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub in class BatchControllerStubpublic com.google.api.gax.rpc.UnaryCallable<CreateBatchRequest,com.google.longrunning.Operation> createBatchCallable()
createBatchCallable in class BatchControllerStubpublic com.google.api.gax.rpc.OperationCallable<CreateBatchRequest,Batch,BatchOperationMetadata> createBatchOperationCallable()
createBatchOperationCallable in class BatchControllerStubpublic com.google.api.gax.rpc.UnaryCallable<GetBatchRequest,Batch> getBatchCallable()
getBatchCallable in class BatchControllerStubpublic com.google.api.gax.rpc.UnaryCallable<ListBatchesRequest,ListBatchesResponse> listBatchesCallable()
listBatchesCallable in class BatchControllerStubpublic com.google.api.gax.rpc.UnaryCallable<ListBatchesRequest,BatchControllerClient.ListBatchesPagedResponse> listBatchesPagedCallable()
listBatchesPagedCallable in class BatchControllerStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteBatchRequest,com.google.protobuf.Empty> deleteBatchCallable()
deleteBatchCallable in class BatchControllerStubpublic final void close()
close in interface AutoCloseableclose in class BatchControllerStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2022 Google LLC. All rights reserved.