Package com.google.cloud.retail.v2beta
Interface MerchantCenterLinkOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MerchantCenterLink
,MerchantCenterLink.Builder
public interface MerchantCenterLinkOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBranchId()
The branch ID (e.g.com.google.protobuf.ByteString
getBranchIdBytes()
The branch ID (e.g.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.List<String>
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.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMerchantCenterAccountId
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];
- Returns:
- The merchantCenterAccountId.
-
getBranchId
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;
- Returns:
- The branchId.
-
getBranchIdBytes
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;
- Returns:
- The bytes for branchId.
-
getDestinationsList
List<String> 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;
- Returns:
- A list containing the destinations.
-
getDestinationsCount
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;
- Returns:
- The count of destinations.
-
getDestinations
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;
- Parameters:
index
- The index of the element to return.- Returns:
- The destinations at the given index.
-
getDestinationsBytes
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;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the destinations at the given index.
-
getRegionCode
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;
- Returns:
- The regionCode.
-
getRegionCodeBytes
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;
- Returns:
- The bytes for regionCode.
-
getLanguageCode
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;
- Returns:
- The languageCode.
-
getLanguageCodeBytes
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;
- Returns:
- The bytes for languageCode.
-
getFeedsList
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;
-
getFeeds
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;
-
getFeedsCount
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;
-
getFeedsOrBuilderList
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;
-
getFeedsOrBuilder
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;
-
-