Class FraudPreventionAssessment (3.31.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
TypeDescription
int

CARD_TESTING_VERDICT_FIELD_NUMBER

public static final int CARD_TESTING_VERDICT_FIELD_NUMBER
Field Value
TypeDescription
int

STOLEN_INSTRUMENT_VERDICT_FIELD_NUMBER

public static final int STOLEN_INSTRUMENT_VERDICT_FIELD_NUMBER
Field Value
TypeDescription
int

TRANSACTION_RISK_FIELD_NUMBER

public static final int TRANSACTION_RISK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FraudPreventionAssessment getDefaultInstance()
Returns
TypeDescription
FraudPreventionAssessment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static FraudPreventionAssessment.Builder newBuilder()
Returns
TypeDescription
FraudPreventionAssessment.Builder

newBuilder(FraudPreventionAssessment prototype)

public static FraudPreventionAssessment.Builder newBuilder(FraudPreventionAssessment prototype)
Parameter
NameDescription
prototypeFraudPreventionAssessment
Returns
TypeDescription
FraudPreventionAssessment.Builder

parseDelimitedFrom(InputStream input)

public static FraudPreventionAssessment parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FraudPreventionAssessment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FraudPreventionAssessment parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FraudPreventionAssessment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FraudPreventionAssessment parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FraudPreventionAssessment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FraudPreventionAssessment parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FraudPreventionAssessment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FraudPreventionAssessment parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FraudPreventionAssessment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FraudPreventionAssessment parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FraudPreventionAssessment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudPreventionAssessment
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<FraudPreventionAssessment> parser()
Returns
TypeDescription
Parser<FraudPreventionAssessment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
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.

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

getParserForType()

public Parser<FraudPreventionAssessment> getParserForType()
Returns
TypeDescription
Parser<FraudPreventionAssessment>
Overrides

getSerializedSize()

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

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FraudPreventionAssessment.Builder newBuilderForType()
Returns
TypeDescription
FraudPreventionAssessment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FraudPreventionAssessment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FraudPreventionAssessment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FraudPreventionAssessment.Builder toBuilder()
Returns
TypeDescription
FraudPreventionAssessment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException