Package com.google.monitoring.v3
Class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub>
com.google.monitoring.v3.ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub
- Enclosing class:
- ServiceMonitoringServiceGrpc
public static final class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub
extends io.grpc.stub.AbstractAsyncStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ServiceMonitoringService.
The Cloud Monitoring Service-Oriented Monitoring API has endpoints for managing and querying aspects of a Metrics Scope's services. These include the `Service`'s monitored resources, its Service-Level Objectives, and a taxonomy of categorized Health Metrics.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcreateService(CreateServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver) Create a `Service`.voidcreateServiceLevelObjective(CreateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver) Create a `ServiceLevelObjective` for the given `Service`.voiddeleteService(DeleteServiceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Soft delete this `Service`.voiddeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Delete the given `ServiceLevelObjective`.voidgetService(GetServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver) Get the named `Service`.voidgetServiceLevelObjective(GetServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver) Get a `ServiceLevelObjective` by name.voidlistServiceLevelObjectives(ListServiceLevelObjectivesRequest request, io.grpc.stub.StreamObserver<ListServiceLevelObjectivesResponse> responseObserver) List the `ServiceLevelObjective`s for the given `Service`.voidlistServices(ListServicesRequest request, io.grpc.stub.StreamObserver<ListServicesResponse> responseObserver) List `Service`s for this Metrics Scope.voidupdateService(UpdateServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver) Update this `Service`.voidupdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver) Update the given `ServiceLevelObjective`.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub>
-
createService
public void createService(CreateServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver) Create a `Service`.
-
getService
public void getService(GetServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver) Get the named `Service`.
-
listServices
public void listServices(ListServicesRequest request, io.grpc.stub.StreamObserver<ListServicesResponse> responseObserver) List `Service`s for this Metrics Scope.
-
updateService
public void updateService(UpdateServiceRequest request, io.grpc.stub.StreamObserver<Service> responseObserver) Update this `Service`.
-
deleteService
public void deleteService(DeleteServiceRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Soft delete this `Service`.
-
createServiceLevelObjective
public void createServiceLevelObjective(CreateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver) Create a `ServiceLevelObjective` for the given `Service`.
-
getServiceLevelObjective
public void getServiceLevelObjective(GetServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver) Get a `ServiceLevelObjective` by name.
-
listServiceLevelObjectives
public void listServiceLevelObjectives(ListServiceLevelObjectivesRequest request, io.grpc.stub.StreamObserver<ListServiceLevelObjectivesResponse> responseObserver) List the `ServiceLevelObjective`s for the given `Service`.
-
updateServiceLevelObjective
public void updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<ServiceLevelObjective> responseObserver) Update the given `ServiceLevelObjective`.
-
deleteServiceLevelObjective
public void deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Delete the given `ServiceLevelObjective`.
-