Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class HttpJsonDataStoreServiceStub extends DataStoreServiceStub
REST stub implementation for the DataStoreService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonDataStoreServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonDataStoreServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(DataStoreServiceStubSettings settings)
public static final HttpJsonDataStoreServiceStub create(DataStoreServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonDataStoreServiceStub(DataStoreServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonDataStoreServiceStub(DataStoreServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonDataStoreServiceStub, 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.
HttpJsonDataStoreServiceStub(DataStoreServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonDataStoreServiceStub(DataStoreServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonDataStoreServiceStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createDataStoreCallable()
public UnaryCallable<CreateDataStoreRequest,Operation> createDataStoreCallable()
Overrides
createDataStoreOperationCallable()
public OperationCallable<CreateDataStoreRequest,DataStore,CreateDataStoreMetadata> createDataStoreOperationCallable()
Overrides
deleteDataStoreCallable()
public UnaryCallable<DeleteDataStoreRequest,Operation> deleteDataStoreCallable()
Overrides
deleteDataStoreOperationCallable()
public OperationCallable<DeleteDataStoreRequest,Empty,DeleteDataStoreMetadata> deleteDataStoreOperationCallable()
Overrides
getDataStoreCallable()
public UnaryCallable<GetDataStoreRequest,DataStore> getDataStoreCallable()
Overrides
getDocumentProcessingConfigCallable()
public UnaryCallable<GetDocumentProcessingConfigRequest,DocumentProcessingConfig> getDocumentProcessingConfigCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listDataStoresCallable()
public UnaryCallable<ListDataStoresRequest,ListDataStoresResponse> listDataStoresCallable()
Overrides
listDataStoresPagedCallable()
public UnaryCallable<ListDataStoresRequest,DataStoreServiceClient.ListDataStoresPagedResponse> listDataStoresPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateDataStoreCallable()
public UnaryCallable<UpdateDataStoreRequest,DataStore> updateDataStoreCallable()
Overrides
updateDocumentProcessingConfigCallable()
public UnaryCallable<UpdateDocumentProcessingConfigRequest,DocumentProcessingConfig> updateDocumentProcessingConfigCallable()
Overrides