Interface RiskAnalysisOrBuilder (3.6.0)

public interface RiskAnalysisOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
float

The score.