Class FraudPreventionAssessment (3.40.0)

public final class FraudPreventionAssessment extends GeneratedMessageV3 implements FraudPreventionAssessmentOrBuilder

Assessment for Fraud Prevention.

Protobuf type google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment

Static Fields

BEHAVIORAL_TRUST_VERDICT_FIELD_NUMBER

public static final int BEHAVIORAL_TRUST_VERDICT_FIELD_NUMBER
Field Value
Type Description
int

CARD_TESTING_VERDICT_FIELD_NUMBER

public static final int CARD_TESTING_VERDICT_FIELD_NUMBER
Field Value
Type Description
int

STOLEN_INSTRUMENT_VERDICT_FIELD_NUMBER

public static final int STOLEN_INSTRUMENT_VERDICT_FIELD_NUMBER
Field Value
Type Description
int

TRANSACTION_RISK_FIELD_NUMBER

public static final int TRANSACTION_RISK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FraudPreventionAssessment getDefaultInstance()
Returns
Type Description
FraudPreventionAssessment

getDescriptor()

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

newBuilder()

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

newBuilder(FraudPreventionAssessment prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

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 FraudPreventionAssessment.Builder newBuilderForType()
Returns
Type Description
FraudPreventionAssessment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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