public final class MerchantCenterLink extends com.google.protobuf.GeneratedMessageV3 implements MerchantCenterLinkOrBuilder
Represents a link between a Merchant Center account and a branch. Once a link is established, products from the linked merchant center account will be streamed to the linked branch.Protobuf type
google.cloud.retail.v2alpha.MerchantCenterLink| Modifier and Type | Class and Description |
|---|---|
static class |
MerchantCenterLink.Builder
Represents a link between a Merchant Center account and a branch.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BRANCH_ID_FIELD_NUMBER |
static int |
DESTINATIONS_FIELD_NUMBER |
static int |
FEEDS_FIELD_NUMBER |
static int |
LANGUAGE_CODE_FIELD_NUMBER |
static int |
MERCHANT_CENTER_ACCOUNT_ID_FIELD_NUMBER |
static int |
REGION_CODE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBranchId()
The branch ID (e.g.
|
com.google.protobuf.ByteString |
getBranchIdBytes()
The branch ID (e.g.
|
static MerchantCenterLink |
getDefaultInstance() |
MerchantCenterLink |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
com.google.protobuf.ProtocolStringList |
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.
|
com.google.protobuf.Parser<MerchantCenterLink> |
getParserForType() |
String |
getRegionCode()
Region code of offers to accept.
|
com.google.protobuf.ByteString |
getRegionCodeBytes()
Region code of offers to accept.
|
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MerchantCenterLink.Builder |
newBuilder() |
static MerchantCenterLink.Builder |
newBuilder(MerchantCenterLink prototype) |
MerchantCenterLink.Builder |
newBuilderForType() |
protected MerchantCenterLink.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MerchantCenterLink |
parseDelimitedFrom(InputStream input) |
static MerchantCenterLink |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MerchantCenterLink |
parseFrom(byte[] data) |
static MerchantCenterLink |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MerchantCenterLink |
parseFrom(ByteBuffer data) |
static MerchantCenterLink |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MerchantCenterLink |
parseFrom(com.google.protobuf.ByteString data) |
static MerchantCenterLink |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MerchantCenterLink |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MerchantCenterLink |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MerchantCenterLink |
parseFrom(InputStream input) |
static MerchantCenterLink |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MerchantCenterLink> |
parser() |
MerchantCenterLink.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int MERCHANT_CENTER_ACCOUNT_ID_FIELD_NUMBER
public static final int BRANCH_ID_FIELD_NUMBER
public static final int DESTINATIONS_FIELD_NUMBER
public static final int REGION_CODE_FIELD_NUMBER
public static final int LANGUAGE_CODE_FIELD_NUMBER
public static final int FEEDS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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];getMerchantCenterAccountId in interface MerchantCenterLinkOrBuilderpublic 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;getBranchId in interface MerchantCenterLinkOrBuilderpublic 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;getBranchIdBytes in interface MerchantCenterLinkOrBuilderpublic com.google.protobuf.ProtocolStringList 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;getDestinationsList in interface MerchantCenterLinkOrBuilderpublic 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;getDestinationsCount in interface MerchantCenterLinkOrBuilderpublic 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;getDestinations in interface MerchantCenterLinkOrBuilderindex - The index of the element to return.public 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;getDestinationsBytes in interface MerchantCenterLinkOrBuilderindex - The index of the value to return.public 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;getRegionCode in interface MerchantCenterLinkOrBuilderpublic 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;getRegionCodeBytes in interface MerchantCenterLinkOrBuilderpublic 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;getLanguageCode in interface MerchantCenterLinkOrBuilderpublic 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;getLanguageCodeBytes in interface MerchantCenterLinkOrBuilderpublic 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;getFeedsList in interface MerchantCenterLinkOrBuilderpublic 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;getFeedsOrBuilderList in interface MerchantCenterLinkOrBuilderpublic 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;getFeedsCount in interface MerchantCenterLinkOrBuilderpublic 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;getFeeds in interface MerchantCenterLinkOrBuilderpublic 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;getFeedsOrBuilder in interface MerchantCenterLinkOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MerchantCenterLink parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MerchantCenterLink parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MerchantCenterLink parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MerchantCenterLink parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MerchantCenterLink parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MerchantCenterLink parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MerchantCenterLink parseFrom(InputStream input) throws IOException
IOExceptionpublic static MerchantCenterLink parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MerchantCenterLink parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MerchantCenterLink parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MerchantCenterLink parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MerchantCenterLink parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MerchantCenterLink.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MerchantCenterLink.Builder newBuilder()
public static MerchantCenterLink.Builder newBuilder(MerchantCenterLink prototype)
public MerchantCenterLink.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MerchantCenterLink.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MerchantCenterLink getDefaultInstance()
public static com.google.protobuf.Parser<MerchantCenterLink> parser()
public com.google.protobuf.Parser<MerchantCenterLink> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MerchantCenterLink getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.