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