Class ResourceSettingsServiceSettings.Builder (1.43.0)

public static class ResourceSettingsServiceSettings.Builder extends ClientSettings.Builder<ResourceSettingsServiceSettings,ResourceSettingsServiceSettings.Builder>

Builder for ResourceSettingsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ResourceSettingsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ResourceSettingsServiceSettings settings)

protected Builder(ResourceSettingsServiceSettings settings)
Parameter
Name Description
settings ResourceSettingsServiceSettings

Builder(ResourceSettingsServiceStubSettings.Builder stubSettings)

protected Builder(ResourceSettingsServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ResourceSettingsServiceStubSettings.Builder

Methods

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

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

build()

public ResourceSettingsServiceSettings build()
Returns
Type Description
ResourceSettingsServiceSettings
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>

getStubSettingsBuilder()

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

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>

updateSettingSettings()

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

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

Returns
Type Description
Builder<UpdateSettingRequest,Setting>