Class ContextsGrpc (4.47.0)

public final class ContextsGrpc

Service for managing Contexts.

Inheritance

java.lang.Object > ContextsGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(ContextsGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ContextsGrpc.AsyncService service)
Parameter
NameDescription
serviceContextsGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateContextMethod()

public static MethodDescriptor<CreateContextRequest,Context> getCreateContextMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateContextRequest,Context>

getDeleteAllContextsMethod()

public static MethodDescriptor<DeleteAllContextsRequest,Empty> getDeleteAllContextsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteAllContextsRequest,Empty>

getDeleteContextMethod()

public static MethodDescriptor<DeleteContextRequest,Empty> getDeleteContextMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteContextRequest,Empty>

getGetContextMethod()

public static MethodDescriptor<GetContextRequest,Context> getGetContextMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetContextRequest,Context>

getListContextsMethod()

public static MethodDescriptor<ListContextsRequest,ListContextsResponse> getListContextsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListContextsRequest,ListContextsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateContextMethod()

public static MethodDescriptor<UpdateContextRequest,Context> getUpdateContextMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateContextRequest,Context>

newBlockingStub(Channel channel)

public static ContextsGrpc.ContextsBlockingStub newBlockingStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ContextsGrpc.ContextsBlockingStub

newFutureStub(Channel channel)

public static ContextsGrpc.ContextsFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ContextsGrpc.ContextsFutureStub

newStub(Channel channel)

public static ContextsGrpc.ContextsStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ContextsGrpc.ContextsStub