public final class ChallengeMetrics extends GeneratedMessageV3 implements ChallengeMetricsOrBuilder
Metrics related to challenges.
Protobuf type google.cloud.recaptchaenterprise.v1.ChallengeMetrics
Static 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
Static Methods
getDefaultInstance()
public static ChallengeMetrics getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ChallengeMetrics.Builder newBuilder()
Returns
newBuilder(ChallengeMetrics prototype)
public static ChallengeMetrics.Builder newBuilder(ChallengeMetrics prototype)
Parameter
Returns
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
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ChallengeMetrics getDefaultInstanceForType()
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
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
toBuilder()
public ChallengeMetrics.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions