Class PhoneFraudAssessment (3.43.0)

public final class PhoneFraudAssessment extends GeneratedMessageV3 implements PhoneFraudAssessmentOrBuilder

Assessment for Phone Fraud

Protobuf type google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment

Static Fields

SMS_TOLL_FRAUD_VERDICT_FIELD_NUMBER

public static final int SMS_TOLL_FRAUD_VERDICT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PhoneFraudAssessment getDefaultInstance()
Returns
Type Description
PhoneFraudAssessment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PhoneFraudAssessment.Builder newBuilder()
Returns
Type Description
PhoneFraudAssessment.Builder

newBuilder(PhoneFraudAssessment prototype)

public static PhoneFraudAssessment.Builder newBuilder(PhoneFraudAssessment prototype)
Parameter
Name Description
prototype PhoneFraudAssessment
Returns
Type Description
PhoneFraudAssessment.Builder

parseDelimitedFrom(InputStream input)

public static PhoneFraudAssessment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PhoneFraudAssessment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PhoneFraudAssessment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PhoneFraudAssessment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PhoneFraudAssessment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PhoneFraudAssessment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PhoneFraudAssessment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PhoneFraudAssessment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PhoneFraudAssessment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PhoneFraudAssessment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PhoneFraudAssessment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PhoneFraudAssessment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneFraudAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PhoneFraudAssessment> parser()
Returns
Type Description
Parser<PhoneFraudAssessment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PhoneFraudAssessment getDefaultInstanceForType()
Returns
Type Description
PhoneFraudAssessment

getParserForType()

public Parser<PhoneFraudAssessment> getParserForType()
Returns
Type Description
Parser<PhoneFraudAssessment>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSmsTollFraudVerdict()

public SmsTollFraudVerdict getSmsTollFraudVerdict()

Output only. Assessment of this phone event for risk of SMS toll fraud.

.google.cloud.recaptchaenterprise.v1.SmsTollFraudVerdict sms_toll_fraud_verdict = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SmsTollFraudVerdict

The smsTollFraudVerdict.

getSmsTollFraudVerdictOrBuilder()

public SmsTollFraudVerdictOrBuilder getSmsTollFraudVerdictOrBuilder()

Output only. Assessment of this phone event for risk of SMS toll fraud.

.google.cloud.recaptchaenterprise.v1.SmsTollFraudVerdict sms_toll_fraud_verdict = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SmsTollFraudVerdictOrBuilder

hasSmsTollFraudVerdict()

public boolean hasSmsTollFraudVerdict()

Output only. Assessment of this phone event for risk of SMS toll fraud.

.google.cloud.recaptchaenterprise.v1.SmsTollFraudVerdict sms_toll_fraud_verdict = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the smsTollFraudVerdict field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PhoneFraudAssessment.Builder newBuilderForType()
Returns
Type Description
PhoneFraudAssessment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PhoneFraudAssessment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PhoneFraudAssessment.Builder toBuilder()
Returns
Type Description
PhoneFraudAssessment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException