Class ResourceSettingsServiceStubSettings.Builder (1.14.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
NameDescription
clientContextClientContext

Builder(ResourceSettingsServiceStubSettings settings)

protected Builder(ResourceSettingsServiceStubSettings settings)
Parameter
NameDescription
settingsResourceSettingsServiceStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
ResourceSettingsServiceStubSettings.Builder

build()

public ResourceSettingsServiceStubSettings build()
Returns
TypeDescription
ResourceSettingsServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
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
TypeDescription
Builder<UpdateSettingRequest,Setting>