Class TransactionData.GatewayInfo.Builder (3.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransactionData.GatewayInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TransactionData.GatewayInfo.Builder
Overrides

build()

public TransactionData.GatewayInfo build()
Returns
TypeDescription
TransactionData.GatewayInfo

buildPartial()

public TransactionData.GatewayInfo buildPartial()
Returns
TypeDescription
TransactionData.GatewayInfo

clear()

public TransactionData.GatewayInfo.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TransactionData.GatewayInfo.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public TransactionData.GatewayInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TransactionData.GatewayInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TransactionData.GatewayInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
TransactionData.GatewayInfo.Builder
Overrides

clone()

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

The bytes for cvvResponseCode.

getDefaultInstanceForType()

public TransactionData.GatewayInfo getDefaultInstanceForType()
Returns
TypeDescription
TransactionData.GatewayInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGatewayResponseCode()

public String getGatewayResponseCode()

Gateway response code describing the state of the transaction.

string gateway_response_code = 2;

Returns
TypeDescription
String

The gatewayResponseCode.

getGatewayResponseCodeBytes()

public ByteString getGatewayResponseCodeBytes()

Gateway response code describing the state of the transaction.

string gateway_response_code = 2;

Returns
TypeDescription
ByteString

The bytes for gatewayResponseCode.

getName()

public String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransactionData.GatewayInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TransactionData.GatewayInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TransactionData.GatewayInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TransactionData.GatewayInfo.Builder
Overrides

mergeFrom(TransactionData.GatewayInfo other)

public TransactionData.GatewayInfo.Builder mergeFrom(TransactionData.GatewayInfo other)
Parameter
NameDescription
otherTransactionData.GatewayInfo
Returns
TypeDescription
TransactionData.GatewayInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransactionData.GatewayInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The avsResponseCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for avsResponseCode to set.

Returns
TypeDescription
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
NameDescription
valueString

The cvvResponseCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for cvvResponseCode to set.

Returns
TypeDescription
TransactionData.GatewayInfo.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public TransactionData.GatewayInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The gatewayResponseCode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for gatewayResponseCode to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TransactionData.GatewayInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final TransactionData.GatewayInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TransactionData.GatewayInfo.Builder
Overrides