Class FraudSignals.CardSignals.Builder (3.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.recaptchaenterprise.v1.FraudSignals.CardSignals.CardLabel>

The cardLabels to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<Integer>

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

Returns
TypeDescription
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
NameDescription
valueFraudSignals.CardSignals.CardLabel

The cardLabels to add.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
FraudSignals.CardSignals.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FraudSignals.CardSignals build()
Returns
TypeDescription
FraudSignals.CardSignals

buildPartial()

public FraudSignals.CardSignals buildPartial()
Returns
TypeDescription
FraudSignals.CardSignals

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The index of the element to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
List<Integer>

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

getDefaultInstanceForType()

public FraudSignals.CardSignals getDefaultInstanceForType()
Returns
TypeDescription
FraudSignals.CardSignals

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(FraudSignals.CardSignals other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FraudSignals.CardSignals.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueFraudSignals.CardSignals.CardLabel

The cardLabels to set.

Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueint

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

Returns
TypeDescription
FraudSignals.CardSignals.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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