Class AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceFutureStub (0.29.0)

public static final class AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceFutureStub extends AbstractFutureStub<AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service AdvisoryNotificationsService.

Service to manage Security and Privacy Notifications.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

getNotification(GetNotificationRequest request)

public ListenableFuture<Notification> getNotification(GetNotificationRequest request)

Gets a notification.

Parameter
NameDescription
requestGetNotificationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Notification>

getSettings(GetSettingsRequest request)

public ListenableFuture<Settings> getSettings(GetSettingsRequest request)

Get notification settings.

Parameter
NameDescription
requestGetSettingsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Settings>

listNotifications(ListNotificationsRequest request)

public ListenableFuture<ListNotificationsResponse> listNotifications(ListNotificationsRequest request)

Lists notifications under a given parent.

Parameter
NameDescription
requestListNotificationsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListNotificationsResponse>

updateSettings(UpdateSettingsRequest request)

public ListenableFuture<Settings> updateSettings(UpdateSettingsRequest request)

Update notification settings.

Parameter
NameDescription
requestUpdateSettingsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Settings>