Class FraudSignals.UserSignals.Builder (3.50.0)

public static final class FraudSignals.UserSignals.Builder extends GeneratedMessageV3.Builder<FraudSignals.UserSignals.Builder> implements FraudSignals.UserSignalsOrBuilder

Signals describing the user involved in this transaction.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FraudSignals.UserSignals.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FraudSignals.UserSignals.Builder
Overrides

build()

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

buildPartial()

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

clear()

public FraudSignals.UserSignals.Builder clear()
Returns
Type Description
FraudSignals.UserSignals.Builder
Overrides

clearActiveDaysLowerBound()

public FraudSignals.UserSignals.Builder clearActiveDaysLowerBound()

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
FraudSignals.UserSignals.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FraudSignals.UserSignals.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FraudSignals.UserSignals.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FraudSignals.UserSignals.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FraudSignals.UserSignals.Builder
Overrides

clearSyntheticRisk()

public FraudSignals.UserSignals.Builder clearSyntheticRisk()

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
FraudSignals.UserSignals.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FraudSignals.UserSignals.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FraudSignals.UserSignals.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FraudSignals.UserSignals.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FraudSignals.UserSignals.Builder
Overrides

mergeFrom(FraudSignals.UserSignals other)

public FraudSignals.UserSignals.Builder mergeFrom(FraudSignals.UserSignals other)
Parameter
Name Description
other FraudSignals.UserSignals
Returns
Type Description
FraudSignals.UserSignals.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FraudSignals.UserSignals.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FraudSignals.UserSignals.Builder
Overrides

setActiveDaysLowerBound(int value)

public FraudSignals.UserSignals.Builder setActiveDaysLowerBound(int value)

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];

Parameter
Name Description
value int

The activeDaysLowerBound to set.

Returns
Type Description
FraudSignals.UserSignals.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FraudSignals.UserSignals.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FraudSignals.UserSignals.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FraudSignals.UserSignals.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FraudSignals.UserSignals.Builder
Overrides

setSyntheticRisk(float value)

public FraudSignals.UserSignals.Builder setSyntheticRisk(float value)

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];

Parameter
Name Description
value float

The syntheticRisk to set.

Returns
Type Description
FraudSignals.UserSignals.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FraudSignals.UserSignals.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FraudSignals.UserSignals.Builder
Overrides