Class BandwidthGroupServiceSettings.Builder (0.27.0)

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

Builder for BandwidthGroupServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > BandwidthGroupServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(BandwidthGroupServiceSettings settings)

protected Builder(BandwidthGroupServiceSettings settings)
Parameter
Name Description
settings BandwidthGroupServiceSettings

Builder(BandwidthGroupServiceStubSettings.Builder stubSettings)

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

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getBandwidthGroupSettings()

public UnaryCallSettings.Builder<GetBandwidthGroupRequest,BandwidthGroup> getBandwidthGroupSettings()

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

Returns
Type Description
Builder<GetBandwidthGroupRequest,BandwidthGroup>

getStubSettingsBuilder()

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

listBandwidthGroupsSettings()

public PagedCallSettings.Builder<ListBandwidthGroupsRequest,ListBandwidthGroupsResponse,BandwidthGroupServiceClient.ListBandwidthGroupsPagedResponse> listBandwidthGroupsSettings()

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

Returns
Type Description
Builder<ListBandwidthGroupsRequest,ListBandwidthGroupsResponse,ListBandwidthGroupsPagedResponse>