Class SessionServiceGrpc.SessionServiceBlockingStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<SessionServiceGrpc.SessionServiceBlockingStub>
com.google.cloud.discoveryengine.v1.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.v1.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.v1.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.v1.Session] action type cannot be
       changed. If the [Session][google.cloud.discoveryengine.v1.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.v1.DataStore].