public final class UspsData extends com.google.protobuf.GeneratedMessageV3 implements UspsDataOrBuilder
The USPS data for the address. `uspsData` is not guaranteed to be fully populated for every US or PR address sent to the Address Validation API. It's recommended to integrate the backup address fields in the response if you utilize uspsData as the primary part of the response.Protobuf type
google.maps.addressvalidation.v1.UspsData| Modifier and Type | Class and Description |
|---|---|
static class |
UspsData.Builder
The USPS data for the address.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAbbreviatedCity()
Abbreviated city.
|
com.google.protobuf.ByteString |
getAbbreviatedCityBytes()
Abbreviated city.
|
String |
getAddressRecordType()
Type of the address record that matches the input address.
|
com.google.protobuf.ByteString |
getAddressRecordTypeBytes()
Type of the address record that matches the input address.
|
String |
getCarrierRoute()
The carrier route code.
|
com.google.protobuf.ByteString |
getCarrierRouteBytes()
The carrier route code.
|
String |
getCarrierRouteIndicator()
Carrier route rate sort indicator.
|
com.google.protobuf.ByteString |
getCarrierRouteIndicatorBytes()
Carrier route rate sort indicator.
|
boolean |
getCassProcessed()
Indicator that the request has been CASS processed.
|
String |
getCounty()
County name.
|
com.google.protobuf.ByteString |
getCountyBytes()
County name.
|
boolean |
getDefaultAddress()
Indicator that a default address was found, but more specific addresses
exists.
|
static UspsData |
getDefaultInstance() |
UspsData |
getDefaultInstanceForType() |
String |
getDeliveryPointCheckDigit()
The delivery point check digit.
|
com.google.protobuf.ByteString |
getDeliveryPointCheckDigitBytes()
The delivery point check digit.
|
String |
getDeliveryPointCode()
2 digit delivery point code
|
com.google.protobuf.ByteString |
getDeliveryPointCodeBytes()
2 digit delivery point code
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDpvCmra()
Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
private business receiving mail for clients.
|
com.google.protobuf.ByteString |
getDpvCmraBytes()
Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
private business receiving mail for clients.
|
String |
getDpvConfirmation()
The possible values for DPV confirmation.
|
com.google.protobuf.ByteString |
getDpvConfirmationBytes()
The possible values for DPV confirmation.
|
String |
getDpvFootnote()
The footnotes from delivery point validation.
|
com.google.protobuf.ByteString |
getDpvFootnoteBytes()
The footnotes from delivery point validation.
|
String |
getDpvNoStat()
Is this a no stat address or an active address?
No stat addresses are ones which are not continuously occupied or addresses
that the USPS does not service.
|
com.google.protobuf.ByteString |
getDpvNoStatBytes()
Is this a no stat address or an active address?
No stat addresses are ones which are not continuously occupied or addresses
that the USPS does not service.
|
String |
getDpvVacant()
Is this place vacant?
Returns a single character.
|
com.google.protobuf.ByteString |
getDpvVacantBytes()
Is this place vacant?
Returns a single character.
|
String |
getElotFlag()
eLOT Ascending/Descending Flag (A/D).
|
com.google.protobuf.ByteString |
getElotFlagBytes()
eLOT Ascending/Descending Flag (A/D).
|
String |
getElotNumber()
Enhanced Line of Travel (eLOT) number.
|
com.google.protobuf.ByteString |
getElotNumberBytes()
Enhanced Line of Travel (eLOT) number.
|
String |
getErrorMessage()
Error message for USPS data retrieval.
|
com.google.protobuf.ByteString |
getErrorMessageBytes()
Error message for USPS data retrieval.
|
boolean |
getEwsNoMatch()
The delivery address is matchable, but the EWS file indicates that an exact
match will be available soon.
|
String |
getFipsCountyCode()
FIPS county code.
|
com.google.protobuf.ByteString |
getFipsCountyCodeBytes()
FIPS county code.
|
String |
getLacsLinkIndicator()
LACSLink indicator.
|
com.google.protobuf.ByteString |
getLacsLinkIndicatorBytes()
LACSLink indicator.
|
String |
getLacsLinkReturnCode()
LACSLink return code.
|
com.google.protobuf.ByteString |
getLacsLinkReturnCodeBytes()
LACSLink return code.
|
com.google.protobuf.Parser<UspsData> |
getParserForType() |
String |
getPmbDesignator()
PMB (Private Mail Box) unit designator.
|
com.google.protobuf.ByteString |
getPmbDesignatorBytes()
PMB (Private Mail Box) unit designator.
|
String |
getPmbNumber()
PMB (Private Mail Box) number;
|
com.google.protobuf.ByteString |
getPmbNumberBytes()
PMB (Private Mail Box) number;
|
boolean |
getPoBoxOnlyPostalCode()
PO Box only postal code.
|
String |
getPostOfficeCity()
Main post office city.
|
com.google.protobuf.ByteString |
getPostOfficeCityBytes()
Main post office city.
|
String |
getPostOfficeState()
Main post office state.
|
com.google.protobuf.ByteString |
getPostOfficeStateBytes()
Main post office state.
|
int |
getSerializedSize() |
UspsAddress |
getStandardizedAddress()
USPS standardized address.
|
UspsAddressOrBuilder |
getStandardizedAddressOrBuilder()
USPS standardized address.
|
String |
getSuitelinkFootnote()
Footnotes from matching a street or highrise record to suite information.
|
com.google.protobuf.ByteString |
getSuitelinkFootnoteBytes()
Footnotes from matching a street or highrise record to suite information.
|
int |
hashCode() |
boolean |
hasStandardizedAddress()
USPS standardized address.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static UspsData.Builder |
newBuilder() |
static UspsData.Builder |
newBuilder(UspsData prototype) |
UspsData.Builder |
newBuilderForType() |
protected UspsData.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static UspsData |
parseDelimitedFrom(InputStream input) |
static UspsData |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UspsData |
parseFrom(byte[] data) |
static UspsData |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UspsData |
parseFrom(ByteBuffer data) |
static UspsData |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UspsData |
parseFrom(com.google.protobuf.ByteString data) |
static UspsData |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UspsData |
parseFrom(com.google.protobuf.CodedInputStream input) |
static UspsData |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static UspsData |
parseFrom(InputStream input) |
static UspsData |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<UspsData> |
parser() |
UspsData.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STANDARDIZED_ADDRESS_FIELD_NUMBER
public static final int DELIVERY_POINT_CODE_FIELD_NUMBER
public static final int DELIVERY_POINT_CHECK_DIGIT_FIELD_NUMBER
public static final int DPV_CONFIRMATION_FIELD_NUMBER
public static final int DPV_FOOTNOTE_FIELD_NUMBER
public static final int DPV_CMRA_FIELD_NUMBER
public static final int DPV_VACANT_FIELD_NUMBER
public static final int DPV_NO_STAT_FIELD_NUMBER
public static final int CARRIER_ROUTE_FIELD_NUMBER
public static final int CARRIER_ROUTE_INDICATOR_FIELD_NUMBER
public static final int EWS_NO_MATCH_FIELD_NUMBER
public static final int POST_OFFICE_CITY_FIELD_NUMBER
public static final int POST_OFFICE_STATE_FIELD_NUMBER
public static final int ABBREVIATED_CITY_FIELD_NUMBER
public static final int FIPS_COUNTY_CODE_FIELD_NUMBER
public static final int COUNTY_FIELD_NUMBER
public static final int ELOT_NUMBER_FIELD_NUMBER
public static final int ELOT_FLAG_FIELD_NUMBER
public static final int LACS_LINK_RETURN_CODE_FIELD_NUMBER
public static final int LACS_LINK_INDICATOR_FIELD_NUMBER
public static final int PO_BOX_ONLY_POSTAL_CODE_FIELD_NUMBER
public static final int SUITELINK_FOOTNOTE_FIELD_NUMBER
public static final int PMB_DESIGNATOR_FIELD_NUMBER
public static final int PMB_NUMBER_FIELD_NUMBER
public static final int ADDRESS_RECORD_TYPE_FIELD_NUMBER
public static final int DEFAULT_ADDRESS_FIELD_NUMBER
public static final int ERROR_MESSAGE_FIELD_NUMBER
public static final int CASS_PROCESSED_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasStandardizedAddress()
USPS standardized address.
.google.maps.addressvalidation.v1.UspsAddress standardized_address = 1;hasStandardizedAddress in interface UspsDataOrBuilderpublic UspsAddress getStandardizedAddress()
USPS standardized address.
.google.maps.addressvalidation.v1.UspsAddress standardized_address = 1;getStandardizedAddress in interface UspsDataOrBuilderpublic UspsAddressOrBuilder getStandardizedAddressOrBuilder()
USPS standardized address.
.google.maps.addressvalidation.v1.UspsAddress standardized_address = 1;getStandardizedAddressOrBuilder in interface UspsDataOrBuilderpublic String getDeliveryPointCode()
2 digit delivery point code
string delivery_point_code = 2;getDeliveryPointCode in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getDeliveryPointCodeBytes()
2 digit delivery point code
string delivery_point_code = 2;getDeliveryPointCodeBytes in interface UspsDataOrBuilderpublic String getDeliveryPointCheckDigit()
The delivery point check digit. This number is added to the end of the delivery_point_barcode for mechanically scanned mail. Adding all the digits of the delivery_point_barcode, delivery_point_check_digit, postal code, and ZIP+4 together should yield a number divisible by 10.
string delivery_point_check_digit = 3;getDeliveryPointCheckDigit in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes()
The delivery point check digit. This number is added to the end of the delivery_point_barcode for mechanically scanned mail. Adding all the digits of the delivery_point_barcode, delivery_point_check_digit, postal code, and ZIP+4 together should yield a number divisible by 10.
string delivery_point_check_digit = 3;getDeliveryPointCheckDigitBytes in interface UspsDataOrBuilderpublic String getDpvConfirmation()
The possible values for DPV confirmation. Returns a single character. * `Y`: Address was DPV confirmed for primary and any secondary numbers. * `N`: Primary and any secondary number information failed to DPV confirm. * `S`: Address was DPV confirmed for the primary number only, and the secondary number information was present by not confirmed. * `D`: Address was DPV confirmed for the primary number only, and the secondary number information was missing.
string dpv_confirmation = 4;getDpvConfirmation in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getDpvConfirmationBytes()
The possible values for DPV confirmation. Returns a single character. * `Y`: Address was DPV confirmed for primary and any secondary numbers. * `N`: Primary and any secondary number information failed to DPV confirm. * `S`: Address was DPV confirmed for the primary number only, and the secondary number information was present by not confirmed. * `D`: Address was DPV confirmed for the primary number only, and the secondary number information was missing.
string dpv_confirmation = 4;getDpvConfirmationBytes in interface UspsDataOrBuilderpublic String getDpvFootnote()
The footnotes from delivery point validation. Multiple footnotes may be strung together in the same string. * `AA`: Input address matched to the ZIP+4 file * `A1`: Input address was not matched to the ZIP+4 file * `BB`: Matched to DPV (all components) * `CC`: Secondary number not matched (present but invalid) * `N1`: High-rise address missing secondary number * `M1`: Primary number missing * `M3`: Primary number invalid * `P1`: Input address RR or HC box number missing * `P3`: Input address PO, RR, or HC Box number invalid * `F1`: Input address matched to a military address * `G1`: Input address matched to a general delivery address * `U1`: Input address matched to a unique ZIP code * `PB`: Input address matched to PBSA record * `RR`: DPV confirmed address with PMB information * `R1`: DPV confirmed address without PMB information * `R7`: Carrier Route R777 or R779 record
string dpv_footnote = 5;getDpvFootnote in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getDpvFootnoteBytes()
The footnotes from delivery point validation. Multiple footnotes may be strung together in the same string. * `AA`: Input address matched to the ZIP+4 file * `A1`: Input address was not matched to the ZIP+4 file * `BB`: Matched to DPV (all components) * `CC`: Secondary number not matched (present but invalid) * `N1`: High-rise address missing secondary number * `M1`: Primary number missing * `M3`: Primary number invalid * `P1`: Input address RR or HC box number missing * `P3`: Input address PO, RR, or HC Box number invalid * `F1`: Input address matched to a military address * `G1`: Input address matched to a general delivery address * `U1`: Input address matched to a unique ZIP code * `PB`: Input address matched to PBSA record * `RR`: DPV confirmed address with PMB information * `R1`: DPV confirmed address without PMB information * `R7`: Carrier Route R777 or R779 record
string dpv_footnote = 5;getDpvFootnoteBytes in interface UspsDataOrBuilderpublic String getDpvCmra()
Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a private business receiving mail for clients. Returns a single character. * `Y`: The address is a CMRA * `N`: The address is not a CMRA
string dpv_cmra = 6;getDpvCmra in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getDpvCmraBytes()
Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a private business receiving mail for clients. Returns a single character. * `Y`: The address is a CMRA * `N`: The address is not a CMRA
string dpv_cmra = 6;getDpvCmraBytes in interface UspsDataOrBuilderpublic String getDpvVacant()
Is this place vacant? Returns a single character. * `Y`: The address is vacant * `N`: The address is not vacant
string dpv_vacant = 7;getDpvVacant in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getDpvVacantBytes()
Is this place vacant? Returns a single character. * `Y`: The address is vacant * `N`: The address is not vacant
string dpv_vacant = 7;getDpvVacantBytes in interface UspsDataOrBuilderpublic String getDpvNoStat()
Is this a no stat address or an active address? No stat addresses are ones which are not continuously occupied or addresses that the USPS does not service. Returns a single character. * `Y`: The address is not active * `N`: The address is active
string dpv_no_stat = 8;getDpvNoStat in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getDpvNoStatBytes()
Is this a no stat address or an active address? No stat addresses are ones which are not continuously occupied or addresses that the USPS does not service. Returns a single character. * `Y`: The address is not active * `N`: The address is active
string dpv_no_stat = 8;getDpvNoStatBytes in interface UspsDataOrBuilderpublic String getCarrierRoute()
The carrier route code. A four character code consisting of a one letter prefix and a three digit route designator. Prefixes: * `C`: Carrier route (or city route) * `R`: Rural route * `H`: Highway Contract Route * `B`: Post Office Box Section * `G`: General delivery unit
string carrier_route = 9;getCarrierRoute in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getCarrierRouteBytes()
The carrier route code. A four character code consisting of a one letter prefix and a three digit route designator. Prefixes: * `C`: Carrier route (or city route) * `R`: Rural route * `H`: Highway Contract Route * `B`: Post Office Box Section * `G`: General delivery unit
string carrier_route = 9;getCarrierRouteBytes in interface UspsDataOrBuilderpublic String getCarrierRouteIndicator()
Carrier route rate sort indicator.
string carrier_route_indicator = 10;getCarrierRouteIndicator in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getCarrierRouteIndicatorBytes()
Carrier route rate sort indicator.
string carrier_route_indicator = 10;getCarrierRouteIndicatorBytes in interface UspsDataOrBuilderpublic boolean getEwsNoMatch()
The delivery address is matchable, but the EWS file indicates that an exact match will be available soon.
bool ews_no_match = 11;getEwsNoMatch in interface UspsDataOrBuilderpublic String getPostOfficeCity()
Main post office city.
string post_office_city = 12;getPostOfficeCity in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getPostOfficeCityBytes()
Main post office city.
string post_office_city = 12;getPostOfficeCityBytes in interface UspsDataOrBuilderpublic String getPostOfficeState()
Main post office state.
string post_office_state = 13;getPostOfficeState in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getPostOfficeStateBytes()
Main post office state.
string post_office_state = 13;getPostOfficeStateBytes in interface UspsDataOrBuilderpublic String getAbbreviatedCity()
Abbreviated city.
string abbreviated_city = 14;getAbbreviatedCity in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getAbbreviatedCityBytes()
Abbreviated city.
string abbreviated_city = 14;getAbbreviatedCityBytes in interface UspsDataOrBuilderpublic String getFipsCountyCode()
FIPS county code.
string fips_county_code = 15;getFipsCountyCode in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getFipsCountyCodeBytes()
FIPS county code.
string fips_county_code = 15;getFipsCountyCodeBytes in interface UspsDataOrBuilderpublic String getCounty()
County name.
string county = 16;getCounty in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getCountyBytes()
County name.
string county = 16;getCountyBytes in interface UspsDataOrBuilderpublic String getElotNumber()
Enhanced Line of Travel (eLOT) number.
string elot_number = 17;getElotNumber in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getElotNumberBytes()
Enhanced Line of Travel (eLOT) number.
string elot_number = 17;getElotNumberBytes in interface UspsDataOrBuilderpublic String getElotFlag()
eLOT Ascending/Descending Flag (A/D).
string elot_flag = 18;getElotFlag in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getElotFlagBytes()
eLOT Ascending/Descending Flag (A/D).
string elot_flag = 18;getElotFlagBytes in interface UspsDataOrBuilderpublic String getLacsLinkReturnCode()
LACSLink return code.
string lacs_link_return_code = 19;getLacsLinkReturnCode in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getLacsLinkReturnCodeBytes()
LACSLink return code.
string lacs_link_return_code = 19;getLacsLinkReturnCodeBytes in interface UspsDataOrBuilderpublic String getLacsLinkIndicator()
LACSLink indicator.
string lacs_link_indicator = 20;getLacsLinkIndicator in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getLacsLinkIndicatorBytes()
LACSLink indicator.
string lacs_link_indicator = 20;getLacsLinkIndicatorBytes in interface UspsDataOrBuilderpublic boolean getPoBoxOnlyPostalCode()
PO Box only postal code.
bool po_box_only_postal_code = 21;getPoBoxOnlyPostalCode in interface UspsDataOrBuilderpublic String getSuitelinkFootnote()
Footnotes from matching a street or highrise record to suite information. If business name match is found, the secondary number is returned. * `A`: SuiteLink record match, business address improved. * `00`: No match, business address is not improved.
string suitelink_footnote = 22;getSuitelinkFootnote in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getSuitelinkFootnoteBytes()
Footnotes from matching a street or highrise record to suite information. If business name match is found, the secondary number is returned. * `A`: SuiteLink record match, business address improved. * `00`: No match, business address is not improved.
string suitelink_footnote = 22;getSuitelinkFootnoteBytes in interface UspsDataOrBuilderpublic String getPmbDesignator()
PMB (Private Mail Box) unit designator.
string pmb_designator = 23;getPmbDesignator in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getPmbDesignatorBytes()
PMB (Private Mail Box) unit designator.
string pmb_designator = 23;getPmbDesignatorBytes in interface UspsDataOrBuilderpublic String getPmbNumber()
PMB (Private Mail Box) number;
string pmb_number = 24;getPmbNumber in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getPmbNumberBytes()
PMB (Private Mail Box) number;
string pmb_number = 24;getPmbNumberBytes in interface UspsDataOrBuilderpublic String getAddressRecordType()
Type of the address record that matches the input address. * `F`: FIRM. This is a match to a Firm Record, which is the finest level of match available for an address. * `G`: GENERAL DELIVERY. This is a match to a General Delivery record. * `H`: BUILDING / APARTMENT. This is a match to a Building or Apartment record. * `P`: POST OFFICE BOX. This is a match to a Post Office Box. * `R`: RURAL ROUTE or HIGHWAY CONTRACT: This is a match to either a Rural Route or a Highway Contract record, both of which may have associated Box Number ranges. * `S`: STREET RECORD: This is a match to a Street record containing a valid primary number range.
string address_record_type = 25;getAddressRecordType in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getAddressRecordTypeBytes()
Type of the address record that matches the input address. * `F`: FIRM. This is a match to a Firm Record, which is the finest level of match available for an address. * `G`: GENERAL DELIVERY. This is a match to a General Delivery record. * `H`: BUILDING / APARTMENT. This is a match to a Building or Apartment record. * `P`: POST OFFICE BOX. This is a match to a Post Office Box. * `R`: RURAL ROUTE or HIGHWAY CONTRACT: This is a match to either a Rural Route or a Highway Contract record, both of which may have associated Box Number ranges. * `S`: STREET RECORD: This is a match to a Street record containing a valid primary number range.
string address_record_type = 25;getAddressRecordTypeBytes in interface UspsDataOrBuilderpublic boolean getDefaultAddress()
Indicator that a default address was found, but more specific addresses exists.
bool default_address = 26;getDefaultAddress in interface UspsDataOrBuilderpublic String getErrorMessage()
Error message for USPS data retrieval. This is populated when USPS processing is suspended because of the detection of artificially created addresses. The USPS data fields might not be populated when this error is present.
string error_message = 27;getErrorMessage in interface UspsDataOrBuilderpublic com.google.protobuf.ByteString getErrorMessageBytes()
Error message for USPS data retrieval. This is populated when USPS processing is suspended because of the detection of artificially created addresses. The USPS data fields might not be populated when this error is present.
string error_message = 27;getErrorMessageBytes in interface UspsDataOrBuilderpublic boolean getCassProcessed()
Indicator that the request has been CASS processed.
bool cass_processed = 28;getCassProcessed in interface UspsDataOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static UspsData parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsData parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsData parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsData parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsData parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static UspsData parseFrom(InputStream input) throws IOException
IOExceptionpublic static UspsData parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UspsData parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static UspsData parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static UspsData parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static UspsData parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic UspsData.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static UspsData.Builder newBuilder()
public static UspsData.Builder newBuilder(UspsData prototype)
public UspsData.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected UspsData.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static UspsData getDefaultInstance()
public static com.google.protobuf.Parser<UspsData> parser()
public com.google.protobuf.Parser<UspsData> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public UspsData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.