public static class AdvisoryNotificationsServiceSettings.Builder extends ClientSettings.Builder<AdvisoryNotificationsServiceSettings,AdvisoryNotificationsServiceSettings.Builder>
Builder for AdvisoryNotificationsServiceSettings.
Inheritance
java.lang.Object > ClientSettings.Builder > AdvisoryNotificationsServiceSettings.BuilderConstructors
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 |
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> |
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> |