public static final class ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub extends AbstractAsyncStub<ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub>
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 >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractAsyncStub >
ServiceMonitoringServiceGrpc.ServiceMonitoringServiceStub
Inherited Members
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<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.ServiceMonitoringServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name | Description |
channel | io.grpc.Channel
|
callOptions | io.grpc.CallOptions
|
Returns
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createService(CreateServiceRequest request, StreamObserver<Service> responseObserver)
public void createService(CreateServiceRequest request, StreamObserver<Service> responseObserver)
Parameters
createServiceLevelObjective(CreateServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)
public void createServiceLevelObjective(CreateServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)
Create a ServiceLevelObjective
for the given Service
.
Parameters
deleteService(DeleteServiceRequest request, StreamObserver<Empty> responseObserver)
public void deleteService(DeleteServiceRequest request, StreamObserver<Empty> responseObserver)
Soft delete this Service
.
Parameters
deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, StreamObserver<Empty> responseObserver)
public void deleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, StreamObserver<Empty> responseObserver)
Delete the given ServiceLevelObjective
.
Parameters
getService(GetServiceRequest request, StreamObserver<Service> responseObserver)
public void getService(GetServiceRequest request, StreamObserver<Service> responseObserver)
Parameters
getServiceLevelObjective(GetServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)
public void getServiceLevelObjective(GetServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)
Get a ServiceLevelObjective
by name.
Parameters
listServiceLevelObjectives(ListServiceLevelObjectivesRequest request, StreamObserver<ListServiceLevelObjectivesResponse> responseObserver)
public void listServiceLevelObjectives(ListServiceLevelObjectivesRequest request, StreamObserver<ListServiceLevelObjectivesResponse> responseObserver)
List the ServiceLevelObjective
s for the given Service
.
Parameters
listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)
public void listServices(ListServicesRequest request, StreamObserver<ListServicesResponse> responseObserver)
List Service
s for this workspace.
Parameters
updateService(UpdateServiceRequest request, StreamObserver<Service> responseObserver)
public void updateService(UpdateServiceRequest request, StreamObserver<Service> responseObserver)
Parameters
updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)
public void updateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, StreamObserver<ServiceLevelObjective> responseObserver)
Update the given ServiceLevelObjective
.
Parameters