Class MerchantCenterAccountLinkServiceSettings.Builder (2.47.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
Name Description
clientContext ClientContext

Builder(MerchantCenterAccountLinkServiceSettings settings)

protected Builder(MerchantCenterAccountLinkServiceSettings settings)
Parameter
Name Description
settings MerchantCenterAccountLinkServiceSettings

Builder(MerchantCenterAccountLinkServiceStubSettings.Builder stubSettings)

protected Builder(MerchantCenterAccountLinkServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings MerchantCenterAccountLinkServiceStubSettings.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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
MerchantCenterAccountLinkServiceSettings.Builder

build()

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

createMerchantCenterAccountLinkOperationSettings()

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

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

Returns
Type Description
Builder<CreateMerchantCenterAccountLinkRequest,MerchantCenterAccountLink,CreateMerchantCenterAccountLinkMetadata>

createMerchantCenterAccountLinkSettings()

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

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

Returns
Type Description
Builder<CreateMerchantCenterAccountLinkRequest,Operation>

deleteMerchantCenterAccountLinkSettings()

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

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

Returns
Type Description
Builder<DeleteMerchantCenterAccountLinkRequest,Empty>

getStubSettingsBuilder()

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

listMerchantCenterAccountLinksSettings()

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

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

Returns
Type Description
Builder<ListMerchantCenterAccountLinksRequest,ListMerchantCenterAccountLinksResponse>