Class Address.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
- com.google.maps.addressvalidation.v1.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 typegoogle.maps.addressvalidation.v1.Address
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Address.BuilderaddAddressComponents(int index, AddressComponent value)Unordered list.Address.BuilderaddAddressComponents(int index, AddressComponent.Builder builderForValue)Unordered list.Address.BuilderaddAddressComponents(AddressComponent value)Unordered list.Address.BuilderaddAddressComponents(AddressComponent.Builder builderForValue)Unordered list.AddressComponent.BuilderaddAddressComponentsBuilder()Unordered list.AddressComponent.BuilderaddAddressComponentsBuilder(int index)Unordered list.Address.BuilderaddAllAddressComponents(Iterable<? extends AddressComponent> values)Unordered list.Address.BuilderaddAllMissingComponentTypes(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.Address.BuilderaddAllUnconfirmedComponentTypes(Iterable<String> values)The types of the components that are present in the `address_components` but could not be confirmed to be correct.Address.BuilderaddAllUnresolvedTokens(Iterable<String> values)Any tokens in the input that could not be resolved.Address.BuilderaddMissingComponentTypes(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.Address.BuilderaddMissingComponentTypesBytes(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.Address.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Address.BuilderaddUnconfirmedComponentTypes(String value)The types of the components that are present in the `address_components` but could not be confirmed to be correct.Address.BuilderaddUnconfirmedComponentTypesBytes(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.Address.BuilderaddUnresolvedTokens(String value)Any tokens in the input that could not be resolved.Address.BuilderaddUnresolvedTokensBytes(com.google.protobuf.ByteString value)Any tokens in the input that could not be resolved.Addressbuild()AddressbuildPartial()Address.Builderclear()Address.BuilderclearAddressComponents()Unordered list.Address.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Address.BuilderclearFormattedAddress()The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located.Address.BuilderclearMissingComponentTypes()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.Address.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Address.BuilderclearPostalAddress()The post-processed address represented as a postal address.Address.BuilderclearUnconfirmedComponentTypes()The types of the components that are present in the `address_components` but could not be confirmed to be correct.Address.BuilderclearUnresolvedTokens()Any tokens in the input that could not be resolved.Address.Builderclone()AddressComponentgetAddressComponents(int index)Unordered list.AddressComponent.BuildergetAddressComponentsBuilder(int index)Unordered list.List<AddressComponent.Builder>getAddressComponentsBuilderList()Unordered list.intgetAddressComponentsCount()Unordered list.List<AddressComponent>getAddressComponentsList()Unordered list.AddressComponentOrBuildergetAddressComponentsOrBuilder(int index)Unordered list.List<? extends AddressComponentOrBuilder>getAddressComponentsOrBuilderList()Unordered list.AddressgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFormattedAddress()The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located.com.google.protobuf.ByteStringgetFormattedAddressBytes()The post-processed address, formatted as a single-line address following the address formatting rules of the region where the address is located.StringgetMissingComponentTypes(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.com.google.protobuf.ByteStringgetMissingComponentTypesBytes(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.intgetMissingComponentTypesCount()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.com.google.protobuf.ProtocolStringListgetMissingComponentTypesList()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.com.google.type.PostalAddressgetPostalAddress()The post-processed address represented as a postal address.com.google.type.PostalAddress.BuildergetPostalAddressBuilder()The post-processed address represented as a postal address.com.google.type.PostalAddressOrBuildergetPostalAddressOrBuilder()The post-processed address represented as a postal address.StringgetUnconfirmedComponentTypes(int index)The types of the components that are present in the `address_components` but could not be confirmed to be correct.com.google.protobuf.ByteStringgetUnconfirmedComponentTypesBytes(int index)The types of the components that are present in the `address_components` but could not be confirmed to be correct.intgetUnconfirmedComponentTypesCount()The types of the components that are present in the `address_components` but could not be confirmed to be correct.com.google.protobuf.ProtocolStringListgetUnconfirmedComponentTypesList()The types of the components that are present in the `address_components` but could not be confirmed to be correct.StringgetUnresolvedTokens(int index)Any tokens in the input that could not be resolved.com.google.protobuf.ByteStringgetUnresolvedTokensBytes(int index)Any tokens in the input that could not be resolved.intgetUnresolvedTokensCount()Any tokens in the input that could not be resolved.com.google.protobuf.ProtocolStringListgetUnresolvedTokensList()Any tokens in the input that could not be resolved.booleanhasPostalAddress()The post-processed address represented as a postal address.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Address.BuildermergeFrom(Address other)Address.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Address.BuildermergeFrom(com.google.protobuf.Message other)Address.BuildermergePostalAddress(com.google.type.PostalAddress value)The post-processed address represented as a postal address.Address.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Address.BuilderremoveAddressComponents(int index)Unordered list.Address.BuildersetAddressComponents(int index, AddressComponent value)Unordered list.Address.BuildersetAddressComponents(int index, AddressComponent.Builder builderForValue)Unordered list.Address.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Address.BuildersetFormattedAddress(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.Address.BuildersetFormattedAddressBytes(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.Address.BuildersetMissingComponentTypes(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.Address.BuildersetPostalAddress(com.google.type.PostalAddress value)The post-processed address represented as a postal address.Address.BuildersetPostalAddress(com.google.type.PostalAddress.Builder builderForValue)The post-processed address represented as a postal address.Address.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Address.BuildersetUnconfirmedComponentTypes(int index, String value)The types of the components that are present in the `address_components` but could not be confirmed to be correct.Address.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Address.BuildersetUnresolvedTokens(int index, String value)Any tokens in the input that could not be resolved.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
clear
public Address.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
getDefaultInstanceForType
public Address getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Address build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Address buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Address.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
setField
public Address.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
clearField
public Address.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
clearOneof
public Address.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
setRepeatedField
public Address.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
addRepeatedField
public Address.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
mergeFrom
public Address.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Address.Builder>
-
mergeFrom
public Address.Builder mergeFrom(Address other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getFormattedAddressin interfaceAddressOrBuilder- 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:
getFormattedAddressBytesin interfaceAddressOrBuilder- 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:
hasPostalAddressin interfaceAddressOrBuilder- 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:
getPostalAddressin interfaceAddressOrBuilder- 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:
getPostalAddressOrBuilderin interfaceAddressOrBuilder
-
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:
getAddressComponentsListin interfaceAddressOrBuilder
-
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:
getAddressComponentsCountin interfaceAddressOrBuilder
-
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:
getAddressComponentsin interfaceAddressOrBuilder
-
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:
getAddressComponentsOrBuilderin interfaceAddressOrBuilder
-
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:
getAddressComponentsOrBuilderListin interfaceAddressOrBuilder
-
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:
getMissingComponentTypesListin interfaceAddressOrBuilder- 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:
getMissingComponentTypesCountin interfaceAddressOrBuilder- 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:
getMissingComponentTypesin interfaceAddressOrBuilder- 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:
getMissingComponentTypesBytesin interfaceAddressOrBuilder- 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:
getUnconfirmedComponentTypesListin interfaceAddressOrBuilder- 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:
getUnconfirmedComponentTypesCountin interfaceAddressOrBuilder- 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:
getUnconfirmedComponentTypesin interfaceAddressOrBuilder- 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:
getUnconfirmedComponentTypesBytesin interfaceAddressOrBuilder- 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:
getUnresolvedTokensListin interfaceAddressOrBuilder- 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:
getUnresolvedTokensCountin interfaceAddressOrBuilder- 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:
getUnresolvedTokensin interfaceAddressOrBuilder- 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:
getUnresolvedTokensBytesin interfaceAddressOrBuilder- 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
mergeUnknownFields
public final Address.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
-