Class FraudPreventionAssessment (3.18.0)

public final class FraudPreventionAssessment extends GeneratedMessageV3 implements FraudPreventionAssessmentOrBuilder

Assessment for Fraud Prevention.

Protobuf type google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment

Static Fields

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

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.

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

getParserForType()

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

getSerializedSize()

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

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.

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.

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