Interface RiskAnalysisOrBuilder (3.33.0)

public interface RiskAnalysisOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExtendedVerdictReasons(int index)

public abstract String getExtendedVerdictReasons(int index)

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

repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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)

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

repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

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()

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

repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of extendedVerdictReasons.

getExtendedVerdictReasonsList()

public abstract List<String> getExtendedVerdictReasonsList()

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

repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<String>

A list containing the extendedVerdictReasons.

getReasons(int index)

public abstract RiskAnalysis.ClassificationReason getReasons(int index)

Output only. Reasons contributing to the risk analysis verdict.

repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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()

Output only. Reasons contributing to the risk analysis verdict.

repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The count of reasons.

getReasonsList()

public abstract List<RiskAnalysis.ClassificationReason> getReasonsList()

Output only. Reasons contributing to the risk analysis verdict.

repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<ClassificationReason>

A list containing the reasons.

getReasonsValue(int index)

public abstract int getReasonsValue(int index)

Output only. Reasons contributing to the risk analysis verdict.

repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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()

Output only. Reasons contributing to the risk analysis verdict.

repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for reasons.

getScore()

public abstract float getScore()

Output only. 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 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
float

The score.