public enum SearchAddOn extends Enum<SearchAddOn> implements com.google.protobuf.ProtocolMessageEnum
Add-on that provides additional functionality for search.Protobuf enum
google.cloud.discoveryengine.v1alpha.SearchAddOn| Enum Constant and Description |
|---|
SEARCH_ADD_ON_LLM
Large language model add-on.
|
SEARCH_ADD_ON_UNSPECIFIED
Default value when the enum is unspecified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
SEARCH_ADD_ON_LLM_VALUE
Large language model add-on.
|
static int |
SEARCH_ADD_ON_UNSPECIFIED_VALUE
Default value when the enum is unspecified.
|
| Modifier and Type | Method and Description |
|---|---|
static SearchAddOn |
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<SearchAddOn> |
internalGetValueMap() |
static SearchAddOn |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SearchAddOn |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SearchAddOn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchAddOn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchAddOn SEARCH_ADD_ON_UNSPECIFIED
Default value when the enum is unspecified. This is invalid to use.
SEARCH_ADD_ON_UNSPECIFIED = 0;public static final SearchAddOn SEARCH_ADD_ON_LLM
Large language model add-on.
SEARCH_ADD_ON_LLM = 1;public static final SearchAddOn UNRECOGNIZED
public static final int SEARCH_ADD_ON_UNSPECIFIED_VALUE
Default value when the enum is unspecified. This is invalid to use.
SEARCH_ADD_ON_UNSPECIFIED = 0;public static final int SEARCH_ADD_ON_LLM_VALUE
Large language model add-on.
SEARCH_ADD_ON_LLM = 1;public static SearchAddOn[] values()
for (SearchAddOn c : SearchAddOn.values()) System.out.println(c);
public static SearchAddOn 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 SearchAddOn valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SearchAddOn forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SearchAddOn> 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 SearchAddOn valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.