Interface AssessmentOrBuilder (3.46.0)

public interface AssessmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccountDefenderAssessment()

public abstract AccountDefenderAssessment getAccountDefenderAssessment()

Assessment returned by account defender when a hashed_account_id is provided.

.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;

Returns
Type Description
AccountDefenderAssessment

The accountDefenderAssessment.

getAccountDefenderAssessmentOrBuilder()

public abstract AccountDefenderAssessmentOrBuilder getAccountDefenderAssessmentOrBuilder()

Assessment returned by account defender when a hashed_account_id is provided.

.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;

Returns
Type Description
AccountDefenderAssessmentOrBuilder

getEvent()

public abstract Event getEvent()

The event being assessed.

.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;

Returns
Type Description
Event

The event.

getEventOrBuilder()

public abstract EventOrBuilder getEventOrBuilder()

The event being assessed.

.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;

Returns
Type Description
EventOrBuilder

getFraudPreventionAssessment()

public abstract FraudPreventionAssessment getFraudPreventionAssessment()

Assessment returned by Fraud Prevention when TransactionData is provided.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;

Returns
Type Description
FraudPreventionAssessment

The fraudPreventionAssessment.

getFraudPreventionAssessmentOrBuilder()

public abstract FraudPreventionAssessmentOrBuilder getFraudPreventionAssessmentOrBuilder()

Assessment returned by Fraud Prevention when TransactionData is provided.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;

Returns
Type Description
FraudPreventionAssessmentOrBuilder

getName()

public abstract String getName()

Output only. The resource name for the Assessment in the format projects/{project_number}/assessments/{assessment_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name for the Assessment in the format projects/{project_number}/assessments/{assessment_id}.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getPasswordLeakVerification()

public abstract PasswordLeakVerification getPasswordLeakVerification()

Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.

.google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;

Returns
Type Description
PasswordLeakVerification

The passwordLeakVerification.

getPasswordLeakVerificationOrBuilder()

public abstract PasswordLeakVerificationOrBuilder getPasswordLeakVerificationOrBuilder()

Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.

.google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;

Returns
Type Description
PasswordLeakVerificationOrBuilder

getReasons(int index)

public abstract Assessment.ClassificationReason getReasons(int index)

Output only. Reasons contributing to the risk analysis verdict.

repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
Assessment.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.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of reasons.

getReasonsList()

public abstract List<Assessment.ClassificationReason> getReasonsList()

Output only. Reasons contributing to the risk analysis verdict.

repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.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.v1beta1.Assessment.ClassificationReason reasons = 5 [(.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.v1beta1.Assessment.ClassificationReason reasons = 5 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The score.

getTokenProperties()

public abstract TokenProperties getTokenProperties()

Output only. Properties of the provided event token.

.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TokenProperties

The tokenProperties.

getTokenPropertiesOrBuilder()

public abstract TokenPropertiesOrBuilder getTokenPropertiesOrBuilder()

Output only. Properties of the provided event token.

.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TokenPropertiesOrBuilder

hasAccountDefenderAssessment()

public abstract boolean hasAccountDefenderAssessment()

Assessment returned by account defender when a hashed_account_id is provided.

.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;

Returns
Type Description
boolean

Whether the accountDefenderAssessment field is set.

hasEvent()

public abstract boolean hasEvent()

The event being assessed.

.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;

Returns
Type Description
boolean

Whether the event field is set.

hasFraudPreventionAssessment()

public abstract boolean hasFraudPreventionAssessment()

Assessment returned by Fraud Prevention when TransactionData is provided.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;

Returns
Type Description
boolean

Whether the fraudPreventionAssessment field is set.

hasPasswordLeakVerification()

public abstract boolean hasPasswordLeakVerification()

Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.

.google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;

Returns
Type Description
boolean

Whether the passwordLeakVerification field is set.

hasTokenProperties()

public abstract boolean hasTokenProperties()

Output only. Properties of the provided event token.

.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the tokenProperties field is set.