Class AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceStub (0.23.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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestGetNotificationRequest
responseObserverio.grpc.stub.StreamObserver<Notification>

getSettings(GetSettingsRequest request, StreamObserver<Settings> responseObserver)

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

Get notification settings.

Parameters
NameDescription
requestGetSettingsRequest
responseObserverio.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
NameDescription
requestListNotificationsRequest
responseObserverio.grpc.stub.StreamObserver<ListNotificationsResponse>

updateSettings(UpdateSettingsRequest request, StreamObserver<Settings> responseObserver)

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

Update notification settings.

Parameters
NameDescription
requestUpdateSettingsRequest
responseObserverio.grpc.stub.StreamObserver<Settings>