Interface SmsTollFraudVerdictOrBuilder

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

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

    • getRisk

      float getRisk()
       Output only. Probability of an SMS event being fraudulent.
       Values are from 0.0 (lowest) to 1.0 (highest).
       
      float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The risk.
    • getReasonsList

       Output only. Reasons contributing to the SMS toll fraud verdict.
       
      repeated .google.cloud.recaptchaenterprise.v1.SmsTollFraudVerdict.SmsTollFraudReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      A list containing the reasons.
    • getReasonsCount

      int getReasonsCount()
       Output only. Reasons contributing to the SMS toll fraud verdict.
       
      repeated .google.cloud.recaptchaenterprise.v1.SmsTollFraudVerdict.SmsTollFraudReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The count of reasons.
    • getReasons

       Output only. Reasons contributing to the SMS toll fraud verdict.
       
      repeated .google.cloud.recaptchaenterprise.v1.SmsTollFraudVerdict.SmsTollFraudReason reasons = 2 [(.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 SMS toll fraud verdict.
       
      repeated .google.cloud.recaptchaenterprise.v1.SmsTollFraudVerdict.SmsTollFraudReason reasons = 2 [(.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 SMS toll fraud verdict.
       
      repeated .google.cloud.recaptchaenterprise.v1.SmsTollFraudVerdict.SmsTollFraudReason reasons = 2 [(.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.