Package com.google.monitoring.v3
Class SnoozeServiceGrpc
java.lang.Object
com.google.monitoring.v3.SnoozeServiceGrpc
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 ClassesModifier and TypeClassDescriptionstatic interfaceThe SnoozeService API is used to temporarily prevent an alert policy from generating alerts.static final classA stub to allow clients to do limited synchronous rpc calls to service SnoozeService.static final classA stub to allow clients to do synchronous rpc calls to service SnoozeService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service SnoozeService.static classBase class for the server implementation of the service SnoozeService.static final classA stub to allow clients to do asynchronous rpc calls to service SnoozeService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<CreateSnoozeRequest,Snooze> static io.grpc.MethodDescriptor<GetSnoozeRequest,Snooze> static io.grpc.MethodDescriptor<ListSnoozesRequest,ListSnoozesResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<UpdateSnoozeRequest,Snooze> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getCreateSnoozeMethod
-
getListSnoozesMethod
public static io.grpc.MethodDescriptor<ListSnoozesRequest,ListSnoozesResponse> getListSnoozesMethod() -
getGetSnoozeMethod
-
getUpdateSnoozeMethod
-
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static SnoozeServiceGrpc.SnoozeServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
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()
-