Class ServiceMonitoringServiceGrpc (3.21.0)

public final class ServiceMonitoringServiceGrpc

The Cloud Monitoring Service-Oriented Monitoring API has endpoints for managing and querying aspects of a workspace's services. These include the Service's monitored resources, its Service-Level Objectives, and a taxonomy of categorized Health Metrics.

Inheritance

java.lang.Object > ServiceMonitoringServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(ServiceMonitoringServiceGrpc.AsyncService service)

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

getCreateServiceLevelObjectiveMethod()

public static MethodDescriptor<CreateServiceLevelObjectiveRequest,ServiceLevelObjective> getCreateServiceLevelObjectiveMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateServiceLevelObjectiveRequest,ServiceLevelObjective>

getCreateServiceMethod()

public static MethodDescriptor<CreateServiceRequest,Service> getCreateServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateServiceRequest,Service>

getDeleteServiceLevelObjectiveMethod()

public static MethodDescriptor<DeleteServiceLevelObjectiveRequest,Empty> getDeleteServiceLevelObjectiveMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteServiceLevelObjectiveRequest,Empty>

getDeleteServiceMethod()

public static MethodDescriptor<DeleteServiceRequest,Empty> getDeleteServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<DeleteServiceRequest,Empty>

getGetServiceLevelObjectiveMethod()

public static MethodDescriptor<GetServiceLevelObjectiveRequest,ServiceLevelObjective> getGetServiceLevelObjectiveMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetServiceLevelObjectiveRequest,ServiceLevelObjective>

getGetServiceMethod()

public static MethodDescriptor<GetServiceRequest,Service> getGetServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetServiceRequest,Service>

getListServiceLevelObjectivesMethod()

public static MethodDescriptor<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesResponse> getListServiceLevelObjectivesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListServiceLevelObjectivesRequest,ListServiceLevelObjectivesResponse>

getListServicesMethod()

public static MethodDescriptor<ListServicesRequest,ListServicesResponse> getListServicesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListServicesRequest,ListServicesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateServiceLevelObjectiveMethod()

public static MethodDescriptor<UpdateServiceLevelObjectiveRequest,ServiceLevelObjective> getUpdateServiceLevelObjectiveMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateServiceLevelObjectiveRequest,ServiceLevelObjective>

getUpdateServiceMethod()

public static MethodDescriptor<UpdateServiceRequest,Service> getUpdateServiceMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateServiceRequest,Service>

newBlockingStub(Channel channel)

public static ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingStub 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
ServiceMonitoringServiceGrpc.ServiceMonitoringServiceBlockingStub

newFutureStub(Channel channel)

public static ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub

newStub(Channel channel)

public static ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub