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