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 GrpcDataStoreServiceStub extends DataStoreServiceStub
gRPC 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 GrpcDataStoreServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcDataStoreServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(DataStoreServiceStubSettings settings)
public static final GrpcDataStoreServiceStub create(DataStoreServiceStubSettings settings)
Constructors
GrpcDataStoreServiceStub(DataStoreServiceStubSettings settings, ClientContext clientContext)
protected GrpcDataStoreServiceStub(DataStoreServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcDataStoreServiceStub, 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.
GrpcDataStoreServiceStub(DataStoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcDataStoreServiceStub(DataStoreServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDataStoreServiceStub, 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
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
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