Send feedback
Class MerchantCenterLinkingConfig.Builder (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.0 keyboard_arrow_down
public static final class MerchantCenterLinkingConfig . Builder extends GeneratedMessageV3 . Builder<MerchantCenterLinkingConfig . Builder > implements MerchantCenterLinkingConfigOrBuilder
Configures Merchant Center linking.
Links contained in the config will be used to sync data from a Merchant
Center account to a Cloud Retail branch.
Protobuf type google.cloud.retail.v2alpha.MerchantCenterLinkingConfig
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addAllLinks(Iterable<? extends MerchantCenterLink> values)
public MerchantCenterLinkingConfig . Builder addAllLinks ( Iterable <? extends MerchantCenterLink > values )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameter
Name Description values Iterable <? extends com.google.cloud.retail.v2alpha.MerchantCenterLink >
Returns
addLinks(MerchantCenterLink value)
public MerchantCenterLinkingConfig . Builder addLinks ( MerchantCenterLink value )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameter
Returns
addLinks(MerchantCenterLink.Builder builderForValue)
public MerchantCenterLinkingConfig . Builder addLinks ( MerchantCenterLink . Builder builderForValue )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameter
Returns
addLinks(int index, MerchantCenterLink value)
public MerchantCenterLinkingConfig . Builder addLinks ( int index , MerchantCenterLink value )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameters
Returns
addLinks(int index, MerchantCenterLink.Builder builderForValue)
public MerchantCenterLinkingConfig . Builder addLinks ( int index , MerchantCenterLink . Builder builderForValue )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameters
Returns
addLinksBuilder()
public MerchantCenterLink . Builder addLinksBuilder ()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Returns
addLinksBuilder(int index)
public MerchantCenterLink . Builder addLinksBuilder ( int index )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MerchantCenterLinkingConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public MerchantCenterLinkingConfig build ()
Returns
buildPartial()
public MerchantCenterLinkingConfig buildPartial ()
Returns
clear()
public MerchantCenterLinkingConfig . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public MerchantCenterLinkingConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearLinks()
public MerchantCenterLinkingConfig . Builder clearLinks ()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public MerchantCenterLinkingConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public MerchantCenterLinkingConfig . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public MerchantCenterLinkingConfig getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getLinks(int index)
public MerchantCenterLink getLinks ( int index )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameter
Returns
getLinksBuilder(int index)
public MerchantCenterLink . Builder getLinksBuilder ( int index )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameter
Returns
getLinksBuilderList()
public List<MerchantCenterLink . Builder > getLinksBuilderList ()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Returns
getLinksCount()
public int getLinksCount ()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Returns
getLinksList()
public List<MerchantCenterLink> getLinksList ()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Returns
getLinksOrBuilder(int index)
public MerchantCenterLinkOrBuilder getLinksOrBuilder ( int index )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameter
Returns
getLinksOrBuilderList()
public List <? extends MerchantCenterLinkOrBuilder > getLinksOrBuilderList ()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Returns
Type Description List <? extends com.google.cloud.retail.v2alpha.MerchantCenterLinkOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(MerchantCenterLinkingConfig other)
public MerchantCenterLinkingConfig . Builder mergeFrom ( MerchantCenterLinkingConfig other )
Parameter
Returns
public MerchantCenterLinkingConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MerchantCenterLinkingConfig . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MerchantCenterLinkingConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeLinks(int index)
public MerchantCenterLinkingConfig . Builder removeLinks ( int index )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MerchantCenterLinkingConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setLinks(int index, MerchantCenterLink value)
public MerchantCenterLinkingConfig . Builder setLinks ( int index , MerchantCenterLink value )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameters
Returns
setLinks(int index, MerchantCenterLink.Builder builderForValue)
public MerchantCenterLinkingConfig . Builder setLinks ( int index , MerchantCenterLink . Builder builderForValue )
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MerchantCenterLinkingConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MerchantCenterLinkingConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]