Class ServiceControllerGrpc (1.24.0)

public final class ServiceControllerGrpc

Google Service Control API Lets clients check and report operations against a managed service.

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