Interface AssessmentOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Assessment, Assessment.Builder

@Generated public interface AssessmentOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      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:
      The name.
    • getNameBytes

      com.google.protobuf.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:
      The bytes for name.
    • hasEvent

      boolean hasEvent()
       The event being assessed.
       
      .google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
      Returns:
      Whether the event field is set.
    • getEvent

      Event getEvent()
       The event being assessed.
       
      .google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
      Returns:
      The event.
    • getEventOrBuilder

      EventOrBuilder getEventOrBuilder()
       The event being assessed.
       
      .google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
    • getScore

      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:
      The score.
    • hasTokenProperties

      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:
      Whether the tokenProperties field is set.
    • getTokenProperties

      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:
      The tokenProperties.
    • getTokenPropertiesOrBuilder

      TokenPropertiesOrBuilder getTokenPropertiesOrBuilder()
       Output only. Properties of the provided event token.
       
      .google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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:
      A list containing the reasons.
    • getReasonsCount

      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:
      The count of reasons.
    • getReasons

      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];
      Parameters:
      index - The index of the element to return.
      Returns:
      The reasons at the given index.
    • getReasonsValueList

      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:
      A list containing the enum numeric values on the wire for reasons.
    • getReasonsValue

      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];
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of reasons at the given index.
    • hasPasswordLeakVerification

      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:
      Whether the passwordLeakVerification field is set.
    • getPasswordLeakVerification

      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:
      The passwordLeakVerification.
    • getPasswordLeakVerificationOrBuilder

      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;
    • hasAccountDefenderAssessment

      boolean hasAccountDefenderAssessment()
       Assessment returned by account defender when a hashed_account_id is
       provided.
       
      .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
      Returns:
      Whether the accountDefenderAssessment field is set.
    • getAccountDefenderAssessment

      AccountDefenderAssessment getAccountDefenderAssessment()
       Assessment returned by account defender when a hashed_account_id is
       provided.
       
      .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
      Returns:
      The accountDefenderAssessment.
    • getAccountDefenderAssessmentOrBuilder

      AccountDefenderAssessmentOrBuilder getAccountDefenderAssessmentOrBuilder()
       Assessment returned by account defender when a hashed_account_id is
       provided.
       
      .google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
    • hasFraudPreventionAssessment

      boolean hasFraudPreventionAssessment()
       Assessment returned by Fraud Prevention when TransactionData is provided.
       
      .google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
      Returns:
      Whether the fraudPreventionAssessment field is set.
    • getFraudPreventionAssessment

      FraudPreventionAssessment getFraudPreventionAssessment()
       Assessment returned by Fraud Prevention when TransactionData is provided.
       
      .google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
      Returns:
      The fraudPreventionAssessment.
    • getFraudPreventionAssessmentOrBuilder

      FraudPreventionAssessmentOrBuilder getFraudPreventionAssessmentOrBuilder()
       Assessment returned by Fraud Prevention when TransactionData is provided.
       
      .google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;