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

Builder(AccountLabelsServiceStubSettings settings)

protected Builder(AccountLabelsServiceStubSettings settings)
Parameter
NameDescription
settingsAccountLabelsServiceStubSettings

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

build()

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

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>

unaryMethodSettingsBuilders()

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