Class FraudSignals.CardSignals (3.29.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static FraudSignals.CardSignals getDefaultInstance()
Returns
TypeDescription
FraudSignals.CardSignals

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static FraudSignals.CardSignals.Builder newBuilder()
Returns
TypeDescription
FraudSignals.CardSignals.Builder

newBuilder(FraudSignals.CardSignals prototype)

public static FraudSignals.CardSignals.Builder newBuilder(FraudSignals.CardSignals prototype)
Parameter
NameDescription
prototypeFraudSignals.CardSignals
Returns
TypeDescription
FraudSignals.CardSignals.Builder

parseDelimitedFrom(InputStream input)

public static FraudSignals.CardSignals parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static FraudSignals.CardSignals parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FraudSignals.CardSignals parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FraudSignals.CardSignals parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static FraudSignals.CardSignals parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static FraudSignals.CardSignals parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FraudSignals.CardSignals parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FraudSignals.CardSignals
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public FraudSignals.CardSignals.Builder newBuilderForType()
Returns
TypeDescription
FraudSignals.CardSignals.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FraudSignals.CardSignals.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FraudSignals.CardSignals.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public FraudSignals.CardSignals.Builder toBuilder()
Returns
TypeDescription
FraudSignals.CardSignals.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException