Class TransactionData.GatewayInfo (3.39.0)

public static final class TransactionData.GatewayInfo extends GeneratedMessageV3 implements TransactionData.GatewayInfoOrBuilder

Details about the transaction from the gateway.

Protobuf type google.cloud.recaptchaenterprise.v1beta1.TransactionData.GatewayInfo

Static Fields

AVS_RESPONSE_CODE_FIELD_NUMBER

public static final int AVS_RESPONSE_CODE_FIELD_NUMBER
Field Value
Type Description
int

CVV_RESPONSE_CODE_FIELD_NUMBER

public static final int CVV_RESPONSE_CODE_FIELD_NUMBER
Field Value
Type Description
int

GATEWAY_RESPONSE_CODE_FIELD_NUMBER

public static final int GATEWAY_RESPONSE_CODE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransactionData.GatewayInfo getDefaultInstance()
Returns
Type Description
TransactionData.GatewayInfo

getDescriptor()

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

newBuilder()

public static TransactionData.GatewayInfo.Builder newBuilder()
Returns
Type Description
TransactionData.GatewayInfo.Builder

newBuilder(TransactionData.GatewayInfo prototype)

public static TransactionData.GatewayInfo.Builder newBuilder(TransactionData.GatewayInfo prototype)
Parameter
Name Description
prototype TransactionData.GatewayInfo
Returns
Type Description
TransactionData.GatewayInfo.Builder

parseDelimitedFrom(InputStream input)

public static TransactionData.GatewayInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransactionData.GatewayInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static TransactionData.GatewayInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransactionData.GatewayInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static TransactionData.GatewayInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransactionData.GatewayInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static TransactionData.GatewayInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransactionData.GatewayInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static TransactionData.GatewayInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransactionData.GatewayInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<TransactionData.GatewayInfo> parser()
Returns
Type Description
Parser<GatewayInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAvsResponseCode()

public String getAvsResponseCode()

AVS response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).

string avs_response_code = 3;

Returns
Type Description
String

The avsResponseCode.

getAvsResponseCodeBytes()

public ByteString getAvsResponseCodeBytes()

AVS response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).

string avs_response_code = 3;

Returns
Type Description
ByteString

The bytes for avsResponseCode.

getCvvResponseCode()

public String getCvvResponseCode()

CVV response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).

string cvv_response_code = 4;

Returns
Type Description
String

The cvvResponseCode.

getCvvResponseCodeBytes()

public ByteString getCvvResponseCodeBytes()

CVV response code from the gateway (available only when reCAPTCHA Enterprise is called after authorization).

string cvv_response_code = 4;

Returns
Type Description
ByteString

The bytes for cvvResponseCode.

getDefaultInstanceForType()

public TransactionData.GatewayInfo getDefaultInstanceForType()
Returns
Type Description
TransactionData.GatewayInfo

getGatewayResponseCode()

public String getGatewayResponseCode()

Gateway response code describing the state of the transaction.

string gateway_response_code = 2;

Returns
Type Description
String

The gatewayResponseCode.

getGatewayResponseCodeBytes()

public ByteString getGatewayResponseCodeBytes()

Gateway response code describing the state of the transaction.

string gateway_response_code = 2;

Returns
Type Description
ByteString

The bytes for gatewayResponseCode.

getName()

public String getName()

Name of the gateway service (for example, stripe, square, paypal).

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the gateway service (for example, stripe, square, paypal).

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<TransactionData.GatewayInfo> getParserForType()
Returns
Type Description
Parser<GatewayInfo>
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 TransactionData.GatewayInfo.Builder newBuilderForType()
Returns
Type Description
TransactionData.GatewayInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransactionData.GatewayInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransactionData.GatewayInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public TransactionData.GatewayInfo.Builder toBuilder()
Returns
Type Description
TransactionData.GatewayInfo.Builder

writeTo(CodedOutputStream output)

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