public static enum FieldConfig.AdvancedSiteSearchDataSource extends Enum<FieldConfig.AdvancedSiteSearchDataSource> implements com.google.protobuf.ProtocolMessageEnum
Optional source of the advanced site search field.Protobuf enum
google.cloud.discoveryengine.v1alpha.FieldConfig.AdvancedSiteSearchDataSource| Enum Constant and Description |
|---|
ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED
Value used when unset.
|
METATAGS
Retrieve value from meta tag.
|
PAGEMAP
Retrieve value from page map.
|
SCHEMA_ORG
Retrieve value from schema.org data.
|
UNRECOGNIZED |
URI_PATTERN_MAPPING
Retrieve value from the attributes set by
[SiteSearchEngineService.SetUriPatternDocumentData][google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData]
API.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED_VALUE
Value used when unset.
|
static int |
METATAGS_VALUE
Retrieve value from meta tag.
|
static int |
PAGEMAP_VALUE
Retrieve value from page map.
|
static int |
SCHEMA_ORG_VALUE
Retrieve value from schema.org data.
|
static int |
URI_PATTERN_MAPPING_VALUE
Retrieve value from the attributes set by
[SiteSearchEngineService.SetUriPatternDocumentData][google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData]
API.
|
| Modifier and Type | Method and Description |
|---|---|
static FieldConfig.AdvancedSiteSearchDataSource |
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.AdvancedSiteSearchDataSource> |
internalGetValueMap() |
static FieldConfig.AdvancedSiteSearchDataSource |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FieldConfig.AdvancedSiteSearchDataSource |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FieldConfig.AdvancedSiteSearchDataSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FieldConfig.AdvancedSiteSearchDataSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldConfig.AdvancedSiteSearchDataSource ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED
Value used when unset.
ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED = 0;public static final FieldConfig.AdvancedSiteSearchDataSource METATAGS
Retrieve value from meta tag.
METATAGS = 1;public static final FieldConfig.AdvancedSiteSearchDataSource PAGEMAP
Retrieve value from page map.
PAGEMAP = 2;public static final FieldConfig.AdvancedSiteSearchDataSource URI_PATTERN_MAPPING
Retrieve value from the attributes set by [SiteSearchEngineService.SetUriPatternDocumentData][google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData] API.
URI_PATTERN_MAPPING = 3;public static final FieldConfig.AdvancedSiteSearchDataSource SCHEMA_ORG
Retrieve value from schema.org data.
SCHEMA_ORG = 4;public static final FieldConfig.AdvancedSiteSearchDataSource UNRECOGNIZED
public static final int ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED_VALUE
Value used when unset.
ADVANCED_SITE_SEARCH_DATA_SOURCE_UNSPECIFIED = 0;public static final int METATAGS_VALUE
Retrieve value from meta tag.
METATAGS = 1;public static final int PAGEMAP_VALUE
Retrieve value from page map.
PAGEMAP = 2;public static final int URI_PATTERN_MAPPING_VALUE
Retrieve value from the attributes set by [SiteSearchEngineService.SetUriPatternDocumentData][google.cloud.discoveryengine.v1alpha.SiteSearchEngineService.SetUriPatternDocumentData] API.
URI_PATTERN_MAPPING = 3;public static final int SCHEMA_ORG_VALUE
Retrieve value from schema.org data.
SCHEMA_ORG = 4;public static FieldConfig.AdvancedSiteSearchDataSource[] values()
for (FieldConfig.AdvancedSiteSearchDataSource c : FieldConfig.AdvancedSiteSearchDataSource.values()) System.out.println(c);
public static FieldConfig.AdvancedSiteSearchDataSource 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.AdvancedSiteSearchDataSource valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static FieldConfig.AdvancedSiteSearchDataSource forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FieldConfig.AdvancedSiteSearchDataSource> 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.AdvancedSiteSearchDataSource valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.