public enum AttributeConfigLevel extends Enum<AttributeConfigLevel> implements com.google.protobuf.ProtocolMessageEnum
At which level we offer configuration for attributes.Protobuf enum
google.cloud.retail.v2alpha.AttributeConfigLevel| Enum Constant and Description |
|---|
ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED
Value used when unset.
|
CATALOG_LEVEL_ATTRIBUTE_CONFIG
At this level, we honor the attribute configurations set in
[CatalogConfig.attribute_configs][google.cloud.retail.v2alpha.CatalogConfig.attribute_configs].
|
PRODUCT_LEVEL_ATTRIBUTE_CONFIG
At this level, we honor the attribute configurations set in
[Product.attributes][google.cloud.retail.v2alpha.Product.attributes].
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED_VALUE
Value used when unset.
|
static int |
CATALOG_LEVEL_ATTRIBUTE_CONFIG_VALUE
At this level, we honor the attribute configurations set in
[CatalogConfig.attribute_configs][google.cloud.retail.v2alpha.CatalogConfig.attribute_configs].
|
static int |
PRODUCT_LEVEL_ATTRIBUTE_CONFIG_VALUE
At this level, we honor the attribute configurations set in
[Product.attributes][google.cloud.retail.v2alpha.Product.attributes].
|
| Modifier and Type | Method and Description |
|---|---|
static AttributeConfigLevel |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<AttributeConfigLevel> |
internalGetValueMap() |
static AttributeConfigLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AttributeConfigLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AttributeConfigLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeConfigLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeConfigLevel ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED
Value used when unset. In this case, server behavior defaults to [CATALOG_LEVEL_ATTRIBUTE_CONFIG][google.cloud.retail.v2alpha.AttributeConfigLevel.CATALOG_LEVEL_ATTRIBUTE_CONFIG].
ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED = 0;public static final AttributeConfigLevel PRODUCT_LEVEL_ATTRIBUTE_CONFIG
At this level, we honor the attribute configurations set in [Product.attributes][google.cloud.retail.v2alpha.Product.attributes].
PRODUCT_LEVEL_ATTRIBUTE_CONFIG = 1;public static final AttributeConfigLevel CATALOG_LEVEL_ATTRIBUTE_CONFIG
At this level, we honor the attribute configurations set in [CatalogConfig.attribute_configs][google.cloud.retail.v2alpha.CatalogConfig.attribute_configs].
CATALOG_LEVEL_ATTRIBUTE_CONFIG = 2;public static final AttributeConfigLevel UNRECOGNIZED
public static final int ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED_VALUE
Value used when unset. In this case, server behavior defaults to [CATALOG_LEVEL_ATTRIBUTE_CONFIG][google.cloud.retail.v2alpha.AttributeConfigLevel.CATALOG_LEVEL_ATTRIBUTE_CONFIG].
ATTRIBUTE_CONFIG_LEVEL_UNSPECIFIED = 0;public static final int PRODUCT_LEVEL_ATTRIBUTE_CONFIG_VALUE
At this level, we honor the attribute configurations set in [Product.attributes][google.cloud.retail.v2alpha.Product.attributes].
PRODUCT_LEVEL_ATTRIBUTE_CONFIG = 1;public static final int CATALOG_LEVEL_ATTRIBUTE_CONFIG_VALUE
At this level, we honor the attribute configurations set in [CatalogConfig.attribute_configs][google.cloud.retail.v2alpha.CatalogConfig.attribute_configs].
CATALOG_LEVEL_ATTRIBUTE_CONFIG = 2;public static AttributeConfigLevel[] values()
for (AttributeConfigLevel c : AttributeConfigLevel.values()) System.out.println(c);
public static AttributeConfigLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static AttributeConfigLevel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AttributeConfigLevel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AttributeConfigLevel> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AttributeConfigLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.