Send feedback
Class Bot (3.79.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public final class Bot extends GeneratedMessageV3 implements BotOrBuilder
Bot information and metadata.
Protobuf type google.cloud.recaptchaenterprise.v1.Bot
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BOT_TYPE_FIELD_NUMBER
public static final int BOT_TYPE_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static Bot getDefaultInstance ()
Returns
Type
Description
Bot
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Bot . Builder newBuilder ()
newBuilder(Bot prototype)
public static Bot . Builder newBuilder ( Bot prototype )
Parameter
Name
Description
prototype
Bot
public static Bot parseDelimitedFrom ( InputStream input )
Returns
Type
Description
Bot
public static Bot parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Bot
parseFrom(byte[] data)
public static Bot parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Type
Description
Bot
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Bot parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Bot
parseFrom(ByteString data)
public static Bot parseFrom ( ByteString data )
Returns
Type
Description
Bot
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Bot parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Bot
public static Bot parseFrom ( CodedInputStream input )
Returns
Type
Description
Bot
public static Bot parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Bot
public static Bot parseFrom ( InputStream input )
Returns
Type
Description
Bot
public static Bot parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Bot
parseFrom(ByteBuffer data)
public static Bot parseFrom ( ByteBuffer data )
Returns
Type
Description
Bot
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Bot parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns
Type
Description
Bot
parser()
public static Parser<Bot> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getBotType()
public Bot . BotType getBotType ()
Optional. Enumerated field representing the type of bot.
.google.cloud.recaptchaenterprise.v1.Bot.BotType bot_type = 2 [(.google.api.field_behavior) = OPTIONAL];
getBotTypeValue()
public int getBotTypeValue ()
Optional. Enumerated field representing the type of bot.
.google.cloud.recaptchaenterprise.v1.Bot.BotType bot_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
The enum numeric value on the wire for botType.
getDefaultInstanceForType()
public Bot getDefaultInstanceForType ()
Returns
Type
Description
Bot
getName()
Optional. Enumerated string value that indicates the identity of the bot,
formatted in kebab-case.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Optional. Enumerated string value that indicates the identity of the bot,
formatted in kebab-case.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for name.
getParserForType()
public Parser<Bot> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Bot . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Bot . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public Bot . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-23 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-23 UTC."],[],[]]