public static enum CatalogAttribute.IndexableOption extends Enum<CatalogAttribute.IndexableOption> implements com.google.protobuf.ProtocolMessageEnum
The status of the indexable option of a catalog attribute.Protobuf enum
google.cloud.retail.v2.CatalogAttribute.IndexableOption| Enum Constant and Description |
|---|
INDEXABLE_DISABLED
Indexable option disabled for an attribute.
|
INDEXABLE_ENABLED
Indexable option enabled for an attribute.
|
INDEXABLE_OPTION_UNSPECIFIED
Value used when unset.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INDEXABLE_DISABLED_VALUE
Indexable option disabled for an attribute.
|
static int |
INDEXABLE_ENABLED_VALUE
Indexable option enabled for an attribute.
|
static int |
INDEXABLE_OPTION_UNSPECIFIED_VALUE
Value used when unset.
|
| Modifier and Type | Method and Description |
|---|---|
static CatalogAttribute.IndexableOption |
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<CatalogAttribute.IndexableOption> |
internalGetValueMap() |
static CatalogAttribute.IndexableOption |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CatalogAttribute.IndexableOption |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CatalogAttribute.IndexableOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CatalogAttribute.IndexableOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CatalogAttribute.IndexableOption INDEXABLE_OPTION_UNSPECIFIED
Value used when unset.
INDEXABLE_OPTION_UNSPECIFIED = 0;public static final CatalogAttribute.IndexableOption INDEXABLE_ENABLED
Indexable option enabled for an attribute.
INDEXABLE_ENABLED = 1;public static final CatalogAttribute.IndexableOption INDEXABLE_DISABLED
Indexable option disabled for an attribute.
INDEXABLE_DISABLED = 2;public static final CatalogAttribute.IndexableOption UNRECOGNIZED
public static final int INDEXABLE_OPTION_UNSPECIFIED_VALUE
Value used when unset.
INDEXABLE_OPTION_UNSPECIFIED = 0;public static final int INDEXABLE_ENABLED_VALUE
Indexable option enabled for an attribute.
INDEXABLE_ENABLED = 1;public static final int INDEXABLE_DISABLED_VALUE
Indexable option disabled for an attribute.
INDEXABLE_DISABLED = 2;public static CatalogAttribute.IndexableOption[] values()
for (CatalogAttribute.IndexableOption c : CatalogAttribute.IndexableOption.values()) System.out.println(c);
public static CatalogAttribute.IndexableOption 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 CatalogAttribute.IndexableOption valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CatalogAttribute.IndexableOption forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CatalogAttribute.IndexableOption> 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 CatalogAttribute.IndexableOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.