public interface AttributesConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsCatalogAttributes(String key)
Enable attribute(s) config at catalog level.
|
AttributeConfigLevel |
getAttributeConfigLevel()
Output only.
|
int |
getAttributeConfigLevelValue()
Output only.
|
Map<String,CatalogAttribute> |
getCatalogAttributes()
Deprecated.
|
int |
getCatalogAttributesCount()
Enable attribute(s) config at catalog level.
|
Map<String,CatalogAttribute> |
getCatalogAttributesMap()
Enable attribute(s) config at catalog level.
|
CatalogAttribute |
getCatalogAttributesOrDefault(String key,
CatalogAttribute defaultValue)
Enable attribute(s) config at catalog level.
|
CatalogAttribute |
getCatalogAttributesOrThrow(String key)
Enable attribute(s) config at catalog level.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Required. Immutable. The fully qualified resource name of the attribute config. Format: `projects/*/locations/*/catalogs/*/attributesConfig`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
com.google.protobuf.ByteString getNameBytes()
Required. Immutable. The fully qualified resource name of the attribute config. Format: `projects/*/locations/*/catalogs/*/attributesConfig`
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
int getCatalogAttributesCount()
Enable attribute(s) config at catalog level. For example, indexable, dynamic_facetable, or searchable for each attribute. The key is catalog attribute's name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. The maximum number of catalog attributes allowed in a request is 1000.
map<string, .google.cloud.retail.v2alpha.CatalogAttribute> catalog_attributes = 2;
boolean containsCatalogAttributes(String key)
Enable attribute(s) config at catalog level. For example, indexable, dynamic_facetable, or searchable for each attribute. The key is catalog attribute's name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. The maximum number of catalog attributes allowed in a request is 1000.
map<string, .google.cloud.retail.v2alpha.CatalogAttribute> catalog_attributes = 2;
@Deprecated Map<String,CatalogAttribute> getCatalogAttributes()
getCatalogAttributesMap() instead.Map<String,CatalogAttribute> getCatalogAttributesMap()
Enable attribute(s) config at catalog level. For example, indexable, dynamic_facetable, or searchable for each attribute. The key is catalog attribute's name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. The maximum number of catalog attributes allowed in a request is 1000.
map<string, .google.cloud.retail.v2alpha.CatalogAttribute> catalog_attributes = 2;
CatalogAttribute getCatalogAttributesOrDefault(String key, CatalogAttribute defaultValue)
Enable attribute(s) config at catalog level. For example, indexable, dynamic_facetable, or searchable for each attribute. The key is catalog attribute's name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. The maximum number of catalog attributes allowed in a request is 1000.
map<string, .google.cloud.retail.v2alpha.CatalogAttribute> catalog_attributes = 2;
CatalogAttribute getCatalogAttributesOrThrow(String key)
Enable attribute(s) config at catalog level. For example, indexable, dynamic_facetable, or searchable for each attribute. The key is catalog attribute's name. For example: `color`, `brands`, `attributes.custom_attribute`, such as `attributes.xyz`. The maximum number of catalog attributes allowed in a request is 1000.
map<string, .google.cloud.retail.v2alpha.CatalogAttribute> catalog_attributes = 2;
int getAttributeConfigLevelValue()
Output only. The [AttributeConfigLevel][google.cloud.retail.v2alpha.AttributeConfigLevel] used for this catalog.
.google.cloud.retail.v2alpha.AttributeConfigLevel attribute_config_level = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
AttributeConfigLevel getAttributeConfigLevel()
Output only. The [AttributeConfigLevel][google.cloud.retail.v2alpha.AttributeConfigLevel] used for this catalog.
.google.cloud.retail.v2alpha.AttributeConfigLevel attribute_config_level = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2024 Google LLC. All rights reserved.