Class FraudSignals (3.39.0)

public final class FraudSignals extends GeneratedMessageV3 implements FraudSignalsOrBuilder

Fraud signals describing users and cards involved in the transaction.

Protobuf type google.cloud.recaptchaenterprise.v1.FraudSignals

Static Fields

CARD_SIGNALS_FIELD_NUMBER

public static final int CARD_SIGNALS_FIELD_NUMBER
Field Value
Type Description
int

USER_SIGNALS_FIELD_NUMBER

public static final int USER_SIGNALS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FraudSignals getDefaultInstance()
Returns
Type Description
FraudSignals

getDescriptor()

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

newBuilder()

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

newBuilder(FraudSignals prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCardSignals()

public FraudSignals.CardSignals getCardSignals()

Output only. Signals describing the payment card or cards used in this transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals card_signals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudSignals.CardSignals

The cardSignals.

getCardSignalsOrBuilder()

public FraudSignals.CardSignalsOrBuilder getCardSignalsOrBuilder()

Output only. Signals describing the payment card or cards used in this transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals card_signals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudSignals.CardSignalsOrBuilder

getDefaultInstanceForType()

public FraudSignals getDefaultInstanceForType()
Returns
Type Description
FraudSignals

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserSignals()

public FraudSignals.UserSignals getUserSignals()

Output only. Signals describing the end user in this transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals.UserSignals user_signals = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudSignals.UserSignals

The userSignals.

getUserSignalsOrBuilder()

public FraudSignals.UserSignalsOrBuilder getUserSignalsOrBuilder()

Output only. Signals describing the end user in this transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals.UserSignals user_signals = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudSignals.UserSignalsOrBuilder

hasCardSignals()

public boolean hasCardSignals()

Output only. Signals describing the payment card or cards used in this transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals card_signals = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the cardSignals field is set.

hasUserSignals()

public boolean hasUserSignals()

Output only. Signals describing the end user in this transaction.

.google.cloud.recaptchaenterprise.v1.FraudSignals.UserSignals user_signals = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the userSignals 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 FraudSignals.Builder newBuilderForType()
Returns
Type Description
FraudSignals.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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