Interface RiskAnalysisOrBuilder (3.52.0)

public interface RiskAnalysisOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChallenge()

public abstract RiskAnalysis.Challenge getChallenge()

Output only. Challenge information for SCORE_AND_CHALLENGE and INVISIBLE keys

.google.cloud.recaptchaenterprise.v1.RiskAnalysis.Challenge challenge = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RiskAnalysis.Challenge

The challenge.

getChallengeValue()

public abstract int getChallengeValue()

Output only. Challenge information for SCORE_AND_CHALLENGE and INVISIBLE keys

.google.cloud.recaptchaenterprise.v1.RiskAnalysis.Challenge challenge = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for challenge.

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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

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

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
Type Description
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
Type Description
float

The score.