Send feedback
Class ChallengeMetrics.Builder (3.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.9.0 keyboard_arrow_down
public static final class ChallengeMetrics . Builder extends GeneratedMessageV3 . Builder<ChallengeMetrics . Builder > implements ChallengeMetricsOrBuilder
Metrics related to challenges.
Protobuf type google.cloud.recaptchaenterprise.v1.ChallengeMetrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ChallengeMetrics . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ChallengeMetrics build ()
Returns
buildPartial()
public ChallengeMetrics buildPartial ()
Returns
clear()
public ChallengeMetrics . Builder clear ()
Returns
Overrides
clearFailedCount()
public ChallengeMetrics . Builder clearFailedCount ()
Count of submitted challenge solutions that were incorrect or otherwise
deemed suspicious such that a subsequent challenge was triggered.
int64 failed_count = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public ChallengeMetrics . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearNocaptchaCount()
public ChallengeMetrics . Builder clearNocaptchaCount ()
Count of nocaptchas (successful verification without a challenge) issued.
int64 nocaptcha_count = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ChallengeMetrics . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearPageloadCount()
public ChallengeMetrics . Builder clearPageloadCount ()
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
clearPassedCount()
public ChallengeMetrics . Builder clearPassedCount ()
Count of nocaptchas (successful verification without a challenge) plus
submitted challenge solutions that were correct and resulted in
verification.
int64 passed_count = 4;
Returns
clone()
public ChallengeMetrics . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ChallengeMetrics getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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.
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
public ChallengeMetrics . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ChallengeMetrics . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeFrom(ChallengeMetrics other)
public ChallengeMetrics . Builder mergeFrom ( ChallengeMetrics other )
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ChallengeMetrics . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setFailedCount(long value)
public ChallengeMetrics . Builder setFailedCount ( long value )
Count of submitted challenge solutions that were incorrect or otherwise
deemed suspicious such that a subsequent challenge was triggered.
int64 failed_count = 3;
Parameter
Name Description value
long
The failedCount to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ChallengeMetrics . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setNocaptchaCount(long value)
public ChallengeMetrics . Builder setNocaptchaCount ( long value )
Count of nocaptchas (successful verification without a challenge) issued.
int64 nocaptcha_count = 2;
Parameter
Name Description value
long
The nocaptchaCount to set.
Returns
setPageloadCount(long value)
public ChallengeMetrics . Builder setPageloadCount ( long value )
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;
Parameter
Name Description value
long
The pageloadCount to set.
Returns
setPassedCount(long value)
public ChallengeMetrics . Builder setPassedCount ( long value )
Count of nocaptchas (successful verification without a challenge) plus
submitted challenge solutions that were correct and resulted in
verification.
int64 passed_count = 4;
Parameter
Name Description value
long
The passedCount to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ChallengeMetrics . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ChallengeMetrics . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
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-27 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-27 UTC."],[],[]]