Class ResourceSettingsServiceStubSettings.Builder (1.44.0)

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

Builder for ResourceSettingsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ResourceSettingsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ResourceSettingsServiceStubSettings settings)

protected Builder(ResourceSettingsServiceStubSettings settings)
Parameter
Name Description
settings ResourceSettingsServiceStubSettings

Methods

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

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

build()

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

getSettingSettings()

public UnaryCallSettings.Builder<GetSettingRequest,Setting> getSettingSettings()

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

Returns
Type Description
Builder<GetSettingRequest,Setting>

listSettingsSettings()

public PagedCallSettings.Builder<ListSettingsRequest,ListSettingsResponse,ResourceSettingsServiceClient.ListSettingsPagedResponse> listSettingsSettings()

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

Returns
Type Description
Builder<ListSettingsRequest,ListSettingsResponse,ListSettingsPagedResponse>

unaryMethodSettingsBuilders()

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

updateSettingSettings()

public UnaryCallSettings.Builder<UpdateSettingRequest,Setting> updateSettingSettings()

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

Returns
Type Description
Builder<UpdateSettingRequest,Setting>