public interface RiskAnalysisOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getReasons(int index)
public abstract RiskAnalysis.ClassificationReason getReasons(int index)
Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
RiskAnalysis.ClassificationReason | The reasons at the given index. |
getReasonsCount()
public abstract int getReasonsCount()
Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
Type | Description |
int | The count of reasons. |
getReasonsList()
public abstract List<RiskAnalysis.ClassificationReason> getReasonsList()
Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
Type | Description |
List<ClassificationReason> | A list containing the reasons. |
getReasonsValue(int index)
public abstract int getReasonsValue(int index)
Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of reasons at the given index. |
getReasonsValueList()
public abstract List<Integer> getReasonsValueList()
Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for reasons. |
getScore()
public abstract 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;
Type | Description |
float | The score. |