Class SessionControllerGrpc.SessionControllerBlockingStub (4.33.0)

public static final class SessionControllerGrpc.SessionControllerBlockingStub extends AbstractBlockingStub<SessionControllerGrpc.SessionControllerBlockingStub>

A stub to allow clients to do synchronous rpc calls to service SessionController.

The SessionController provides methods to manage interactive sessions.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > SessionControllerGrpc.SessionControllerBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected SessionControllerGrpc.SessionControllerBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
SessionControllerGrpc.SessionControllerBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createSession(CreateSessionRequest request)

public Operation createSession(CreateSessionRequest request)

Create an interactive session asynchronously.

Parameter
NameDescription
requestCreateSessionRequest
Returns
TypeDescription
Operation

deleteSession(DeleteSessionRequest request)

public Operation deleteSession(DeleteSessionRequest request)

Deletes the interactive session resource. If the session is not in terminal state, it is terminated, and then deleted.

Parameter
NameDescription
requestDeleteSessionRequest
Returns
TypeDescription
Operation

getSession(GetSessionRequest request)

public Session getSession(GetSessionRequest request)

Gets the resource representation for an interactive session.

Parameter
NameDescription
requestGetSessionRequest
Returns
TypeDescription
Session

listSessions(ListSessionsRequest request)

public ListSessionsResponse listSessions(ListSessionsRequest request)

Lists interactive sessions.

Parameter
NameDescription
requestListSessionsRequest
Returns
TypeDescription
ListSessionsResponse

terminateSession(TerminateSessionRequest request)

public Operation terminateSession(TerminateSessionRequest request)

Terminates the interactive session.

Parameter
NameDescription
requestTerminateSessionRequest
Returns
TypeDescription
Operation