Class TransactionData.Builder

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

public static final class TransactionData.Builder extends com.google.protobuf.GeneratedMessage.Builder<TransactionData.Builder> implements TransactionDataOrBuilder
 Transaction data associated with a payment protected by reCAPTCHA Enterprise.
 
Protobuf type google.cloud.recaptchaenterprise.v1.TransactionData
  • 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.Builder>
    • clear

      public TransactionData.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.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.Builder>
    • getDefaultInstanceForType

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

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

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

      public TransactionData.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.Builder>
    • mergeFrom

      public TransactionData.Builder mergeFrom(TransactionData other)
    • isInitialized

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

      public TransactionData.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.Builder>
      Throws:
      IOException
    • hasTransactionId

      public boolean hasTransactionId()
       Unique identifier for the transaction. This custom identifier can be used
       to reference this transaction in the future, for example, labeling a refund
       or chargeback event. Two attempts at the same transaction should use the
       same transaction id.
       
      optional string transaction_id = 11;
      Specified by:
      hasTransactionId in interface TransactionDataOrBuilder
      Returns:
      Whether the transactionId field is set.
    • getTransactionId

      public String getTransactionId()
       Unique identifier for the transaction. This custom identifier can be used
       to reference this transaction in the future, for example, labeling a refund
       or chargeback event. Two attempts at the same transaction should use the
       same transaction id.
       
      optional string transaction_id = 11;
      Specified by:
      getTransactionId in interface TransactionDataOrBuilder
      Returns:
      The transactionId.
    • getTransactionIdBytes

      public com.google.protobuf.ByteString getTransactionIdBytes()
       Unique identifier for the transaction. This custom identifier can be used
       to reference this transaction in the future, for example, labeling a refund
       or chargeback event. Two attempts at the same transaction should use the
       same transaction id.
       
      optional string transaction_id = 11;
      Specified by:
      getTransactionIdBytes in interface TransactionDataOrBuilder
      Returns:
      The bytes for transactionId.
    • setTransactionId

      public TransactionData.Builder setTransactionId(String value)
       Unique identifier for the transaction. This custom identifier can be used
       to reference this transaction in the future, for example, labeling a refund
       or chargeback event. Two attempts at the same transaction should use the
       same transaction id.
       
      optional string transaction_id = 11;
      Parameters:
      value - The transactionId to set.
      Returns:
      This builder for chaining.
    • clearTransactionId

      public TransactionData.Builder clearTransactionId()
       Unique identifier for the transaction. This custom identifier can be used
       to reference this transaction in the future, for example, labeling a refund
       or chargeback event. Two attempts at the same transaction should use the
       same transaction id.
       
      optional string transaction_id = 11;
      Returns:
      This builder for chaining.
    • setTransactionIdBytes

      public TransactionData.Builder setTransactionIdBytes(com.google.protobuf.ByteString value)
       Unique identifier for the transaction. This custom identifier can be used
       to reference this transaction in the future, for example, labeling a refund
       or chargeback event. Two attempts at the same transaction should use the
       same transaction id.
       
      optional string transaction_id = 11;
      Parameters:
      value - The bytes for transactionId to set.
      Returns:
      This builder for chaining.
    • getPaymentMethod

      public String getPaymentMethod()
       Optional. The payment method for the transaction. The allowed values are:
      
       * credit-card
       * debit-card
       * gift-card
       * processor-{name} (If a third-party is used, for example,
       processor-paypal)
       * custom-{name} (If an alternative method is used, for example,
       custom-crypto)
       
      string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPaymentMethod in interface TransactionDataOrBuilder
      Returns:
      The paymentMethod.
    • getPaymentMethodBytes

      public com.google.protobuf.ByteString getPaymentMethodBytes()
       Optional. The payment method for the transaction. The allowed values are:
      
       * credit-card
       * debit-card
       * gift-card
       * processor-{name} (If a third-party is used, for example,
       processor-paypal)
       * custom-{name} (If an alternative method is used, for example,
       custom-crypto)
       
      string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPaymentMethodBytes in interface TransactionDataOrBuilder
      Returns:
      The bytes for paymentMethod.
    • setPaymentMethod

      public TransactionData.Builder setPaymentMethod(String value)
       Optional. The payment method for the transaction. The allowed values are:
      
       * credit-card
       * debit-card
       * gift-card
       * processor-{name} (If a third-party is used, for example,
       processor-paypal)
       * custom-{name} (If an alternative method is used, for example,
       custom-crypto)
       
      string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The paymentMethod to set.
      Returns:
      This builder for chaining.
    • clearPaymentMethod

      public TransactionData.Builder clearPaymentMethod()
       Optional. The payment method for the transaction. The allowed values are:
      
       * credit-card
       * debit-card
       * gift-card
       * processor-{name} (If a third-party is used, for example,
       processor-paypal)
       * custom-{name} (If an alternative method is used, for example,
       custom-crypto)
       
      string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setPaymentMethodBytes

      public TransactionData.Builder setPaymentMethodBytes(com.google.protobuf.ByteString value)
       Optional. The payment method for the transaction. The allowed values are:
      
       * credit-card
       * debit-card
       * gift-card
       * processor-{name} (If a third-party is used, for example,
       processor-paypal)
       * custom-{name} (If an alternative method is used, for example,
       custom-crypto)
       
      string payment_method = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for paymentMethod to set.
      Returns:
      This builder for chaining.
    • getCardBin

      public String getCardBin()
       Optional. The Bank Identification Number - generally the first 6 or 8
       digits of the card.
       
      string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCardBin in interface TransactionDataOrBuilder
      Returns:
      The cardBin.
    • getCardBinBytes

      public com.google.protobuf.ByteString getCardBinBytes()
       Optional. The Bank Identification Number - generally the first 6 or 8
       digits of the card.
       
      string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCardBinBytes in interface TransactionDataOrBuilder
      Returns:
      The bytes for cardBin.
    • setCardBin

      public TransactionData.Builder setCardBin(String value)
       Optional. The Bank Identification Number - generally the first 6 or 8
       digits of the card.
       
      string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The cardBin to set.
      Returns:
      This builder for chaining.
    • clearCardBin

      public TransactionData.Builder clearCardBin()
       Optional. The Bank Identification Number - generally the first 6 or 8
       digits of the card.
       
      string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setCardBinBytes

      public TransactionData.Builder setCardBinBytes(com.google.protobuf.ByteString value)
       Optional. The Bank Identification Number - generally the first 6 or 8
       digits of the card.
       
      string card_bin = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for cardBin to set.
      Returns:
      This builder for chaining.
    • getCardLastFour

      public String getCardLastFour()
       Optional. The last four digits of the card.
       
      string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCardLastFour in interface TransactionDataOrBuilder
      Returns:
      The cardLastFour.
    • getCardLastFourBytes

      public com.google.protobuf.ByteString getCardLastFourBytes()
       Optional. The last four digits of the card.
       
      string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCardLastFourBytes in interface TransactionDataOrBuilder
      Returns:
      The bytes for cardLastFour.
    • setCardLastFour

      public TransactionData.Builder setCardLastFour(String value)
       Optional. The last four digits of the card.
       
      string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The cardLastFour to set.
      Returns:
      This builder for chaining.
    • clearCardLastFour

      public TransactionData.Builder clearCardLastFour()
       Optional. The last four digits of the card.
       
      string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setCardLastFourBytes

      public TransactionData.Builder setCardLastFourBytes(com.google.protobuf.ByteString value)
       Optional. The last four digits of the card.
       
      string card_last_four = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for cardLastFour to set.
      Returns:
      This builder for chaining.
    • getCurrencyCode

      public String getCurrencyCode()
       Optional. The currency code in ISO-4217 format.
       
      string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCurrencyCode in interface TransactionDataOrBuilder
      Returns:
      The currencyCode.
    • getCurrencyCodeBytes

      public com.google.protobuf.ByteString getCurrencyCodeBytes()
       Optional. The currency code in ISO-4217 format.
       
      string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCurrencyCodeBytes in interface TransactionDataOrBuilder
      Returns:
      The bytes for currencyCode.
    • setCurrencyCode

      public TransactionData.Builder setCurrencyCode(String value)
       Optional. The currency code in ISO-4217 format.
       
      string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The currencyCode to set.
      Returns:
      This builder for chaining.
    • clearCurrencyCode

      public TransactionData.Builder clearCurrencyCode()
       Optional. The currency code in ISO-4217 format.
       
      string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setCurrencyCodeBytes

      public TransactionData.Builder setCurrencyCodeBytes(com.google.protobuf.ByteString value)
       Optional. The currency code in ISO-4217 format.
       
      string currency_code = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for currencyCode to set.
      Returns:
      This builder for chaining.
    • getValue

      public double getValue()
       Optional. The decimal value of the transaction in the specified currency.
       
      double value = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getValue in interface TransactionDataOrBuilder
      Returns:
      The value.
    • setValue

      public TransactionData.Builder setValue(double value)
       Optional. The decimal value of the transaction in the specified currency.
       
      double value = 5 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public TransactionData.Builder clearValue()
       Optional. The decimal value of the transaction in the specified currency.
       
      double value = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getShippingValue

      public double getShippingValue()
       Optional. The value of shipping in the specified currency. 0 for free or no
       shipping.
       
      double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getShippingValue in interface TransactionDataOrBuilder
      Returns:
      The shippingValue.
    • setShippingValue

      public TransactionData.Builder setShippingValue(double value)
       Optional. The value of shipping in the specified currency. 0 for free or no
       shipping.
       
      double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The shippingValue to set.
      Returns:
      This builder for chaining.
    • clearShippingValue

      public TransactionData.Builder clearShippingValue()
       Optional. The value of shipping in the specified currency. 0 for free or no
       shipping.
       
      double shipping_value = 12 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • hasShippingAddress

      public boolean hasShippingAddress()
       Optional. Destination address if this transaction involves shipping a
       physical item.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasShippingAddress in interface TransactionDataOrBuilder
      Returns:
      Whether the shippingAddress field is set.
    • getShippingAddress

      public TransactionData.Address getShippingAddress()
       Optional. Destination address if this transaction involves shipping a
       physical item.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getShippingAddress in interface TransactionDataOrBuilder
      Returns:
      The shippingAddress.
    • setShippingAddress

      public TransactionData.Builder setShippingAddress(TransactionData.Address value)
       Optional. Destination address if this transaction involves shipping a
       physical item.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
    • setShippingAddress

      public TransactionData.Builder setShippingAddress(TransactionData.Address.Builder builderForValue)
       Optional. Destination address if this transaction involves shipping a
       physical item.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
    • mergeShippingAddress

      public TransactionData.Builder mergeShippingAddress(TransactionData.Address value)
       Optional. Destination address if this transaction involves shipping a
       physical item.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
    • clearShippingAddress

      public TransactionData.Builder clearShippingAddress()
       Optional. Destination address if this transaction involves shipping a
       physical item.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getShippingAddressBuilder

      public TransactionData.Address.Builder getShippingAddressBuilder()
       Optional. Destination address if this transaction involves shipping a
       physical item.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getShippingAddressOrBuilder

      public TransactionData.AddressOrBuilder getShippingAddressOrBuilder()
       Optional. Destination address if this transaction involves shipping a
       physical item.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address shipping_address = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getShippingAddressOrBuilder in interface TransactionDataOrBuilder
    • hasBillingAddress

      public boolean hasBillingAddress()
       Optional. Address associated with the payment method when applicable.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasBillingAddress in interface TransactionDataOrBuilder
      Returns:
      Whether the billingAddress field is set.
    • getBillingAddress

      public TransactionData.Address getBillingAddress()
       Optional. Address associated with the payment method when applicable.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBillingAddress in interface TransactionDataOrBuilder
      Returns:
      The billingAddress.
    • setBillingAddress

      public TransactionData.Builder setBillingAddress(TransactionData.Address value)
       Optional. Address associated with the payment method when applicable.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
    • setBillingAddress

      public TransactionData.Builder setBillingAddress(TransactionData.Address.Builder builderForValue)
       Optional. Address associated with the payment method when applicable.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
    • mergeBillingAddress

      public TransactionData.Builder mergeBillingAddress(TransactionData.Address value)
       Optional. Address associated with the payment method when applicable.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
    • clearBillingAddress

      public TransactionData.Builder clearBillingAddress()
       Optional. Address associated with the payment method when applicable.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getBillingAddressBuilder

      public TransactionData.Address.Builder getBillingAddressBuilder()
       Optional. Address associated with the payment method when applicable.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
    • getBillingAddressOrBuilder

      public TransactionData.AddressOrBuilder getBillingAddressOrBuilder()
       Optional. Address associated with the payment method when applicable.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.Address billing_address = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBillingAddressOrBuilder in interface TransactionDataOrBuilder
    • hasUser

      public boolean hasUser()
       Optional. Information about the user paying/initiating the transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUser in interface TransactionDataOrBuilder
      Returns:
      Whether the user field is set.
    • getUser

      public TransactionData.User getUser()
       Optional. Information about the user paying/initiating the transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUser in interface TransactionDataOrBuilder
      Returns:
      The user.
    • setUser

       Optional. Information about the user paying/initiating the transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
    • setUser

      public TransactionData.Builder setUser(TransactionData.User.Builder builderForValue)
       Optional. Information about the user paying/initiating the transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUser

       Optional. Information about the user paying/initiating the transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
    • clearUser

      public TransactionData.Builder clearUser()
       Optional. Information about the user paying/initiating the transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getUserBuilder

      public TransactionData.User.Builder getUserBuilder()
       Optional. Information about the user paying/initiating the transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
    • getUserOrBuilder

      public TransactionData.UserOrBuilder getUserOrBuilder()
       Optional. Information about the user paying/initiating the transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.User user = 8 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUserOrBuilder in interface TransactionDataOrBuilder
    • getMerchantsList

      public List<TransactionData.User> getMerchantsList()
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMerchantsList in interface TransactionDataOrBuilder
    • getMerchantsCount

      public int getMerchantsCount()
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMerchantsCount in interface TransactionDataOrBuilder
    • getMerchants

      public TransactionData.User getMerchants(int index)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMerchants in interface TransactionDataOrBuilder
    • setMerchants

      public TransactionData.Builder setMerchants(int index, TransactionData.User value)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • setMerchants

      public TransactionData.Builder setMerchants(int index, TransactionData.User.Builder builderForValue)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addMerchants

      public TransactionData.Builder addMerchants(TransactionData.User value)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addMerchants

      public TransactionData.Builder addMerchants(int index, TransactionData.User value)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addMerchants

      public TransactionData.Builder addMerchants(TransactionData.User.Builder builderForValue)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addMerchants

      public TransactionData.Builder addMerchants(int index, TransactionData.User.Builder builderForValue)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addAllMerchants

      public TransactionData.Builder addAllMerchants(Iterable<? extends TransactionData.User> values)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • clearMerchants

      public TransactionData.Builder clearMerchants()
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • removeMerchants

      public TransactionData.Builder removeMerchants(int index)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getMerchantsBuilder

      public TransactionData.User.Builder getMerchantsBuilder(int index)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getMerchantsOrBuilder

      public TransactionData.UserOrBuilder getMerchantsOrBuilder(int index)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMerchantsOrBuilder in interface TransactionDataOrBuilder
    • getMerchantsOrBuilderList

      public List<? extends TransactionData.UserOrBuilder> getMerchantsOrBuilderList()
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMerchantsOrBuilderList in interface TransactionDataOrBuilder
    • addMerchantsBuilder

      public TransactionData.User.Builder addMerchantsBuilder()
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • addMerchantsBuilder

      public TransactionData.User.Builder addMerchantsBuilder(int index)
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getMerchantsBuilderList

      public List<TransactionData.User.Builder> getMerchantsBuilderList()
       Optional. Information about the user or users fulfilling the transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.User merchants = 13 [(.google.api.field_behavior) = OPTIONAL];
    • getItemsList

      public List<TransactionData.Item> getItemsList()
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getItemsList in interface TransactionDataOrBuilder
    • getItemsCount

      public int getItemsCount()
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getItemsCount in interface TransactionDataOrBuilder
    • getItems

      public TransactionData.Item getItems(int index)
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getItems in interface TransactionDataOrBuilder
    • setItems

      public TransactionData.Builder setItems(int index, TransactionData.Item value)
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • setItems

      public TransactionData.Builder setItems(int index, TransactionData.Item.Builder builderForValue)
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addItems

       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addItems

      public TransactionData.Builder addItems(int index, TransactionData.Item value)
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addItems

      public TransactionData.Builder addItems(TransactionData.Item.Builder builderForValue)
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addItems

      public TransactionData.Builder addItems(int index, TransactionData.Item.Builder builderForValue)
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addAllItems

      public TransactionData.Builder addAllItems(Iterable<? extends TransactionData.Item> values)
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • clearItems

      public TransactionData.Builder clearItems()
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • removeItems

      public TransactionData.Builder removeItems(int index)
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getItemsBuilder

      public TransactionData.Item.Builder getItemsBuilder(int index)
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getItemsOrBuilder

      public TransactionData.ItemOrBuilder getItemsOrBuilder(int index)
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getItemsOrBuilder in interface TransactionDataOrBuilder
    • getItemsOrBuilderList

      public List<? extends TransactionData.ItemOrBuilder> getItemsOrBuilderList()
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getItemsOrBuilderList in interface TransactionDataOrBuilder
    • addItemsBuilder

      public TransactionData.Item.Builder addItemsBuilder()
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • addItemsBuilder

      public TransactionData.Item.Builder addItemsBuilder(int index)
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • getItemsBuilderList

      public List<TransactionData.Item.Builder> getItemsBuilderList()
       Optional. Items purchased in this transaction.
       
      repeated .google.cloud.recaptchaenterprise.v1.TransactionData.Item items = 14 [(.google.api.field_behavior) = OPTIONAL];
    • hasGatewayInfo

      public boolean hasGatewayInfo()
       Optional. Information about the payment gateway's response to the
       transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasGatewayInfo in interface TransactionDataOrBuilder
      Returns:
      Whether the gatewayInfo field is set.
    • getGatewayInfo

      public TransactionData.GatewayInfo getGatewayInfo()
       Optional. Information about the payment gateway's response to the
       transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGatewayInfo in interface TransactionDataOrBuilder
      Returns:
      The gatewayInfo.
    • setGatewayInfo

       Optional. Information about the payment gateway's response to the
       transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
    • setGatewayInfo

      public TransactionData.Builder setGatewayInfo(TransactionData.GatewayInfo.Builder builderForValue)
       Optional. Information about the payment gateway's response to the
       transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
    • mergeGatewayInfo

      public TransactionData.Builder mergeGatewayInfo(TransactionData.GatewayInfo value)
       Optional. Information about the payment gateway's response to the
       transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
    • clearGatewayInfo

      public TransactionData.Builder clearGatewayInfo()
       Optional. Information about the payment gateway's response to the
       transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getGatewayInfoBuilder

      public TransactionData.GatewayInfo.Builder getGatewayInfoBuilder()
       Optional. Information about the payment gateway's response to the
       transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
    • getGatewayInfoOrBuilder

      public TransactionData.GatewayInfoOrBuilder getGatewayInfoOrBuilder()
       Optional. Information about the payment gateway's response to the
       transaction.
       
      .google.cloud.recaptchaenterprise.v1.TransactionData.GatewayInfo gateway_info = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGatewayInfoOrBuilder in interface TransactionDataOrBuilder