public final class RiskAnalysis extends GeneratedMessage implements RiskAnalysisOrBuilder
Risk analysis result for an event.
Protobuf type google.cloud.recaptchaenterprise.v1.RiskAnalysis
Inherited Members
com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(java.lang.Class>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.emptyList(java.lang.Class)
com.google.protobuf.GeneratedMessage.serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField,com.google.protobuf.MapEntry,int)
com.google.protobuf.GeneratedMessage.serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField,com.google.protobuf.MapEntry,int)
com.google.protobuf.GeneratedMessage.serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField,com.google.protobuf.MapEntry,int)
com.google.protobuf.GeneratedMessage.serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField,com.google.protobuf.MapEntry,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CHALLENGE_FIELD_NUMBER
public static final int CHALLENGE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXTENDED_VERDICT_REASONS_FIELD_NUMBER
public static final int EXTENDED_VERDICT_REASONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LAST_CHALLENGE_TYPE_FIELD_NUMBER
public static final int LAST_CHALLENGE_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REASONS_FIELD_NUMBER
public static final int REASONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VERIFIED_BOTS_FIELD_NUMBER
public static final int VERIFIED_BOTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RiskAnalysis getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RiskAnalysis.Builder newBuilder()
newBuilder(RiskAnalysis prototype)
public static RiskAnalysis.Builder newBuilder(RiskAnalysis prototype)
public static RiskAnalysis parseDelimitedFrom(InputStream input)
public static RiskAnalysis parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RiskAnalysis parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RiskAnalysis parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RiskAnalysis parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RiskAnalysis parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RiskAnalysis parseFrom(CodedInputStream input)
public static RiskAnalysis parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RiskAnalysis parseFrom(InputStream input)
public static RiskAnalysis parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RiskAnalysis parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RiskAnalysis parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getChallenge()
public RiskAnalysis.Challenge getChallenge()
Output only. Challenge information for Universal, POLICY_BASED_CHALLENGE
and INVISIBLE keys.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis.Challenge challenge = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getChallengeValue()
public int getChallengeValue()
Output only. Challenge information for Universal, POLICY_BASED_CHALLENGE
and INVISIBLE keys.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis.Challenge challenge = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for challenge.
|
getDefaultInstanceForType()
public RiskAnalysis getDefaultInstanceForType()
getExtendedVerdictReasons(int index)
public String getExtendedVerdictReasons(int index)
Output only. Additional reasons contributing to the risk analysis verdict.
These reasons are available to Enterprise tier projects only. Contact sales
for more information.
The set of reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The extendedVerdictReasons at the given index.
|
getExtendedVerdictReasonsBytes(int index)
public ByteString getExtendedVerdictReasonsBytes(int index)
Output only. Additional reasons contributing to the risk analysis verdict.
These reasons are available to Enterprise tier projects only. Contact sales
for more information.
The set of reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the extendedVerdictReasons at the given index.
|
getExtendedVerdictReasonsCount()
public int getExtendedVerdictReasonsCount()
Output only. Additional reasons contributing to the risk analysis verdict.
These reasons are available to Enterprise tier projects only. Contact sales
for more information.
The set of reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The count of extendedVerdictReasons.
|
getExtendedVerdictReasonsList()
public ProtocolStringList getExtendedVerdictReasonsList()
Output only. Additional reasons contributing to the risk analysis verdict.
These reasons are available to Enterprise tier projects only. Contact sales
for more information.
The set of reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastChallengeType()
public ChallengeType getLastChallengeType()
Output only. Type of the last challenge presented to the user for
Universal, POLICY_BASED_CHALLENGE and INVISIBLE keys. The field is only
set when a challenge was presented to the user.
.google.cloud.recaptchaenterprise.v1.ChallengeType last_challenge_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getLastChallengeTypeValue()
public int getLastChallengeTypeValue()
Output only. Type of the last challenge presented to the user for
Universal, POLICY_BASED_CHALLENGE and INVISIBLE keys. The field is only
set when a challenge was presented to the user.
.google.cloud.recaptchaenterprise.v1.ChallengeType last_challenge_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for lastChallengeType.
|
getParserForType()
public Parser getParserForType()
Overrides
getReasons(int index)
public RiskAnalysis.ClassificationReason getReasons(int index)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
getReasonsCount()
public int getReasonsCount()
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
The count of reasons.
|
getReasonsList()
public List.ClassificationReason> getReasonsList()
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReasonsValue(int index)
public int getReasonsValue(int index)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire of reasons at the given index.
|
getReasonsValueList()
public List getReasonsValueList()
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for reasons.
|
getScore()
Output only. Legitimate event score from 0.0 to 1.0.
(1.0 means very likely legitimate traffic while 0.0 means very likely
non-legitimate traffic).
float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
float |
The score.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getVerifiedBots(int index)
public Bot getVerifiedBots(int index)
Output only. Bots with identities that have been verified by reCAPTCHA and
detected in the event.
repeated .google.cloud.recaptchaenterprise.v1.Bot verified_bots = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
| Returns |
| Type |
Description |
Bot |
|
getVerifiedBotsCount()
public int getVerifiedBotsCount()
Output only. Bots with identities that have been verified by reCAPTCHA and
detected in the event.
repeated .google.cloud.recaptchaenterprise.v1.Bot verified_bots = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
int |
|
getVerifiedBotsList()
public List getVerifiedBotsList()
Output only. Bots with identities that have been verified by reCAPTCHA and
detected in the event.
repeated .google.cloud.recaptchaenterprise.v1.Bot verified_bots = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getVerifiedBotsOrBuilder(int index)
public BotOrBuilder getVerifiedBotsOrBuilder(int index)
Output only. Bots with identities that have been verified by reCAPTCHA and
detected in the event.
repeated .google.cloud.recaptchaenterprise.v1.Bot verified_bots = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter |
| Name |
Description |
index |
int
|
getVerifiedBotsOrBuilderList()
public List<? extends BotOrBuilder> getVerifiedBotsOrBuilderList()
Output only. Bots with identities that have been verified by reCAPTCHA and
detected in the event.
repeated .google.cloud.recaptchaenterprise.v1.Bot verified_bots = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
List<? extends com.google.recaptchaenterprise.v1.BotOrBuilder> |
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RiskAnalysis.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected RiskAnalysis.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public RiskAnalysis.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides