Class SessionServiceGrpc (0.66.0)

public final class SessionServiceGrpc

Service for managing Sessions and Session-related resources.

Inheritance

java.lang.Object > SessionServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(SessionServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(SessionServiceGrpc.AsyncService service)
Parameter
Name Description
service SessionServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateSessionMethod()

public static MethodDescriptor<CreateSessionRequest,Session> getCreateSessionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateSessionRequest,Session>

getDeleteSessionMethod()

public static MethodDescriptor<DeleteSessionRequest,Empty> getDeleteSessionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteSessionRequest,Empty>

getGetSessionMethod()

public static MethodDescriptor<GetSessionRequest,Session> getGetSessionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetSessionRequest,Session>

getListSessionsMethod()

public static MethodDescriptor<ListSessionsRequest,ListSessionsResponse> getListSessionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListSessionsRequest,ListSessionsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateSessionMethod()

public static MethodDescriptor<UpdateSessionRequest,Session> getUpdateSessionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateSessionRequest,Session>

newBlockingStub(Channel channel)

public static SessionServiceGrpc.SessionServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SessionServiceGrpc.SessionServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static SessionServiceGrpc.SessionServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SessionServiceGrpc.SessionServiceBlockingV2Stub

newFutureStub(Channel channel)

public static SessionServiceGrpc.SessionServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SessionServiceGrpc.SessionServiceFutureStub

newStub(Channel channel)

public static SessionServiceGrpc.SessionServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
SessionServiceGrpc.SessionServiceStub