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

SYNTHETIC_RISK_FIELD_NUMBER

public static final int SYNTHETIC_RISK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static FraudSignals.UserSignals getDefaultInstance()
Returns
TypeDescription
FraudSignals.UserSignals

getDescriptor()

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

newBuilder()

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

newBuilder(FraudSignals.UserSignals prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

The activeDaysLowerBound.

getDefaultInstanceForType()

public FraudSignals.UserSignals getDefaultInstanceForType()
Returns
TypeDescription
FraudSignals.UserSignals

getParserForType()

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

getSerializedSize()

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

The syntheticRisk.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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