- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public static final class MerchantCenterLink.Builder extends GeneratedMessageV3.Builder<MerchantCenterLink.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MerchantCenterLink.BuilderImplements
MerchantCenterLinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDestinations(Iterable<String> values)
public MerchantCenterLink.Builder addAllDestinations(Iterable<String> values)
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 | |
---|---|
Name | Description |
values |
Iterable<String> The destinations to add. |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
addAllFeeds(Iterable<? extends MerchantCenterFeedFilter> values)
public MerchantCenterLink.Builder addAllFeeds(Iterable<? extends MerchantCenterFeedFilter> values)
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 | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.retail.v2alpha.MerchantCenterFeedFilter> |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
addDestinations(String value)
public MerchantCenterLink.Builder addDestinations(String value)
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 | |
---|---|
Name | Description |
value |
String The destinations to add. |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
addDestinationsBytes(ByteString value)
public MerchantCenterLink.Builder addDestinationsBytes(ByteString value)
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 | |
---|---|
Name | Description |
value |
ByteString The bytes of the destinations to add. |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
addFeeds(MerchantCenterFeedFilter value)
public MerchantCenterLink.Builder addFeeds(MerchantCenterFeedFilter value)
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 | |
---|---|
Name | Description |
value |
MerchantCenterFeedFilter |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
addFeeds(MerchantCenterFeedFilter.Builder builderForValue)
public MerchantCenterLink.Builder addFeeds(MerchantCenterFeedFilter.Builder builderForValue)
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 | |
---|---|
Name | Description |
builderForValue |
MerchantCenterFeedFilter.Builder |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
addFeeds(int index, MerchantCenterFeedFilter value)
public MerchantCenterLink.Builder addFeeds(int index, MerchantCenterFeedFilter value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MerchantCenterFeedFilter |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
addFeeds(int index, MerchantCenterFeedFilter.Builder builderForValue)
public MerchantCenterLink.Builder addFeeds(int index, MerchantCenterFeedFilter.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MerchantCenterFeedFilter.Builder |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
addFeedsBuilder()
public MerchantCenterFeedFilter.Builder addFeedsBuilder()
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 | |
---|---|
Type | Description |
MerchantCenterFeedFilter.Builder |
addFeedsBuilder(int index)
public MerchantCenterFeedFilter.Builder addFeedsBuilder(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MerchantCenterFeedFilter.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MerchantCenterLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
build()
public MerchantCenterLink build()
Returns | |
---|---|
Type | Description |
MerchantCenterLink |
buildPartial()
public MerchantCenterLink buildPartial()
Returns | |
---|---|
Type | Description |
MerchantCenterLink |
clear()
public MerchantCenterLink.Builder clear()
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
clearBranchId()
public MerchantCenterLink.Builder clearBranchId()
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 | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
clearDestinations()
public MerchantCenterLink.Builder clearDestinations()
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 | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
clearFeeds()
public MerchantCenterLink.Builder clearFeeds()
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 | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
clearField(Descriptors.FieldDescriptor field)
public MerchantCenterLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
clearLanguageCode()
public MerchantCenterLink.Builder clearLanguageCode()
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 |
MerchantCenterLink.Builder |
This builder for chaining. |
clearMerchantCenterAccountId()
public MerchantCenterLink.Builder clearMerchantCenterAccountId()
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 | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MerchantCenterLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
clearRegionCode()
public MerchantCenterLink.Builder clearRegionCode()
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 | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
clone()
public MerchantCenterLink.Builder clone()
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
getBranchId()
public 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 | |
---|---|
Type | Description |
String |
The branchId. |
getBranchIdBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for branchId. |
getDefaultInstanceForType()
public MerchantCenterLink getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MerchantCenterLink |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinations(int index)
public 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 | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The destinations at the given index. |
getDestinationsBytes(int index)
public 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 | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the destinations at the given index. |
getDestinationsCount()
public 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 | |
---|---|
Type | Description |
int |
The count of destinations. |
getDestinationsList()
public ProtocolStringList 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 | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the destinations. |
getFeeds(int index)
public 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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MerchantCenterFeedFilter |
getFeedsBuilder(int index)
public MerchantCenterFeedFilter.Builder getFeedsBuilder(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MerchantCenterFeedFilter.Builder |
getFeedsBuilderList()
public List<MerchantCenterFeedFilter.Builder> getFeedsBuilderList()
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 | |
---|---|
Type | Description |
List<Builder> |
getFeedsCount()
public 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 | |
---|---|
Type | Description |
int |
getFeedsList()
public 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 | |
---|---|
Type | Description |
List<MerchantCenterFeedFilter> |
getFeedsOrBuilder(int index)
public 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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MerchantCenterFeedFilterOrBuilder |
getFeedsOrBuilderList()
public 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 | |
---|---|
Type | Description |
List<? extends com.google.cloud.retail.v2alpha.MerchantCenterFeedFilterOrBuilder> |
getLanguageCode()
public 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 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 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 | |
---|---|
Type | Description |
long |
The merchantCenterAccountId. |
getRegionCode()
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
under the region
tag. If left blank no region filtering will be
performed.
Example value: US
.
string region_code = 4;
Returns | |
---|---|
Type | Description |
String |
The regionCode. |
getRegionCodeBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for regionCode. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MerchantCenterLink other)
public MerchantCenterLink.Builder mergeFrom(MerchantCenterLink other)
Parameter | |
---|---|
Name | Description |
other |
MerchantCenterLink |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MerchantCenterLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MerchantCenterLink.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MerchantCenterLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
removeFeeds(int index)
public MerchantCenterLink.Builder removeFeeds(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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
setBranchId(String value)
public MerchantCenterLink.Builder setBranchId(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The branchId to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
setBranchIdBytes(ByteString value)
public MerchantCenterLink.Builder setBranchIdBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for branchId to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
setDestinations(int index, String value)
public MerchantCenterLink.Builder setDestinations(int index, String value)
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;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The destinations to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
setFeeds(int index, MerchantCenterFeedFilter value)
public MerchantCenterLink.Builder setFeeds(int index, MerchantCenterFeedFilter value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MerchantCenterFeedFilter |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
setFeeds(int index, MerchantCenterFeedFilter.Builder builderForValue)
public MerchantCenterLink.Builder setFeeds(int index, MerchantCenterFeedFilter.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MerchantCenterFeedFilter.Builder |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MerchantCenterLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
setLanguageCode(String value)
public MerchantCenterLink.Builder setLanguageCode(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The languageCode to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public MerchantCenterLink.Builder setLanguageCodeBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for languageCode to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
setMerchantCenterAccountId(long value)
public MerchantCenterLink.Builder setMerchantCenterAccountId(long value)
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];
Parameter | |
---|---|
Name | Description |
value |
long The merchantCenterAccountId to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
setRegionCode(String value)
public MerchantCenterLink.Builder setRegionCode(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The regionCode to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
setRegionCodeBytes(ByteString value)
public MerchantCenterLink.Builder setRegionCodeBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for regionCode to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MerchantCenterLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MerchantCenterLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MerchantCenterLink.Builder |