- 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 MerchantCenterAccountLink.Builder extends GeneratedMessageV3.Builder<MerchantCenterAccountLink.Builder> implements MerchantCenterAccountLinkOrBuilder
Represents a link between a Merchant Center account and a branch. After a link is established, products from the linked Merchant Center account are streamed to the linked branch.
Protobuf type google.cloud.retail.v2alpha.MerchantCenterAccountLink
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MerchantCenterAccountLink.BuilderImplements
MerchantCenterAccountLinkOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllFeedFilters(Iterable<? extends MerchantCenterAccountLink.MerchantCenterFeedFilter> values)
public MerchantCenterAccountLink.Builder addAllFeedFilters(Iterable<? extends MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.retail.v2alpha.MerchantCenterAccountLink.MerchantCenterFeedFilter> |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
addFeedFilters(MerchantCenterAccountLink.MerchantCenterFeedFilter value)
public MerchantCenterAccountLink.Builder addFeedFilters(MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
Parameter | |
---|---|
Name | Description |
value |
MerchantCenterAccountLink.MerchantCenterFeedFilter |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
addFeedFilters(MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder builderForValue)
public MerchantCenterAccountLink.Builder addFeedFilters(MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
Parameter | |
---|---|
Name | Description |
builderForValue |
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
addFeedFilters(int index, MerchantCenterAccountLink.MerchantCenterFeedFilter value)
public MerchantCenterAccountLink.Builder addFeedFilters(int index, MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MerchantCenterAccountLink.MerchantCenterFeedFilter |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
addFeedFilters(int index, MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder builderForValue)
public MerchantCenterAccountLink.Builder addFeedFilters(int index, MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
addFeedFiltersBuilder()
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder addFeedFiltersBuilder()
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 |
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder |
addFeedFiltersBuilder(int index)
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder addFeedFiltersBuilder(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.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MerchantCenterAccountLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
build()
public MerchantCenterAccountLink build()
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink |
buildPartial()
public MerchantCenterAccountLink buildPartial()
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink |
clear()
public MerchantCenterAccountLink.Builder clear()
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
clearBranchId()
public MerchantCenterAccountLink.Builder clearBranchId()
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 |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
clearFeedFilters()
public MerchantCenterAccountLink.Builder clearFeedFilters()
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 |
MerchantCenterAccountLink.Builder |
clearFeedLabel()
public MerchantCenterAccountLink.Builder clearFeedLabel()
The FeedLabel used to perform filtering. Note: this replaces region_id.
Example value: US
.
Example value: FeedLabel1
.
string feed_label = 4;
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MerchantCenterAccountLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
clearId()
public MerchantCenterAccountLink.Builder clearId()
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 |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
clearLanguageCode()
public MerchantCenterAccountLink.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 |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
clearMerchantCenterAccountId()
public MerchantCenterAccountLink.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 = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
clearName()
public MerchantCenterAccountLink.Builder clearName()
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 |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MerchantCenterAccountLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
clearProjectId()
public MerchantCenterAccountLink.Builder clearProjectId()
Output only. Google Cloud project ID.
string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
clearSource()
public MerchantCenterAccountLink.Builder clearSource()
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 |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
clearState()
public MerchantCenterAccountLink.Builder clearState()
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.Builder |
This builder for chaining. |
clone()
public MerchantCenterAccountLink.Builder clone()
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
getBranchId()
public 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 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. |
getDefaultInstanceForType()
public MerchantCenterAccountLink getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFeedFilters(int index)
public 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 |
getFeedFiltersBuilder(int index)
public MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder getFeedFiltersBuilder(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.Builder |
getFeedFiltersBuilderList()
public List<MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder> getFeedFiltersBuilderList()
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<Builder> |
getFeedFiltersCount()
public 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 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 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 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 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 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 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 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 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 = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
long |
The merchantCenterAccountId. |
getName()
public 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 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MerchantCenterAccountLink other)
public MerchantCenterAccountLink.Builder mergeFrom(MerchantCenterAccountLink other)
Parameter | |
---|---|
Name | Description |
other |
MerchantCenterAccountLink |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MerchantCenterAccountLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MerchantCenterAccountLink.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MerchantCenterAccountLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
removeFeedFilters(int index)
public MerchantCenterAccountLink.Builder removeFeedFilters(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.Builder |
setBranchId(String value)
public MerchantCenterAccountLink.Builder setBranchId(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The branchId to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setBranchIdBytes(ByteString value)
public MerchantCenterAccountLink.Builder setBranchIdBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for branchId to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setFeedFilters(int index, MerchantCenterAccountLink.MerchantCenterFeedFilter value)
public MerchantCenterAccountLink.Builder setFeedFilters(int index, MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MerchantCenterAccountLink.MerchantCenterFeedFilter |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
setFeedFilters(int index, MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder builderForValue)
public MerchantCenterAccountLink.Builder setFeedFilters(int index, MerchantCenterAccountLink.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.MerchantCenterAccountLink.MerchantCenterFeedFilter feed_filters = 6;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MerchantCenterAccountLink.MerchantCenterFeedFilter.Builder |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
setFeedLabel(String value)
public MerchantCenterAccountLink.Builder setFeedLabel(String value)
The FeedLabel used to perform filtering. Note: this replaces region_id.
Example value: US
.
Example value: FeedLabel1
.
string feed_label = 4;
Parameter | |
---|---|
Name | Description |
value |
String The feedLabel to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setFeedLabelBytes(ByteString value)
public MerchantCenterAccountLink.Builder setFeedLabelBytes(ByteString value)
The FeedLabel used to perform filtering. Note: this replaces region_id.
Example value: US
.
Example value: FeedLabel1
.
string feed_label = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for feedLabel to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MerchantCenterAccountLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
setId(String value)
public MerchantCenterAccountLink.Builder setId(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The id to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public MerchantCenterAccountLink.Builder setIdBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setLanguageCode(String value)
public MerchantCenterAccountLink.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 |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public MerchantCenterAccountLink.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 |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setMerchantCenterAccountId(long value)
public MerchantCenterAccountLink.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 = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
long The merchantCenterAccountId to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setName(String value)
public MerchantCenterAccountLink.Builder setName(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public MerchantCenterAccountLink.Builder setNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setProjectId(String value)
public MerchantCenterAccountLink.Builder setProjectId(String value)
Output only. Google Cloud project ID.
string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The projectId to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setProjectIdBytes(ByteString value)
public MerchantCenterAccountLink.Builder setProjectIdBytes(ByteString value)
Output only. Google Cloud project ID.
string project_id = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for projectId to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MerchantCenterAccountLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
setSource(String value)
public MerchantCenterAccountLink.Builder setSource(String value)
Optional. An optional arbitrary string that could be used as a tag for tracking link source.
string source = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The source to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setSourceBytes(ByteString value)
public MerchantCenterAccountLink.Builder setSourceBytes(ByteString value)
Optional. An optional arbitrary string that could be used as a tag for tracking link source.
string source = 10 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for source to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setState(MerchantCenterAccountLink.State value)
public MerchantCenterAccountLink.Builder setState(MerchantCenterAccountLink.State value)
Output only. Represents the state of the link.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
MerchantCenterAccountLink.State The state to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setStateValue(int value)
public MerchantCenterAccountLink.Builder setStateValue(int value)
Output only. Represents the state of the link.
.google.cloud.retail.v2alpha.MerchantCenterAccountLink.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MerchantCenterAccountLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MerchantCenterAccountLink.Builder |