Class SessionTemplateControllerGrpc.SessionTemplateControllerFutureStub (4.43.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request CreateSessionTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SessionTemplate>

deleteSessionTemplate(DeleteSessionTemplateRequest request)

public ListenableFuture<Empty> deleteSessionTemplate(DeleteSessionTemplateRequest request)

Deletes a session template.

Parameter
Name Description
request DeleteSessionTemplateRequest
Returns
Type Description
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
Name Description
request GetSessionTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SessionTemplate>

listSessionTemplates(ListSessionTemplatesRequest request)

public ListenableFuture<ListSessionTemplatesResponse> listSessionTemplates(ListSessionTemplatesRequest request)

Lists session templates.

Parameter
Name Description
request ListSessionTemplatesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListSessionTemplatesResponse>

updateSessionTemplate(UpdateSessionTemplateRequest request)

public ListenableFuture<SessionTemplate> updateSessionTemplate(UpdateSessionTemplateRequest request)

Updates the session template synchronously.

Parameter
Name Description
request UpdateSessionTemplateRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<SessionTemplate>