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

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

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

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

Returns
Type Description
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
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()

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

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

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

Returns
Type Description
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
Type Description
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
Type Description
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
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)

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

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

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

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

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

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

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)

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

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

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)

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

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

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)

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

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

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