public static class AdvisoryNotificationsServiceStubSettings.Builder extends StubSettings.Builder<AdvisoryNotificationsServiceStubSettings,AdvisoryNotificationsServiceStubSettings.Builder>
Builder for AdvisoryNotificationsServiceStubSettings.
Inheritance
java.lang.Object > StubSettings.Builder > AdvisoryNotificationsServiceStubSettings.BuilderConstructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter | |
---|---|
Name | Description |
clientContext | ClientContext |
Builder(AdvisoryNotificationsServiceStubSettings settings)
protected Builder(AdvisoryNotificationsServiceStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings | AdvisoryNotificationsServiceStubSettings |
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 | |
---|---|
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Returns | |
---|---|
Type | Description |
AdvisoryNotificationsServiceStubSettings.Builder |
build()
public AdvisoryNotificationsServiceStubSettings build()
Returns | |
---|---|
Type | Description |
AdvisoryNotificationsServiceStubSettings |
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> |
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> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns | |
---|---|
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
updateSettingsSettings()
public UnaryCallSettings.Builder<UpdateSettingsRequest,Settings> updateSettingsSettings()
Returns the builder for the settings used for calls to updateSettings.
Returns | |
---|---|
Type | Description |
Builder<UpdateSettingsRequest,Settings> |