Class DataStoreServiceGrpc.DataStoreServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<DataStoreServiceGrpc.DataStoreServiceStub>
com.google.cloud.discoveryengine.v1beta.DataStoreServiceGrpc.DataStoreServiceStub
Enclosing class:
DataStoreServiceGrpc

public static final class DataStoreServiceGrpc.DataStoreServiceStub extends io.grpc.stub.AbstractAsyncStub<DataStoreServiceGrpc.DataStoreServiceStub>
A stub to allow clients to do asynchronous rpc calls to service DataStoreService.
 Service for managing
 [DataStore][google.cloud.discoveryengine.v1beta.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 Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    void
    createDataStore(CreateDataStoreRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Creates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].
    void
    deleteDataStore(DeleteDataStoreRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Deletes a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].
    void
    getDataStore(GetDataStoreRequest request, io.grpc.stub.StreamObserver<DataStore> responseObserver)
    Gets a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].
    void
    listDataStores(ListDataStoresRequest request, io.grpc.stub.StreamObserver<ListDataStoresResponse> responseObserver)
    Lists all the [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s associated with the project.
    void
    updateDataStore(UpdateDataStoreRequest request, io.grpc.stub.StreamObserver<DataStore> responseObserver)
    Updates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore]

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected DataStoreServiceGrpc.DataStoreServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<DataStoreServiceGrpc.DataStoreServiceStub>
    • createDataStore

      public void createDataStore(CreateDataStoreRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Creates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].
       DataStore is for storing
       [Documents][google.cloud.discoveryengine.v1beta.Document]. To serve these
       documents for Search, or Recommendation use case, an
       [Engine][google.cloud.discoveryengine.v1beta.Engine] needs to be created
       separately.
       
    • getDataStore

      public void getDataStore(GetDataStoreRequest request, io.grpc.stub.StreamObserver<DataStore> responseObserver)
       Gets a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].
       
    • listDataStores

      public void listDataStores(ListDataStoresRequest request, io.grpc.stub.StreamObserver<ListDataStoresResponse> responseObserver)
       Lists all the [DataStore][google.cloud.discoveryengine.v1beta.DataStore]s
       associated with the project.
       
    • deleteDataStore

      public void deleteDataStore(DeleteDataStoreRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Deletes a [DataStore][google.cloud.discoveryengine.v1beta.DataStore].
       
    • updateDataStore

      public void updateDataStore(UpdateDataStoreRequest request, io.grpc.stub.StreamObserver<DataStore> responseObserver)
       Updates a [DataStore][google.cloud.discoveryengine.v1beta.DataStore]