Class FraudPreventionAssessment.Builder (3.44.0)

public static final class FraudPreventionAssessment.Builder extends GeneratedMessageV3.Builder<FraudPreventionAssessment.Builder> implements FraudPreventionAssessmentOrBuilder

Assessment for Fraud Prevention.

Protobuf type google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FraudPreventionAssessment build()
Returns
Type Description
FraudPreventionAssessment

buildPartial()

public FraudPreventionAssessment buildPartial()
Returns
Type Description
FraudPreventionAssessment

clear()

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

clearBehavioralTrustVerdict()

public FraudPreventionAssessment.Builder clearBehavioralTrustVerdict()

Output only. Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.Builder

clearCardTestingVerdict()

public FraudPreventionAssessment.Builder clearCardTestingVerdict()

Output only. Assessment of this transaction for risk of being part of a card testing attack.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStolenInstrumentVerdict()

public FraudPreventionAssessment.Builder clearStolenInstrumentVerdict()

Output only. Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.Builder

clearTransactionRisk()

public FraudPreventionAssessment.Builder clearTransactionRisk()

Output only. Probability of this transaction being fraudulent. Summarizes the combined risk of attack vectors below. Values are from 0.0 (lowest) to 1.0 (highest).

float transaction_risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.Builder

This builder for chaining.

clone()

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

getBehavioralTrustVerdict()

public FraudPreventionAssessment.BehavioralTrustVerdict getBehavioralTrustVerdict()

Output only. Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.BehavioralTrustVerdict

The behavioralTrustVerdict.

getBehavioralTrustVerdictBuilder()

public FraudPreventionAssessment.BehavioralTrustVerdict.Builder getBehavioralTrustVerdictBuilder()

Output only. Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.BehavioralTrustVerdict.Builder

getBehavioralTrustVerdictOrBuilder()

public FraudPreventionAssessment.BehavioralTrustVerdictOrBuilder getBehavioralTrustVerdictOrBuilder()

Output only. Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.BehavioralTrustVerdictOrBuilder

getCardTestingVerdict()

public FraudPreventionAssessment.CardTestingVerdict getCardTestingVerdict()

Output only. Assessment of this transaction for risk of being part of a card testing attack.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.CardTestingVerdict

The cardTestingVerdict.

getCardTestingVerdictBuilder()

public FraudPreventionAssessment.CardTestingVerdict.Builder getCardTestingVerdictBuilder()

Output only. Assessment of this transaction for risk of being part of a card testing attack.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.CardTestingVerdict.Builder

getCardTestingVerdictOrBuilder()

public FraudPreventionAssessment.CardTestingVerdictOrBuilder getCardTestingVerdictOrBuilder()

Output only. Assessment of this transaction for risk of being part of a card testing attack.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.CardTestingVerdictOrBuilder

getDefaultInstanceForType()

public FraudPreventionAssessment getDefaultInstanceForType()
Returns
Type Description
FraudPreventionAssessment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStolenInstrumentVerdict()

public FraudPreventionAssessment.StolenInstrumentVerdict getStolenInstrumentVerdict()

Output only. Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict

The stolenInstrumentVerdict.

getStolenInstrumentVerdictBuilder()

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder getStolenInstrumentVerdictBuilder()

Output only. Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder

getStolenInstrumentVerdictOrBuilder()

public FraudPreventionAssessment.StolenInstrumentVerdictOrBuilder getStolenInstrumentVerdictOrBuilder()

Output only. Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdictOrBuilder

getTransactionRisk()

public float getTransactionRisk()

Output only. Probability of this transaction being fraudulent. Summarizes the combined risk of attack vectors below. Values are from 0.0 (lowest) to 1.0 (highest).

float transaction_risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The transactionRisk.

hasBehavioralTrustVerdict()

public boolean hasBehavioralTrustVerdict()

Output only. Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the behavioralTrustVerdict field is set.

hasCardTestingVerdict()

public boolean hasCardTestingVerdict()

Output only. Assessment of this transaction for risk of being part of a card testing attack.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cardTestingVerdict field is set.

hasStolenInstrumentVerdict()

public boolean hasStolenInstrumentVerdict()

Output only. Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the stolenInstrumentVerdict field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBehavioralTrustVerdict(FraudPreventionAssessment.BehavioralTrustVerdict value)

public FraudPreventionAssessment.Builder mergeBehavioralTrustVerdict(FraudPreventionAssessment.BehavioralTrustVerdict value)

Output only. Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FraudPreventionAssessment.BehavioralTrustVerdict
Returns
Type Description
FraudPreventionAssessment.Builder

mergeCardTestingVerdict(FraudPreventionAssessment.CardTestingVerdict value)

public FraudPreventionAssessment.Builder mergeCardTestingVerdict(FraudPreventionAssessment.CardTestingVerdict value)

Output only. Assessment of this transaction for risk of being part of a card testing attack.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FraudPreventionAssessment.CardTestingVerdict
Returns
Type Description
FraudPreventionAssessment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(FraudPreventionAssessment other)

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

mergeStolenInstrumentVerdict(FraudPreventionAssessment.StolenInstrumentVerdict value)

public FraudPreventionAssessment.Builder mergeStolenInstrumentVerdict(FraudPreventionAssessment.StolenInstrumentVerdict value)

Output only. Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FraudPreventionAssessment.StolenInstrumentVerdict
Returns
Type Description
FraudPreventionAssessment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBehavioralTrustVerdict(FraudPreventionAssessment.BehavioralTrustVerdict value)

public FraudPreventionAssessment.Builder setBehavioralTrustVerdict(FraudPreventionAssessment.BehavioralTrustVerdict value)

Output only. Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FraudPreventionAssessment.BehavioralTrustVerdict
Returns
Type Description
FraudPreventionAssessment.Builder

setBehavioralTrustVerdict(FraudPreventionAssessment.BehavioralTrustVerdict.Builder builderForValue)

public FraudPreventionAssessment.Builder setBehavioralTrustVerdict(FraudPreventionAssessment.BehavioralTrustVerdict.Builder builderForValue)

Output only. Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue FraudPreventionAssessment.BehavioralTrustVerdict.Builder
Returns
Type Description
FraudPreventionAssessment.Builder

setCardTestingVerdict(FraudPreventionAssessment.CardTestingVerdict value)

public FraudPreventionAssessment.Builder setCardTestingVerdict(FraudPreventionAssessment.CardTestingVerdict value)

Output only. Assessment of this transaction for risk of being part of a card testing attack.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FraudPreventionAssessment.CardTestingVerdict
Returns
Type Description
FraudPreventionAssessment.Builder

setCardTestingVerdict(FraudPreventionAssessment.CardTestingVerdict.Builder builderForValue)

public FraudPreventionAssessment.Builder setCardTestingVerdict(FraudPreventionAssessment.CardTestingVerdict.Builder builderForValue)

Output only. Assessment of this transaction for risk of being part of a card testing attack.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue FraudPreventionAssessment.CardTestingVerdict.Builder
Returns
Type Description
FraudPreventionAssessment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setStolenInstrumentVerdict(FraudPreventionAssessment.StolenInstrumentVerdict value)

public FraudPreventionAssessment.Builder setStolenInstrumentVerdict(FraudPreventionAssessment.StolenInstrumentVerdict value)

Output only. Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FraudPreventionAssessment.StolenInstrumentVerdict
Returns
Type Description
FraudPreventionAssessment.Builder

setStolenInstrumentVerdict(FraudPreventionAssessment.StolenInstrumentVerdict.Builder builderForValue)

public FraudPreventionAssessment.Builder setStolenInstrumentVerdict(FraudPreventionAssessment.StolenInstrumentVerdict.Builder builderForValue)

Output only. Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue FraudPreventionAssessment.StolenInstrumentVerdict.Builder
Returns
Type Description
FraudPreventionAssessment.Builder

setTransactionRisk(float value)

public FraudPreventionAssessment.Builder setTransactionRisk(float value)

Output only. Probability of this transaction being fraudulent. Summarizes the combined risk of attack vectors below. Values are from 0.0 (lowest) to 1.0 (highest).

float transaction_risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value float

The transactionRisk to set.

Returns
Type Description
FraudPreventionAssessment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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