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 Summary
Modifier and TypeMethodDescriptiongetReasons(int index) Output only.intOutput only.Output only.intgetReasonsValue(int index) Output only.Output only.floatgetRisk()Output only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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:
- 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
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.
-