Class SessionControllerGrpc.SessionControllerBlockingStub (4.51.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateSessionRequest
Returns
Type Description
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
Name Description
request DeleteSessionRequest
Returns
Type Description
Operation

getSession(GetSessionRequest request)

public Session getSession(GetSessionRequest request)

Gets the resource representation for an interactive session.

Parameter
Name Description
request GetSessionRequest
Returns
Type Description
Session

listSessions(ListSessionsRequest request)

public ListSessionsResponse listSessions(ListSessionsRequest request)

Lists interactive sessions.

Parameter
Name Description
request ListSessionsRequest
Returns
Type Description
ListSessionsResponse

terminateSession(TerminateSessionRequest request)

public Operation terminateSession(TerminateSessionRequest request)

Terminates the interactive session.

Parameter
Name Description
request TerminateSessionRequest
Returns
Type Description
Operation