Interface MerchantCenterAccountLinkOrBuilder (2.49.0)

public interface MerchantCenterAccountLinkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBranchId()

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

Returns
Type Description
String

The branchId.

getBranchIdBytes()

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

Returns
Type Description
ByteString

The bytes for branchId.

getFeedFilters(int index)

public abstract MerchantCenterAccountLink.MerchantCenterFeedFilter getFeedFilters(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;

Parameter
Name Description
index int
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilter

getFeedFiltersCount()

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

Returns
Type Description
int

getFeedFiltersList()

public abstract List<MerchantCenterAccountLink.MerchantCenterFeedFilter> 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;

Returns
Type Description
List<MerchantCenterFeedFilter>

getFeedFiltersOrBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
MerchantCenterAccountLink.MerchantCenterFeedFilterOrBuilder

getFeedFiltersOrBuilderList()

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

Returns
Type Description
List<? extends com.google.cloud.retail.v2alpha.MerchantCenterAccountLink.MerchantCenterFeedFilterOrBuilder>

getFeedLabel()

public abstract String getFeedLabel()

The FeedLabel used to perform filtering. Note: this replaces region_id.

Example value: US. Example value: FeedLabel1.

string feed_label = 4;

Returns
Type Description
String

The feedLabel.

getFeedLabelBytes()

public abstract ByteString getFeedLabelBytes()

The FeedLabel used to perform filtering. Note: this replaces region_id.

Example value: US. Example value: FeedLabel1.

string feed_label = 4;

Returns
Type Description
ByteString

The bytes for feedLabel.

getId()

public abstract String getId()

Output only. Immutable. MerchantCenterAccountLink identifier, which is the final component of 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
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Output only. Immutable. MerchantCenterAccountLink identifier, which is the final component of 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
Type Description
ByteString

The bytes for id.

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
Type Description
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
Type Description
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 = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The merchantCenterAccountId.

getName()

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

Returns
Type Description
String

The name.

getNameBytes()

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

Returns
Type Description
ByteString

The bytes for name.

getProjectId()

public abstract String getProjectId()

Output only. Google Cloud project ID.

string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

Output only. Google Cloud project ID.

string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for projectId.

getSource()

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

Returns
Type Description
String

The source.

getSourceBytes()

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

Returns
Type Description
ByteString

The bytes for source.

getState()

public abstract MerchantCenterAccountLink.State getState()

Output only. Represents the state of the link.

.google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MerchantCenterAccountLink.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. Represents the state of the link.

.google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.