public interface RiskAnalysisOrBuilder extends MessageOrBuilderImplements
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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 abstract List<Integer> getReasonsValueList()Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
float |
The score. |