Class PhoneFraudAssessment.Builder (3.45.0)

public static final class PhoneFraudAssessment.Builder extends GeneratedMessageV3.Builder<PhoneFraudAssessment.Builder> implements PhoneFraudAssessmentOrBuilder

Assessment for Phone Fraud

Protobuf type google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PhoneFraudAssessment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides

build()

public PhoneFraudAssessment build()
Returns
Type Description
PhoneFraudAssessment

buildPartial()

public PhoneFraudAssessment buildPartial()
Returns
Type Description
PhoneFraudAssessment

clear()

public PhoneFraudAssessment.Builder clear()
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PhoneFraudAssessment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public PhoneFraudAssessment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides

clearSmsTollFraudVerdict()

public PhoneFraudAssessment.Builder clearSmsTollFraudVerdict()

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
PhoneFraudAssessment.Builder

clone()

public PhoneFraudAssessment.Builder clone()
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides

getDefaultInstanceForType()

public PhoneFraudAssessment getDefaultInstanceForType()
Returns
Type Description
PhoneFraudAssessment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getSmsTollFraudVerdictBuilder()

public SmsTollFraudVerdict.Builder getSmsTollFraudVerdictBuilder()

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.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PhoneFraudAssessment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PhoneFraudAssessment.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides

mergeFrom(PhoneFraudAssessment other)

public PhoneFraudAssessment.Builder mergeFrom(PhoneFraudAssessment other)
Parameter
Name Description
other PhoneFraudAssessment
Returns
Type Description
PhoneFraudAssessment.Builder

mergeSmsTollFraudVerdict(SmsTollFraudVerdict value)

public PhoneFraudAssessment.Builder mergeSmsTollFraudVerdict(SmsTollFraudVerdict value)

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];

Parameter
Name Description
value SmsTollFraudVerdict
Returns
Type Description
PhoneFraudAssessment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PhoneFraudAssessment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PhoneFraudAssessment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PhoneFraudAssessment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides

setSmsTollFraudVerdict(SmsTollFraudVerdict value)

public PhoneFraudAssessment.Builder setSmsTollFraudVerdict(SmsTollFraudVerdict value)

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];

Parameter
Name Description
value SmsTollFraudVerdict
Returns
Type Description
PhoneFraudAssessment.Builder

setSmsTollFraudVerdict(SmsTollFraudVerdict.Builder builderForValue)

public PhoneFraudAssessment.Builder setSmsTollFraudVerdict(SmsTollFraudVerdict.Builder builderForValue)

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];

Parameter
Name Description
builderForValue SmsTollFraudVerdict.Builder
Returns
Type Description
PhoneFraudAssessment.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final PhoneFraudAssessment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PhoneFraudAssessment.Builder
Overrides