Class FraudPreventionAssessment.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FraudPreventionAssessment.Builder>
com.google.recaptchaenterprise.v1.FraudPreventionAssessment.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, FraudPreventionAssessmentOrBuilder, Cloneable
Enclosing class:
FraudPreventionAssessment

public static final class FraudPreventionAssessment.Builder extends com.google.protobuf.GeneratedMessage.Builder<FraudPreventionAssessment.Builder> implements FraudPreventionAssessmentOrBuilder
 Assessment for Fraud Prevention.
 
Protobuf type google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FraudPreventionAssessment.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FraudPreventionAssessment.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FraudPreventionAssessment.Builder>
    • getDefaultInstanceForType

      public FraudPreventionAssessment getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FraudPreventionAssessment build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FraudPreventionAssessment buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FraudPreventionAssessment.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FraudPreventionAssessment.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FraudPreventionAssessment.Builder>
    • mergeFrom

      public FraudPreventionAssessment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FraudPreventionAssessment.Builder>
      Throws:
      IOException
    • getTransactionRisk

      public float getTransactionRisk()
       Output only. Probability of this transaction being fraudulent. Summarizes
       the combined risk of attack vectors below. Values are from 0.0 (lowest)
       to 1.0 (highest).
       
      float transaction_risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTransactionRisk in interface FraudPreventionAssessmentOrBuilder
      Returns:
      The transactionRisk.
    • setTransactionRisk

      public FraudPreventionAssessment.Builder setTransactionRisk(float value)
       Output only. Probability of this transaction being fraudulent. Summarizes
       the combined risk of attack vectors below. Values are from 0.0 (lowest)
       to 1.0 (highest).
       
      float transaction_risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The transactionRisk to set.
      Returns:
      This builder for chaining.
    • clearTransactionRisk

      public FraudPreventionAssessment.Builder clearTransactionRisk()
       Output only. Probability of this transaction being fraudulent. Summarizes
       the combined risk of attack vectors below. Values are from 0.0 (lowest)
       to 1.0 (highest).
       
      float transaction_risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getRiskReasonsList

      public List<FraudPreventionAssessment.RiskReason> getRiskReasonsList()
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRiskReasonsList in interface FraudPreventionAssessmentOrBuilder
    • getRiskReasonsCount

      public int getRiskReasonsCount()
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRiskReasonsCount in interface FraudPreventionAssessmentOrBuilder
    • getRiskReasons

      public FraudPreventionAssessment.RiskReason getRiskReasons(int index)
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRiskReasons in interface FraudPreventionAssessmentOrBuilder
    • setRiskReasons

       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setRiskReasons

      public FraudPreventionAssessment.Builder setRiskReasons(int index, FraudPreventionAssessment.RiskReason.Builder builderForValue)
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRiskReasons

       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRiskReasons

       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRiskReasons

       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRiskReasons

      public FraudPreventionAssessment.Builder addRiskReasons(int index, FraudPreventionAssessment.RiskReason.Builder builderForValue)
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllRiskReasons

       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearRiskReasons

      public FraudPreventionAssessment.Builder clearRiskReasons()
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeRiskReasons

      public FraudPreventionAssessment.Builder removeRiskReasons(int index)
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRiskReasonsBuilder

      public FraudPreventionAssessment.RiskReason.Builder getRiskReasonsBuilder(int index)
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRiskReasonsOrBuilder

      public FraudPreventionAssessment.RiskReasonOrBuilder getRiskReasonsOrBuilder(int index)
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRiskReasonsOrBuilder in interface FraudPreventionAssessmentOrBuilder
    • getRiskReasonsOrBuilderList

      public List<? extends FraudPreventionAssessment.RiskReasonOrBuilder> getRiskReasonsOrBuilderList()
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getRiskReasonsOrBuilderList in interface FraudPreventionAssessmentOrBuilder
    • addRiskReasonsBuilder

      public FraudPreventionAssessment.RiskReason.Builder addRiskReasonsBuilder()
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addRiskReasonsBuilder

      public FraudPreventionAssessment.RiskReason.Builder addRiskReasonsBuilder(int index)
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getRiskReasonsBuilderList

      public List<FraudPreventionAssessment.RiskReason.Builder> getRiskReasonsBuilderList()
       Output only. Reasons why the transaction is probably fraudulent and
       received a high transaction risk score.
       
      repeated .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.RiskReason risk_reasons = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • hasStolenInstrumentVerdict

      public boolean hasStolenInstrumentVerdict()
       Output only. Assessment of this transaction for risk of a stolen
       instrument.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStolenInstrumentVerdict in interface FraudPreventionAssessmentOrBuilder
      Returns:
      Whether the stolenInstrumentVerdict field is set.
    • getStolenInstrumentVerdict

      public FraudPreventionAssessment.StolenInstrumentVerdict getStolenInstrumentVerdict()
       Output only. Assessment of this transaction for risk of a stolen
       instrument.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStolenInstrumentVerdict in interface FraudPreventionAssessmentOrBuilder
      Returns:
      The stolenInstrumentVerdict.
    • setStolenInstrumentVerdict

       Output only. Assessment of this transaction for risk of a stolen
       instrument.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStolenInstrumentVerdict

       Output only. Assessment of this transaction for risk of a stolen
       instrument.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStolenInstrumentVerdict

       Output only. Assessment of this transaction for risk of a stolen
       instrument.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStolenInstrumentVerdict

      public FraudPreventionAssessment.Builder clearStolenInstrumentVerdict()
       Output only. Assessment of this transaction for risk of a stolen
       instrument.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStolenInstrumentVerdictBuilder

      public FraudPreventionAssessment.StolenInstrumentVerdict.Builder getStolenInstrumentVerdictBuilder()
       Output only. Assessment of this transaction for risk of a stolen
       instrument.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStolenInstrumentVerdictOrBuilder

      public FraudPreventionAssessment.StolenInstrumentVerdictOrBuilder getStolenInstrumentVerdictOrBuilder()
       Output only. Assessment of this transaction for risk of a stolen
       instrument.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStolenInstrumentVerdictOrBuilder in interface FraudPreventionAssessmentOrBuilder
    • hasCardTestingVerdict

      public boolean hasCardTestingVerdict()
       Output only. Assessment of this transaction for risk of being part of a
       card testing attack.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCardTestingVerdict in interface FraudPreventionAssessmentOrBuilder
      Returns:
      Whether the cardTestingVerdict field is set.
    • getCardTestingVerdict

      public FraudPreventionAssessment.CardTestingVerdict getCardTestingVerdict()
       Output only. Assessment of this transaction for risk of being part of a
       card testing attack.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCardTestingVerdict in interface FraudPreventionAssessmentOrBuilder
      Returns:
      The cardTestingVerdict.
    • setCardTestingVerdict

       Output only. Assessment of this transaction for risk of being part of a
       card testing attack.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCardTestingVerdict

       Output only. Assessment of this transaction for risk of being part of a
       card testing attack.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCardTestingVerdict

       Output only. Assessment of this transaction for risk of being part of a
       card testing attack.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCardTestingVerdict

      public FraudPreventionAssessment.Builder clearCardTestingVerdict()
       Output only. Assessment of this transaction for risk of being part of a
       card testing attack.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCardTestingVerdictBuilder

      public FraudPreventionAssessment.CardTestingVerdict.Builder getCardTestingVerdictBuilder()
       Output only. Assessment of this transaction for risk of being part of a
       card testing attack.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCardTestingVerdictOrBuilder

      public FraudPreventionAssessment.CardTestingVerdictOrBuilder getCardTestingVerdictOrBuilder()
       Output only. Assessment of this transaction for risk of being part of a
       card testing attack.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCardTestingVerdictOrBuilder in interface FraudPreventionAssessmentOrBuilder
    • hasBehavioralTrustVerdict

      public boolean hasBehavioralTrustVerdict()
       Output only. Assessment of this transaction for behavioral trust.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasBehavioralTrustVerdict in interface FraudPreventionAssessmentOrBuilder
      Returns:
      Whether the behavioralTrustVerdict field is set.
    • getBehavioralTrustVerdict

      public FraudPreventionAssessment.BehavioralTrustVerdict getBehavioralTrustVerdict()
       Output only. Assessment of this transaction for behavioral trust.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBehavioralTrustVerdict in interface FraudPreventionAssessmentOrBuilder
      Returns:
      The behavioralTrustVerdict.
    • setBehavioralTrustVerdict

       Output only. Assessment of this transaction for behavioral trust.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setBehavioralTrustVerdict

       Output only. Assessment of this transaction for behavioral trust.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeBehavioralTrustVerdict

       Output only. Assessment of this transaction for behavioral trust.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearBehavioralTrustVerdict

      public FraudPreventionAssessment.Builder clearBehavioralTrustVerdict()
       Output only. Assessment of this transaction for behavioral trust.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBehavioralTrustVerdictBuilder

      public FraudPreventionAssessment.BehavioralTrustVerdict.Builder getBehavioralTrustVerdictBuilder()
       Output only. Assessment of this transaction for behavioral trust.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getBehavioralTrustVerdictOrBuilder

      public FraudPreventionAssessment.BehavioralTrustVerdictOrBuilder getBehavioralTrustVerdictOrBuilder()
       Output only. Assessment of this transaction for behavioral trust.
       
      .google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBehavioralTrustVerdictOrBuilder in interface FraudPreventionAssessmentOrBuilder