Package com.google.monitoring.v3
Class SnoozeServiceGrpc
- java.lang.Object
-
- com.google.monitoring.v3.SnoozeServiceGrpc
-
@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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSnoozeServiceGrpc.AsyncServiceThe SnoozeService API is used to temporarily prevent an alert policy from generating alerts.static classSnoozeServiceGrpc.SnoozeServiceBlockingStubA stub to allow clients to do synchronous rpc calls to service SnoozeService.static classSnoozeServiceGrpc.SnoozeServiceFutureStubA stub to allow clients to do ListenableFuture-style rpc calls to service SnoozeService.static classSnoozeServiceGrpc.SnoozeServiceImplBaseBase class for the server implementation of the service SnoozeService.static classSnoozeServiceGrpc.SnoozeServiceStubA stub to allow clients to do asynchronous rpc calls to service SnoozeService.
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.grpc.ServerServiceDefinitionbindService(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.ServiceDescriptorgetServiceDescriptor()static io.grpc.MethodDescriptor<UpdateSnoozeRequest,Snooze>getUpdateSnoozeMethod()static SnoozeServiceGrpc.SnoozeServiceBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic SnoozeServiceGrpc.SnoozeServiceFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic SnoozeServiceGrpc.SnoozeServiceStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCreateSnoozeMethod
public static io.grpc.MethodDescriptor<CreateSnoozeRequest,Snooze> getCreateSnoozeMethod()
-
getListSnoozesMethod
public static io.grpc.MethodDescriptor<ListSnoozesRequest,ListSnoozesResponse> getListSnoozesMethod()
-
getGetSnoozeMethod
public static io.grpc.MethodDescriptor<GetSnoozeRequest,Snooze> getGetSnoozeMethod()
-
getUpdateSnoozeMethod
public static io.grpc.MethodDescriptor<UpdateSnoozeRequest,Snooze> getUpdateSnoozeMethod()
-
newStub
public static SnoozeServiceGrpc.SnoozeServiceStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static SnoozeServiceGrpc.SnoozeServiceBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static SnoozeServiceGrpc.SnoozeServiceFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
bindService
public static final io.grpc.ServerServiceDefinition bindService(SnoozeServiceGrpc.AsyncService service)
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-