Class AdvisoryNotificationsServiceSettings.Builder (0.32.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
Name Description
clientContext ClientContext

Builder(AdvisoryNotificationsServiceSettings settings)

protected Builder(AdvisoryNotificationsServiceSettings settings)
Parameter
Name Description
settings AdvisoryNotificationsServiceSettings

Builder(AdvisoryNotificationsServiceStubSettings.Builder stubSettings)

protected Builder(AdvisoryNotificationsServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AdvisoryNotificationsServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
AdvisoryNotificationsServiceSettings.Builder

build()

public AdvisoryNotificationsServiceSettings build()
Returns
Type Description
AdvisoryNotificationsServiceSettings
Overrides
Exceptions
Type Description
IOException

getNotificationSettings()

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

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

Returns
Type Description
Builder<GetNotificationRequest,Notification>

getSettingsSettings()

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

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

Returns
Type Description
Builder<GetSettingsRequest,Settings>

getStubSettingsBuilder()

public AdvisoryNotificationsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
AdvisoryNotificationsServiceStubSettings.Builder

listNotificationsSettings()

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

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

Returns
Type Description
Builder<ListNotificationsRequest,ListNotificationsResponse,ListNotificationsPagedResponse>

updateSettingsSettings()

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

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

Returns
Type Description
Builder<UpdateSettingsRequest,Settings>