Class FraudPreventionAssessment.StolenInstrumentVerdict.Builder (3.41.0)

public static final class FraudPreventionAssessment.StolenInstrumentVerdict.Builder extends GeneratedMessageV3.Builder<FraudPreventionAssessment.StolenInstrumentVerdict.Builder> implements FraudPreventionAssessment.StolenInstrumentVerdictOrBuilder

Information about stolen instrument fraud, where the user is not the legitimate owner of the instrument being used for the purchase.

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FraudPreventionAssessment.StolenInstrumentVerdict.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FraudPreventionAssessment.StolenInstrumentVerdict build()
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict

buildPartial()

public FraudPreventionAssessment.StolenInstrumentVerdict buildPartial()
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict

clear()

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder clear()
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder
Overrides

clearRisk()

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder clearRisk()

Output only. Probability of this transaction being executed with a stolen instrument. Values are from 0.0 (lowest) to 1.0 (highest).

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

Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder

This builder for chaining.

clone()

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder clone()
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder
Overrides

getDefaultInstanceForType()

public FraudPreventionAssessment.StolenInstrumentVerdict getDefaultInstanceForType()
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRisk()

public float getRisk()

Output only. Probability of this transaction being executed with a stolen instrument. Values are from 0.0 (lowest) to 1.0 (highest).

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

Returns
Type Description
float

The risk.

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 FraudPreventionAssessment.StolenInstrumentVerdict.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder
Overrides

mergeFrom(FraudPreventionAssessment.StolenInstrumentVerdict other)

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder mergeFrom(FraudPreventionAssessment.StolenInstrumentVerdict other)
Parameter
Name Description
other FraudPreventionAssessment.StolenInstrumentVerdict
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FraudPreventionAssessment.StolenInstrumentVerdict.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRisk(float value)

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder setRisk(float value)

Output only. Probability of this transaction being executed with a stolen instrument. Values are from 0.0 (lowest) to 1.0 (highest).

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

Parameter
Name Description
value float

The risk to set.

Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final FraudPreventionAssessment.StolenInstrumentVerdict.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FraudPreventionAssessment.StolenInstrumentVerdict.Builder
Overrides