public interface AddressComponentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
ComponentName |
getComponentName()
The name for this component.
|
ComponentNameOrBuilder |
getComponentNameOrBuilder()
The name for this component.
|
String |
getComponentType()
The type of the address component.
|
com.google.protobuf.ByteString |
getComponentTypeBytes()
The type of the address component.
|
AddressComponent.ConfirmationLevel |
getConfirmationLevel()
Indicates the level of certainty that we have that the component
is correct.
|
int |
getConfirmationLevelValue()
Indicates the level of certainty that we have that the component
is correct.
|
boolean |
getInferred()
Indicates that the component was not part of the input, but we
inferred it for the address location and believe it should be provided
for a complete address.
|
boolean |
getReplaced()
Indicates the name of the component was replaced with a completely
different one, for example a wrong postal code being replaced with one that
is correct for the address.
|
boolean |
getSpellCorrected()
Indicates the spelling of the component name was corrected in a minor way,
for example by switching two characters that appeared in the wrong order.
|
boolean |
getUnexpected()
Indicates an address component that is not expected to be present in a
postal address for the given region.
|
boolean |
hasComponentName()
The name for this component.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasComponentName()
The name for this component.
.google.maps.addressvalidation.v1.ComponentName component_name = 1;ComponentName getComponentName()
The name for this component.
.google.maps.addressvalidation.v1.ComponentName component_name = 1;ComponentNameOrBuilder getComponentNameOrBuilder()
The name for this component.
.google.maps.addressvalidation.v1.ComponentName component_name = 1;String getComponentType()
The type of the address component. See [Table 2: Additional types returned by the Places service](https://developers.google.com/places/web-service/supported_types#table2) for a list of possible types.
string component_type = 2;com.google.protobuf.ByteString getComponentTypeBytes()
The type of the address component. See [Table 2: Additional types returned by the Places service](https://developers.google.com/places/web-service/supported_types#table2) for a list of possible types.
string component_type = 2;int getConfirmationLevelValue()
Indicates the level of certainty that we have that the component is correct.
.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3;
AddressComponent.ConfirmationLevel getConfirmationLevel()
Indicates the level of certainty that we have that the component is correct.
.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel confirmation_level = 3;
boolean getInferred()
Indicates that the component was not part of the input, but we inferred it for the address location and believe it should be provided for a complete address.
bool inferred = 4;boolean getSpellCorrected()
Indicates the spelling of the component name was corrected in a minor way, for example by switching two characters that appeared in the wrong order. This indicates a cosmetic change.
bool spell_corrected = 5;boolean getReplaced()
Indicates the name of the component was replaced with a completely different one, for example a wrong postal code being replaced with one that is correct for the address. This is not a cosmetic change, the input component has been changed to a different one.
bool replaced = 6;boolean getUnexpected()
Indicates an address component that is not expected to be present in a postal address for the given region. We have retained it only because it was part of the input.
bool unexpected = 7;Copyright © 2023 Google LLC. All rights reserved.