Interface BotOrBuilder (3.79.0)

public interface BotOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBotType()

public abstract 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];

Returns
Type Description
Bot.BotType

The botType.

getBotTypeValue()

public abstract 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.

getName()

public abstract String 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 abstract 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.