Class FraudSignals (3.34.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
TypeDescription
int

USER_SIGNALS_FIELD_NUMBER

public static final int USER_SIGNALS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FraudSignals getDefaultInstance()
Returns
TypeDescription
FraudSignals

getDescriptor()

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

newBuilder()

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

newBuilder(FraudSignals prototype)

public static FraudSignals.Builder newBuilder(FraudSignals prototype)
Parameter
NameDescription
prototypeFraudSignals
Returns
TypeDescription
FraudSignals.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public FraudSignals getDefaultInstanceForType()
Returns
TypeDescription
FraudSignals

getParserForType()

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

getSerializedSize()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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