public class HttpJsonAdvisoryNotificationsServiceStub extends AdvisoryNotificationsServiceStub
REST 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 HttpJsonAdvisoryNotificationsServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonAdvisoryNotificationsServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(AdvisoryNotificationsServiceStubSettings settings)
public static final HttpJsonAdvisoryNotificationsServiceStub create(AdvisoryNotificationsServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonAdvisoryNotificationsServiceStub(AdvisoryNotificationsServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonAdvisoryNotificationsServiceStub(AdvisoryNotificationsServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonAdvisoryNotificationsServiceStub, 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.
HttpJsonAdvisoryNotificationsServiceStub(AdvisoryNotificationsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonAdvisoryNotificationsServiceStub(AdvisoryNotificationsServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAdvisoryNotificationsServiceStub, 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
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()