Package com.google.cloud.retail.v2beta
Class MerchantCenterLink.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
- com.google.cloud.retail.v2beta.MerchantCenterLink.Builder
-
- All Implemented Interfaces:
MerchantCenterLinkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MerchantCenterLink
public static final class MerchantCenterLink.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder> implements MerchantCenterLinkOrBuilder
Represents a link between a Merchant Center account and a branch. Once a link is established, products from the linked merchant center account will be streamed to the linked branch.
Protobuf typegoogle.cloud.retail.v2beta.MerchantCenterLink
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MerchantCenterLink.BuilderaddAllDestinations(Iterable<String> values)String representing the destination to import for, all if left empty.MerchantCenterLink.BuilderaddAllFeeds(Iterable<? extends MerchantCenterFeedFilter> values)Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.BuilderaddDestinations(String value)String representing the destination to import for, all if left empty.MerchantCenterLink.BuilderaddDestinationsBytes(com.google.protobuf.ByteString value)String representing the destination to import for, all if left empty.MerchantCenterLink.BuilderaddFeeds(int index, MerchantCenterFeedFilter value)Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.BuilderaddFeeds(int index, MerchantCenterFeedFilter.Builder builderForValue)Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.BuilderaddFeeds(MerchantCenterFeedFilter value)Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.BuilderaddFeeds(MerchantCenterFeedFilter.Builder builderForValue)Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterFeedFilter.BuilderaddFeedsBuilder()Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterFeedFilter.BuilderaddFeedsBuilder(int index)Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MerchantCenterLinkbuild()MerchantCenterLinkbuildPartial()MerchantCenterLink.Builderclear()MerchantCenterLink.BuilderclearBranchId()The branch ID (e.g.MerchantCenterLink.BuilderclearDestinations()String representing the destination to import for, all if left empty.MerchantCenterLink.BuilderclearFeeds()Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MerchantCenterLink.BuilderclearLanguageCode()Language of the title/description and other string attributes.MerchantCenterLink.BuilderclearMerchantCenterAccountId()Required.MerchantCenterLink.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MerchantCenterLink.BuilderclearRegionCode()Region code of offers to accept.MerchantCenterLink.Builderclone()StringgetBranchId()The branch ID (e.g.com.google.protobuf.ByteStringgetBranchIdBytes()The branch ID (e.g.MerchantCenterLinkgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDestinations(int index)String representing the destination to import for, all if left empty.com.google.protobuf.ByteStringgetDestinationsBytes(int index)String representing the destination to import for, all if left empty.intgetDestinationsCount()String representing the destination to import for, all if left empty.com.google.protobuf.ProtocolStringListgetDestinationsList()String representing the destination to import for, all if left empty.MerchantCenterFeedFiltergetFeeds(int index)Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterFeedFilter.BuildergetFeedsBuilder(int index)Criteria for the Merchant Center feeds to be ingested via the link.List<MerchantCenterFeedFilter.Builder>getFeedsBuilderList()Criteria for the Merchant Center feeds to be ingested via the link.intgetFeedsCount()Criteria for the Merchant Center feeds to be ingested via the link.List<MerchantCenterFeedFilter>getFeedsList()Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterFeedFilterOrBuildergetFeedsOrBuilder(int index)Criteria for the Merchant Center feeds to be ingested via the link.List<? extends MerchantCenterFeedFilterOrBuilder>getFeedsOrBuilderList()Criteria for the Merchant Center feeds to be ingested via the link.StringgetLanguageCode()Language of the title/description and other string attributes.com.google.protobuf.ByteStringgetLanguageCodeBytes()Language of the title/description and other string attributes.longgetMerchantCenterAccountId()Required.StringgetRegionCode()Region code of offers to accept.com.google.protobuf.ByteStringgetRegionCodeBytes()Region code of offers to accept.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MerchantCenterLink.BuildermergeFrom(MerchantCenterLink other)MerchantCenterLink.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MerchantCenterLink.BuildermergeFrom(com.google.protobuf.Message other)MerchantCenterLink.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MerchantCenterLink.BuilderremoveFeeds(int index)Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.BuildersetBranchId(String value)The branch ID (e.g.MerchantCenterLink.BuildersetBranchIdBytes(com.google.protobuf.ByteString value)The branch ID (e.g.MerchantCenterLink.BuildersetDestinations(int index, String value)String representing the destination to import for, all if left empty.MerchantCenterLink.BuildersetFeeds(int index, MerchantCenterFeedFilter value)Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.BuildersetFeeds(int index, MerchantCenterFeedFilter.Builder builderForValue)Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MerchantCenterLink.BuildersetLanguageCode(String value)Language of the title/description and other string attributes.MerchantCenterLink.BuildersetLanguageCodeBytes(com.google.protobuf.ByteString value)Language of the title/description and other string attributes.MerchantCenterLink.BuildersetMerchantCenterAccountId(long value)Required.MerchantCenterLink.BuildersetRegionCode(String value)Region code of offers to accept.MerchantCenterLink.BuildersetRegionCodeBytes(com.google.protobuf.ByteString value)Region code of offers to accept.MerchantCenterLink.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MerchantCenterLink.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
clear
public MerchantCenterLink.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
getDefaultInstanceForType
public MerchantCenterLink getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MerchantCenterLink build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MerchantCenterLink buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MerchantCenterLink.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
setField
public MerchantCenterLink.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
clearField
public MerchantCenterLink.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
clearOneof
public MerchantCenterLink.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
setRepeatedField
public MerchantCenterLink.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
addRepeatedField
public MerchantCenterLink.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
mergeFrom
public MerchantCenterLink.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MerchantCenterLink.Builder>
-
mergeFrom
public MerchantCenterLink.Builder mergeFrom(MerchantCenterLink other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
mergeFrom
public MerchantCenterLink.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MerchantCenterLink.Builder>- Throws:
IOException
-
getMerchantCenterAccountId
public long getMerchantCenterAccountId()
Required. The linked [Merchant center account ID](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.
int64 merchant_center_account_id = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMerchantCenterAccountIdin interfaceMerchantCenterLinkOrBuilder- Returns:
- The merchantCenterAccountId.
-
setMerchantCenterAccountId
public MerchantCenterLink.Builder setMerchantCenterAccountId(long value)
Required. The linked [Merchant center account ID](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.
int64 merchant_center_account_id = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The merchantCenterAccountId to set.- Returns:
- This builder for chaining.
-
clearMerchantCenterAccountId
public MerchantCenterLink.Builder clearMerchantCenterAccountId()
Required. The linked [Merchant center account ID](https://developers.google.com/shopping-content/guides/accountstatuses). The account must be a standalone account or a sub-account of a MCA.
int64 merchant_center_account_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getBranchId
public String getBranchId()
The branch ID (e.g. 0/1/2) within this catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked merchant center account ID.
string branch_id = 2;- Specified by:
getBranchIdin interfaceMerchantCenterLinkOrBuilder- Returns:
- The branchId.
-
getBranchIdBytes
public com.google.protobuf.ByteString getBranchIdBytes()
The branch ID (e.g. 0/1/2) within this catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked merchant center account ID.
string branch_id = 2;- Specified by:
getBranchIdBytesin interfaceMerchantCenterLinkOrBuilder- Returns:
- The bytes for branchId.
-
setBranchId
public MerchantCenterLink.Builder setBranchId(String value)
The branch ID (e.g. 0/1/2) within this catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked merchant center account ID.
string branch_id = 2;- Parameters:
value- The branchId to set.- Returns:
- This builder for chaining.
-
clearBranchId
public MerchantCenterLink.Builder clearBranchId()
The branch ID (e.g. 0/1/2) within this catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked merchant center account ID.
string branch_id = 2;- Returns:
- This builder for chaining.
-
setBranchIdBytes
public MerchantCenterLink.Builder setBranchIdBytes(com.google.protobuf.ByteString value)
The branch ID (e.g. 0/1/2) within this catalog that products from merchant_center_account_id are streamed to. When updating this field, an empty value will use the currently configured default branch. However, changing the default branch later on won't change the linked branch here. A single branch ID can only have one linked merchant center account ID.
string branch_id = 2;- Parameters:
value- The bytes for branchId to set.- Returns:
- This builder for chaining.
-
getDestinationsList
public com.google.protobuf.ProtocolStringList getDestinationsList()
String representing the destination to import for, all if left empty. List of possible values is given in [Included destination](https://support.google.com/merchants/answer/7501026). List of allowed string values: "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings", "Free_local_listings" NOTE: The string values are case sensitive.
repeated string destinations = 3;- Specified by:
getDestinationsListin interfaceMerchantCenterLinkOrBuilder- Returns:
- A list containing the destinations.
-
getDestinationsCount
public int getDestinationsCount()
String representing the destination to import for, all if left empty. List of possible values is given in [Included destination](https://support.google.com/merchants/answer/7501026). List of allowed string values: "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings", "Free_local_listings" NOTE: The string values are case sensitive.
repeated string destinations = 3;- Specified by:
getDestinationsCountin interfaceMerchantCenterLinkOrBuilder- Returns:
- The count of destinations.
-
getDestinations
public String getDestinations(int index)
String representing the destination to import for, all if left empty. List of possible values is given in [Included destination](https://support.google.com/merchants/answer/7501026). List of allowed string values: "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings", "Free_local_listings" NOTE: The string values are case sensitive.
repeated string destinations = 3;- Specified by:
getDestinationsin interfaceMerchantCenterLinkOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The destinations at the given index.
-
getDestinationsBytes
public com.google.protobuf.ByteString getDestinationsBytes(int index)
String representing the destination to import for, all if left empty. List of possible values is given in [Included destination](https://support.google.com/merchants/answer/7501026). List of allowed string values: "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings", "Free_local_listings" NOTE: The string values are case sensitive.
repeated string destinations = 3;- Specified by:
getDestinationsBytesin interfaceMerchantCenterLinkOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the destinations at the given index.
-
setDestinations
public MerchantCenterLink.Builder setDestinations(int index, String value)
String representing the destination to import for, all if left empty. List of possible values is given in [Included destination](https://support.google.com/merchants/answer/7501026). List of allowed string values: "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings", "Free_local_listings" NOTE: The string values are case sensitive.
repeated string destinations = 3;- Parameters:
index- The index to set the value at.value- The destinations to set.- Returns:
- This builder for chaining.
-
addDestinations
public MerchantCenterLink.Builder addDestinations(String value)
String representing the destination to import for, all if left empty. List of possible values is given in [Included destination](https://support.google.com/merchants/answer/7501026). List of allowed string values: "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings", "Free_local_listings" NOTE: The string values are case sensitive.
repeated string destinations = 3;- Parameters:
value- The destinations to add.- Returns:
- This builder for chaining.
-
addAllDestinations
public MerchantCenterLink.Builder addAllDestinations(Iterable<String> values)
String representing the destination to import for, all if left empty. List of possible values is given in [Included destination](https://support.google.com/merchants/answer/7501026). List of allowed string values: "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings", "Free_local_listings" NOTE: The string values are case sensitive.
repeated string destinations = 3;- Parameters:
values- The destinations to add.- Returns:
- This builder for chaining.
-
clearDestinations
public MerchantCenterLink.Builder clearDestinations()
String representing the destination to import for, all if left empty. List of possible values is given in [Included destination](https://support.google.com/merchants/answer/7501026). List of allowed string values: "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings", "Free_local_listings" NOTE: The string values are case sensitive.
repeated string destinations = 3;- Returns:
- This builder for chaining.
-
addDestinationsBytes
public MerchantCenterLink.Builder addDestinationsBytes(com.google.protobuf.ByteString value)
String representing the destination to import for, all if left empty. List of possible values is given in [Included destination](https://support.google.com/merchants/answer/7501026). List of allowed string values: "Shopping_ads", "Buy_on_google_listings", "Display_ads", "Local_inventory _ads", "Free_listings", "Free_local_listings" NOTE: The string values are case sensitive.
repeated string destinations = 3;- Parameters:
value- The bytes of the destinations to add.- Returns:
- This builder for chaining.
-
getRegionCode
public String getRegionCode()
Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found [here](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) under the `region` tag. If left blank no region filtering will be performed. Example value: `US`.
string region_code = 4;- Specified by:
getRegionCodein interfaceMerchantCenterLinkOrBuilder- Returns:
- The regionCode.
-
getRegionCodeBytes
public com.google.protobuf.ByteString getRegionCodeBytes()
Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found [here](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) under the `region` tag. If left blank no region filtering will be performed. Example value: `US`.
string region_code = 4;- Specified by:
getRegionCodeBytesin interfaceMerchantCenterLinkOrBuilder- Returns:
- The bytes for regionCode.
-
setRegionCode
public MerchantCenterLink.Builder setRegionCode(String value)
Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found [here](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) under the `region` tag. If left blank no region filtering will be performed. Example value: `US`.
string region_code = 4;- Parameters:
value- The regionCode to set.- Returns:
- This builder for chaining.
-
clearRegionCode
public MerchantCenterLink.Builder clearRegionCode()
Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found [here](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) under the `region` tag. If left blank no region filtering will be performed. Example value: `US`.
string region_code = 4;- Returns:
- This builder for chaining.
-
setRegionCodeBytes
public MerchantCenterLink.Builder setRegionCodeBytes(com.google.protobuf.ByteString value)
Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found [here](https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry) under the `region` tag. If left blank no region filtering will be performed. Example value: `US`.
string region_code = 4;- Parameters:
value- The bytes for regionCode to set.- Returns:
- This builder for chaining.
-
getLanguageCode
public String getLanguageCode()
Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed. Example value: `en`.
string language_code = 5;- Specified by:
getLanguageCodein interfaceMerchantCenterLinkOrBuilder- Returns:
- The languageCode.
-
getLanguageCodeBytes
public com.google.protobuf.ByteString getLanguageCodeBytes()
Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed. Example value: `en`.
string language_code = 5;- Specified by:
getLanguageCodeBytesin interfaceMerchantCenterLinkOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
public MerchantCenterLink.Builder setLanguageCode(String value)
Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed. Example value: `en`.
string language_code = 5;- Parameters:
value- The languageCode to set.- Returns:
- This builder for chaining.
-
clearLanguageCode
public MerchantCenterLink.Builder clearLanguageCode()
Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed. Example value: `en`.
string language_code = 5;- Returns:
- This builder for chaining.
-
setLanguageCodeBytes
public MerchantCenterLink.Builder setLanguageCodeBytes(com.google.protobuf.ByteString value)
Language of the title/description and other string attributes. Use language tags defined by [BCP 47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). ISO 639-1. This specifies the language of offers in Merchant Center that will be accepted. If empty no language filtering will be performed. Example value: `en`.
string language_code = 5;- Parameters:
value- The bytes for languageCode to set.- Returns:
- This builder for chaining.
-
getFeedsList
public List<MerchantCenterFeedFilter> getFeedsList()
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;- Specified by:
getFeedsListin interfaceMerchantCenterLinkOrBuilder
-
getFeedsCount
public int getFeedsCount()
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;- Specified by:
getFeedsCountin interfaceMerchantCenterLinkOrBuilder
-
getFeeds
public MerchantCenterFeedFilter getFeeds(int index)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;- Specified by:
getFeedsin interfaceMerchantCenterLinkOrBuilder
-
setFeeds
public MerchantCenterLink.Builder setFeeds(int index, MerchantCenterFeedFilter value)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
setFeeds
public MerchantCenterLink.Builder setFeeds(int index, MerchantCenterFeedFilter.Builder builderForValue)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
addFeeds
public MerchantCenterLink.Builder addFeeds(MerchantCenterFeedFilter value)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
addFeeds
public MerchantCenterLink.Builder addFeeds(int index, MerchantCenterFeedFilter value)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
addFeeds
public MerchantCenterLink.Builder addFeeds(MerchantCenterFeedFilter.Builder builderForValue)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
addFeeds
public MerchantCenterLink.Builder addFeeds(int index, MerchantCenterFeedFilter.Builder builderForValue)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
addAllFeeds
public MerchantCenterLink.Builder addAllFeeds(Iterable<? extends MerchantCenterFeedFilter> values)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
clearFeeds
public MerchantCenterLink.Builder clearFeeds()
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
removeFeeds
public MerchantCenterLink.Builder removeFeeds(int index)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
getFeedsBuilder
public MerchantCenterFeedFilter.Builder getFeedsBuilder(int index)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
getFeedsOrBuilder
public MerchantCenterFeedFilterOrBuilder getFeedsOrBuilder(int index)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;- Specified by:
getFeedsOrBuilderin interfaceMerchantCenterLinkOrBuilder
-
getFeedsOrBuilderList
public List<? extends MerchantCenterFeedFilterOrBuilder> getFeedsOrBuilderList()
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;- Specified by:
getFeedsOrBuilderListin interfaceMerchantCenterLinkOrBuilder
-
addFeedsBuilder
public MerchantCenterFeedFilter.Builder addFeedsBuilder()
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
addFeedsBuilder
public MerchantCenterFeedFilter.Builder addFeedsBuilder(int index)
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
getFeedsBuilderList
public List<MerchantCenterFeedFilter.Builder> getFeedsBuilderList()
Criteria for the Merchant Center feeds to be ingested via the link. All offers will be ingested if the list is empty. Otherwise the offers will be ingested from selected feeds.
repeated .google.cloud.retail.v2beta.MerchantCenterFeedFilter feeds = 6;
-
setUnknownFields
public final MerchantCenterLink.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
mergeUnknownFields
public final MerchantCenterLink.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
-