Class TransactionData.GatewayInfo.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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

        public TransactionData.GatewayInfo 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • getNameBytes

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

        public TransactionData.GatewayInfo.Builder setName​(String value)
         Name of the gateway service (for example, stripe, square, paypal).
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public TransactionData.GatewayInfo.Builder clearName()
         Name of the gateway service (for example, stripe, square, paypal).
         
        string name = 1;
        Returns:
        This builder for chaining.
      • setNameBytes

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

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

        public TransactionData.GatewayInfo.Builder setGatewayResponseCode​(String value)
         Gateway response code describing the state of the transaction.
         
        string gateway_response_code = 2;
        Parameters:
        value - The gatewayResponseCode to set.
        Returns:
        This builder for chaining.
      • clearGatewayResponseCode

        public TransactionData.GatewayInfo.Builder clearGatewayResponseCode()
         Gateway response code describing the state of the transaction.
         
        string gateway_response_code = 2;
        Returns:
        This builder for chaining.
      • setGatewayResponseCodeBytes

        public TransactionData.GatewayInfo.Builder setGatewayResponseCodeBytes​(com.google.protobuf.ByteString value)
         Gateway response code describing the state of the transaction.
         
        string gateway_response_code = 2;
        Parameters:
        value - The bytes for gatewayResponseCode to set.
        Returns:
        This builder for chaining.
      • getAvsResponseCode

        public String getAvsResponseCode()
         AVS response code from the gateway
         (available only when reCAPTCHA Enterprise is called after authorization).
         
        string avs_response_code = 3;
        Specified by:
        getAvsResponseCode in interface TransactionData.GatewayInfoOrBuilder
        Returns:
        The avsResponseCode.
      • getAvsResponseCodeBytes

        public com.google.protobuf.ByteString getAvsResponseCodeBytes()
         AVS response code from the gateway
         (available only when reCAPTCHA Enterprise is called after authorization).
         
        string avs_response_code = 3;
        Specified by:
        getAvsResponseCodeBytes in interface TransactionData.GatewayInfoOrBuilder
        Returns:
        The bytes for avsResponseCode.
      • setAvsResponseCode

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

        public TransactionData.GatewayInfo.Builder setAvsResponseCodeBytes​(com.google.protobuf.ByteString value)
         AVS response code from the gateway
         (available only when reCAPTCHA Enterprise is called after authorization).
         
        string avs_response_code = 3;
        Parameters:
        value - The bytes for avsResponseCode to set.
        Returns:
        This builder for chaining.
      • getCvvResponseCode

        public String getCvvResponseCode()
         CVV response code from the gateway
         (available only when reCAPTCHA Enterprise is called after authorization).
         
        string cvv_response_code = 4;
        Specified by:
        getCvvResponseCode in interface TransactionData.GatewayInfoOrBuilder
        Returns:
        The cvvResponseCode.
      • getCvvResponseCodeBytes

        public com.google.protobuf.ByteString getCvvResponseCodeBytes()
         CVV response code from the gateway
         (available only when reCAPTCHA Enterprise is called after authorization).
         
        string cvv_response_code = 4;
        Specified by:
        getCvvResponseCodeBytes in interface TransactionData.GatewayInfoOrBuilder
        Returns:
        The bytes for cvvResponseCode.
      • setCvvResponseCode

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

        public TransactionData.GatewayInfo.Builder setCvvResponseCodeBytes​(com.google.protobuf.ByteString value)
         CVV response code from the gateway
         (available only when reCAPTCHA Enterprise is called after authorization).
         
        string cvv_response_code = 4;
        Parameters:
        value - The bytes for cvvResponseCode to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final TransactionData.GatewayInfo.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.GatewayInfo.Builder>