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