@Generated(value="by gRPC proto compiler", comments="Source: google/monitoring/v3/alert_service.proto") public final class AlertPolicyServiceGrpc extends Object
The AlertPolicyService API is used to manage (list, create, delete, edit) alert policies in Cloud Monitoring. An alerting policy is a description of the conditions under which some aspect of your system is considered to be "unhealthy" and the ways to notify people or services about this state. In addition to using this API, alert policies can also be managed through [Cloud Monitoring](https://cloud.google.com/monitoring/docs/), which can be reached by clicking the "Monitoring" tab in [Cloud console](https://console.cloud.google.com/).
| Modifier and Type | Class and Description |
|---|---|
static class |
AlertPolicyServiceGrpc.AlertPolicyServiceBlockingStub
A stub to allow clients to do synchronous rpc calls to service AlertPolicyService.
|
static class |
AlertPolicyServiceGrpc.AlertPolicyServiceFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service AlertPolicyService.
|
static class |
AlertPolicyServiceGrpc.AlertPolicyServiceImplBase
Base class for the server implementation of the service AlertPolicyService.
|
static class |
AlertPolicyServiceGrpc.AlertPolicyServiceStub
A stub to allow clients to do asynchronous rpc calls to service AlertPolicyService.
|
static interface |
AlertPolicyServiceGrpc.AsyncService
The AlertPolicyService API is used to manage (list, create, delete,
edit) alert policies in Cloud Monitoring.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static io.grpc.ServerServiceDefinition |
bindService(AlertPolicyServiceGrpc.AsyncService service) |
static io.grpc.MethodDescriptor<CreateAlertPolicyRequest,AlertPolicy> |
getCreateAlertPolicyMethod() |
static io.grpc.MethodDescriptor<DeleteAlertPolicyRequest,com.google.protobuf.Empty> |
getDeleteAlertPolicyMethod() |
static io.grpc.MethodDescriptor<GetAlertPolicyRequest,AlertPolicy> |
getGetAlertPolicyMethod() |
static io.grpc.MethodDescriptor<ListAlertPoliciesRequest,ListAlertPoliciesResponse> |
getListAlertPoliciesMethod() |
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static io.grpc.MethodDescriptor<UpdateAlertPolicyRequest,AlertPolicy> |
getUpdateAlertPolicyMethod() |
static AlertPolicyServiceGrpc.AlertPolicyServiceBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static AlertPolicyServiceGrpc.AlertPolicyServiceFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static AlertPolicyServiceGrpc.AlertPolicyServiceStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static final String SERVICE_NAME
public static io.grpc.MethodDescriptor<ListAlertPoliciesRequest,ListAlertPoliciesResponse> getListAlertPoliciesMethod()
public static io.grpc.MethodDescriptor<GetAlertPolicyRequest,AlertPolicy> getGetAlertPolicyMethod()
public static io.grpc.MethodDescriptor<CreateAlertPolicyRequest,AlertPolicy> getCreateAlertPolicyMethod()
public static io.grpc.MethodDescriptor<DeleteAlertPolicyRequest,com.google.protobuf.Empty> getDeleteAlertPolicyMethod()
public static io.grpc.MethodDescriptor<UpdateAlertPolicyRequest,AlertPolicy> getUpdateAlertPolicyMethod()
public static AlertPolicyServiceGrpc.AlertPolicyServiceStub newStub(io.grpc.Channel channel)
public static AlertPolicyServiceGrpc.AlertPolicyServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
public static AlertPolicyServiceGrpc.AlertPolicyServiceFutureStub newFutureStub(io.grpc.Channel channel)
public static final io.grpc.ServerServiceDefinition bindService(AlertPolicyServiceGrpc.AsyncService service)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
Copyright © 2024 Google LLC. All rights reserved.