public static final class ChallengeMetrics.Builder extends GeneratedMessage.Builder<ChallengeMetrics.Builder> implements ChallengeMetricsOrBuilderMetrics related to challenges.
Protobuf type google.cloud.recaptchaenterprise.v1.ChallengeMetrics
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ChallengeMetrics.BuilderImplements
ChallengeMetricsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ChallengeMetrics build()| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics |
|
buildPartial()
public ChallengeMetrics buildPartial()| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics |
|
clear()
public ChallengeMetrics.Builder clear()| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
|
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 | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
This builder for chaining. |
clearNocaptchaCount()
public ChallengeMetrics.Builder clearNocaptchaCount()Count of nocaptchas (successful verification without a challenge) issued.
int64 nocaptcha_count = 2;
| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ChallengeMetrics getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ChallengeMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ChallengeMetrics.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
|
mergeFrom(ChallengeMetrics other)
public ChallengeMetrics.Builder mergeFrom(ChallengeMetrics other)| Parameter | |
|---|---|
| Name | Description |
other |
ChallengeMetrics |
| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
|
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 |
longThe failedCount to set. |
| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
This builder for chaining. |
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 |
longThe nocaptchaCount to set. |
| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
This builder for chaining. |
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 |
longThe pageloadCount to set. |
| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
This builder for chaining. |
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 |
longThe passedCount to set. |
| Returns | |
|---|---|
| Type | Description |
ChallengeMetrics.Builder |
This builder for chaining. |