public final class ChallengeMetrics extends GeneratedMessageV3 implements ChallengeMetricsOrBuilder
Metrics related to challenges.
Protobuf type google.cloud.recaptchaenterprise.v1.ChallengeMetrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
FAILED_COUNT_FIELD_NUMBER
public static final int FAILED_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
NOCAPTCHA_COUNT_FIELD_NUMBER
public static final int NOCAPTCHA_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PAGELOAD_COUNT_FIELD_NUMBER
public static final int PAGELOAD_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PASSED_COUNT_FIELD_NUMBER
public static final int PASSED_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ChallengeMetrics getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ChallengeMetrics.Builder newBuilder()
newBuilder(ChallengeMetrics prototype)
public static ChallengeMetrics.Builder newBuilder(ChallengeMetrics prototype)
public static ChallengeMetrics parseDelimitedFrom(InputStream input)
public static ChallengeMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ChallengeMetrics parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ChallengeMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ChallengeMetrics parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChallengeMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ChallengeMetrics parseFrom(CodedInputStream input)
public static ChallengeMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ChallengeMetrics parseFrom(InputStream input)
public static ChallengeMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ChallengeMetrics parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ChallengeMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ChallengeMetrics> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ChallengeMetrics getDefaultInstanceForType()
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()
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 |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ChallengeMetrics.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ChallengeMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ChallengeMetrics.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides