Class RiskAnalysis
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.recaptchaenterprise.v1.RiskAnalysis
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RiskAnalysisOrBuilder,Serializable
@Generated
public final class RiskAnalysis
extends com.google.protobuf.GeneratedMessage
implements RiskAnalysisOrBuilder
Risk analysis result for an event.Protobuf type
google.cloud.recaptchaenterprise.v1.RiskAnalysis- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRisk analysis result for an event.static enumChallenge information for POLICY_BASED_CHALLENGE and INVISIBLE keys.static enumReasons contributing to the risk analysis verdict.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOutput only.intOutput only.static RiskAnalysisstatic final com.google.protobuf.Descriptors.DescriptorgetExtendedVerdictReasons(int index) Output only.com.google.protobuf.ByteStringgetExtendedVerdictReasonsBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.com.google.protobuf.Parser<RiskAnalysis>getReasons(int index) Output only.intOutput only.Output only.intgetReasonsValue(int index) Output only.Output only.floatgetScore()Output only.intgetVerifiedBots(int index) Output only.intOutput only.Output only.getVerifiedBotsOrBuilder(int index) Output only.List<? extends BotOrBuilder>Output only.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic RiskAnalysis.Builderstatic RiskAnalysis.BuildernewBuilder(RiskAnalysis prototype) protected RiskAnalysis.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RiskAnalysisparseDelimitedFrom(InputStream input) static RiskAnalysisparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RiskAnalysisparseFrom(byte[] data) static RiskAnalysisparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RiskAnalysisparseFrom(com.google.protobuf.ByteString data) static RiskAnalysisparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RiskAnalysisparseFrom(com.google.protobuf.CodedInputStream input) static RiskAnalysisparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RiskAnalysisparseFrom(InputStream input) static RiskAnalysisparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RiskAnalysisparseFrom(ByteBuffer data) static RiskAnalysisparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RiskAnalysis>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER- See Also:
-
REASONS_FIELD_NUMBER
public static final int REASONS_FIELD_NUMBER- See Also:
-
EXTENDED_VERDICT_REASONS_FIELD_NUMBER
public static final int EXTENDED_VERDICT_REASONS_FIELD_NUMBER- See Also:
-
CHALLENGE_FIELD_NUMBER
public static final int CHALLENGE_FIELD_NUMBER- See Also:
-
VERIFIED_BOTS_FIELD_NUMBER
public static final int VERIFIED_BOTS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getScore
public float 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];- Specified by:
getScorein interfaceRiskAnalysisOrBuilder- Returns:
- The score.
-
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];- Specified by:
getReasonsListin interfaceRiskAnalysisOrBuilder- Returns:
- A list containing the reasons.
-
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];- Specified by:
getReasonsCountin interfaceRiskAnalysisOrBuilder- Returns:
- The count of reasons.
-
getReasons
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getReasonsin interfaceRiskAnalysisOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The reasons at the given index.
-
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];- Specified by:
getReasonsValueListin interfaceRiskAnalysisOrBuilder- Returns:
- A list containing the enum numeric values on the wire for reasons.
-
getReasonsValue
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];- Specified by:
getReasonsValuein interfaceRiskAnalysisOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of reasons at the given index.
-
getExtendedVerdictReasonsList
public com.google.protobuf.ProtocolStringList getExtendedVerdictReasonsList()Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExtendedVerdictReasonsListin interfaceRiskAnalysisOrBuilder- Returns:
- A list containing the extendedVerdictReasons.
-
getExtendedVerdictReasonsCount
public int getExtendedVerdictReasonsCount()Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExtendedVerdictReasonsCountin interfaceRiskAnalysisOrBuilder- Returns:
- The count of extendedVerdictReasons.
-
getExtendedVerdictReasons
Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExtendedVerdictReasonsin interfaceRiskAnalysisOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The extendedVerdictReasons at the given index.
-
getExtendedVerdictReasonsBytes
public com.google.protobuf.ByteString getExtendedVerdictReasonsBytes(int index) Output only. Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getExtendedVerdictReasonsBytesin interfaceRiskAnalysisOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the extendedVerdictReasons at the given index.
-
getChallengeValue
public int getChallengeValue()Output only. Challenge information for POLICY_BASED_CHALLENGE and INVISIBLE keys.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis.Challenge challenge = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChallengeValuein interfaceRiskAnalysisOrBuilder- Returns:
- The enum numeric value on the wire for challenge.
-
getChallenge
Output only. Challenge information for POLICY_BASED_CHALLENGE and INVISIBLE keys.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis.Challenge challenge = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getChallengein interfaceRiskAnalysisOrBuilder- Returns:
- The challenge.
-
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];- Specified by:
getVerifiedBotsListin interfaceRiskAnalysisOrBuilder
-
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];- Specified by:
getVerifiedBotsOrBuilderListin interfaceRiskAnalysisOrBuilder
-
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];- Specified by:
getVerifiedBotsCountin interfaceRiskAnalysisOrBuilder
-
getVerifiedBots
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];- Specified by:
getVerifiedBotsin interfaceRiskAnalysisOrBuilder
-
getVerifiedBotsOrBuilder
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];- Specified by:
getVerifiedBotsOrBuilderin interfaceRiskAnalysisOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RiskAnalysis parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskAnalysis parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskAnalysis parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskAnalysis parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskAnalysis parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RiskAnalysis parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RiskAnalysis parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RiskAnalysis parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RiskAnalysis parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RiskAnalysis.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-