Class Address.Builder

  • All Implemented Interfaces:
    AddressOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Address

    public static final class Address.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
    implements AddressOrBuilder
     Details of the post-processed address. Post-processing includes
     correcting misspelled parts of the address, replacing incorrect parts, and
     inferring missing parts.
     
    Protobuf type google.maps.addressvalidation.v1.Address
    • 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<Address.Builder>
      • clear

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

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

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

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

        public 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<Address.Builder>
      • setField

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

        public 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<Address.Builder>
      • clearOneof

        public 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<Address.Builder>
      • setRepeatedField

        public 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<Address.Builder>
      • addRepeatedField

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

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

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

        public String getFormattedAddress()
         The post-processed address, formatted as a single-line address following
         the address formatting rules of the region where the address is located.
         
        string formatted_address = 2;
        Specified by:
        getFormattedAddress in interface AddressOrBuilder
        Returns:
        The formattedAddress.
      • getFormattedAddressBytes

        public com.google.protobuf.ByteString getFormattedAddressBytes()
         The post-processed address, formatted as a single-line address following
         the address formatting rules of the region where the address is located.
         
        string formatted_address = 2;
        Specified by:
        getFormattedAddressBytes in interface AddressOrBuilder
        Returns:
        The bytes for formattedAddress.
      • setFormattedAddress

        public Address.Builder setFormattedAddress​(String value)
         The post-processed address, formatted as a single-line address following
         the address formatting rules of the region where the address is located.
         
        string formatted_address = 2;
        Parameters:
        value - The formattedAddress to set.
        Returns:
        This builder for chaining.
      • clearFormattedAddress

        public Address.Builder clearFormattedAddress()
         The post-processed address, formatted as a single-line address following
         the address formatting rules of the region where the address is located.
         
        string formatted_address = 2;
        Returns:
        This builder for chaining.
      • setFormattedAddressBytes

        public Address.Builder setFormattedAddressBytes​(com.google.protobuf.ByteString value)
         The post-processed address, formatted as a single-line address following
         the address formatting rules of the region where the address is located.
         
        string formatted_address = 2;
        Parameters:
        value - The bytes for formattedAddress to set.
        Returns:
        This builder for chaining.
      • hasPostalAddress

        public boolean hasPostalAddress()
         The post-processed address represented as a postal address.
         
        .google.type.PostalAddress postal_address = 3;
        Specified by:
        hasPostalAddress in interface AddressOrBuilder
        Returns:
        Whether the postalAddress field is set.
      • getPostalAddress

        public com.google.type.PostalAddress getPostalAddress()
         The post-processed address represented as a postal address.
         
        .google.type.PostalAddress postal_address = 3;
        Specified by:
        getPostalAddress in interface AddressOrBuilder
        Returns:
        The postalAddress.
      • setPostalAddress

        public Address.Builder setPostalAddress​(com.google.type.PostalAddress value)
         The post-processed address represented as a postal address.
         
        .google.type.PostalAddress postal_address = 3;
      • setPostalAddress

        public Address.Builder setPostalAddress​(com.google.type.PostalAddress.Builder builderForValue)
         The post-processed address represented as a postal address.
         
        .google.type.PostalAddress postal_address = 3;
      • mergePostalAddress

        public Address.Builder mergePostalAddress​(com.google.type.PostalAddress value)
         The post-processed address represented as a postal address.
         
        .google.type.PostalAddress postal_address = 3;
      • clearPostalAddress

        public Address.Builder clearPostalAddress()
         The post-processed address represented as a postal address.
         
        .google.type.PostalAddress postal_address = 3;
      • getPostalAddressBuilder

        public com.google.type.PostalAddress.Builder getPostalAddressBuilder()
         The post-processed address represented as a postal address.
         
        .google.type.PostalAddress postal_address = 3;
      • getPostalAddressOrBuilder

        public com.google.type.PostalAddressOrBuilder getPostalAddressOrBuilder()
         The post-processed address represented as a postal address.
         
        .google.type.PostalAddress postal_address = 3;
        Specified by:
        getPostalAddressOrBuilder in interface AddressOrBuilder
      • getAddressComponentsList

        public List<AddressComponent> getAddressComponentsList()
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
        Specified by:
        getAddressComponentsList in interface AddressOrBuilder
      • getAddressComponentsCount

        public int getAddressComponentsCount()
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
        Specified by:
        getAddressComponentsCount in interface AddressOrBuilder
      • getAddressComponents

        public AddressComponent getAddressComponents​(int index)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
        Specified by:
        getAddressComponents in interface AddressOrBuilder
      • setAddressComponents

        public Address.Builder setAddressComponents​(int index,
                                                    AddressComponent value)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • setAddressComponents

        public Address.Builder setAddressComponents​(int index,
                                                    AddressComponent.Builder builderForValue)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • addAddressComponents

        public Address.Builder addAddressComponents​(AddressComponent value)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • addAddressComponents

        public Address.Builder addAddressComponents​(int index,
                                                    AddressComponent value)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • addAddressComponents

        public Address.Builder addAddressComponents​(AddressComponent.Builder builderForValue)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • addAddressComponents

        public Address.Builder addAddressComponents​(int index,
                                                    AddressComponent.Builder builderForValue)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • addAllAddressComponents

        public Address.Builder addAllAddressComponents​(Iterable<? extends AddressComponent> values)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • clearAddressComponents

        public Address.Builder clearAddressComponents()
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • removeAddressComponents

        public Address.Builder removeAddressComponents​(int index)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • getAddressComponentsBuilder

        public AddressComponent.Builder getAddressComponentsBuilder​(int index)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • getAddressComponentsOrBuilder

        public AddressComponentOrBuilder getAddressComponentsOrBuilder​(int index)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
        Specified by:
        getAddressComponentsOrBuilder in interface AddressOrBuilder
      • getAddressComponentsOrBuilderList

        public List<? extends AddressComponentOrBuilder> getAddressComponentsOrBuilderList()
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
        Specified by:
        getAddressComponentsOrBuilderList in interface AddressOrBuilder
      • addAddressComponentsBuilder

        public AddressComponent.Builder addAddressComponentsBuilder()
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • addAddressComponentsBuilder

        public AddressComponent.Builder addAddressComponentsBuilder​(int index)
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • getAddressComponentsBuilderList

        public List<AddressComponent.Builder> getAddressComponentsBuilderList()
         Unordered list. The individual address components of the formatted and
         corrected address, along with validation information. This provides
         information on the validation status of the individual components.
        
         Address components are not ordered in a particular way. Do not make any
         assumptions on the ordering of the address components in the list.
         
        repeated .google.maps.addressvalidation.v1.AddressComponent address_components = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      • getMissingComponentTypesList

        public com.google.protobuf.ProtocolStringList getMissingComponentTypesList()
         The types of components that were expected to be present in a correctly
         formatted mailing address but were not found in the input AND could
         not be inferred. Components of this type are not present in
         `formatted_address`, `postal_address`, or `address_components`. An
         example might be `['street_number', 'route']` for an input like
         "Boulder, Colorado, 80301, USA". The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string missing_component_types = 5;
        Specified by:
        getMissingComponentTypesList in interface AddressOrBuilder
        Returns:
        A list containing the missingComponentTypes.
      • getMissingComponentTypesCount

        public int getMissingComponentTypesCount()
         The types of components that were expected to be present in a correctly
         formatted mailing address but were not found in the input AND could
         not be inferred. Components of this type are not present in
         `formatted_address`, `postal_address`, or `address_components`. An
         example might be `['street_number', 'route']` for an input like
         "Boulder, Colorado, 80301, USA". The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string missing_component_types = 5;
        Specified by:
        getMissingComponentTypesCount in interface AddressOrBuilder
        Returns:
        The count of missingComponentTypes.
      • getMissingComponentTypes

        public String getMissingComponentTypes​(int index)
         The types of components that were expected to be present in a correctly
         formatted mailing address but were not found in the input AND could
         not be inferred. Components of this type are not present in
         `formatted_address`, `postal_address`, or `address_components`. An
         example might be `['street_number', 'route']` for an input like
         "Boulder, Colorado, 80301, USA". The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string missing_component_types = 5;
        Specified by:
        getMissingComponentTypes in interface AddressOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The missingComponentTypes at the given index.
      • getMissingComponentTypesBytes

        public com.google.protobuf.ByteString getMissingComponentTypesBytes​(int index)
         The types of components that were expected to be present in a correctly
         formatted mailing address but were not found in the input AND could
         not be inferred. Components of this type are not present in
         `formatted_address`, `postal_address`, or `address_components`. An
         example might be `['street_number', 'route']` for an input like
         "Boulder, Colorado, 80301, USA". The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string missing_component_types = 5;
        Specified by:
        getMissingComponentTypesBytes in interface AddressOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the missingComponentTypes at the given index.
      • setMissingComponentTypes

        public Address.Builder setMissingComponentTypes​(int index,
                                                        String value)
         The types of components that were expected to be present in a correctly
         formatted mailing address but were not found in the input AND could
         not be inferred. Components of this type are not present in
         `formatted_address`, `postal_address`, or `address_components`. An
         example might be `['street_number', 'route']` for an input like
         "Boulder, Colorado, 80301, USA". The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string missing_component_types = 5;
        Parameters:
        index - The index to set the value at.
        value - The missingComponentTypes to set.
        Returns:
        This builder for chaining.
      • addMissingComponentTypes

        public Address.Builder addMissingComponentTypes​(String value)
         The types of components that were expected to be present in a correctly
         formatted mailing address but were not found in the input AND could
         not be inferred. Components of this type are not present in
         `formatted_address`, `postal_address`, or `address_components`. An
         example might be `['street_number', 'route']` for an input like
         "Boulder, Colorado, 80301, USA". The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string missing_component_types = 5;
        Parameters:
        value - The missingComponentTypes to add.
        Returns:
        This builder for chaining.
      • addAllMissingComponentTypes

        public Address.Builder addAllMissingComponentTypes​(Iterable<String> values)
         The types of components that were expected to be present in a correctly
         formatted mailing address but were not found in the input AND could
         not be inferred. Components of this type are not present in
         `formatted_address`, `postal_address`, or `address_components`. An
         example might be `['street_number', 'route']` for an input like
         "Boulder, Colorado, 80301, USA". The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string missing_component_types = 5;
        Parameters:
        values - The missingComponentTypes to add.
        Returns:
        This builder for chaining.
      • clearMissingComponentTypes

        public Address.Builder clearMissingComponentTypes()
         The types of components that were expected to be present in a correctly
         formatted mailing address but were not found in the input AND could
         not be inferred. Components of this type are not present in
         `formatted_address`, `postal_address`, or `address_components`. An
         example might be `['street_number', 'route']` for an input like
         "Boulder, Colorado, 80301, USA". The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string missing_component_types = 5;
        Returns:
        This builder for chaining.
      • addMissingComponentTypesBytes

        public Address.Builder addMissingComponentTypesBytes​(com.google.protobuf.ByteString value)
         The types of components that were expected to be present in a correctly
         formatted mailing address but were not found in the input AND could
         not be inferred. Components of this type are not present in
         `formatted_address`, `postal_address`, or `address_components`. An
         example might be `['street_number', 'route']` for an input like
         "Boulder, Colorado, 80301, USA". The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string missing_component_types = 5;
        Parameters:
        value - The bytes of the missingComponentTypes to add.
        Returns:
        This builder for chaining.
      • getUnconfirmedComponentTypesList

        public com.google.protobuf.ProtocolStringList getUnconfirmedComponentTypesList()
         The types of the components that are present in the `address_components`
         but could not be confirmed to be correct. This field is provided for the
         sake of convenience: its contents are equivalent to iterating through the
         `address_components` to find the types of all the components where the
         [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level]
         is not
         [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED]
         or the
         [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred]
         flag is not set to `true`. The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string unconfirmed_component_types = 6;
        Specified by:
        getUnconfirmedComponentTypesList in interface AddressOrBuilder
        Returns:
        A list containing the unconfirmedComponentTypes.
      • getUnconfirmedComponentTypesCount

        public int getUnconfirmedComponentTypesCount()
         The types of the components that are present in the `address_components`
         but could not be confirmed to be correct. This field is provided for the
         sake of convenience: its contents are equivalent to iterating through the
         `address_components` to find the types of all the components where the
         [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level]
         is not
         [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED]
         or the
         [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred]
         flag is not set to `true`. The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string unconfirmed_component_types = 6;
        Specified by:
        getUnconfirmedComponentTypesCount in interface AddressOrBuilder
        Returns:
        The count of unconfirmedComponentTypes.
      • getUnconfirmedComponentTypes

        public String getUnconfirmedComponentTypes​(int index)
         The types of the components that are present in the `address_components`
         but could not be confirmed to be correct. This field is provided for the
         sake of convenience: its contents are equivalent to iterating through the
         `address_components` to find the types of all the components where the
         [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level]
         is not
         [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED]
         or the
         [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred]
         flag is not set to `true`. The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string unconfirmed_component_types = 6;
        Specified by:
        getUnconfirmedComponentTypes in interface AddressOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The unconfirmedComponentTypes at the given index.
      • getUnconfirmedComponentTypesBytes

        public com.google.protobuf.ByteString getUnconfirmedComponentTypesBytes​(int index)
         The types of the components that are present in the `address_components`
         but could not be confirmed to be correct. This field is provided for the
         sake of convenience: its contents are equivalent to iterating through the
         `address_components` to find the types of all the components where the
         [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level]
         is not
         [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED]
         or the
         [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred]
         flag is not set to `true`. The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string unconfirmed_component_types = 6;
        Specified by:
        getUnconfirmedComponentTypesBytes in interface AddressOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unconfirmedComponentTypes at the given index.
      • setUnconfirmedComponentTypes

        public Address.Builder setUnconfirmedComponentTypes​(int index,
                                                            String value)
         The types of the components that are present in the `address_components`
         but could not be confirmed to be correct. This field is provided for the
         sake of convenience: its contents are equivalent to iterating through the
         `address_components` to find the types of all the components where the
         [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level]
         is not
         [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED]
         or the
         [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred]
         flag is not set to `true`. The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string unconfirmed_component_types = 6;
        Parameters:
        index - The index to set the value at.
        value - The unconfirmedComponentTypes to set.
        Returns:
        This builder for chaining.
      • addUnconfirmedComponentTypes

        public Address.Builder addUnconfirmedComponentTypes​(String value)
         The types of the components that are present in the `address_components`
         but could not be confirmed to be correct. This field is provided for the
         sake of convenience: its contents are equivalent to iterating through the
         `address_components` to find the types of all the components where the
         [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level]
         is not
         [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED]
         or the
         [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred]
         flag is not set to `true`. The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string unconfirmed_component_types = 6;
        Parameters:
        value - The unconfirmedComponentTypes to add.
        Returns:
        This builder for chaining.
      • addAllUnconfirmedComponentTypes

        public Address.Builder addAllUnconfirmedComponentTypes​(Iterable<String> values)
         The types of the components that are present in the `address_components`
         but could not be confirmed to be correct. This field is provided for the
         sake of convenience: its contents are equivalent to iterating through the
         `address_components` to find the types of all the components where the
         [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level]
         is not
         [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED]
         or the
         [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred]
         flag is not set to `true`. The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string unconfirmed_component_types = 6;
        Parameters:
        values - The unconfirmedComponentTypes to add.
        Returns:
        This builder for chaining.
      • clearUnconfirmedComponentTypes

        public Address.Builder clearUnconfirmedComponentTypes()
         The types of the components that are present in the `address_components`
         but could not be confirmed to be correct. This field is provided for the
         sake of convenience: its contents are equivalent to iterating through the
         `address_components` to find the types of all the components where the
         [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level]
         is not
         [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED]
         or the
         [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred]
         flag is not set to `true`. The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string unconfirmed_component_types = 6;
        Returns:
        This builder for chaining.
      • addUnconfirmedComponentTypesBytes

        public Address.Builder addUnconfirmedComponentTypesBytes​(com.google.protobuf.ByteString value)
         The types of the components that are present in the `address_components`
         but could not be confirmed to be correct. This field is provided for the
         sake of convenience: its contents are equivalent to iterating through the
         `address_components` to find the types of all the components where the
         [confirmation_level][google.maps.addressvalidation.v1.AddressComponent.confirmation_level]
         is not
         [CONFIRMED][google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel.CONFIRMED]
         or the
         [inferred][google.maps.addressvalidation.v1.AddressComponent.inferred]
         flag is not set to `true`. The list of possible types can be found
         [here](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
         
        repeated string unconfirmed_component_types = 6;
        Parameters:
        value - The bytes of the unconfirmedComponentTypes to add.
        Returns:
        This builder for chaining.
      • getUnresolvedTokensList

        public com.google.protobuf.ProtocolStringList getUnresolvedTokensList()
         Any tokens in the input that could not be resolved. This might be an
         input that was not recognized as a valid part of an address (for example
         in an input like "123235253253 Main St, San Francisco, CA, 94105", the
         unresolved tokens may look like `["123235253253"]` since that does not
         look like a valid street number.
         
        repeated string unresolved_tokens = 7;
        Specified by:
        getUnresolvedTokensList in interface AddressOrBuilder
        Returns:
        A list containing the unresolvedTokens.
      • getUnresolvedTokensCount

        public int getUnresolvedTokensCount()
         Any tokens in the input that could not be resolved. This might be an
         input that was not recognized as a valid part of an address (for example
         in an input like "123235253253 Main St, San Francisco, CA, 94105", the
         unresolved tokens may look like `["123235253253"]` since that does not
         look like a valid street number.
         
        repeated string unresolved_tokens = 7;
        Specified by:
        getUnresolvedTokensCount in interface AddressOrBuilder
        Returns:
        The count of unresolvedTokens.
      • getUnresolvedTokens

        public String getUnresolvedTokens​(int index)
         Any tokens in the input that could not be resolved. This might be an
         input that was not recognized as a valid part of an address (for example
         in an input like "123235253253 Main St, San Francisco, CA, 94105", the
         unresolved tokens may look like `["123235253253"]` since that does not
         look like a valid street number.
         
        repeated string unresolved_tokens = 7;
        Specified by:
        getUnresolvedTokens in interface AddressOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The unresolvedTokens at the given index.
      • getUnresolvedTokensBytes

        public com.google.protobuf.ByteString getUnresolvedTokensBytes​(int index)
         Any tokens in the input that could not be resolved. This might be an
         input that was not recognized as a valid part of an address (for example
         in an input like "123235253253 Main St, San Francisco, CA, 94105", the
         unresolved tokens may look like `["123235253253"]` since that does not
         look like a valid street number.
         
        repeated string unresolved_tokens = 7;
        Specified by:
        getUnresolvedTokensBytes in interface AddressOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the unresolvedTokens at the given index.
      • setUnresolvedTokens

        public Address.Builder setUnresolvedTokens​(int index,
                                                   String value)
         Any tokens in the input that could not be resolved. This might be an
         input that was not recognized as a valid part of an address (for example
         in an input like "123235253253 Main St, San Francisco, CA, 94105", the
         unresolved tokens may look like `["123235253253"]` since that does not
         look like a valid street number.
         
        repeated string unresolved_tokens = 7;
        Parameters:
        index - The index to set the value at.
        value - The unresolvedTokens to set.
        Returns:
        This builder for chaining.
      • addUnresolvedTokens

        public Address.Builder addUnresolvedTokens​(String value)
         Any tokens in the input that could not be resolved. This might be an
         input that was not recognized as a valid part of an address (for example
         in an input like "123235253253 Main St, San Francisco, CA, 94105", the
         unresolved tokens may look like `["123235253253"]` since that does not
         look like a valid street number.
         
        repeated string unresolved_tokens = 7;
        Parameters:
        value - The unresolvedTokens to add.
        Returns:
        This builder for chaining.
      • addAllUnresolvedTokens

        public Address.Builder addAllUnresolvedTokens​(Iterable<String> values)
         Any tokens in the input that could not be resolved. This might be an
         input that was not recognized as a valid part of an address (for example
         in an input like "123235253253 Main St, San Francisco, CA, 94105", the
         unresolved tokens may look like `["123235253253"]` since that does not
         look like a valid street number.
         
        repeated string unresolved_tokens = 7;
        Parameters:
        values - The unresolvedTokens to add.
        Returns:
        This builder for chaining.
      • clearUnresolvedTokens

        public Address.Builder clearUnresolvedTokens()
         Any tokens in the input that could not be resolved. This might be an
         input that was not recognized as a valid part of an address (for example
         in an input like "123235253253 Main St, San Francisco, CA, 94105", the
         unresolved tokens may look like `["123235253253"]` since that does not
         look like a valid street number.
         
        repeated string unresolved_tokens = 7;
        Returns:
        This builder for chaining.
      • addUnresolvedTokensBytes

        public Address.Builder addUnresolvedTokensBytes​(com.google.protobuf.ByteString value)
         Any tokens in the input that could not be resolved. This might be an
         input that was not recognized as a valid part of an address (for example
         in an input like "123235253253 Main St, San Francisco, CA, 94105", the
         unresolved tokens may look like `["123235253253"]` since that does not
         look like a valid street number.
         
        repeated string unresolved_tokens = 7;
        Parameters:
        value - The bytes of the unresolvedTokens to add.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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