Class AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceStub (0.34.0)

public static final class AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceStub extends AbstractAsyncStub<AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceStub>

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

Service to manage Security and Privacy Notifications.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceStub

Methods

build(Channel channel, CallOptions callOptions)

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

getNotification(GetNotificationRequest request, StreamObserver<Notification> responseObserver)

public void getNotification(GetNotificationRequest request, StreamObserver<Notification> responseObserver)

Gets a notification.

Parameters
Name Description
request GetNotificationRequest
responseObserver io.grpc.stub.StreamObserver<Notification>

getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

public void getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

Get notification settings.

Parameters
Name Description
request GetSettingsRequest
responseObserver io.grpc.stub.StreamObserver<Settings>

listNotifications(ListNotificationsRequest request, StreamObserver<ListNotificationsResponse> responseObserver)

public void listNotifications(ListNotificationsRequest request, StreamObserver<ListNotificationsResponse> responseObserver)

Lists notifications under a given parent.

Parameters
Name Description
request ListNotificationsRequest
responseObserver io.grpc.stub.StreamObserver<ListNotificationsResponse>

updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

public void updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

Update notification settings.

Parameters
Name Description
request UpdateSettingsRequest
responseObserver io.grpc.stub.StreamObserver<Settings>