Class AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceBlockingStub (0.5.0)

public static final class AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceBlockingStub extends AbstractBlockingStub<AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service AdvisoryNotificationsService.

Service to manage Security and Privacy Notifications.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getNotification(GetNotificationRequest request)

public Notification getNotification(GetNotificationRequest request)

Gets a notification.

Parameter
NameDescription
requestGetNotificationRequest
Returns
TypeDescription
Notification

listNotifications(ListNotificationsRequest request)

public ListNotificationsResponse listNotifications(ListNotificationsRequest request)

Lists notifications under a given parent.

Parameter
NameDescription
requestListNotificationsRequest
Returns
TypeDescription
ListNotificationsResponse