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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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>
|
addLinks(MerchantCenterLink value)
public MerchantCenterLinkingConfig.Builder addLinks(MerchantCenterLink value)
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
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;
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;
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;
addLinksBuilder()
public MerchantCenterLink.Builder addLinksBuilder()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MerchantCenterLinkingConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public MerchantCenterLinkingConfig build()
buildPartial()
public MerchantCenterLinkingConfig buildPartial()
clear()
public MerchantCenterLinkingConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public MerchantCenterLinkingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLinks()
public MerchantCenterLinkingConfig.Builder clearLinks()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public MerchantCenterLinkingConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public MerchantCenterLinkingConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public MerchantCenterLinkingConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
getLinksBuilderList()
public List<MerchantCenterLink.Builder> getLinksBuilderList()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
getLinksCount()
public int getLinksCount()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Returns |
---|
Type | Description |
int | |
getLinksList()
public List<MerchantCenterLink> getLinksList()
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
getLinksOrBuilder(int index)
public MerchantCenterLinkOrBuilder getLinksOrBuilder(int index)
Links between Merchant Center accounts and branches.
repeated .google.cloud.retail.v2alpha.MerchantCenterLink links = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(MerchantCenterLinkingConfig other)
public MerchantCenterLinkingConfig.Builder mergeFrom(MerchantCenterLinkingConfig other)
public MerchantCenterLinkingConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public MerchantCenterLinkingConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MerchantCenterLinkingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public MerchantCenterLinkingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MerchantCenterLinkingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MerchantCenterLinkingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides