Class FraudPreventionAssessment.StolenInstrumentVerdict (3.24.0)

public static final class FraudPreventionAssessment.StolenInstrumentVerdict extends GeneratedMessageV3 implements FraudPreventionAssessment.StolenInstrumentVerdictOrBuilder

Information about stolen instrument fraud, where the user is not the legitimate owner of the instrument being used for the purchase.

Protobuf type google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.StolenInstrumentVerdict

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > FraudPreventionAssessment.StolenInstrumentVerdict

Static Fields

RISK_FIELD_NUMBER

public static final int RISK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FraudPreventionAssessment.StolenInstrumentVerdict getDefaultInstance()
Returns
TypeDescription
FraudPreventionAssessment.StolenInstrumentVerdict

getDescriptor()

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

newBuilder()

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

newBuilder(FraudPreventionAssessment.StolenInstrumentVerdict prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public FraudPreventionAssessment.StolenInstrumentVerdict getDefaultInstanceForType()
Returns
TypeDescription
FraudPreventionAssessment.StolenInstrumentVerdict

getParserForType()

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

getRisk()

public float getRisk()

Probability (0-1) of this transaction being executed with a stolen instrument.

float risk = 1;

Returns
TypeDescription
float

The risk.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.StolenInstrumentVerdict.Builder newBuilderForType()
Returns
TypeDescription
FraudPreventionAssessment.StolenInstrumentVerdict.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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