Package com.google.cloud.retail.v2alpha
Class MerchantCenterAccountLink.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MerchantCenterAccountLink.Builder>
com.google.cloud.retail.v2alpha.MerchantCenterAccountLink.Builder
- All Implemented Interfaces:
MerchantCenterAccountLinkOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MerchantCenterAccountLink
public static final class MerchantCenterAccountLink.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MerchantCenterAccountLink.Builder>
implements MerchantCenterAccountLinkOrBuilder
Represents a link between a Merchant Center account and a branch. After a link is established, products from the linked Merchant Center account are streamed to the linked branch.Protobuf type
google.cloud.retail.v2alpha.MerchantCenterAccountLink-
Method Summary
Modifier and TypeMethodDescriptionaddAllFeedFilters(Iterable<? extends MerchantCenterAccountLink.MerchantCenterFeedFilter> values) Criteria for the Merchant Center feeds to be ingested via the link.addFeedFilters(int index, MerchantCenterAccountLink.MerchantCenterFeedFilter value) Criteria for the Merchant Center feeds to be ingested via the link.addFeedFilters(int index, MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder builderForValue) Criteria for the Merchant Center feeds to be ingested via the link.Criteria for the Merchant Center feeds to be ingested via the link.addFeedFilters(MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder builderForValue) Criteria for the Merchant Center feeds to be ingested via the link.Criteria for the Merchant Center feeds to be ingested via the link.addFeedFiltersBuilder(int index) Criteria for the Merchant Center feeds to be ingested via the link.build()clear()Required.Criteria for the Merchant Center feeds to be ingested via the link.The FeedLabel used to perform filtering.clearId()Output only.Language of the title/description and other string attributes.Required.Output only.Output only.Optional.Output only.Required.com.google.protobuf.ByteStringRequired.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetFeedFilters(int index) Criteria for the Merchant Center feeds to be ingested via the link.getFeedFiltersBuilder(int index) Criteria for the Merchant Center feeds to be ingested via the link.Criteria for the Merchant Center feeds to be ingested via the link.intCriteria for the Merchant Center feeds to be ingested via the link.Criteria for the Merchant Center feeds to be ingested via the link.getFeedFiltersOrBuilder(int index) Criteria for the Merchant Center feeds to be ingested via the link.Criteria for the Merchant Center feeds to be ingested via the link.The FeedLabel used to perform filtering.com.google.protobuf.ByteStringThe FeedLabel used to perform filtering.getId()Output only.com.google.protobuf.ByteStringOutput only.Language of the title/description and other string attributes.com.google.protobuf.ByteStringLanguage of the title/description and other string attributes.longRequired.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.Optional.com.google.protobuf.ByteStringOptional.getState()Output only.intOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeFeedFilters(int index) Criteria for the Merchant Center feeds to be ingested via the link.setBranchId(String value) Required.setBranchIdBytes(com.google.protobuf.ByteString value) Required.setFeedFilters(int index, MerchantCenterAccountLink.MerchantCenterFeedFilter value) Criteria for the Merchant Center feeds to be ingested via the link.setFeedFilters(int index, MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder builderForValue) Criteria for the Merchant Center feeds to be ingested via the link.setFeedLabel(String value) The FeedLabel used to perform filtering.setFeedLabelBytes(com.google.protobuf.ByteString value) The FeedLabel used to perform filtering.Output only.setIdBytes(com.google.protobuf.ByteString value) Output only.setLanguageCode(String value) Language of the title/description and other string attributes.setLanguageCodeBytes(com.google.protobuf.ByteString value) Language of the title/description and other string attributes.setMerchantCenterAccountId(long value) Required.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setProjectId(String value) Output only.setProjectIdBytes(com.google.protobuf.ByteString value) Output only.Optional.setSourceBytes(com.google.protobuf.ByteString value) Optional.Output only.setStateValue(int value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MerchantCenterAccountLink.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MerchantCenterAccountLink.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.GeneratedMessage.Builder<MerchantCenterAccountLink.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MerchantCenterAccountLink.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MerchantCenterAccountLink.Builder>
-
mergeFrom
public MerchantCenterAccountLink.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<MerchantCenterAccountLink.Builder>- Throws:
IOException
-
getName
Output only. Immutable. Full resource name of the Merchant Center Account Link, such as `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. Immutable. Full resource name of the Merchant Center Account Link, such as `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. Immutable. Full resource name of the Merchant Center Account Link, such as `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. Immutable. Full resource name of the Merchant Center Account Link, such as `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. Immutable. Full resource name of the Merchant Center Account Link, such as `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/merchant_center_account_link`.
string name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getId
Output only. Immutable. [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink] identifier, which is the final component of [name][google.cloud.retail.v2alpha.MerchantCenterAccountLink.name]. This field is auto generated and follows the convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
string id = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdin interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Output only. Immutable. [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink] identifier, which is the final component of [name][google.cloud.retail.v2alpha.MerchantCenterAccountLink.name]. This field is auto generated and follows the convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
string id = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdBytesin interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The bytes for id.
-
setId
Output only. Immutable. [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink] identifier, which is the final component of [name][google.cloud.retail.v2alpha.MerchantCenterAccountLink.name]. This field is auto generated and follows the convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
string id = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. Immutable. [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink] identifier, which is the final component of [name][google.cloud.retail.v2alpha.MerchantCenterAccountLink.name]. This field is auto generated and follows the convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
string id = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setIdBytes
Output only. Immutable. [MerchantCenterAccountLink][google.cloud.retail.v2alpha.MerchantCenterAccountLink] identifier, which is the final component of [name][google.cloud.retail.v2alpha.MerchantCenterAccountLink.name]. This field is auto generated and follows the convention: `BranchId_MerchantCenterAccountId`. `projects/*/locations/global/catalogs/default_catalog/merchantCenterAccountLinks/id_1`.
string id = 8 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
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 = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getMerchantCenterAccountIdin interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The merchantCenterAccountId.
-
setMerchantCenterAccountId
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 = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The merchantCenterAccountId to set.- Returns:
- This builder for chaining.
-
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 = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
getBranchId
Required. The branch ID (e.g. 0/1/2) within the 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 = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBranchIdin interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The branchId.
-
getBranchIdBytes
public com.google.protobuf.ByteString getBranchIdBytes()Required. The branch ID (e.g. 0/1/2) within the 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 = 3 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getBranchIdBytesin interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The bytes for branchId.
-
setBranchId
Required. The branch ID (e.g. 0/1/2) within the 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 = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The branchId to set.- Returns:
- This builder for chaining.
-
clearBranchId
Required. The branch ID (e.g. 0/1/2) within the 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 = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setBranchIdBytes
Required. The branch ID (e.g. 0/1/2) within the 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 = 3 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for branchId to set.- Returns:
- This builder for chaining.
-
getFeedLabel
The FeedLabel used to perform filtering. Note: this replaces [region_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
string feed_label = 4;- Specified by:
getFeedLabelin interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The feedLabel.
-
getFeedLabelBytes
public com.google.protobuf.ByteString getFeedLabelBytes()The FeedLabel used to perform filtering. Note: this replaces [region_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
string feed_label = 4;- Specified by:
getFeedLabelBytesin interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The bytes for feedLabel.
-
setFeedLabel
The FeedLabel used to perform filtering. Note: this replaces [region_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
string feed_label = 4;- Parameters:
value- The feedLabel to set.- Returns:
- This builder for chaining.
-
clearFeedLabel
The FeedLabel used to perform filtering. Note: this replaces [region_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
string feed_label = 4;- Returns:
- This builder for chaining.
-
setFeedLabelBytes
The FeedLabel used to perform filtering. Note: this replaces [region_id](https://developers.google.com/shopping-content/reference/rest/v2.1/products#Product.FIELDS.feed_label). Example value: `US`. Example value: `FeedLabel1`.
string feed_label = 4;- Parameters:
value- The bytes for feedLabel to set.- Returns:
- This builder for chaining.
-
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 interfaceMerchantCenterAccountLinkOrBuilder- 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 interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The bytes for languageCode.
-
setLanguageCode
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
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
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.
-
getFeedFiltersList
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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;- Specified by:
getFeedFiltersListin interfaceMerchantCenterAccountLinkOrBuilder
-
getFeedFiltersCount
public int getFeedFiltersCount()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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;- Specified by:
getFeedFiltersCountin interfaceMerchantCenterAccountLinkOrBuilder
-
getFeedFilters
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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;- Specified by:
getFeedFiltersin interfaceMerchantCenterAccountLinkOrBuilder
-
setFeedFilters
public MerchantCenterAccountLink.Builder setFeedFilters(int index, MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
setFeedFilters
public MerchantCenterAccountLink.Builder setFeedFilters(int index, MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
addFeedFilters
public MerchantCenterAccountLink.Builder addFeedFilters(MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
addFeedFilters
public MerchantCenterAccountLink.Builder addFeedFilters(int index, MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
addFeedFilters
public MerchantCenterAccountLink.Builder addFeedFilters(MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
addFeedFilters
public MerchantCenterAccountLink.Builder addFeedFilters(int index, MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
addAllFeedFilters
public MerchantCenterAccountLink.Builder addAllFeedFilters(Iterable<? extends MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
clearFeedFilters
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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
removeFeedFilters
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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
getFeedFiltersBuilder
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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
getFeedFiltersOrBuilder
public MerchantCenterAccountLink.MerchantCenterFeedFilterOrBuilder getFeedFiltersOrBuilder(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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;- Specified by:
getFeedFiltersOrBuilderin interfaceMerchantCenterAccountLinkOrBuilder
-
getFeedFiltersOrBuilderList
public List<? extends MerchantCenterAccountLink.MerchantCenterFeedFilterOrBuilder> getFeedFiltersOrBuilderList()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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;- Specified by:
getFeedFiltersOrBuilderListin interfaceMerchantCenterAccountLinkOrBuilder
-
addFeedFiltersBuilder
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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
addFeedFiltersBuilder
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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
getFeedFiltersBuilderList
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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6; -
getStateValue
public int getStateValue()Output only. Represents the state of the link.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. Represents the state of the link.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. Represents the state of the link.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The state.
-
setState
Output only. Represents the state of the link.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. Represents the state of the link.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getProjectId
Output only. Google Cloud project ID.
string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProjectIdin interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()Output only. Google Cloud project ID.
string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProjectIdBytesin interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
Output only. Google Cloud project ID.
string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Output only. Google Cloud project ID.
string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setProjectIdBytes
Output only. Google Cloud project ID.
string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getSource
Optional. An optional arbitrary string that could be used as a tag for tracking link source.
string source = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSourcein interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()Optional. An optional arbitrary string that could be used as a tag for tracking link source.
string source = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSourceBytesin interfaceMerchantCenterAccountLinkOrBuilder- Returns:
- The bytes for source.
-
setSource
Optional. An optional arbitrary string that could be used as a tag for tracking link source.
string source = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
Optional. An optional arbitrary string that could be used as a tag for tracking link source.
string source = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setSourceBytes
Optional. An optional arbitrary string that could be used as a tag for tracking link source.
string source = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-