@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonBatchControllerStub extends BatchControllerStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonBatchControllerStub(BatchControllerStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonBatchControllerStub, using the given settings.
|
protected |
HttpJsonBatchControllerStub(BatchControllerStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonBatchControllerStub, using the given settings.
|
getOperationsStub
protected HttpJsonBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonBatchControllerStub create(BatchControllerStubSettings settings) throws IOException
IOException
public static final HttpJsonBatchControllerStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonBatchControllerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub
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.