Class FraudSignals.CardSignals (3.41.0)

public static final class FraudSignals.CardSignals extends GeneratedMessageV3 implements FraudSignals.CardSignalsOrBuilder

Signals describing the payment card used in this transaction.

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

Static Fields

CARD_LABELS_FIELD_NUMBER

public static final int CARD_LABELS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FraudSignals.CardSignals getDefaultInstance()
Returns
Type Description
FraudSignals.CardSignals

getDescriptor()

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

newBuilder()

public static FraudSignals.CardSignals.Builder newBuilder()
Returns
Type Description
FraudSignals.CardSignals.Builder

newBuilder(FraudSignals.CardSignals prototype)

public static FraudSignals.CardSignals.Builder newBuilder(FraudSignals.CardSignals prototype)
Parameter
Name Description
prototype FraudSignals.CardSignals
Returns
Type Description
FraudSignals.CardSignals.Builder

parseDelimitedFrom(InputStream input)

public static FraudSignals.CardSignals parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FraudSignals.CardSignals parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FraudSignals.CardSignals parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FraudSignals.CardSignals parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FraudSignals.CardSignals parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FraudSignals.CardSignals parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FraudSignals.CardSignals
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FraudSignals.CardSignals> parser()
Returns
Type Description
Parser<CardSignals>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<FraudSignals.CardSignals> getParserForType()
Returns
Type Description
Parser<CardSignals>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FraudSignals.CardSignals.Builder newBuilderForType()
Returns
Type Description
FraudSignals.CardSignals.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FraudSignals.CardSignals.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FraudSignals.CardSignals.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FraudSignals.CardSignals.Builder toBuilder()
Returns
Type Description
FraudSignals.CardSignals.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException