Class MerchantCenterAccountLinkServiceSettings.Builder (2.20.0)

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

Builder for MerchantCenterAccountLinkServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > MerchantCenterAccountLinkServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(MerchantCenterAccountLinkServiceSettings settings)

protected Builder(MerchantCenterAccountLinkServiceSettings settings)
Parameter
NameDescription
settingsMerchantCenterAccountLinkServiceSettings

Builder(MerchantCenterAccountLinkServiceStubSettings.Builder stubSettings)

protected Builder(MerchantCenterAccountLinkServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsMerchantCenterAccountLinkServiceStubSettings.Builder

Methods

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

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

build()

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

createMerchantCenterAccountLinkOperationSettings()

public OperationCallSettings.Builder<CreateMerchantCenterAccountLinkRequest,MerchantCenterAccountLink,CreateMerchantCenterAccountLinkMetadata> createMerchantCenterAccountLinkOperationSettings()

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

Returns
TypeDescription
Builder<CreateMerchantCenterAccountLinkRequest,MerchantCenterAccountLink,CreateMerchantCenterAccountLinkMetadata>

createMerchantCenterAccountLinkSettings()

public UnaryCallSettings.Builder<CreateMerchantCenterAccountLinkRequest,Operation> createMerchantCenterAccountLinkSettings()

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

Returns
TypeDescription
Builder<CreateMerchantCenterAccountLinkRequest,Operation>

deleteMerchantCenterAccountLinkSettings()

public UnaryCallSettings.Builder<DeleteMerchantCenterAccountLinkRequest,Empty> deleteMerchantCenterAccountLinkSettings()

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

Returns
TypeDescription
Builder<DeleteMerchantCenterAccountLinkRequest,Empty>

getStubSettingsBuilder()

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

listMerchantCenterAccountLinksSettings()

public UnaryCallSettings.Builder<ListMerchantCenterAccountLinksRequest,ListMerchantCenterAccountLinksResponse> listMerchantCenterAccountLinksSettings()

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

Returns
TypeDescription
Builder<ListMerchantCenterAccountLinksRequest,ListMerchantCenterAccountLinksResponse>