@Generated(value="by gRPC proto compiler", comments="Source: google/monitoring/v3/snooze_service.proto") public final class SnoozeServiceGrpc extends Object
The SnoozeService API is used to temporarily prevent an alert policy from generating alerts. A Snooze is a description of the criteria under which one or more alert policies should not fire alerts for the specified duration.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SnoozeServiceGrpc.AsyncService
The SnoozeService API is used to temporarily prevent an alert policy from
generating alerts.
|
static class |
SnoozeServiceGrpc.SnoozeServiceBlockingStub
A stub to allow clients to do synchronous rpc calls to service SnoozeService.
|
static class |
SnoozeServiceGrpc.SnoozeServiceFutureStub
A stub to allow clients to do ListenableFuture-style rpc calls to service SnoozeService.
|
static class |
SnoozeServiceGrpc.SnoozeServiceImplBase
Base class for the server implementation of the service SnoozeService.
|
static class |
SnoozeServiceGrpc.SnoozeServiceStub
A stub to allow clients to do asynchronous rpc calls to service SnoozeService.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static io.grpc.ServerServiceDefinition |
bindService(SnoozeServiceGrpc.AsyncService service) |
static io.grpc.MethodDescriptor<CreateSnoozeRequest,Snooze> |
getCreateSnoozeMethod() |
static io.grpc.MethodDescriptor<GetSnoozeRequest,Snooze> |
getGetSnoozeMethod() |
static io.grpc.MethodDescriptor<ListSnoozesRequest,ListSnoozesResponse> |
getListSnoozesMethod() |
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static io.grpc.MethodDescriptor<UpdateSnoozeRequest,Snooze> |
getUpdateSnoozeMethod() |
static SnoozeServiceGrpc.SnoozeServiceBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static SnoozeServiceGrpc.SnoozeServiceFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static SnoozeServiceGrpc.SnoozeServiceStub |
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<CreateSnoozeRequest,Snooze> getCreateSnoozeMethod()
public static io.grpc.MethodDescriptor<ListSnoozesRequest,ListSnoozesResponse> getListSnoozesMethod()
public static io.grpc.MethodDescriptor<GetSnoozeRequest,Snooze> getGetSnoozeMethod()
public static io.grpc.MethodDescriptor<UpdateSnoozeRequest,Snooze> getUpdateSnoozeMethod()
public static SnoozeServiceGrpc.SnoozeServiceStub newStub(io.grpc.Channel channel)
public static SnoozeServiceGrpc.SnoozeServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
public static SnoozeServiceGrpc.SnoozeServiceFutureStub newFutureStub(io.grpc.Channel channel)
public static final io.grpc.ServerServiceDefinition bindService(SnoozeServiceGrpc.AsyncService service)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
Copyright © 2023 Google LLC. All rights reserved.