Class SnoozeServiceGrpc (3.13.0)

public final class 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.

Inheritance

java.lang.Object > SnoozeServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

getCreateSnoozeMethod()

public static MethodDescriptor<CreateSnoozeRequest,Snooze> getCreateSnoozeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<CreateSnoozeRequest,Snooze>

getGetSnoozeMethod()

public static MethodDescriptor<GetSnoozeRequest,Snooze> getGetSnoozeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetSnoozeRequest,Snooze>

getListSnoozesMethod()

public static MethodDescriptor<ListSnoozesRequest,ListSnoozesResponse> getListSnoozesMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListSnoozesRequest,ListSnoozesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getUpdateSnoozeMethod()

public static MethodDescriptor<UpdateSnoozeRequest,Snooze> getUpdateSnoozeMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateSnoozeRequest,Snooze>

newBlockingStub(Channel channel)

public static SnoozeServiceGrpc.SnoozeServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SnoozeServiceGrpc.SnoozeServiceBlockingStub

newFutureStub(Channel channel)

public static SnoozeServiceGrpc.SnoozeServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SnoozeServiceGrpc.SnoozeServiceFutureStub

newStub(Channel channel)

public static SnoozeServiceGrpc.SnoozeServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
SnoozeServiceGrpc.SnoozeServiceStub