Class AccountLabelsServiceSettings.Builder (0.1.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
NameDescription
clientContextClientContext

Builder(AccountLabelsServiceSettings settings)

protected Builder(AccountLabelsServiceSettings settings)
Parameter
NameDescription
settingsAccountLabelsServiceSettings

Builder(AccountLabelsServiceStubSettings.Builder stubSettings)

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

build()

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

createAccountLabelSettings()

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

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

Returns
TypeDescription
Builder<CreateAccountLabelRequest,AccountLabel>

deleteAccountLabelSettings()

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

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

Returns
TypeDescription
Builder<DeleteAccountLabelRequest,Empty>

getStubSettingsBuilder()

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

listAccountLabelsSettings()

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

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

Returns
TypeDescription
Builder<ListAccountLabelsRequest,ListAccountLabelsResponse,ListAccountLabelsPagedResponse>

updateAccountLabelSettings()

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

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

Returns
TypeDescription
Builder<UpdateAccountLabelRequest,AccountLabel>