public interface SmsTollFraudVerdictOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getReasons(int index)
public abstract 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
SmsTollFraudVerdict.SmsTollFraudReason |
The reasons at the given index. |
getReasonsCount()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The count of reasons. |
getReasonsList()
public abstract List<SmsTollFraudVerdict.SmsTollFraudReason> 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 | |
|---|---|
| Type | Description |
List<SmsTollFraudReason> |
A list containing the reasons. |
getReasonsValue(int index)
public abstract 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 SMS toll fraud verdict.
repeated .google.cloud.recaptchaenterprise.v1.SmsTollFraudVerdict.SmsTollFraudReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Integer> |
A list containing the enum numeric values on the wire for reasons. |
getRisk()
public abstract 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 | |
|---|---|
| Type | Description |
float |
The risk. |