public static enum RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType extends Enum<RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType> implements com.google.protobuf.ProtocolMessageEnum
CorpusType for the failed crawling operation.Protobuf enum
google.cloud.discoveryengine.v1beta.RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType| Enum Constant and Description |
|---|
CORPUS_TYPE_UNSPECIFIED
Default value.
|
DESKTOP
Denotes a crawling attempt for the desktop version of a page.
|
MOBILE
Denotes a crawling attempt for the mobile version of a page.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CORPUS_TYPE_UNSPECIFIED_VALUE
Default value.
|
static int |
DESKTOP_VALUE
Denotes a crawling attempt for the desktop version of a page.
|
static int |
MOBILE_VALUE
Denotes a crawling attempt for the mobile version of a page.
|
| Modifier and Type | Method and Description |
|---|---|
static RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType |
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<RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType> |
internalGetValueMap() |
static RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType CORPUS_TYPE_UNSPECIFIED
Default value.
CORPUS_TYPE_UNSPECIFIED = 0;public static final RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType DESKTOP
Denotes a crawling attempt for the desktop version of a page.
DESKTOP = 1;public static final RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType MOBILE
Denotes a crawling attempt for the mobile version of a page.
MOBILE = 2;public static final RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType UNRECOGNIZED
public static final int CORPUS_TYPE_UNSPECIFIED_VALUE
Default value.
CORPUS_TYPE_UNSPECIFIED = 0;public static final int DESKTOP_VALUE
Denotes a crawling attempt for the desktop version of a page.
DESKTOP = 1;public static final int MOBILE_VALUE
Denotes a crawling attempt for the mobile version of a page.
MOBILE = 2;public static RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType[] values()
for (RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType c : RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType.values()) System.out.println(c);
public static RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType 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 RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType> 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 RecrawlUrisResponse.FailureInfo.FailureReason.CorpusType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.