Class TransactionData.GatewayInfo.Builder (3.32.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.v1.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()

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

string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TransactionData.GatewayInfo.Builder

This builder for chaining.

clearCvvResponseCode()

public TransactionData.GatewayInfo.Builder clearCvvResponseCode()

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

string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL];

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()

Optional. Gateway response code describing the state of the transaction.

string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TransactionData.GatewayInfo.Builder

This builder for chaining.

clearName()

public TransactionData.GatewayInfo.Builder clearName()

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

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

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()

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

string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The avsResponseCode.

getAvsResponseCodeBytes()

public ByteString getAvsResponseCodeBytes()

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

string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for avsResponseCode.

getCvvResponseCode()

public String getCvvResponseCode()

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

string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The cvvResponseCode.

getCvvResponseCodeBytes()

public ByteString getCvvResponseCodeBytes()

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

string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL];

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()

Optional. Gateway response code describing the state of the transaction.

string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The gatewayResponseCode.

getGatewayResponseCodeBytes()

public ByteString getGatewayResponseCodeBytes()

Optional. Gateway response code describing the state of the transaction.

string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for gatewayResponseCode.

getName()

public String getName()

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

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

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)

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

string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL];

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)

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

string avs_response_code = 3 [(.google.api.field_behavior) = OPTIONAL];

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)

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

string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL];

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)

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

string cvv_response_code = 4 [(.google.api.field_behavior) = OPTIONAL];

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)

Optional. Gateway response code describing the state of the transaction.

string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL];

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)

Optional. Gateway response code describing the state of the transaction.

string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL];

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)

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

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

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)

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

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

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