public static enum DataStore.ContentConfig extends Enum<DataStore.ContentConfig> implements com.google.protobuf.ProtocolMessageEnum
Content config of the data store.Protobuf enum
google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig| Enum Constant and Description |
|---|
CONTENT_CONFIG_UNSPECIFIED
Default value.
|
CONTENT_REQUIRED
Only contains documents with
[Document.content][google.cloud.discoveryengine.v1alpha.Document.content].
|
NO_CONTENT
Only contains documents without any
[Document.content][google.cloud.discoveryengine.v1alpha.Document.content].
|
PUBLIC_WEBSITE
The data store is used for public website search.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENT_CONFIG_UNSPECIFIED_VALUE
Default value.
|
static int |
CONTENT_REQUIRED_VALUE
Only contains documents with
[Document.content][google.cloud.discoveryengine.v1alpha.Document.content].
|
static int |
NO_CONTENT_VALUE
Only contains documents without any
[Document.content][google.cloud.discoveryengine.v1alpha.Document.content].
|
static int |
PUBLIC_WEBSITE_VALUE
The data store is used for public website search.
|
| Modifier and Type | Method and Description |
|---|---|
static DataStore.ContentConfig |
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<DataStore.ContentConfig> |
internalGetValueMap() |
static DataStore.ContentConfig |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DataStore.ContentConfig |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DataStore.ContentConfig |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataStore.ContentConfig[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataStore.ContentConfig CONTENT_CONFIG_UNSPECIFIED
Default value.
CONTENT_CONFIG_UNSPECIFIED = 0;public static final DataStore.ContentConfig NO_CONTENT
Only contains documents without any [Document.content][google.cloud.discoveryengine.v1alpha.Document.content].
NO_CONTENT = 1;public static final DataStore.ContentConfig CONTENT_REQUIRED
Only contains documents with [Document.content][google.cloud.discoveryengine.v1alpha.Document.content].
CONTENT_REQUIRED = 2;public static final DataStore.ContentConfig PUBLIC_WEBSITE
The data store is used for public website search.
PUBLIC_WEBSITE = 3;public static final DataStore.ContentConfig UNRECOGNIZED
public static final int CONTENT_CONFIG_UNSPECIFIED_VALUE
Default value.
CONTENT_CONFIG_UNSPECIFIED = 0;public static final int NO_CONTENT_VALUE
Only contains documents without any [Document.content][google.cloud.discoveryengine.v1alpha.Document.content].
NO_CONTENT = 1;public static final int CONTENT_REQUIRED_VALUE
Only contains documents with [Document.content][google.cloud.discoveryengine.v1alpha.Document.content].
CONTENT_REQUIRED = 2;public static final int PUBLIC_WEBSITE_VALUE
The data store is used for public website search.
PUBLIC_WEBSITE = 3;public static DataStore.ContentConfig[] values()
for (DataStore.ContentConfig c : DataStore.ContentConfig.values()) System.out.println(c);
public static DataStore.ContentConfig 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 DataStore.ContentConfig valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DataStore.ContentConfig forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DataStore.ContentConfig> 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 DataStore.ContentConfig valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.