public class HttpJsonBatchControllerStub extends BatchControllerStub
REST stub implementation for the BatchController service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonBatchControllerStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonBatchControllerStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(BatchControllerStubSettings settings)
public static final HttpJsonBatchControllerStub create(BatchControllerStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext)
protected HttpJsonBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonBatchControllerStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
HttpJsonBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonBatchControllerStub(BatchControllerStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonBatchControllerStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createBatchCallable()
public UnaryCallable<CreateBatchRequest,Operation> createBatchCallable()
Returns
Overrides
createBatchOperationCallable()
public OperationCallable<CreateBatchRequest,Batch,BatchOperationMetadata> createBatchOperationCallable()
Returns
Overrides
deleteBatchCallable()
public UnaryCallable<DeleteBatchRequest,Empty> deleteBatchCallable()
Returns
Overrides
getBatchCallable()
public UnaryCallable<GetBatchRequest,Batch> getBatchCallable()
Returns
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listBatchesCallable()
public UnaryCallable<ListBatchesRequest,ListBatchesResponse> listBatchesCallable()
Returns
Overrides
listBatchesPagedCallable()
public UnaryCallable<ListBatchesRequest,BatchControllerClient.ListBatchesPagedResponse> listBatchesPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()