Enum Bot.BotType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Bot.BotType>
- Enclosing class:
- Bot
public static enum Bot.BotType
extends Enum<Bot.BotType>
implements com.google.protobuf.ProtocolMessageEnum
Types of bots. Ensure that applications can handle values not explicitly listed.Protobuf enum
google.cloud.recaptchaenterprise.v1.Bot.BotType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSoftware program that interacts with a site and performs tasks autonomously.Default unspecified type.Software that extracts specific data from sites for use.Software that crawls sites and stores content for the purpose of efficient retrieval, likely as part of a search engine. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intSoftware program that interacts with a site and performs tasks autonomously.static final intDefault unspecified type.static final intSoftware that extracts specific data from sites for use.static final intSoftware that crawls sites and stores content for the purpose of efficient retrieval, likely as part of a search engine. -
Method Summary
Modifier and TypeMethodDescriptionstatic Bot.BotTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Bot.BotType>static Bot.BotTypevalueOf(int value) Deprecated.static Bot.BotTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Bot.BotTypeReturns the enum constant of this type with the specified name.static Bot.BotType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BOT_TYPE_UNSPECIFIED
Default unspecified type.
BOT_TYPE_UNSPECIFIED = 0; -
AI_AGENT
Software program that interacts with a site and performs tasks autonomously.
AI_AGENT = 1; -
CONTENT_SCRAPER
Software that extracts specific data from sites for use.
CONTENT_SCRAPER = 2; -
SEARCH_INDEXER
Software that crawls sites and stores content for the purpose of efficient retrieval, likely as part of a search engine.
SEARCH_INDEXER = 3; -
UNRECOGNIZED
-
-
Field Details
-
BOT_TYPE_UNSPECIFIED_VALUE
public static final int BOT_TYPE_UNSPECIFIED_VALUEDefault unspecified type.
BOT_TYPE_UNSPECIFIED = 0;- See Also:
-
AI_AGENT_VALUE
public static final int AI_AGENT_VALUESoftware program that interacts with a site and performs tasks autonomously.
AI_AGENT = 1;- See Also:
-
CONTENT_SCRAPER_VALUE
public static final int CONTENT_SCRAPER_VALUESoftware that extracts specific data from sites for use.
CONTENT_SCRAPER = 2;- See Also:
-
SEARCH_INDEXER_VALUE
public static final int SEARCH_INDEXER_VALUESoftware that crawls sites and stores content for the purpose of efficient retrieval, likely as part of a search engine.
SEARCH_INDEXER = 3;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-