Package com.google.monitoring.v3
Class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub>
com.google.monitoring.v3.ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub
- Enclosing class:
- ServiceMonitoringServiceGrpc
public static final class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<Service>createService(CreateServiceRequest request) Create a `Service`.com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective>Create a `ServiceLevelObjective` for the given `Service`.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteService(DeleteServiceRequest request) Soft delete this `Service`.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Delete the given `ServiceLevelObjective`.com.google.common.util.concurrent.ListenableFuture<Service>getService(GetServiceRequest request) Get the named `Service`.com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective>Get a `ServiceLevelObjective` by name.com.google.common.util.concurrent.ListenableFuture<ListServiceLevelObjectivesResponse>List the `ServiceLevelObjective`s for the given `Service`.com.google.common.util.concurrent.ListenableFuture<ListServicesResponse>listServices(ListServicesRequest request) List `Service`s for this Metrics Scope.com.google.common.util.concurrent.ListenableFuture<Service>updateService(UpdateServiceRequest request) Update this `Service`.com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective>Update the given `ServiceLevelObjective`.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.ServiceMonitoringServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub>
-
createService
public com.google.common.util.concurrent.ListenableFuture<Service> createService(CreateServiceRequest request) Create a `Service`.
-
getService
public com.google.common.util.concurrent.ListenableFuture<Service> getService(GetServiceRequest request) Get the named `Service`.
-
listServices
public com.google.common.util.concurrent.ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request) List `Service`s for this Metrics Scope.
-
updateService
public com.google.common.util.concurrent.ListenableFuture<Service> updateService(UpdateServiceRequest request) Update this `Service`.
-
deleteService
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteService(DeleteServiceRequest request) Soft delete this `Service`.
-
createServiceLevelObjective
public com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective> createServiceLevelObjective(CreateServiceLevelObjectiveRequest request) Create a `ServiceLevelObjective` for the given `Service`.
-
getServiceLevelObjective
public com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective> getServiceLevelObjective(GetServiceLevelObjectiveRequest request) Get a `ServiceLevelObjective` by name.
-
listServiceLevelObjectives
public com.google.common.util.concurrent.ListenableFuture<ListServiceLevelObjectivesResponse> listServiceLevelObjectives(ListServiceLevelObjectivesRequest request) List the `ServiceLevelObjective`s for the given `Service`.
-
updateServiceLevelObjective
public com.google.common.util.concurrent.ListenableFuture<ServiceLevelObjective> updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request) Update the given `ServiceLevelObjective`.
-
deleteServiceLevelObjective
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request) Delete the given `ServiceLevelObjective`.
-