Class SessionTemplateControllerGrpc.SessionTemplateControllerStub (4.32.0)

See more code actions.
public static final class SessionTemplateControllerGrpc.SessionTemplateControllerStub extends AbstractAsyncStub<SessionTemplateControllerGrpc.SessionTemplateControllerStub>

A stub to allow clients to do asynchronous rpc calls to service SessionTemplateController.

The SessionTemplateController provides methods to manage session templates.

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > SessionTemplateControllerGrpc.SessionTemplateControllerStub
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

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

createSessionTemplate(CreateSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

public void createSessionTemplate(CreateSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

Create a session template synchronously.

Parameters
NameDescription
requestCreateSessionTemplateRequest
responseObserverio.grpc.stub.StreamObserver<SessionTemplate>

deleteSessionTemplate(DeleteSessionTemplateRequest request, StreamObserver<Empty> responseObserver)

public void deleteSessionTemplate(DeleteSessionTemplateRequest request, StreamObserver<Empty> responseObserver)

Deletes a session template.

Parameters
NameDescription
requestDeleteSessionTemplateRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getSessionTemplate(GetSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

public void getSessionTemplate(GetSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

Gets the resource representation for a session template.

Parameters
NameDescription
requestGetSessionTemplateRequest
responseObserverio.grpc.stub.StreamObserver<SessionTemplate>

listSessionTemplates(ListSessionTemplatesRequest request, StreamObserver<ListSessionTemplatesResponse> responseObserver)

public void listSessionTemplates(ListSessionTemplatesRequest request, StreamObserver<ListSessionTemplatesResponse> responseObserver)

Lists session templates.

Parameters
NameDescription
requestListSessionTemplatesRequest
responseObserverio.grpc.stub.StreamObserver<ListSessionTemplatesResponse>

updateSessionTemplate(UpdateSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

public void updateSessionTemplate(UpdateSessionTemplateRequest request, StreamObserver<SessionTemplate> responseObserver)

Updates the session template synchronously.

Parameters
NameDescription
requestUpdateSessionTemplateRequest
responseObserverio.grpc.stub.StreamObserver<SessionTemplate>