Send feedback
Class ChallengeMetrics (2.3.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.3.1 keyboard_arrow_down
public final class ChallengeMetrics extends GeneratedMessageV3 implements ChallengeMetricsOrBuilder
Metrics related to challenges.
Protobuf type google.cloud.recaptchaenterprise.v1.ChallengeMetrics
Fields
FAILED_COUNT_FIELD_NUMBER
public static final int FAILED_COUNT_FIELD_NUMBER
Field Value
NOCAPTCHA_COUNT_FIELD_NUMBER
public static final int NOCAPTCHA_COUNT_FIELD_NUMBER
Field Value
PAGELOAD_COUNT_FIELD_NUMBER
public static final int PAGELOAD_COUNT_FIELD_NUMBER
Field Value
PASSED_COUNT_FIELD_NUMBER
public static final int PASSED_COUNT_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstance()
public static ChallengeMetrics getDefaultInstance ()
Returns
getDefaultInstanceForType()
public ChallengeMetrics getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getFailedCount()
public long getFailedCount ()
Count of submitted challenge solutions that were incorrect or otherwise
deemed suspicious such that a subsequent challenge was triggered.
int64 failed_count = 3;
Returns
Type Description long The failedCount.
getNocaptchaCount()
public long getNocaptchaCount ()
Count of nocaptchas (successful verification without a challenge) issued.
int64 nocaptcha_count = 2;
Returns
Type Description long The nocaptchaCount.
getPageloadCount()
public long getPageloadCount ()
Count of reCAPTCHA checkboxes or badges rendered. This is mostly equivalent
to a count of pageloads for pages that include reCAPTCHA.
int64 pageload_count = 1;
Returns
Type Description long The pageloadCount.
getParserForType()
public Parser<ChallengeMetrics> getParserForType ()
Returns
Overrides
getPassedCount()
public long getPassedCount ()
Count of nocaptchas (successful verification without a challenge) plus
submitted challenge solutions that were correct and resulted in
verification.
int64 passed_count = 4;
Returns
Type Description long The passedCount.
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilder()
public static ChallengeMetrics . Builder newBuilder ()
Returns
newBuilder(ChallengeMetrics prototype)
public static ChallengeMetrics . Builder newBuilder ( ChallengeMetrics prototype )
Parameter
Returns
newBuilderForType()
public ChallengeMetrics . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ChallengeMetrics . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public static ChallengeMetrics parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ChallengeMetrics parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ChallengeMetrics parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChallengeMetrics parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ChallengeMetrics parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChallengeMetrics parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ChallengeMetrics parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static ChallengeMetrics parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ChallengeMetrics parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ChallengeMetrics parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ChallengeMetrics parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChallengeMetrics parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<ChallengeMetrics> parser ()
Returns
toBuilder()
public ChallengeMetrics . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
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 2025-01-21 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 2025-01-21 UTC."],[],[]]