Class ContextsGrpc (4.24.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
Type Description
String

Static Methods

bindService(ContextsGrpc.AsyncService service)

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

getCreateContextMethod()

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

getDeleteAllContextsMethod()

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

getDeleteContextMethod()

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

getGetContextMethod()

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

getListContextsMethod()

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

getServiceDescriptor()

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

getUpdateContextMethod()

public static MethodDescriptor<UpdateContextRequest,Context> getUpdateContextMethod()
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
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
Name Description
channel io.grpc.Channel
Returns
Type Description
ContextsGrpc.ContextsStub