Class AccountLabelsServiceStubSettings.Builder (0.16.0)

public static class AccountLabelsServiceStubSettings.Builder extends StubSettings.Builder<AccountLabelsServiceStubSettings,AccountLabelsServiceStubSettings.Builder>

Builder for AccountLabelsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AccountLabelsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AccountLabelsServiceStubSettings settings)

protected Builder(AccountLabelsServiceStubSettings settings)
Parameter
Name Description
settings AccountLabelsServiceStubSettings

Methods

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

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

build()

public AccountLabelsServiceStubSettings build()
Returns
Type Description
AccountLabelsServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>

updateAccountLabelSettings()

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

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

Returns
Type Description
Builder<UpdateAccountLabelRequest,AccountLabel>