Class SessionTemplateControllerGrpc.SessionTemplateControllerFutureStub (4.33.0)

public static final class SessionTemplateControllerGrpc.SessionTemplateControllerFutureStub extends AbstractFutureStub<SessionTemplateControllerGrpc.SessionTemplateControllerFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service SessionTemplateController.

The SessionTemplateController provides methods to manage session templates.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > SessionTemplateControllerGrpc.SessionTemplateControllerFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createSessionTemplate(CreateSessionTemplateRequest request)

public ListenableFuture<SessionTemplate> createSessionTemplate(CreateSessionTemplateRequest request)

Create a session template synchronously.

Parameter
NameDescription
requestCreateSessionTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SessionTemplate>

deleteSessionTemplate(DeleteSessionTemplateRequest request)

public ListenableFuture<Empty> deleteSessionTemplate(DeleteSessionTemplateRequest request)

Deletes a session template.

Parameter
NameDescription
requestDeleteSessionTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Empty>

getSessionTemplate(GetSessionTemplateRequest request)

public ListenableFuture<SessionTemplate> getSessionTemplate(GetSessionTemplateRequest request)

Gets the resource representation for a session template.

Parameter
NameDescription
requestGetSessionTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SessionTemplate>

listSessionTemplates(ListSessionTemplatesRequest request)

public ListenableFuture<ListSessionTemplatesResponse> listSessionTemplates(ListSessionTemplatesRequest request)

Lists session templates.

Parameter
NameDescription
requestListSessionTemplatesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListSessionTemplatesResponse>

updateSessionTemplate(UpdateSessionTemplateRequest request)

public ListenableFuture<SessionTemplate> updateSessionTemplate(UpdateSessionTemplateRequest request)

Updates the session template synchronously.

Parameter
NameDescription
requestUpdateSessionTemplateRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SessionTemplate>