Class DataStoreServiceGrpc.DataStoreServiceBlockingStub (0.41.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateDataStoreRequest
Returns
Type Description
Operation

deleteDataStore(DeleteDataStoreRequest request)

public Operation deleteDataStore(DeleteDataStoreRequest request)

Deletes a DataStore.

Parameter
Name Description
request DeleteDataStoreRequest
Returns
Type Description
Operation

getDataStore(GetDataStoreRequest request)

public DataStore getDataStore(GetDataStoreRequest request)

Gets a DataStore.

Parameter
Name Description
request GetDataStoreRequest
Returns
Type Description
DataStore

listDataStores(ListDataStoresRequest request)

public ListDataStoresResponse listDataStores(ListDataStoresRequest request)

Lists all the DataStores associated with the project.

Parameter
Name Description
request ListDataStoresRequest
Returns
Type Description
ListDataStoresResponse

updateDataStore(UpdateDataStoreRequest request)

public DataStore updateDataStore(UpdateDataStoreRequest request)

Updates a DataStore

Parameter
Name Description
request UpdateDataStoreRequest
Returns
Type Description
DataStore