Class AdvisoryNotificationsServiceStubSettings.Builder (0.0.1)

public static class AdvisoryNotificationsServiceStubSettings.Builder extends StubSettings.Builder<AdvisoryNotificationsServiceStubSettings,AdvisoryNotificationsServiceStubSettings.Builder>

Builder for AdvisoryNotificationsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AdvisoryNotificationsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AdvisoryNotificationsServiceStubSettings settings)

protected Builder(AdvisoryNotificationsServiceStubSettings settings)
Parameter
NameDescription
settingsAdvisoryNotificationsServiceStubSettings

Methods

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

public AdvisoryNotificationsServiceStubSettings.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
AdvisoryNotificationsServiceStubSettings.Builder

build()

public AdvisoryNotificationsServiceStubSettings build()
Returns
TypeDescription
AdvisoryNotificationsServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>