Class AccountLabelsServiceSettings.Builder (0.21.0)

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

Builder for AccountLabelsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AccountLabelsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AccountLabelsServiceSettings settings)

protected Builder(AccountLabelsServiceSettings settings)
Parameter
Name Description
settings AccountLabelsServiceSettings

Builder(AccountLabelsServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createAccountLabelSettings()

public UnaryCallSettings.Builder<CreateAccountLabelRequest,AccountLabel> createAccountLabelSettings()

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

Returns
Type Description
Builder<CreateAccountLabelRequest,AccountLabel>

deleteAccountLabelSettings()

public UnaryCallSettings.Builder<DeleteAccountLabelRequest,Empty> deleteAccountLabelSettings()

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

Returns
Type Description
Builder<DeleteAccountLabelRequest,Empty>

getStubSettingsBuilder()

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

listAccountLabelsSettings()

public PagedCallSettings.Builder<ListAccountLabelsRequest,ListAccountLabelsResponse,AccountLabelsServiceClient.ListAccountLabelsPagedResponse> listAccountLabelsSettings()

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

Returns
Type Description
Builder<ListAccountLabelsRequest,ListAccountLabelsResponse,ListAccountLabelsPagedResponse>

updateAccountLabelSettings()

public UnaryCallSettings.Builder<UpdateAccountLabelRequest,AccountLabel> updateAccountLabelSettings()

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

Returns
Type Description
Builder<UpdateAccountLabelRequest,AccountLabel>