Class DataStoreServiceGrpc.DataStoreServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<DataStoreServiceGrpc.DataStoreServiceBlockingV2Stub>
com.google.cloud.discoveryengine.v1.DataStoreServiceGrpc.DataStoreServiceBlockingV2Stub
- Enclosing class:
- DataStoreServiceGrpc
public static final class DataStoreServiceGrpc.DataStoreServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<DataStoreServiceGrpc.DataStoreServiceBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service DataStoreService.
Service for managing [DataStore][google.cloud.discoveryengine.v1.DataStore] configuration.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createDataStore(CreateDataStoreRequest request) Creates a [DataStore][google.cloud.discoveryengine.v1.DataStore].deleteDataStore(DeleteDataStoreRequest request) Deletes a [DataStore][google.cloud.discoveryengine.v1.DataStore].getDataStore(GetDataStoreRequest request) Gets a [DataStore][google.cloud.discoveryengine.v1.DataStore].listDataStores(ListDataStoresRequest request) Lists all the [DataStore][google.cloud.discoveryengine.v1.DataStore]s associated with the project.updateDataStore(UpdateDataStoreRequest request) Updates a [DataStore][google.cloud.discoveryengine.v1.DataStore]Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected DataStoreServiceGrpc.DataStoreServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<DataStoreServiceGrpc.DataStoreServiceBlockingV2Stub>
-
createDataStore
Creates a [DataStore][google.cloud.discoveryengine.v1.DataStore]. DataStore is for storing [Documents][google.cloud.discoveryengine.v1.Document]. To serve these documents for Search, or Recommendation use case, an [Engine][google.cloud.discoveryengine.v1.Engine] needs to be created separately.
- Throws:
io.grpc.StatusException
-
getDataStore
Gets a [DataStore][google.cloud.discoveryengine.v1.DataStore].
- Throws:
io.grpc.StatusException
-
listDataStores
public ListDataStoresResponse listDataStores(ListDataStoresRequest request) throws io.grpc.StatusException Lists all the [DataStore][google.cloud.discoveryengine.v1.DataStore]s associated with the project.
- Throws:
io.grpc.StatusException
-
deleteDataStore
Deletes a [DataStore][google.cloud.discoveryengine.v1.DataStore].
- Throws:
io.grpc.StatusException
-
updateDataStore
Updates a [DataStore][google.cloud.discoveryengine.v1.DataStore]
- Throws:
io.grpc.StatusException
-