Class TestingOptions (3.8.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
TypeDescription
int

TESTING_SCORE_FIELD_NUMBER

public static final int TESTING_SCORE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TestingOptions getDefaultInstance()
Returns
TypeDescription
TestingOptions

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TestingOptions.Builder newBuilder()
Returns
TypeDescription
TestingOptions.Builder

newBuilder(TestingOptions prototype)

public static TestingOptions.Builder newBuilder(TestingOptions prototype)
Parameter
NameDescription
prototypeTestingOptions
Returns
TypeDescription
TestingOptions.Builder

parseDelimitedFrom(InputStream input)

public static TestingOptions parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TestingOptions parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TestingOptions parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TestingOptions parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TestingOptions parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TestingOptions parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TestingOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TestingOptions
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TestingOptions> parser()
Returns
TypeDescription
Parser<TestingOptions>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public TestingOptions getDefaultInstanceForType()
Returns
TypeDescription
TestingOptions

getParserForType()

public Parser<TestingOptions> getParserForType()
Returns
TypeDescription
Parser<TestingOptions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTestingChallenge()

public TestingOptions.TestingChallenge getTestingChallenge()

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;

Returns
TypeDescription
TestingOptions.TestingChallenge

The testingChallenge.

getTestingChallengeValue()

public int getTestingChallengeValue()

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;

Returns
TypeDescription
int

The enum numeric value on the wire for testingChallenge.

getTestingScore()

public float getTestingScore()

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;

Returns
TypeDescription
float

The testingScore.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TestingOptions.Builder newBuilderForType()
Returns
TypeDescription
TestingOptions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TestingOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TestingOptions.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TestingOptions.Builder toBuilder()
Returns
TypeDescription
TestingOptions.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException