Class SessionServiceGrpc.SessionServiceBlockingStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SessionServiceGrpc.SessionServiceBlockingStub>
com.google.cloud.discoveryengine.v1alpha.SessionServiceGrpc.SessionServiceBlockingStub
Enclosing class:
SessionServiceGrpc

public static final class SessionServiceGrpc.SessionServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub<SessionServiceGrpc.SessionServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service SessionService.
 Service for managing Sessions and Session-related resources.
 
  • Method Details

    • build

      protected SessionServiceGrpc.SessionServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<SessionServiceGrpc.SessionServiceBlockingStub>
    • createSession

      public Session createSession(CreateSessionRequest request)
       Creates a Session.
       If the [Session][google.cloud.discoveryengine.v1alpha.Session] to create
       already exists, an ALREADY_EXISTS error is returned.
       
    • deleteSession

      public com.google.protobuf.Empty deleteSession(DeleteSessionRequest request)
       Deletes a Session.
       If the [Session][google.cloud.discoveryengine.v1alpha.Session] to delete
       does not exist, a NOT_FOUND error is returned.
       
    • updateSession

      public Session updateSession(UpdateSessionRequest request)
       Updates a Session.
       [Session][google.cloud.discoveryengine.v1alpha.Session] action type cannot
       be changed. If the [Session][google.cloud.discoveryengine.v1alpha.Session]
       to update does not exist, a NOT_FOUND error is returned.
       
    • getSession

      public Session getSession(GetSessionRequest request)
       Gets a Session.
       
    • listSessions

      public ListSessionsResponse listSessions(ListSessionsRequest request)
       Lists all Sessions by their parent
       [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].
       
    • listFiles

      public ListFilesResponse listFiles(ListFilesRequest request)
       Lists metadata for all files in the current session.