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.v2beta.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.v2beta.MerchantCenterLink links = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.retail.v2beta.MerchantCenterLink>
|
Returns
addLinks(MerchantCenterLink value)
public MerchantCenterLinkingConfig.Builder addLinks(MerchantCenterLink value)
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.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.v2beta.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.v2beta.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.v2beta.MerchantCenterLink links = 1;
Parameters
Returns
addLinksBuilder()
public MerchantCenterLink.Builder addLinksBuilder()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.MerchantCenterLink links = 1;
Returns
addLinksBuilder(int index)
public MerchantCenterLink.Builder addLinksBuilder(int index)
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.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.v2beta.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.v2beta.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.v2beta.MerchantCenterLink links = 1;
Parameter
Returns
getLinksBuilderList()
public List<MerchantCenterLink.Builder> getLinksBuilderList()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.MerchantCenterLink links = 1;
Returns
getLinksCount()
public int getLinksCount()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.MerchantCenterLink links = 1;
Returns
getLinksList()
public List<MerchantCenterLink> getLinksList()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.MerchantCenterLink links = 1;
Returns
getLinksOrBuilder(int index)
public MerchantCenterLinkOrBuilder getLinksOrBuilder(int index)
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.MerchantCenterLink links = 1;
Parameter
Returns
getLinksOrBuilderList()
public List<? extends MerchantCenterLinkOrBuilder> getLinksOrBuilderList()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2beta.MerchantCenterLink links = 1;
Returns
Type | Description |
List<? extends com.google.cloud.retail.v2beta.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.v2beta.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.v2beta.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.v2beta.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