Class DataStoreServiceGrpc.DataStoreServiceBlockingStub (0.31.0)

public static final class DataStoreServiceGrpc.DataStoreServiceBlockingStub extends AbstractBlockingStub<DataStoreServiceGrpc.DataStoreServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service DataStoreService.

Service for managing DataStore configuration.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > DataStoreServiceGrpc.DataStoreServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected DataStoreServiceGrpc.DataStoreServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
DataStoreServiceGrpc.DataStoreServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createDataStore(CreateDataStoreRequest request)

public Operation createDataStore(CreateDataStoreRequest request)

Creates a DataStore. DataStore is for storing Documents. To serve these documents for Search, or Recommendation use case, an Engine needs to be created separately.

Parameter
NameDescription
requestCreateDataStoreRequest
Returns
TypeDescription
Operation

deleteDataStore(DeleteDataStoreRequest request)

public Operation deleteDataStore(DeleteDataStoreRequest request)

Deletes a DataStore.

Parameter
NameDescription
requestDeleteDataStoreRequest
Returns
TypeDescription
Operation

getDataStore(GetDataStoreRequest request)

public DataStore getDataStore(GetDataStoreRequest request)

Gets a DataStore.

Parameter
NameDescription
requestGetDataStoreRequest
Returns
TypeDescription
DataStore

listDataStores(ListDataStoresRequest request)

public ListDataStoresResponse listDataStores(ListDataStoresRequest request)

Lists all the DataStores associated with the project.

Parameter
NameDescription
requestListDataStoresRequest
Returns
TypeDescription
ListDataStoresResponse

updateDataStore(UpdateDataStoreRequest request)

public DataStore updateDataStore(UpdateDataStoreRequest request)

Updates a DataStore

Parameter
NameDescription
requestUpdateDataStoreRequest
Returns
TypeDescription
DataStore