com.google.recaptchaenterprise.v1.SmsTollFraudVerdictOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-recaptchaenterprise-v1 Show documentation
Show all versions of proto-google-cloud-recaptchaenterprise-v1 Show documentation
PROTO library for proto-google-cloud-recaptchaenterprise-v1
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/recaptchaenterprise/v1/recaptchaenterprise.proto
// Protobuf Java Version: 3.25.4
package com.google.recaptchaenterprise.v1;
public interface SmsTollFraudVerdictOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.recaptchaenterprise.v1.SmsTollFraudVerdict)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
* @return The risk.
*/
float getRisk();
/**
*
*
*
* 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];
*
*
* @return A list containing the reasons.
*/
java.util.List
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];
*
*
* @return The count of reasons.
*/
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];
*
*
* @param index The index of the element to return.
* @return The reasons at the given index.
*/
com.google.recaptchaenterprise.v1.SmsTollFraudVerdict.SmsTollFraudReason getReasons(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];
*
*
* @return A list containing the enum numeric values on the wire for reasons.
*/
java.util.List 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];
*
*
* @param index The index of the value to return.
* @return The enum numeric value on the wire of reasons at the given index.
*/
int getReasonsValue(int index);
}