Class FraudSignals.UserSignals (3.52.0)

public static final class FraudSignals.UserSignals extends GeneratedMessageV3 implements FraudSignals.UserSignalsOrBuilder

Signals describing the user involved in this transaction.

Protobuf type google.cloud.recaptchaenterprise.v1.FraudSignals.UserSignals

Static Fields

ACTIVE_DAYS_LOWER_BOUND_FIELD_NUMBER

public static final int ACTIVE_DAYS_LOWER_BOUND_FIELD_NUMBER
Field Value
Type Description
int

SYNTHETIC_RISK_FIELD_NUMBER

public static final int SYNTHETIC_RISK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FraudSignals.UserSignals getDefaultInstance()
Returns
Type Description
FraudSignals.UserSignals

getDescriptor()

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

newBuilder()

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

newBuilder(FraudSignals.UserSignals prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getActiveDaysLowerBound()

public int getActiveDaysLowerBound()

Output only. This user (based on email, phone, and other identifiers) has been seen on the internet for at least this number of days.

int32 active_days_lower_bound = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The activeDaysLowerBound.

getDefaultInstanceForType()

public FraudSignals.UserSignals getDefaultInstanceForType()
Returns
Type Description
FraudSignals.UserSignals

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSyntheticRisk()

public float getSyntheticRisk()

Output only. Likelihood (from 0.0 to 1.0) this user includes synthetic components in their identity, such as a randomly generated email address, temporary phone number, or fake shipping address.

float synthetic_risk = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
float

The syntheticRisk.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FraudSignals.UserSignals.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FraudSignals.UserSignals.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.UserSignals.Builder toBuilder()
Returns
Type Description
FraudSignals.UserSignals.Builder

writeTo(CodedOutputStream output)

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