Class ResourceSettingsServiceSettings.Builder (1.27.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
NameDescription
clientContextClientContext

Builder(ResourceSettingsServiceSettings settings)

protected Builder(ResourceSettingsServiceSettings settings)
Parameter
NameDescription
settingsResourceSettingsServiceSettings

Builder(ResourceSettingsServiceStubSettings.Builder stubSettings)

protected Builder(ResourceSettingsServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsResourceSettingsServiceStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ResourceSettingsServiceSettings.Builder

build()

public ResourceSettingsServiceSettings build()
Returns
TypeDescription
ResourceSettingsServiceSettings
Overrides
Exceptions
TypeDescription
IOException

getSettingSettings()

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

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

Returns
TypeDescription
Builder<GetSettingRequest,Setting>

getStubSettingsBuilder()

public ResourceSettingsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
ResourceSettingsServiceStubSettings.Builder

listSettingsSettings()

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

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

Returns
TypeDescription
Builder<ListSettingsRequest,ListSettingsResponse,ListSettingsPagedResponse>

updateSettingSettings()

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

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

Returns
TypeDescription
Builder<UpdateSettingRequest,Setting>