public static final class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub extends 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.
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected ServiceMonitoringServiceGrpc.ServiceMonitoringServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createService(CreateServiceRequest request)
public ListenableFuture<Service> createService(CreateServiceRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Service> |
|
createServiceLevelObjective(CreateServiceLevelObjectiveRequest request)
public ListenableFuture<ServiceLevelObjective> createServiceLevelObjective(CreateServiceLevelObjectiveRequest request)
Create a ServiceLevelObjective
for the given Service
.
deleteService(DeleteServiceRequest request)
public ListenableFuture<Empty> deleteService(DeleteServiceRequest request)
Soft delete this Service
.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request)
public ListenableFuture<Empty> deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request)
Delete the given ServiceLevelObjective
.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
getService(GetServiceRequest request)
public ListenableFuture<Service> getService(GetServiceRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Service> |
|
getServiceLevelObjective(GetServiceLevelObjectiveRequest request)
public ListenableFuture<ServiceLevelObjective> getServiceLevelObjective(GetServiceLevelObjectiveRequest request)
Get a ServiceLevelObjective
by name.
listServiceLevelObjectives(ListServiceLevelObjectivesRequest request)
public ListenableFuture<ListServiceLevelObjectivesResponse> listServiceLevelObjectives(ListServiceLevelObjectivesRequest request)
List the ServiceLevelObjective
s for the given Service
.
listServices(ListServicesRequest request)
public ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request)
List Service
s for this Metrics Scope.
updateService(UpdateServiceRequest request)
public ListenableFuture<Service> updateService(UpdateServiceRequest request)
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Service> |
|
updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request)
public ListenableFuture<ServiceLevelObjective> updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request)
Update the given ServiceLevelObjective
.