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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ChallengeMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ChallengeMetrics build()
buildPartial()
public ChallengeMetrics buildPartial()
clear()
public ChallengeMetrics.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public ChallengeMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNocaptchaCount()
public ChallengeMetrics.Builder clearNocaptchaCount()
Count of nocaptchas (successful verification without a challenge) issued.
int64 nocaptcha_count = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ChallengeMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public ChallengeMetrics.Builder clone()
Overrides
getDefaultInstanceForType()
public ChallengeMetrics getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public ChallengeMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ChallengeMetrics.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeFrom(ChallengeMetrics other)
public ChallengeMetrics.Builder mergeFrom(ChallengeMetrics other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ChallengeMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ChallengeMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ChallengeMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ChallengeMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides