Interface MerchantCenterLinkOrBuilder (2.26.0)

public interface MerchantCenterLinkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBranchId()

public abstract 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
TypeDescription
String

The branchId.

getBranchIdBytes()

public abstract 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
TypeDescription
ByteString

The bytes for branchId.

getDestinations(int index)

public abstract String getDestinations(int index)

String representing the destination to import for, all if left empty. List of possible values is given in Included destination. 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The destinations at the given index.

getDestinationsBytes(int index)

public abstract ByteString getDestinationsBytes(int index)

String representing the destination to import for, all if left empty. List of possible values is given in Included destination. 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the destinations at the given index.

getDestinationsCount()

public abstract int getDestinationsCount()

String representing the destination to import for, all if left empty. List of possible values is given in Included destination. 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
TypeDescription
int

The count of destinations.

getDestinationsList()

public abstract List<String> getDestinationsList()

String representing the destination to import for, all if left empty. List of possible values is given in Included destination. 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
TypeDescription
List<String>

A list containing the destinations.

getFeeds(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
MerchantCenterFeedFilter

getFeedsCount()

public abstract 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;

Returns
TypeDescription
int

getFeedsList()

public abstract 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;

Returns
TypeDescription
List<MerchantCenterFeedFilter>

getFeedsOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
MerchantCenterFeedFilterOrBuilder

getFeedsOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.cloud.retail.v2alpha.MerchantCenterFeedFilterOrBuilder>

getLanguageCode()

public abstract String getLanguageCode()

Language of the title/description and other string attributes. Use language tags defined by BCP 47. 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
TypeDescription
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Language of the title/description and other string attributes. Use language tags defined by BCP 47. 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
TypeDescription
ByteString

The bytes for languageCode.

getMerchantCenterAccountId()

public abstract long getMerchantCenterAccountId()

Required. The linked Merchant center account ID. 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
TypeDescription
long

The merchantCenterAccountId.

getRegionCode()

public abstract String getRegionCode()

Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found here under the region tag. If left blank no region filtering will be performed.

Example value: US.

string region_code = 4;

Returns
TypeDescription
String

The regionCode.

getRegionCodeBytes()

public abstract ByteString getRegionCodeBytes()

Region code of offers to accept. 2-letter Uppercase ISO 3166-1 alpha-2 code. List of values can be found here under the region tag. If left blank no region filtering will be performed.

Example value: US.

string region_code = 4;

Returns
TypeDescription
ByteString

The bytes for regionCode.