Class ServiceControllerGrpc (1.42.0)

public final class ServiceControllerGrpc

Service Control API v2 Private Preview. This feature is only available for approved services. This API provides admission control and telemetry reporting for services that are integrated with Service Infrastructure.

Inheritance

java.lang.Object > ServiceControllerGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ServiceControllerGrpc.AsyncService service)

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

getCheckMethod()

public static MethodDescriptor<CheckRequest,CheckResponse> getCheckMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CheckRequest,CheckResponse>

getReportMethod()

public static MethodDescriptor<ReportRequest,ReportResponse> getReportMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ReportRequest,ReportResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static ServiceControllerGrpc.ServiceControllerBlockingStub 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
ServiceControllerGrpc.ServiceControllerBlockingStub

newFutureStub(Channel channel)

public static ServiceControllerGrpc.ServiceControllerFutureStub 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
ServiceControllerGrpc.ServiceControllerFutureStub

newStub(Channel channel)

public static ServiceControllerGrpc.ServiceControllerStub 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
ServiceControllerGrpc.ServiceControllerStub