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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TestingOptions.Builder newBuilder()
newBuilder(TestingOptions prototype)
public static TestingOptions.Builder newBuilder(TestingOptions prototype)
public static TestingOptions parseDelimitedFrom(InputStream input)
public static TestingOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TestingOptions parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TestingOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TestingOptions parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TestingOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TestingOptions parseFrom(CodedInputStream input)
public static TestingOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TestingOptions parseFrom(InputStream input)
public static TestingOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TestingOptions parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TestingOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TestingOptions> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public TestingOptions getDefaultInstanceForType()
getParserForType()
public Parser<TestingOptions> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
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;
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 |
---|
Type | Description |
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 |
---|
Type | Description |
float | The testingScore.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TestingOptions.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TestingOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public TestingOptions.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides