Class AdvisoryNotificationsServiceGrpc.AdvisoryNotificationsServiceStub (0.6.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>

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>