Class AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceBlockingV2Stub (0.52.0)

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

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.AdvisoryNotificationsServiceBlockingV2Stub

Methods

build(Channel channel, CallOptions callOptions)

protected AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceBlockingV2Stub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getNotification(GetNotificationRequest request)

public Notification getNotification(GetNotificationRequest request)

Gets a notification.

Parameter
Name Description
request GetNotificationRequest
Returns
Type Description
Notification

getSettings(GetSettingsRequest request)

public Settings getSettings(GetSettingsRequest request)

Get notification settings.

Parameter
Name Description
request GetSettingsRequest
Returns
Type Description
Settings

listNotifications(ListNotificationsRequest request)

public ListNotificationsResponse listNotifications(ListNotificationsRequest request)

Lists notifications under a given parent.

Parameter
Name Description
request ListNotificationsRequest
Returns
Type Description
ListNotificationsResponse

updateSettings(UpdateSettingsRequest request)

public Settings updateSettings(UpdateSettingsRequest request)

Update notification settings.

Parameter
Name Description
request UpdateSettingsRequest
Returns
Type Description
Settings