Class ServiceControllerGrpc (1.22.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
TypeDescription
String

Static Methods

bindService(ServiceControllerGrpc.AsyncService service)

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

getCheckMethod()

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

getReportMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ServiceControllerGrpc.ServiceControllerStub