Class ControlServiceGrpc (0.50.0)

public final class ControlServiceGrpc

Service for performing CRUD operations on Controls. Controls allow for custom logic to be implemented in the serving path. Controls need to be attached to a Serving Config to be considered during a request.

Inheritance

java.lang.Object > ControlServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ControlServiceGrpc.AsyncService service)

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

getCreateControlMethod()

public static MethodDescriptor<CreateControlRequest,Control> getCreateControlMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateControlRequest,Control>

getDeleteControlMethod()

public static MethodDescriptor<DeleteControlRequest,Empty> getDeleteControlMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteControlRequest,Empty>

getGetControlMethod()

public static MethodDescriptor<GetControlRequest,Control> getGetControlMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetControlRequest,Control>

getListControlsMethod()

public static MethodDescriptor<ListControlsRequest,ListControlsResponse> getListControlsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListControlsRequest,ListControlsResponse>

getServiceDescriptor()

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

getUpdateControlMethod()

public static MethodDescriptor<UpdateControlRequest,Control> getUpdateControlMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateControlRequest,Control>

newBlockingStub(Channel channel)

public static ControlServiceGrpc.ControlServiceBlockingStub 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
ControlServiceGrpc.ControlServiceBlockingStub

newFutureStub(Channel channel)

public static ControlServiceGrpc.ControlServiceFutureStub 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
ControlServiceGrpc.ControlServiceFutureStub

newStub(Channel channel)

public static ControlServiceGrpc.ControlServiceStub 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
ControlServiceGrpc.ControlServiceStub