Class TestingOptions (3.50.0)

public final class TestingOptions extends GeneratedMessageV3 implements TestingOptionsOrBuilder

Options for user acceptance testing.

Protobuf type google.cloud.recaptchaenterprise.v1.TestingOptions

Static Fields

TESTING_CHALLENGE_FIELD_NUMBER

public static final int TESTING_CHALLENGE_FIELD_NUMBER
Field Value
Type Description
int

TESTING_SCORE_FIELD_NUMBER

public static final int TESTING_SCORE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TestingOptions getDefaultInstance()
Returns
Type Description
TestingOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TestingOptions.Builder newBuilder()
Returns
Type Description
TestingOptions.Builder

newBuilder(TestingOptions prototype)

public static TestingOptions.Builder newBuilder(TestingOptions prototype)
Parameter
Name Description
prototype TestingOptions
Returns
Type Description
TestingOptions.Builder

parseDelimitedFrom(InputStream input)

public static TestingOptions parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TestingOptions
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestingOptions
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TestingOptions parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TestingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestingOptions parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TestingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestingOptions parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TestingOptions
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestingOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TestingOptions parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TestingOptions
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestingOptions
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TestingOptions parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TestingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TestingOptions
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TestingOptions> parser()
Returns
Type Description
Parser<TestingOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TestingOptions getDefaultInstanceForType()
Returns
Type Description
TestingOptions

getParserForType()

public Parser<TestingOptions> getParserForType()
Returns
Type Description
Parser<TestingOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTestingChallenge()

public TestingOptions.TestingChallenge getTestingChallenge()

Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.

.google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TestingOptions.TestingChallenge

The testingChallenge.

getTestingChallengeValue()

public int getTestingChallengeValue()

Optional. For challenge-based keys only (CHECKBOX, INVISIBLE), all challenge requests for this site will return nocaptcha if NOCAPTCHA, or an unsolvable challenge if CHALLENGE.

.google.cloud.recaptchaenterprise.v1.TestingOptions.TestingChallenge testing_challenge = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for testingChallenge.

getTestingScore()

public float getTestingScore()

Optional. All assessments for this Key will return this score. Must be between 0 (likely not legitimate) and 1 (likely legitimate) inclusive.

float testing_score = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
float

The testingScore.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TestingOptions.Builder newBuilderForType()
Returns
Type Description
TestingOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestingOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TestingOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TestingOptions.Builder toBuilder()
Returns
Type Description
TestingOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException