Class FraudPreventionAssessment.Builder (3.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FraudPreventionAssessment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FraudPreventionAssessment.Builder
Overrides

build()

public FraudPreventionAssessment build()
Returns
TypeDescription
FraudPreventionAssessment

buildPartial()

public FraudPreventionAssessment buildPartial()
Returns
TypeDescription
FraudPreventionAssessment

clear()

public FraudPreventionAssessment.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FraudPreventionAssessment.Builder

clearField(Descriptors.FieldDescriptor field)

public FraudPreventionAssessment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FraudPreventionAssessment.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FraudPreventionAssessment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FraudPreventionAssessment.Builder

This builder for chaining.

clone()

public FraudPreventionAssessment.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
FraudPreventionAssessment.CardTestingVerdictOrBuilder

getDefaultInstanceForType()

public FraudPreventionAssessment getDefaultInstanceForType()
Returns
TypeDescription
FraudPreventionAssessment

getDescriptorForType()

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

Whether the stolenInstrumentVerdict field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFraudPreventionAssessment.BehavioralTrustVerdict
Returns
TypeDescription
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
NameDescription
valueFraudPreventionAssessment.CardTestingVerdict
Returns
TypeDescription
FraudPreventionAssessment.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FraudPreventionAssessment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudPreventionAssessment.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FraudPreventionAssessment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FraudPreventionAssessment.Builder
Overrides

mergeFrom(FraudPreventionAssessment other)

public FraudPreventionAssessment.Builder mergeFrom(FraudPreventionAssessment other)
Parameter
NameDescription
otherFraudPreventionAssessment
Returns
TypeDescription
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
NameDescription
valueFraudPreventionAssessment.StolenInstrumentVerdict
Returns
TypeDescription
FraudPreventionAssessment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FraudPreventionAssessment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFraudPreventionAssessment.BehavioralTrustVerdict
Returns
TypeDescription
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
NameDescription
builderForValueFraudPreventionAssessment.BehavioralTrustVerdict.Builder
Returns
TypeDescription
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
NameDescription
valueFraudPreventionAssessment.CardTestingVerdict
Returns
TypeDescription
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
NameDescription
builderForValueFraudPreventionAssessment.CardTestingVerdict.Builder
Returns
TypeDescription
FraudPreventionAssessment.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FraudPreventionAssessment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FraudPreventionAssessment.Builder
Overrides

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

public FraudPreventionAssessment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueFraudPreventionAssessment.StolenInstrumentVerdict
Returns
TypeDescription
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
NameDescription
builderForValueFraudPreventionAssessment.StolenInstrumentVerdict.Builder
Returns
TypeDescription
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
NameDescription
valuefloat

The transactionRisk to set.

Returns
TypeDescription
FraudPreventionAssessment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FraudPreventionAssessment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FraudPreventionAssessment.Builder
Overrides