Class FraudSignals.UserSignals.Builder (3.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FraudSignals.UserSignals.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FraudSignals.UserSignals.Builder
Overrides

build()

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

buildPartial()

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

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FraudSignals.UserSignals.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FraudSignals.UserSignals.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FraudSignals.UserSignals.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
FraudSignals.UserSignals.Builder

This builder for chaining.

clone()

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

The activeDaysLowerBound.

getDefaultInstanceForType()

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

getDescriptorForType()

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

The syntheticRisk.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FraudSignals.UserSignals.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudSignals.UserSignals.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FraudSignals.UserSignals.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FraudSignals.UserSignals.Builder
Overrides

mergeFrom(FraudSignals.UserSignals other)

public FraudSignals.UserSignals.Builder mergeFrom(FraudSignals.UserSignals other)
Parameter
NameDescription
otherFraudSignals.UserSignals
Returns
TypeDescription
FraudSignals.UserSignals.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FraudSignals.UserSignals.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The activeDaysLowerBound to set.

Returns
TypeDescription
FraudSignals.UserSignals.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FraudSignals.UserSignals.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valuefloat

The syntheticRisk to set.

Returns
TypeDescription
FraudSignals.UserSignals.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FraudSignals.UserSignals.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FraudSignals.UserSignals.Builder
Overrides