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.Builder
addAddressComponents(int index, AddressComponent value)
Unordered list.Address.Builder
addAddressComponents(int index, AddressComponent.Builder builderForValue)
Unordered list.Address.Builder
addAddressComponents(AddressComponent value)
Unordered list.Address.Builder
addAddressComponents(AddressComponent.Builder builderForValue)
Unordered list.AddressComponent.Builder
addAddressComponentsBuilder()
Unordered list.AddressComponent.Builder
addAddressComponentsBuilder(int index)
Unordered list.Address.Builder
addAllAddressComponents(Iterable<? extends AddressComponent> values)
Unordered list.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.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.Address.Builder
addAllUnresolvedTokens(Iterable<String> values)
Any tokens in the input that could not be resolved.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.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.Address.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.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.Address.Builder
addUnresolvedTokens(String value)
Any tokens in the input that could not be resolved.Address.Builder
addUnresolvedTokensBytes(com.google.protobuf.ByteString value)
Any tokens in the input that could not be resolved.Address
build()
Address
buildPartial()
Address.Builder
clear()
Address.Builder
clearAddressComponents()
Unordered list.Address.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
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.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.Address.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Address.Builder
clearPostalAddress()
The post-processed address represented as a postal address.Address.Builder
clearUnconfirmedComponentTypes()
The types of the components that are present in the `address_components` but could not be confirmed to be correct.Address.Builder
clearUnresolvedTokens()
Any tokens in the input that could not be resolved.Address.Builder
clone()
AddressComponent
getAddressComponents(int index)
Unordered list.AddressComponent.Builder
getAddressComponentsBuilder(int index)
Unordered list.List<AddressComponent.Builder>
getAddressComponentsBuilderList()
Unordered list.int
getAddressComponentsCount()
Unordered list.List<AddressComponent>
getAddressComponentsList()
Unordered list.AddressComponentOrBuilder
getAddressComponentsOrBuilder(int index)
Unordered list.List<? extends AddressComponentOrBuilder>
getAddressComponentsOrBuilderList()
Unordered list.Address
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.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
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.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.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.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.com.google.type.PostalAddress
getPostalAddress()
The post-processed address represented as a postal address.com.google.type.PostalAddress.Builder
getPostalAddressBuilder()
The post-processed address represented as a postal address.com.google.type.PostalAddressOrBuilder
getPostalAddressOrBuilder()
The post-processed address represented as a postal address.String
getUnconfirmedComponentTypes(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.ByteString
getUnconfirmedComponentTypesBytes(int index)
The types of the components that are present in the `address_components` but could not be confirmed to be correct.int
getUnconfirmedComponentTypesCount()
The types of the components that are present in the `address_components` but could not be confirmed to be correct.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.String
getUnresolvedTokens(int index)
Any tokens in the input that could not be resolved.com.google.protobuf.ByteString
getUnresolvedTokensBytes(int index)
Any tokens in the input that could not be resolved.int
getUnresolvedTokensCount()
Any tokens in the input that could not be resolved.com.google.protobuf.ProtocolStringList
getUnresolvedTokensList()
Any tokens in the input that could not be resolved.boolean
hasPostalAddress()
The post-processed address represented as a postal address.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Address.Builder
mergeFrom(Address other)
Address.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Address.Builder
mergeFrom(com.google.protobuf.Message other)
Address.Builder
mergePostalAddress(com.google.type.PostalAddress value)
The post-processed address represented as a postal address.Address.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Address.Builder
removeAddressComponents(int index)
Unordered list.Address.Builder
setAddressComponents(int index, AddressComponent value)
Unordered list.Address.Builder
setAddressComponents(int index, AddressComponent.Builder builderForValue)
Unordered list.Address.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.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.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.Address.Builder
setPostalAddress(com.google.type.PostalAddress value)
The post-processed address represented as a postal address.Address.Builder
setPostalAddress(com.google.type.PostalAddress.Builder builderForValue)
The post-processed address represented as a postal address.Address.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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.Address.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Address.Builder
setUnresolvedTokens(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
clear
public Address.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
getDefaultInstanceForType
public Address getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Address build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Address buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Address.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
setField
public Address.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
clearField
public Address.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
clearOneof
public Address.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
addRepeatedField
public Address.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
mergeFrom
public Address.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Address.Builder>
-
mergeFrom
public Address.Builder mergeFrom(Address other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getFormattedAddress
in 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:
getFormattedAddressBytes
in 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:
hasPostalAddress
in 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:
getPostalAddress
in 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:
getPostalAddressOrBuilder
in 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:
getAddressComponentsList
in 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:
getAddressComponentsCount
in 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:
getAddressComponents
in 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:
getAddressComponentsOrBuilder
in 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:
getAddressComponentsOrBuilderList
in 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:
getMissingComponentTypesList
in 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:
getMissingComponentTypesCount
in 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:
getMissingComponentTypes
in 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:
getMissingComponentTypesBytes
in 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:
getUnconfirmedComponentTypesList
in 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:
getUnconfirmedComponentTypesCount
in 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:
getUnconfirmedComponentTypes
in 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:
getUnconfirmedComponentTypesBytes
in 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:
getUnresolvedTokensList
in 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:
getUnresolvedTokensCount
in 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:
getUnresolvedTokens
in 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:
getUnresolvedTokensBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
mergeUnknownFields
public final Address.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Address.Builder>
-
-