Interface RiskAnalysisOrBuilder (3.26.0)

public interface RiskAnalysisOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExtendedVerdictReasons(int index)

public abstract String getExtendedVerdictReasons(int index)

Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.

repeated string extended_verdict_reasons = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The extendedVerdictReasons at the given index.

getExtendedVerdictReasonsBytes(int index)

public abstract ByteString getExtendedVerdictReasonsBytes(int index)

Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.

repeated string extended_verdict_reasons = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the extendedVerdictReasons at the given index.

getExtendedVerdictReasonsCount()

public abstract int getExtendedVerdictReasonsCount()

Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.

repeated string extended_verdict_reasons = 3;

Returns
TypeDescription
int

The count of extendedVerdictReasons.

getExtendedVerdictReasonsList()

public abstract List<String> getExtendedVerdictReasonsList()

Extended verdict reasons to be used for experimentation only. The set of possible reasons is subject to change.

repeated string extended_verdict_reasons = 3;

Returns
TypeDescription
List<String>

A list containing the extendedVerdictReasons.

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.