Class FraudPreventionAssessment.CardTestingVerdict.Builder (3.31.0)

public static final class FraudPreventionAssessment.CardTestingVerdict.Builder extends GeneratedMessageV3.Builder<FraudPreventionAssessment.CardTestingVerdict.Builder> implements FraudPreventionAssessment.CardTestingVerdictOrBuilder

Information about card testing fraud, where an adversary is testing fraudulently obtained cards or brute forcing their details.

Protobuf type google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment.CardTestingVerdict

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FraudPreventionAssessment.CardTestingVerdict build()
Returns
TypeDescription
FraudPreventionAssessment.CardTestingVerdict

buildPartial()

public FraudPreventionAssessment.CardTestingVerdict buildPartial()
Returns
TypeDescription
FraudPreventionAssessment.CardTestingVerdict

clear()

public FraudPreventionAssessment.CardTestingVerdict.Builder clear()
Returns
TypeDescription
FraudPreventionAssessment.CardTestingVerdict.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRisk()

public FraudPreventionAssessment.CardTestingVerdict.Builder clearRisk()

Output only. Probability of this transaction attempt being part of a card testing attack. Values are from 0.0 (lowest) to 1.0 (highest).

float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FraudPreventionAssessment.CardTestingVerdict.Builder

This builder for chaining.

clone()

public FraudPreventionAssessment.CardTestingVerdict.Builder clone()
Returns
TypeDescription
FraudPreventionAssessment.CardTestingVerdict.Builder
Overrides

getDefaultInstanceForType()

public FraudPreventionAssessment.CardTestingVerdict getDefaultInstanceForType()
Returns
TypeDescription
FraudPreventionAssessment.CardTestingVerdict

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRisk()

public float getRisk()

Output only. Probability of this transaction attempt being part of a card testing attack. Values are from 0.0 (lowest) to 1.0 (highest).

float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
float

The risk.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(FraudPreventionAssessment.CardTestingVerdict other)

public FraudPreventionAssessment.CardTestingVerdict.Builder mergeFrom(FraudPreventionAssessment.CardTestingVerdict other)
Parameter
NameDescription
otherFraudPreventionAssessment.CardTestingVerdict
Returns
TypeDescription
FraudPreventionAssessment.CardTestingVerdict.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRisk(float value)

public FraudPreventionAssessment.CardTestingVerdict.Builder setRisk(float value)

Output only. Probability of this transaction attempt being part of a card testing attack. Values are from 0.0 (lowest) to 1.0 (highest).

float risk = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valuefloat

The risk to set.

Returns
TypeDescription
FraudPreventionAssessment.CardTestingVerdict.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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