Class AdvisoryNotificationsServiceGrpc (0.20.0)

public final class AdvisoryNotificationsServiceGrpc

Service to manage Security and Privacy Notifications.

Inheritance

java.lang.Object > AdvisoryNotificationsServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
TypeDescription
String

Static Methods

bindService(AdvisoryNotificationsServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(AdvisoryNotificationsServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceAdvisoryNotificationsServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getGetNotificationMethod()

public static MethodDescriptor<GetNotificationRequest,Notification> getGetNotificationMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetNotificationRequest,Notification>

getGetSettingsMethod()

public static MethodDescriptor<GetSettingsRequest,Settings> getGetSettingsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<GetSettingsRequest,Settings>

getListNotificationsMethod()

public static MethodDescriptor<ListNotificationsRequest,ListNotificationsResponse> getListNotificationsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<ListNotificationsRequest,ListNotificationsResponse>

getServiceDescriptor()

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

getUpdateSettingsMethod()

public static MethodDescriptor<UpdateSettingsRequest,Settings> getUpdateSettingsMethod()
Returns
TypeDescription
io.grpc.MethodDescriptor<UpdateSettingsRequest,Settings>

newBlockingStub(Channel channel)

public static AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceBlockingStub 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
AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceBlockingStub

newFutureStub(Channel channel)

public static AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceFutureStub newFutureStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceFutureStub

newStub(Channel channel)

public static AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceStub newStub(Channel channel)

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

Parameter
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceStub