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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.
|
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.
|
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];
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.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FraudSignals.CardSignals.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FraudSignals.CardSignals build()
buildPartial()
public FraudSignals.CardSignals buildPartial()
clear()
public FraudSignals.CardSignals.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public FraudSignals.CardSignals.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FraudSignals.CardSignals.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FraudSignals.CardSignals.Builder clone()
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.
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public FraudSignals.CardSignals.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FraudSignals.CardSignals.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(FraudSignals.CardSignals other)
public FraudSignals.CardSignals.Builder mergeFrom(FraudSignals.CardSignals other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FraudSignals.CardSignals.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public FraudSignals.CardSignals.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FraudSignals.CardSignals.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FraudSignals.CardSignals.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides