public class GrpcAdvisoryNotificationsServiceStub extends AdvisoryNotificationsServiceStub
gRPC stub implementation for the AdvisoryNotificationsService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcAdvisoryNotificationsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcAdvisoryNotificationsServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(AdvisoryNotificationsServiceStubSettings settings)
public static final GrpcAdvisoryNotificationsServiceStub create(AdvisoryNotificationsServiceStubSettings settings)
Constructors
GrpcAdvisoryNotificationsServiceStub(AdvisoryNotificationsServiceStubSettings settings, ClientContext clientContext)
protected GrpcAdvisoryNotificationsServiceStub(AdvisoryNotificationsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcAdvisoryNotificationsServiceStub, using the given settings. This
is protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
GrpcAdvisoryNotificationsServiceStub(AdvisoryNotificationsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcAdvisoryNotificationsServiceStub(AdvisoryNotificationsServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAdvisoryNotificationsServiceStub, using the given settings. This
is protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
getNotificationCallable()
public UnaryCallable<GetNotificationRequest,Notification> getNotificationCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listNotificationsCallable()
public UnaryCallable<ListNotificationsRequest,ListNotificationsResponse> listNotificationsCallable()
Overrides
listNotificationsPagedCallable()
public UnaryCallable<ListNotificationsRequest,AdvisoryNotificationsServiceClient.ListNotificationsPagedResponse> listNotificationsPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()