Package com.google.cloud.retail.v2alpha
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.v2alpha.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.v2alpha.MerchantCenterLink
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MerchantCenterLink.Builder
addAllDestinations(Iterable<String> values)
String representing the destination to import for, all if left empty.MerchantCenterLink.Builder
addAllFeeds(Iterable<? extends MerchantCenterFeedFilter> values)
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.Builder
addDestinations(String value)
String representing the destination to import for, all if left empty.MerchantCenterLink.Builder
addDestinationsBytes(com.google.protobuf.ByteString value)
String representing the destination to import for, all if left empty.MerchantCenterLink.Builder
addFeeds(int index, MerchantCenterFeedFilter value)
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.Builder
addFeeds(int index, MerchantCenterFeedFilter.Builder builderForValue)
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.Builder
addFeeds(MerchantCenterFeedFilter value)
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.Builder
addFeeds(MerchantCenterFeedFilter.Builder builderForValue)
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterFeedFilter.Builder
addFeedsBuilder()
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterFeedFilter.Builder
addFeedsBuilder(int index)
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MerchantCenterLink
build()
MerchantCenterLink
buildPartial()
MerchantCenterLink.Builder
clear()
MerchantCenterLink.Builder
clearBranchId()
The branch ID (e.g.MerchantCenterLink.Builder
clearDestinations()
String representing the destination to import for, all if left empty.MerchantCenterLink.Builder
clearFeeds()
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MerchantCenterLink.Builder
clearLanguageCode()
Language of the title/description and other string attributes.MerchantCenterLink.Builder
clearMerchantCenterAccountId()
Required.MerchantCenterLink.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MerchantCenterLink.Builder
clearRegionCode()
Region code of offers to accept.MerchantCenterLink.Builder
clone()
String
getBranchId()
The branch ID (e.g.com.google.protobuf.ByteString
getBranchIdBytes()
The branch ID (e.g.MerchantCenterLink
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDestinations(int index)
String representing the destination to import for, all if left empty.com.google.protobuf.ByteString
getDestinationsBytes(int index)
String representing the destination to import for, all if left empty.int
getDestinationsCount()
String representing the destination to import for, all if left empty.com.google.protobuf.ProtocolStringList
getDestinationsList()
String representing the destination to import for, all if left empty.MerchantCenterFeedFilter
getFeeds(int index)
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterFeedFilter.Builder
getFeedsBuilder(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.int
getFeedsCount()
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.MerchantCenterFeedFilterOrBuilder
getFeedsOrBuilder(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.String
getLanguageCode()
Language of the title/description and other string attributes.com.google.protobuf.ByteString
getLanguageCodeBytes()
Language of the title/description and other string attributes.long
getMerchantCenterAccountId()
Required.String
getRegionCode()
Region code of offers to accept.com.google.protobuf.ByteString
getRegionCodeBytes()
Region code of offers to accept.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MerchantCenterLink.Builder
mergeFrom(MerchantCenterLink other)
MerchantCenterLink.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MerchantCenterLink.Builder
mergeFrom(com.google.protobuf.Message other)
MerchantCenterLink.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MerchantCenterLink.Builder
removeFeeds(int index)
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.Builder
setBranchId(String value)
The branch ID (e.g.MerchantCenterLink.Builder
setBranchIdBytes(com.google.protobuf.ByteString value)
The branch ID (e.g.MerchantCenterLink.Builder
setDestinations(int index, String value)
String representing the destination to import for, all if left empty.MerchantCenterLink.Builder
setFeeds(int index, MerchantCenterFeedFilter value)
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.Builder
setFeeds(int index, MerchantCenterFeedFilter.Builder builderForValue)
Criteria for the Merchant Center feeds to be ingested via the link.MerchantCenterLink.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MerchantCenterLink.Builder
setLanguageCode(String value)
Language of the title/description and other string attributes.MerchantCenterLink.Builder
setLanguageCodeBytes(com.google.protobuf.ByteString value)
Language of the title/description and other string attributes.MerchantCenterLink.Builder
setMerchantCenterAccountId(long value)
Required.MerchantCenterLink.Builder
setRegionCode(String value)
Region code of offers to accept.MerchantCenterLink.Builder
setRegionCodeBytes(com.google.protobuf.ByteString value)
Region code of offers to accept.MerchantCenterLink.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MerchantCenterLink.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
clear
public MerchantCenterLink.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
getDefaultInstanceForType
public MerchantCenterLink getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MerchantCenterLink build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MerchantCenterLink buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MerchantCenterLink.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
setField
public MerchantCenterLink.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
clearField
public MerchantCenterLink.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
clearOneof
public MerchantCenterLink.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
setRepeatedField
public MerchantCenterLink.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
addRepeatedField
public MerchantCenterLink.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
mergeFrom
public MerchantCenterLink.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MerchantCenterLink.Builder>
-
mergeFrom
public MerchantCenterLink.Builder mergeFrom(MerchantCenterLink other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getMerchantCenterAccountId
in 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:
getBranchId
in 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:
getBranchIdBytes
in 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:
getDestinationsList
in 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:
getDestinationsCount
in 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:
getDestinations
in 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:
getDestinationsBytes
in 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:
getRegionCode
in 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:
getRegionCodeBytes
in 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:
getLanguageCode
in 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:
getLanguageCodeBytes
in 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.v2alpha.MerchantCenterFeedFilter feeds = 6;
- Specified by:
getFeedsList
in 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.v2alpha.MerchantCenterFeedFilter feeds = 6;
- Specified by:
getFeedsCount
in 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.v2alpha.MerchantCenterFeedFilter feeds = 6;
- Specified by:
getFeeds
in 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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.MerchantCenterFeedFilter feeds = 6;
- Specified by:
getFeedsOrBuilder
in 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.v2alpha.MerchantCenterFeedFilter feeds = 6;
- Specified by:
getFeedsOrBuilderList
in 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.v2alpha.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.v2alpha.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.v2alpha.MerchantCenterFeedFilter feeds = 6;
-
setUnknownFields
public final MerchantCenterLink.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
mergeUnknownFields
public final MerchantCenterLink.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MerchantCenterLink.Builder>
-
-