Class FraudSignals.CardSignals.Builder (3.41.0)

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

Signals describing the payment card used in this transaction.

Protobuf type google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals

Static Methods

getDescriptor()

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

Methods

addAllCardLabels(Iterable<? extends FraudSignals.CardSignals.CardLabel> values)

public FraudSignals.CardSignals.Builder addAllCardLabels(Iterable<? extends FraudSignals.CardSignals.CardLabel> values)

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel>

The cardLabels to add.

Returns
Type Description
FraudSignals.CardSignals.Builder

This builder for chaining.

addAllCardLabelsValue(Iterable<Integer> values)

public FraudSignals.CardSignals.Builder addAllCardLabelsValue(Iterable<Integer> values)

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<Integer>

The enum numeric values on the wire for cardLabels to add.

Returns
Type Description
FraudSignals.CardSignals.Builder

This builder for chaining.

addCardLabels(FraudSignals.CardSignals.CardLabel value)

public FraudSignals.CardSignals.Builder addCardLabels(FraudSignals.CardSignals.CardLabel value)

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FraudSignals.CardSignals.CardLabel

The cardLabels to add.

Returns
Type Description
FraudSignals.CardSignals.Builder

This builder for chaining.

addCardLabelsValue(int value)

public FraudSignals.CardSignals.Builder addCardLabelsValue(int value)

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for cardLabels to add.

Returns
Type Description
FraudSignals.CardSignals.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FraudSignals.CardSignals build()
Returns
Type Description
FraudSignals.CardSignals

buildPartial()

public FraudSignals.CardSignals buildPartial()
Returns
Type Description
FraudSignals.CardSignals

clear()

public FraudSignals.CardSignals.Builder clear()
Returns
Type Description
FraudSignals.CardSignals.Builder
Overrides

clearCardLabels()

public FraudSignals.CardSignals.Builder clearCardLabels()

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FraudSignals.CardSignals.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FraudSignals.CardSignals.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FraudSignals.CardSignals.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FraudSignals.CardSignals.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FraudSignals.CardSignals.Builder
Overrides

clone()

public FraudSignals.CardSignals.Builder clone()
Returns
Type Description
FraudSignals.CardSignals.Builder
Overrides

getCardLabels(int index)

public FraudSignals.CardSignals.CardLabel getCardLabels(int index)

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
FraudSignals.CardSignals.CardLabel

The cardLabels at the given index.

getCardLabelsCount()

public int getCardLabelsCount()

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of cardLabels.

getCardLabelsList()

public List<FraudSignals.CardSignals.CardLabel> getCardLabelsList()

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<CardLabel>

A list containing the cardLabels.

getCardLabelsValue(int index)

public int getCardLabelsValue(int index)

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of cardLabels at the given index.

getCardLabelsValueList()

public List<Integer> getCardLabelsValueList()

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for cardLabels.

getDefaultInstanceForType()

public FraudSignals.CardSignals getDefaultInstanceForType()
Returns
Type Description
FraudSignals.CardSignals

getDescriptorForType()

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

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

mergeFrom(Message other)

public FraudSignals.CardSignals.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FraudSignals.CardSignals.Builder
Overrides

mergeFrom(FraudSignals.CardSignals other)

public FraudSignals.CardSignals.Builder mergeFrom(FraudSignals.CardSignals other)
Parameter
Name Description
other FraudSignals.CardSignals
Returns
Type Description
FraudSignals.CardSignals.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FraudSignals.CardSignals.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FraudSignals.CardSignals.Builder
Overrides

setCardLabels(int index, FraudSignals.CardSignals.CardLabel value)

public FraudSignals.CardSignals.Builder setCardLabels(int index, FraudSignals.CardSignals.CardLabel value)

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value FraudSignals.CardSignals.CardLabel

The cardLabels to set.

Returns
Type Description
FraudSignals.CardSignals.Builder

This builder for chaining.

setCardLabelsValue(int index, int value)

public FraudSignals.CardSignals.Builder setCardLabelsValue(int index, int value)

Output only. The labels for the payment card in this transaction.

repeated .google.cloud.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel card_labels = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value int

The enum numeric value on the wire for cardLabels to set.

Returns
Type Description
FraudSignals.CardSignals.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final FraudSignals.CardSignals.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FraudSignals.CardSignals.Builder
Overrides