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