Class TransactionData.Address.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.Address.Builder>
      • clear

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

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

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

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

        public TransactionData.Address.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
      • clearField

        public TransactionData.Address.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
      • clearOneof

        public TransactionData.Address.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
      • setRepeatedField

        public TransactionData.Address.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.Builder>
      • addRepeatedField

        public TransactionData.Address.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionData.Address.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.Address.Builder>
      • mergeFrom

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

        public com.google.protobuf.ByteString getRecipientBytes()
         The recipient name, potentially including information such as "care of".
         
        string recipient = 1;
        Specified by:
        getRecipientBytes in interface TransactionData.AddressOrBuilder
        Returns:
        The bytes for recipient.
      • setRecipient

        public TransactionData.Address.Builder setRecipient​(String value)
         The recipient name, potentially including information such as "care of".
         
        string recipient = 1;
        Parameters:
        value - The recipient to set.
        Returns:
        This builder for chaining.
      • clearRecipient

        public TransactionData.Address.Builder clearRecipient()
         The recipient name, potentially including information such as "care of".
         
        string recipient = 1;
        Returns:
        This builder for chaining.
      • setRecipientBytes

        public TransactionData.Address.Builder setRecipientBytes​(com.google.protobuf.ByteString value)
         The recipient name, potentially including information such as "care of".
         
        string recipient = 1;
        Parameters:
        value - The bytes for recipient to set.
        Returns:
        This builder for chaining.
      • getAddressList

        public com.google.protobuf.ProtocolStringList getAddressList()
         The first lines of the address. The first line generally contains the
         street name and number, and further lines may include information such as
         an apartment number.
         
        repeated string address = 2;
        Specified by:
        getAddressList in interface TransactionData.AddressOrBuilder
        Returns:
        A list containing the address.
      • getAddressCount

        public int getAddressCount()
         The first lines of the address. The first line generally contains the
         street name and number, and further lines may include information such as
         an apartment number.
         
        repeated string address = 2;
        Specified by:
        getAddressCount in interface TransactionData.AddressOrBuilder
        Returns:
        The count of address.
      • getAddress

        public String getAddress​(int index)
         The first lines of the address. The first line generally contains the
         street name and number, and further lines may include information such as
         an apartment number.
         
        repeated string address = 2;
        Specified by:
        getAddress in interface TransactionData.AddressOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The address at the given index.
      • getAddressBytes

        public com.google.protobuf.ByteString getAddressBytes​(int index)
         The first lines of the address. The first line generally contains the
         street name and number, and further lines may include information such as
         an apartment number.
         
        repeated string address = 2;
        Specified by:
        getAddressBytes in interface TransactionData.AddressOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the address at the given index.
      • setAddress

        public TransactionData.Address.Builder setAddress​(int index,
                                                          String value)
         The first lines of the address. The first line generally contains the
         street name and number, and further lines may include information such as
         an apartment number.
         
        repeated string address = 2;
        Parameters:
        index - The index to set the value at.
        value - The address to set.
        Returns:
        This builder for chaining.
      • addAddress

        public TransactionData.Address.Builder addAddress​(String value)
         The first lines of the address. The first line generally contains the
         street name and number, and further lines may include information such as
         an apartment number.
         
        repeated string address = 2;
        Parameters:
        value - The address to add.
        Returns:
        This builder for chaining.
      • addAllAddress

        public TransactionData.Address.Builder addAllAddress​(Iterable<String> values)
         The first lines of the address. The first line generally contains the
         street name and number, and further lines may include information such as
         an apartment number.
         
        repeated string address = 2;
        Parameters:
        values - The address to add.
        Returns:
        This builder for chaining.
      • clearAddress

        public TransactionData.Address.Builder clearAddress()
         The first lines of the address. The first line generally contains the
         street name and number, and further lines may include information such as
         an apartment number.
         
        repeated string address = 2;
        Returns:
        This builder for chaining.
      • addAddressBytes

        public TransactionData.Address.Builder addAddressBytes​(com.google.protobuf.ByteString value)
         The first lines of the address. The first line generally contains the
         street name and number, and further lines may include information such as
         an apartment number.
         
        repeated string address = 2;
        Parameters:
        value - The bytes of the address to add.
        Returns:
        This builder for chaining.
      • getLocalityBytes

        public com.google.protobuf.ByteString getLocalityBytes()
         The town/city of the address.
         
        string locality = 3;
        Specified by:
        getLocalityBytes in interface TransactionData.AddressOrBuilder
        Returns:
        The bytes for locality.
      • setLocality

        public TransactionData.Address.Builder setLocality​(String value)
         The town/city of the address.
         
        string locality = 3;
        Parameters:
        value - The locality to set.
        Returns:
        This builder for chaining.
      • clearLocality

        public TransactionData.Address.Builder clearLocality()
         The town/city of the address.
         
        string locality = 3;
        Returns:
        This builder for chaining.
      • setLocalityBytes

        public TransactionData.Address.Builder setLocalityBytes​(com.google.protobuf.ByteString value)
         The town/city of the address.
         
        string locality = 3;
        Parameters:
        value - The bytes for locality to set.
        Returns:
        This builder for chaining.
      • getAdministrativeAreaBytes

        public com.google.protobuf.ByteString getAdministrativeAreaBytes()
         The state, province, or otherwise administrative area of the address.
         
        string administrative_area = 4;
        Specified by:
        getAdministrativeAreaBytes in interface TransactionData.AddressOrBuilder
        Returns:
        The bytes for administrativeArea.
      • setAdministrativeArea

        public TransactionData.Address.Builder setAdministrativeArea​(String value)
         The state, province, or otherwise administrative area of the address.
         
        string administrative_area = 4;
        Parameters:
        value - The administrativeArea to set.
        Returns:
        This builder for chaining.
      • clearAdministrativeArea

        public TransactionData.Address.Builder clearAdministrativeArea()
         The state, province, or otherwise administrative area of the address.
         
        string administrative_area = 4;
        Returns:
        This builder for chaining.
      • setAdministrativeAreaBytes

        public TransactionData.Address.Builder setAdministrativeAreaBytes​(com.google.protobuf.ByteString value)
         The state, province, or otherwise administrative area of the address.
         
        string administrative_area = 4;
        Parameters:
        value - The bytes for administrativeArea to set.
        Returns:
        This builder for chaining.
      • getRegionCodeBytes

        public com.google.protobuf.ByteString getRegionCodeBytes()
         The CLDR country/region of the address.
         
        string region_code = 5;
        Specified by:
        getRegionCodeBytes in interface TransactionData.AddressOrBuilder
        Returns:
        The bytes for regionCode.
      • setRegionCode

        public TransactionData.Address.Builder setRegionCode​(String value)
         The CLDR country/region of the address.
         
        string region_code = 5;
        Parameters:
        value - The regionCode to set.
        Returns:
        This builder for chaining.
      • clearRegionCode

        public TransactionData.Address.Builder clearRegionCode()
         The CLDR country/region of the address.
         
        string region_code = 5;
        Returns:
        This builder for chaining.
      • setRegionCodeBytes

        public TransactionData.Address.Builder setRegionCodeBytes​(com.google.protobuf.ByteString value)
         The CLDR country/region of the address.
         
        string region_code = 5;
        Parameters:
        value - The bytes for regionCode to set.
        Returns:
        This builder for chaining.
      • getPostalCodeBytes

        public com.google.protobuf.ByteString getPostalCodeBytes()
         The postal or ZIP code of the address.
         
        string postal_code = 6;
        Specified by:
        getPostalCodeBytes in interface TransactionData.AddressOrBuilder
        Returns:
        The bytes for postalCode.
      • setPostalCode

        public TransactionData.Address.Builder setPostalCode​(String value)
         The postal or ZIP code of the address.
         
        string postal_code = 6;
        Parameters:
        value - The postalCode to set.
        Returns:
        This builder for chaining.
      • clearPostalCode

        public TransactionData.Address.Builder clearPostalCode()
         The postal or ZIP code of the address.
         
        string postal_code = 6;
        Returns:
        This builder for chaining.
      • setPostalCodeBytes

        public TransactionData.Address.Builder setPostalCodeBytes​(com.google.protobuf.ByteString value)
         The postal or ZIP code of the address.
         
        string postal_code = 6;
        Parameters:
        value - The bytes for postalCode to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

        public final TransactionData.Address.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.Address.Builder>