Class TransactionData.GatewayInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransactionData.GatewayInfo.Builder>
com.google.recaptchaenterprise.v1.TransactionData.GatewayInfo.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, TransactionData.GatewayInfoOrBuilder, Cloneable
Enclosing class:
TransactionData.GatewayInfo

public static final class TransactionData.GatewayInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<TransactionData.GatewayInfo.Builder> implements TransactionData.GatewayInfoOrBuilder
 Details about the transaction from the gateway.
 
Protobuf type google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TransactionData.GatewayInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TransactionData.GatewayInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TransactionData.GatewayInfo.Builder>
    • getDefaultInstanceForType

      public TransactionData.GatewayInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TransactionData.GatewayInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TransactionData.GatewayInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransactionData.GatewayInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TransactionData.GatewayInfo.Builder>
    • mergeFrom

      public TransactionData.GatewayInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransactionData.GatewayInfo.Builder>
      Throws:
      IOException
    • getName

      public String getName()
       Optional. Name of the gateway service (for example, stripe, square,
       paypal).
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getName in interface TransactionData.GatewayInfoOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Optional. Name of the gateway service (for example, stripe, square,
       paypal).
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNameBytes in interface TransactionData.GatewayInfoOrBuilder
      Returns:
      The bytes for name.
    • setName

       Optional. Name of the gateway service (for example, stripe, square,
       paypal).
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

       Optional. Name of the gateway service (for example, stripe, square,
       paypal).
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setNameBytes

      public TransactionData.GatewayInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
       Optional. Name of the gateway service (for example, stripe, square,
       paypal).
       
      string name = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getGatewayResponseCode

      public String getGatewayResponseCode()
       Optional. Gateway response code describing the state of the transaction.
       
      string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGatewayResponseCode in interface TransactionData.GatewayInfoOrBuilder
      Returns:
      The gatewayResponseCode.
    • getGatewayResponseCodeBytes

      public com.google.protobuf.ByteString getGatewayResponseCodeBytes()
       Optional. Gateway response code describing the state of the transaction.
       
      string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGatewayResponseCodeBytes in interface TransactionData.GatewayInfoOrBuilder
      Returns:
      The bytes for gatewayResponseCode.
    • setGatewayResponseCode

      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];
      Parameters:
      value - The gatewayResponseCode to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setGatewayResponseCodeBytes

      public TransactionData.GatewayInfo.Builder setGatewayResponseCodeBytes(com.google.protobuf.ByteString value)
       Optional. Gateway response code describing the state of the transaction.
       
      string gateway_response_code = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for gatewayResponseCode to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getAvsResponseCode in interface TransactionData.GatewayInfoOrBuilder
      Returns:
      The avsResponseCode.
    • getAvsResponseCodeBytes

      public com.google.protobuf.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];
      Specified by:
      getAvsResponseCodeBytes in interface TransactionData.GatewayInfoOrBuilder
      Returns:
      The bytes for avsResponseCode.
    • setAvsResponseCode

      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];
      Parameters:
      value - The avsResponseCode to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setAvsResponseCodeBytes

      public TransactionData.GatewayInfo.Builder setAvsResponseCodeBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for avsResponseCode to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getCvvResponseCode in interface TransactionData.GatewayInfoOrBuilder
      Returns:
      The cvvResponseCode.
    • getCvvResponseCodeBytes

      public com.google.protobuf.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];
      Specified by:
      getCvvResponseCodeBytes in interface TransactionData.GatewayInfoOrBuilder
      Returns:
      The bytes for cvvResponseCode.
    • setCvvResponseCode

      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];
      Parameters:
      value - The cvvResponseCode to set.
      Returns:
      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:
      This builder for chaining.
    • setCvvResponseCodeBytes

      public TransactionData.GatewayInfo.Builder setCvvResponseCodeBytes(com.google.protobuf.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];
      Parameters:
      value - The bytes for cvvResponseCode to set.
      Returns:
      This builder for chaining.