Interface RiskAnalysisOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RiskAnalysis
,RiskAnalysis.Builder
public interface RiskAnalysisOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RiskAnalysis.ClassificationReason
getReasons(int index)
Reasons contributing to the risk analysis verdict.int
getReasonsCount()
Reasons contributing to the risk analysis verdict.List<RiskAnalysis.ClassificationReason>
getReasonsList()
Reasons contributing to the risk analysis verdict.int
getReasonsValue(int index)
Reasons contributing to the risk analysis verdict.List<Integer>
getReasonsValueList()
Reasons contributing to the risk analysis verdict.float
getScore()
Legitimate event score from 0.0 to 1.0.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getScore
float getScore()
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;
- Returns:
- The score.
-
getReasonsList
List<RiskAnalysis.ClassificationReason> getReasonsList()
Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
- Returns:
- A list containing the reasons.
-
getReasonsCount
int getReasonsCount()
Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
- Returns:
- The count of reasons.
-
getReasons
RiskAnalysis.ClassificationReason getReasons(int index)
Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The reasons at the given index.
-
getReasonsValueList
List<Integer> getReasonsValueList()
Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
- Returns:
- A list containing the enum numeric values on the wire for reasons.
-
getReasonsValue
int getReasonsValue(int index)
Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of reasons at the given index.
-
-