com.google.cloud.retail.v2alpha.MerchantCenterLinkOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-retail-v2alpha Show documentation
Show all versions of proto-google-cloud-retail-v2alpha Show documentation
Proto library for google-cloud-retail
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/retail/v2alpha/catalog.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.retail.v2alpha;
public interface MerchantCenterLinkOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.retail.v2alpha.MerchantCenterLink)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
* @return The merchantCenterAccountId.
*/
long getMerchantCenterAccountId();
/**
*
*
*
* 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;
*
* @return The branchId.
*/
java.lang.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;
*
* @return The bytes for branchId.
*/
com.google.protobuf.ByteString getBranchIdBytes();
/**
*
*
*
* 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;
*
* @return A list containing the destinations.
*/
java.util.List 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;
*
* @return The count of destinations.
*/
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;
*
* @param index The index of the element to return.
* @return The destinations at the given index.
*/
java.lang.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;
*
* @param index The index of the value to return.
* @return The bytes of the destinations at the given index.
*/
com.google.protobuf.ByteString getDestinationsBytes(int index);
/**
*
*
*
* 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;
*
* @return The regionCode.
*/
java.lang.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;
*
* @return The bytes for regionCode.
*/
com.google.protobuf.ByteString getRegionCodeBytes();
/**
*
*
*
* 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;
*
* @return The languageCode.
*/
java.lang.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;
*
* @return The bytes for languageCode.
*/
com.google.protobuf.ByteString getLanguageCodeBytes();
/**
*
*
*
* 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;
*/
java.util.List 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;
*/
com.google.cloud.retail.v2alpha.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;
*/
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;
*/
java.util.List extends com.google.cloud.retail.v2alpha.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;
*/
com.google.cloud.retail.v2alpha.MerchantCenterFeedFilterOrBuilder getFeedsOrBuilder(int index);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy