Class AdvisoryNotificationsServiceSettings.Builder (0.0.1)

public static class AdvisoryNotificationsServiceSettings.Builder extends ClientSettings.Builder<AdvisoryNotificationsServiceSettings,AdvisoryNotificationsServiceSettings.Builder>

Builder for AdvisoryNotificationsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AdvisoryNotificationsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AdvisoryNotificationsServiceSettings settings)

protected Builder(AdvisoryNotificationsServiceSettings settings)
Parameter
NameDescription
settingsAdvisoryNotificationsServiceSettings

Builder(AdvisoryNotificationsServiceStubSettings.Builder stubSettings)

protected Builder(AdvisoryNotificationsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAdvisoryNotificationsServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public AdvisoryNotificationsServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AdvisoryNotificationsServiceSettings.Builder

build()

public AdvisoryNotificationsServiceSettings build()
Returns
TypeDescription
AdvisoryNotificationsServiceSettings
Overrides Exceptions
TypeDescription
IOException

getNotificationSettings()

public UnaryCallSettings.Builder<GetNotificationRequest,Notification> getNotificationSettings()

Returns the builder for the settings used for calls to getNotification.

Returns
TypeDescription
Builder<GetNotificationRequest,Notification>

getStubSettingsBuilder()

public AdvisoryNotificationsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
AdvisoryNotificationsServiceStubSettings.Builder

listNotificationsSettings()

public PagedCallSettings.Builder<ListNotificationsRequest,ListNotificationsResponse,AdvisoryNotificationsServiceClient.ListNotificationsPagedResponse> listNotificationsSettings()

Returns the builder for the settings used for calls to listNotifications.

Returns
TypeDescription
Builder<ListNotificationsRequest,ListNotificationsResponse,ListNotificationsPagedResponse>