Class MerchantCenterAccountLinkServiceStubSettings.Builder (2.42.0)

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

Builder for MerchantCenterAccountLinkServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > MerchantCenterAccountLinkServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(MerchantCenterAccountLinkServiceStubSettings settings)

protected Builder(MerchantCenterAccountLinkServiceStubSettings settings)
Parameter
NameDescription
settingsMerchantCenterAccountLinkServiceStubSettings

Methods

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

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

build()

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

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

listMerchantCenterAccountLinksSettings()

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

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

Returns
TypeDescription
Builder<ListMerchantCenterAccountLinksRequest,ListMerchantCenterAccountLinksResponse>

unaryMethodSettingsBuilders()

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