Class TransactionData.GatewayInfo.Builder (3.43.0)

public static final class TransactionData.GatewayInfo.Builder extends GeneratedMessageV3.Builder<TransactionData.GatewayInfo.Builder> implements TransactionData.GatewayInfoOrBuilder

Details about the transaction from the gateway.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransactionData.GatewayInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransactionData.GatewayInfo.Builder
Overrides

build()

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

buildPartial()

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

clear()

public TransactionData.GatewayInfo.Builder clear()
Returns
Type Description
TransactionData.GatewayInfo.Builder
Overrides

clearAvsResponseCode()

public TransactionData.GatewayInfo.Builder clearAvsResponseCode()

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

string avs_response_code = 3;

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

clearCvvResponseCode()

public TransactionData.GatewayInfo.Builder clearCvvResponseCode()

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

string cvv_response_code = 4;

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransactionData.GatewayInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransactionData.GatewayInfo.Builder
Overrides

clearGatewayResponseCode()

public TransactionData.GatewayInfo.Builder clearGatewayResponseCode()

Gateway response code describing the state of the transaction.

string gateway_response_code = 2;

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

clearName()

public TransactionData.GatewayInfo.Builder clearName()

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

string name = 1;

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TransactionData.GatewayInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransactionData.GatewayInfo.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransactionData.GatewayInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransactionData.GatewayInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransactionData.GatewayInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransactionData.GatewayInfo.Builder
Overrides

mergeFrom(TransactionData.GatewayInfo other)

public TransactionData.GatewayInfo.Builder mergeFrom(TransactionData.GatewayInfo other)
Parameter
Name Description
other TransactionData.GatewayInfo
Returns
Type Description
TransactionData.GatewayInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransactionData.GatewayInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransactionData.GatewayInfo.Builder
Overrides

setAvsResponseCode(String value)

public TransactionData.GatewayInfo.Builder setAvsResponseCode(String value)

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

string avs_response_code = 3;

Parameter
Name Description
value String

The avsResponseCode to set.

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

setAvsResponseCodeBytes(ByteString value)

public TransactionData.GatewayInfo.Builder setAvsResponseCodeBytes(ByteString value)

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

string avs_response_code = 3;

Parameter
Name Description
value ByteString

The bytes for avsResponseCode to set.

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

setCvvResponseCode(String value)

public TransactionData.GatewayInfo.Builder setCvvResponseCode(String value)

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

string cvv_response_code = 4;

Parameter
Name Description
value String

The cvvResponseCode to set.

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

setCvvResponseCodeBytes(ByteString value)

public TransactionData.GatewayInfo.Builder setCvvResponseCodeBytes(ByteString value)

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

string cvv_response_code = 4;

Parameter
Name Description
value ByteString

The bytes for cvvResponseCode to set.

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransactionData.GatewayInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransactionData.GatewayInfo.Builder
Overrides

setGatewayResponseCode(String value)

public TransactionData.GatewayInfo.Builder setGatewayResponseCode(String value)

Gateway response code describing the state of the transaction.

string gateway_response_code = 2;

Parameter
Name Description
value String

The gatewayResponseCode to set.

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

setGatewayResponseCodeBytes(ByteString value)

public TransactionData.GatewayInfo.Builder setGatewayResponseCodeBytes(ByteString value)

Gateway response code describing the state of the transaction.

string gateway_response_code = 2;

Parameter
Name Description
value ByteString

The bytes for gatewayResponseCode to set.

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

setName(String value)

public TransactionData.GatewayInfo.Builder setName(String value)

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

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

setNameBytes(ByteString value)

public TransactionData.GatewayInfo.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
TransactionData.GatewayInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TransactionData.GatewayInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TransactionData.GatewayInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TransactionData.GatewayInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransactionData.GatewayInfo.Builder
Overrides