Class FraudPreventionAssessment.Builder (3.38.0)

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

Assessment for Fraud Prevention.

Protobuf type google.cloud.recaptchaenterprise.v1beta1.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()

Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4;

Returns
TypeDescription
FraudPreventionAssessment.Builder

clearCardTestingVerdict()

public FraudPreventionAssessment.Builder clearCardTestingVerdict()

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

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3;

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()

Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2;

Returns
TypeDescription
FraudPreventionAssessment.Builder

clearTransactionRisk()

public FraudPreventionAssessment.Builder clearTransactionRisk()

Probability (0-1) of this transaction being fraudulent. Summarizes the combined risk of attack vectors below.

float transaction_risk = 1;

Returns
TypeDescription
FraudPreventionAssessment.Builder

This builder for chaining.

clone()

public FraudPreventionAssessment.Builder clone()
Returns
TypeDescription
FraudPreventionAssessment.Builder
Overrides

getBehavioralTrustVerdict()

public FraudPreventionAssessment.BehavioralTrustVerdict getBehavioralTrustVerdict()

Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4;

Returns
TypeDescription
FraudPreventionAssessment.BehavioralTrustVerdict

The behavioralTrustVerdict.

getBehavioralTrustVerdictBuilder()

public FraudPreventionAssessment.BehavioralTrustVerdict.Builder getBehavioralTrustVerdictBuilder()

Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4;

Returns
TypeDescription
FraudPreventionAssessment.BehavioralTrustVerdict.Builder

getBehavioralTrustVerdictOrBuilder()

public FraudPreventionAssessment.BehavioralTrustVerdictOrBuilder getBehavioralTrustVerdictOrBuilder()

Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4;

Returns
TypeDescription
FraudPreventionAssessment.BehavioralTrustVerdictOrBuilder

getCardTestingVerdict()

public FraudPreventionAssessment.CardTestingVerdict getCardTestingVerdict()

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

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3;

Returns
TypeDescription
FraudPreventionAssessment.CardTestingVerdict

The cardTestingVerdict.

getCardTestingVerdictBuilder()

public FraudPreventionAssessment.CardTestingVerdict.Builder getCardTestingVerdictBuilder()

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

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3;

Returns
TypeDescription
FraudPreventionAssessment.CardTestingVerdict.Builder

getCardTestingVerdictOrBuilder()

public FraudPreventionAssessment.CardTestingVerdictOrBuilder getCardTestingVerdictOrBuilder()

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

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3;

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()

Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2;

Returns
TypeDescription
FraudPreventionAssessment.StolenInstrumentVerdict

The stolenInstrumentVerdict.

getStolenInstrumentVerdictBuilder()

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder getStolenInstrumentVerdictBuilder()

Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2;

Returns
TypeDescription
FraudPreventionAssessment.StolenInstrumentVerdict.Builder

getStolenInstrumentVerdictOrBuilder()

public FraudPreventionAssessment.StolenInstrumentVerdictOrBuilder getStolenInstrumentVerdictOrBuilder()

Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2;

Returns
TypeDescription
FraudPreventionAssessment.StolenInstrumentVerdictOrBuilder

getTransactionRisk()

public float getTransactionRisk()

Probability (0-1) of this transaction being fraudulent. Summarizes the combined risk of attack vectors below.

float transaction_risk = 1;

Returns
TypeDescription
float

The transactionRisk.

hasBehavioralTrustVerdict()

public boolean hasBehavioralTrustVerdict()

Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4;

Returns
TypeDescription
boolean

Whether the behavioralTrustVerdict field is set.

hasCardTestingVerdict()

public boolean hasCardTestingVerdict()

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

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3;

Returns
TypeDescription
boolean

Whether the cardTestingVerdict field is set.

hasStolenInstrumentVerdict()

public boolean hasStolenInstrumentVerdict()

Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2;

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)

Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4;

Parameter
NameDescription
valueFraudPreventionAssessment.BehavioralTrustVerdict
Returns
TypeDescription
FraudPreventionAssessment.Builder

mergeCardTestingVerdict(FraudPreventionAssessment.CardTestingVerdict value)

public FraudPreventionAssessment.Builder mergeCardTestingVerdict(FraudPreventionAssessment.CardTestingVerdict value)

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

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3;

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)

Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2;

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)

Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4;

Parameter
NameDescription
valueFraudPreventionAssessment.BehavioralTrustVerdict
Returns
TypeDescription
FraudPreventionAssessment.Builder

setBehavioralTrustVerdict(FraudPreventionAssessment.BehavioralTrustVerdict.Builder builderForValue)

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

Assessment of this transaction for behavioral trust.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.BehavioralTrustVerdict behavioral_trust_verdict = 4;

Parameter
NameDescription
builderForValueFraudPreventionAssessment.BehavioralTrustVerdict.Builder
Returns
TypeDescription
FraudPreventionAssessment.Builder

setCardTestingVerdict(FraudPreventionAssessment.CardTestingVerdict value)

public FraudPreventionAssessment.Builder setCardTestingVerdict(FraudPreventionAssessment.CardTestingVerdict value)

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

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3;

Parameter
NameDescription
valueFraudPreventionAssessment.CardTestingVerdict
Returns
TypeDescription
FraudPreventionAssessment.Builder

setCardTestingVerdict(FraudPreventionAssessment.CardTestingVerdict.Builder builderForValue)

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

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

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.CardTestingVerdict card_testing_verdict = 3;

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)

Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2;

Parameter
NameDescription
valueFraudPreventionAssessment.StolenInstrumentVerdict
Returns
TypeDescription
FraudPreventionAssessment.Builder

setStolenInstrumentVerdict(FraudPreventionAssessment.StolenInstrumentVerdict.Builder builderForValue)

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

Assessment of this transaction for risk of a stolen instrument.

.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment.StolenInstrumentVerdict stolen_instrument_verdict = 2;

Parameter
NameDescription
builderForValueFraudPreventionAssessment.StolenInstrumentVerdict.Builder
Returns
TypeDescription
FraudPreventionAssessment.Builder

setTransactionRisk(float value)

public FraudPreventionAssessment.Builder setTransactionRisk(float value)

Probability (0-1) of this transaction being fraudulent. Summarizes the combined risk of attack vectors below.

float transaction_risk = 1;

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