Class AdvisoryNotificationsServiceSettings.Builder (0.23.0)

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>

getSettingsSettings()

public UnaryCallSettings.Builder<GetSettingsRequest,Settings> getSettingsSettings()

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

Returns
TypeDescription
Builder<GetSettingsRequest,Settings>

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>

updateSettingsSettings()

public UnaryCallSettings.Builder<UpdateSettingsRequest,Settings> updateSettingsSettings()

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

Returns
TypeDescription
Builder<UpdateSettingsRequest,Settings>