Class FraudPreventionAssessment.StolenInstrumentVerdict.Builder (3.21.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.v1beta1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRisk()

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder clearRisk()

Probability (0-1) of this transaction being executed with a stolen instrument.

float risk = 1;

Returns
TypeDescription
FraudPreventionAssessment.StolenInstrumentVerdict.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRisk()

public float getRisk()

Probability (0-1) of this transaction being executed with a stolen instrument.

float risk = 1;

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.StolenInstrumentVerdict.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudPreventionAssessment.StolenInstrumentVerdict.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(FraudPreventionAssessment.StolenInstrumentVerdict other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRisk(float value)

public FraudPreventionAssessment.StolenInstrumentVerdict.Builder setRisk(float value)

Probability (0-1) of this transaction being executed with a stolen instrument.

float risk = 1;

Parameter
NameDescription
valuefloat

The risk to set.

Returns
TypeDescription
FraudPreventionAssessment.StolenInstrumentVerdict.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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