Class FraudSignals.Builder (3.29.0)

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

Fraud signals describing users and cards involved in the transaction.

Protobuf type google.cloud.recaptchaenterprise.v1.FraudSignals

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FraudSignals build()
Returns
TypeDescription
FraudSignals

buildPartial()

public FraudSignals buildPartial()
Returns
TypeDescription
FraudSignals

clear()

public FraudSignals.Builder clear()
Returns
TypeDescription
FraudSignals.Builder
Overrides

clearCardSignals()

public FraudSignals.Builder clearCardSignals()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public FraudSignals.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FraudSignals.Builder
Overrides

clearUserSignals()

public FraudSignals.Builder clearUserSignals()

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

clone()

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

getCardSignalsBuilder()

public FraudSignals.CardSignals.Builder getCardSignalsBuilder()

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

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

getDescriptorForType()

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

getUserSignalsBuilder()

public FraudSignals.UserSignals.Builder getUserSignalsBuilder()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCardSignals(FraudSignals.CardSignals value)

public FraudSignals.Builder mergeCardSignals(FraudSignals.CardSignals value)

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

Parameter
NameDescription
valueFraudSignals.CardSignals
Returns
TypeDescription
FraudSignals.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(FraudSignals other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUserSignals(FraudSignals.UserSignals value)

public FraudSignals.Builder mergeUserSignals(FraudSignals.UserSignals value)

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

Parameter
NameDescription
valueFraudSignals.UserSignals
Returns
TypeDescription
FraudSignals.Builder

setCardSignals(FraudSignals.CardSignals value)

public FraudSignals.Builder setCardSignals(FraudSignals.CardSignals value)

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

Parameter
NameDescription
valueFraudSignals.CardSignals
Returns
TypeDescription
FraudSignals.Builder

setCardSignals(FraudSignals.CardSignals.Builder builderForValue)

public FraudSignals.Builder setCardSignals(FraudSignals.CardSignals.Builder builderForValue)

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

Parameter
NameDescription
builderForValueFraudSignals.CardSignals.Builder
Returns
TypeDescription
FraudSignals.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public FraudSignals.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FraudSignals.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUserSignals(FraudSignals.UserSignals value)

public FraudSignals.Builder setUserSignals(FraudSignals.UserSignals value)

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

Parameter
NameDescription
valueFraudSignals.UserSignals
Returns
TypeDescription
FraudSignals.Builder

setUserSignals(FraudSignals.UserSignals.Builder builderForValue)

public FraudSignals.Builder setUserSignals(FraudSignals.UserSignals.Builder builderForValue)

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

Parameter
NameDescription
builderForValueFraudSignals.UserSignals.Builder
Returns
TypeDescription
FraudSignals.Builder