public static enum FieldConfig.SearchableOption extends Enum<FieldConfig.SearchableOption> implements com.google.protobuf.ProtocolMessageEnum
The setting of Searchable options in schema.Protobuf enum
google.cloud.discoveryengine.v1alpha.FieldConfig.SearchableOption| Enum Constant and Description |
|---|
SEARCHABLE_DISABLED
Searchable option disabled for a schema field.
|
SEARCHABLE_ENABLED
Searchable option enabled for a schema field.
|
SEARCHABLE_OPTION_UNSPECIFIED
Value used when unset.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SEARCHABLE_DISABLED_VALUE
Searchable option disabled for a schema field.
|
static int |
SEARCHABLE_ENABLED_VALUE
Searchable option enabled for a schema field.
|
static int |
SEARCHABLE_OPTION_UNSPECIFIED_VALUE
Value used when unset.
|
| Modifier and Type | Method and Description |
|---|---|
static FieldConfig.SearchableOption |
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<FieldConfig.SearchableOption> |
internalGetValueMap() |
static FieldConfig.SearchableOption |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FieldConfig.SearchableOption |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FieldConfig.SearchableOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldConfig.SearchableOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldConfig.SearchableOption SEARCHABLE_OPTION_UNSPECIFIED
Value used when unset.
SEARCHABLE_OPTION_UNSPECIFIED = 0;public static final FieldConfig.SearchableOption SEARCHABLE_ENABLED
Searchable option enabled for a schema field.
SEARCHABLE_ENABLED = 1;public static final FieldConfig.SearchableOption SEARCHABLE_DISABLED
Searchable option disabled for a schema field.
SEARCHABLE_DISABLED = 2;public static final FieldConfig.SearchableOption UNRECOGNIZED
public static final int SEARCHABLE_OPTION_UNSPECIFIED_VALUE
Value used when unset.
SEARCHABLE_OPTION_UNSPECIFIED = 0;public static final int SEARCHABLE_ENABLED_VALUE
Searchable option enabled for a schema field.
SEARCHABLE_ENABLED = 1;public static final int SEARCHABLE_DISABLED_VALUE
Searchable option disabled for a schema field.
SEARCHABLE_DISABLED = 2;public static FieldConfig.SearchableOption[] values()
for (FieldConfig.SearchableOption c : FieldConfig.SearchableOption.values()) System.out.println(c);
public static FieldConfig.SearchableOption 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 FieldConfig.SearchableOption valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static FieldConfig.SearchableOption forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FieldConfig.SearchableOption> 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 FieldConfig.SearchableOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.