diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java index 706c1b34cadc..dcc6baf0614c 100644 --- a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java +++ b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationClient.java @@ -43,6 +43,7 @@ * .setAddress(PostalAddress.newBuilder().build()) * .setPreviousResponseId("previousResponseId468754323") * .setEnableUspsCass(true) + * .setSessionToken("sessionToken-696552189") * .build(); * ValidateAddressResponse response = addressValidationClient.validateAddress(request); * } @@ -213,6 +214,7 @@ public AddressValidationStub getStub() { * .setAddress(PostalAddress.newBuilder().build()) * .setPreviousResponseId("previousResponseId468754323") * .setEnableUspsCass(true) + * .setSessionToken("sessionToken-696552189") * .build(); * ValidateAddressResponse response = addressValidationClient.validateAddress(request); * } @@ -243,6 +245,7 @@ public final ValidateAddressResponse validateAddress(ValidateAddressRequest requ * .setAddress(PostalAddress.newBuilder().build()) * .setPreviousResponseId("previousResponseId468754323") * .setEnableUspsCass(true) + * .setSessionToken("sessionToken-696552189") * .build(); * ApiFuture future = * addressValidationClient.validateAddressCallable().futureCall(request); diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java index 66be64fb1f14..2e08a2ec1c2a 100644 --- a/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java +++ b/java-maps-addressvalidation/google-maps-addressvalidation/src/main/java/com/google/maps/addressvalidation/v1/package-info.java @@ -37,6 +37,7 @@ * .setAddress(PostalAddress.newBuilder().build()) * .setPreviousResponseId("previousResponseId468754323") * .setEnableUspsCass(true) + * .setSessionToken("sessionToken-696552189") * .build(); * ValidateAddressResponse response = addressValidationClient.validateAddress(request); * } diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java index 859f76a31f5c..35d3fa7c0d16 100644 --- a/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java +++ b/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientHttpJsonTest.java @@ -86,6 +86,7 @@ public void validateAddressTest() throws Exception { .setAddress(PostalAddress.newBuilder().build()) .setPreviousResponseId("previousResponseId468754323") .setEnableUspsCass(true) + .setSessionToken("sessionToken-696552189") .build(); ValidateAddressResponse actualResponse = client.validateAddress(request); @@ -119,6 +120,7 @@ public void validateAddressExceptionTest() throws Exception { .setAddress(PostalAddress.newBuilder().build()) .setPreviousResponseId("previousResponseId468754323") .setEnableUspsCass(true) + .setSessionToken("sessionToken-696552189") .build(); client.validateAddress(request); Assert.fail("No exception raised"); diff --git a/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java b/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java index ef18d4447146..193b3dab918d 100644 --- a/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java +++ b/java-maps-addressvalidation/google-maps-addressvalidation/src/test/java/com/google/maps/addressvalidation/v1/AddressValidationClientTest.java @@ -90,6 +90,7 @@ public void validateAddressTest() throws Exception { .setAddress(PostalAddress.newBuilder().build()) .setPreviousResponseId("previousResponseId468754323") .setEnableUspsCass(true) + .setSessionToken("sessionToken-696552189") .build(); ValidateAddressResponse actualResponse = client.validateAddress(request); @@ -102,6 +103,7 @@ public void validateAddressTest() throws Exception { Assert.assertEquals(request.getAddress(), actualRequest.getAddress()); Assert.assertEquals(request.getPreviousResponseId(), actualRequest.getPreviousResponseId()); Assert.assertEquals(request.getEnableUspsCass(), actualRequest.getEnableUspsCass()); + Assert.assertEquals(request.getSessionToken(), actualRequest.getSessionToken()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -119,6 +121,7 @@ public void validateAddressExceptionTest() throws Exception { .setAddress(PostalAddress.newBuilder().build()) .setPreviousResponseId("previousResponseId468754323") .setEnableUspsCass(true) + .setSessionToken("sessionToken-696552189") .build(); client.validateAddress(request); Assert.fail("No exception raised"); diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java index 2d7ca925fb7c..e362a9944d88 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponent.java @@ -435,9 +435,11 @@ public boolean getInferred() { * * *
-   * 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.
+   * Indicates a correction to a misspelling in the component name.  The API
+   * does not always flag changes from one spelling variant to another, such as
+   * when changing "centre" to "center". It also does not always flag common
+   * misspellings, such as when changing "Amphitheater Pkwy" to "Amphitheatre
+   * Pkwy".
    * 
* * bool spell_corrected = 5; @@ -1475,9 +1477,11 @@ public Builder clearInferred() { * * *
-     * 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.
+     * Indicates a correction to a misspelling in the component name.  The API
+     * does not always flag changes from one spelling variant to another, such as
+     * when changing "centre" to "center". It also does not always flag common
+     * misspellings, such as when changing "Amphitheater Pkwy" to "Amphitheatre
+     * Pkwy".
      * 
* * bool spell_corrected = 5; @@ -1492,9 +1496,11 @@ public 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.
+     * Indicates a correction to a misspelling in the component name.  The API
+     * does not always flag changes from one spelling variant to another, such as
+     * when changing "centre" to "center". It also does not always flag common
+     * misspellings, such as when changing "Amphitheater Pkwy" to "Amphitheatre
+     * Pkwy".
      * 
* * bool spell_corrected = 5; @@ -1513,9 +1519,11 @@ public Builder setSpellCorrected(boolean value) { * * *
-     * 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.
+     * Indicates a correction to a misspelling in the component name.  The API
+     * does not always flag changes from one spelling variant to another, such as
+     * when changing "centre" to "center". It also does not always flag common
+     * misspellings, such as when changing "Amphitheater Pkwy" to "Amphitheatre
+     * Pkwy".
      * 
* * bool spell_corrected = 5; diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java index 5c7a0be59e59..30b16d2d017c 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressComponentOrBuilder.java @@ -140,9 +140,11 @@ public interface AddressComponentOrBuilder * * *
-   * 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.
+   * Indicates a correction to a misspelling in the component name.  The API
+   * does not always flag changes from one spelling variant to another, such as
+   * when changing "centre" to "center". It also does not always flag common
+   * misspellings, such as when changing "Amphitheater Pkwy" to "Amphitheatre
+   * Pkwy".
    * 
* * bool spell_corrected = 5; diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java index 7e23f4dfedfe..966d68e0bf90 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/AddressValidationServiceProto.java @@ -71,62 +71,63 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "proto\032/google/maps/addressvalidation/v1/" + "metadata.proto\0320google/maps/addressvalid" + "ation/v1/usps_data.proto\032 google/type/po" - + "stal_address.proto\"\202\001\n\026ValidateAddressRe" + + "stal_address.proto\"\236\001\n\026ValidateAddressRe" + "quest\0220\n\007address\030\001 \001(\0132\032.google.type.Pos" + "talAddressB\003\340A\002\022\034\n\024previous_response_id\030" - + "\002 \001(\t\022\030\n\020enable_usps_cass\030\003 \001(\010\"r\n\027Valid" - + "ateAddressResponse\022B\n\006result\030\001 \001(\01322.goo" - + "gle.maps.addressvalidation.v1.Validation" - + "Result\022\023\n\013response_id\030\002 \001(\t\"\313\002\n ProvideV" - + "alidationFeedbackRequest\022p\n\nconclusion\030\001" - + " \001(\0162W.google.maps.addressvalidation.v1." - + "ProvideValidationFeedbackRequest.Validat" - + "ionConclusionB\003\340A\002\022\030\n\013response_id\030\002 \001(\tB" - + "\003\340A\002\"\232\001\n\024ValidationConclusion\022%\n!VALIDAT" - + "ION_CONCLUSION_UNSPECIFIED\020\000\022\032\n\026VALIDATE" - + "D_VERSION_USED\020\001\022\025\n\021USER_VERSION_USED\020\002\022" - + "\034\n\030UNVALIDATED_VERSION_USED\020\003\022\n\n\006UNUSED\020" - + "\004\"#\n!ProvideValidationFeedbackResponse\"\312" - + "\002\n\020ValidationResult\022:\n\007verdict\030\001 \001(\0132).g" - + "oogle.maps.addressvalidation.v1.Verdict\022" - + ":\n\007address\030\002 \001(\0132).google.maps.addressva" - + "lidation.v1.Address\022:\n\007geocode\030\003 \001(\0132).g" - + "oogle.maps.addressvalidation.v1.Geocode\022" - + "C\n\010metadata\030\004 \001(\01321.google.maps.addressv" - + "alidation.v1.AddressMetadata\022=\n\tusps_dat" - + "a\030\005 \001(\0132*.google.maps.addressvalidation." - + "v1.UspsData\"\211\004\n\007Verdict\022P\n\021input_granula" - + "rity\030\001 \001(\01625.google.maps.addressvalidati" - + "on.v1.Verdict.Granularity\022U\n\026validation_" - + "granularity\030\002 \001(\01625.google.maps.addressv" - + "alidation.v1.Verdict.Granularity\022R\n\023geoc" - + "ode_granularity\030\003 \001(\01625.google.maps.addr" - + "essvalidation.v1.Verdict.Granularity\022\030\n\020" - + "address_complete\030\004 \001(\010\022\"\n\032has_unconfirme" - + "d_components\030\005 \001(\010\022\037\n\027has_inferred_compo" - + "nents\030\006 \001(\010\022\037\n\027has_replaced_components\030\007" - + " \001(\010\"\200\001\n\013Granularity\022\033\n\027GRANULARITY_UNSP" - + "ECIFIED\020\000\022\017\n\013SUB_PREMISE\020\001\022\013\n\007PREMISE\020\002\022" - + "\025\n\021PREMISE_PROXIMITY\020\003\022\t\n\005BLOCK\020\004\022\t\n\005ROU" - + "TE\020\005\022\t\n\005OTHER\020\0062\262\003\n\021AddressValidation\022\246\001" - + "\n\017ValidateAddress\0228.google.maps.addressv" - + "alidation.v1.ValidateAddressRequest\0329.go" - + "ogle.maps.addressvalidation.v1.ValidateA" - + "ddressResponse\"\036\202\323\344\223\002\030\"\023/v1:validateAddr" - + "ess:\001*\022\316\001\n\031ProvideValidationFeedback\022B.g" - + "oogle.maps.addressvalidation.v1.ProvideV" - + "alidationFeedbackRequest\032C.google.maps.a" + + "\002 \001(\t\022\030\n\020enable_usps_cass\030\003 \001(\010\022\032\n\rsessi" + + "on_token\030\005 \001(\tB\003\340A\001\"r\n\027ValidateAddressRe" + + "sponse\022B\n\006result\030\001 \001(\01322.google.maps.add" + + "ressvalidation.v1.ValidationResult\022\023\n\013re" + + "sponse_id\030\002 \001(\t\"\313\002\n ProvideValidationFee" + + "dbackRequest\022p\n\nconclusion\030\001 \001(\0162W.googl" + + "e.maps.addressvalidation.v1.ProvideValid" + + "ationFeedbackRequest.ValidationConclusio" + + "nB\003\340A\002\022\030\n\013response_id\030\002 \001(\tB\003\340A\002\"\232\001\n\024Val" + + "idationConclusion\022%\n!VALIDATION_CONCLUSI" + + "ON_UNSPECIFIED\020\000\022\032\n\026VALIDATED_VERSION_US" + + "ED\020\001\022\025\n\021USER_VERSION_USED\020\002\022\034\n\030UNVALIDAT" + + "ED_VERSION_USED\020\003\022\n\n\006UNUSED\020\004\"#\n!Provide" + + "ValidationFeedbackResponse\"\312\002\n\020Validatio" + + "nResult\022:\n\007verdict\030\001 \001(\0132).google.maps.a" + + "ddressvalidation.v1.Verdict\022:\n\007address\030\002" + + " \001(\0132).google.maps.addressvalidation.v1." + + "Address\022:\n\007geocode\030\003 \001(\0132).google.maps.a" + + "ddressvalidation.v1.Geocode\022C\n\010metadata\030" + + "\004 \001(\01321.google.maps.addressvalidation.v1" + + ".AddressMetadata\022=\n\tusps_data\030\005 \001(\0132*.go" + + "ogle.maps.addressvalidation.v1.UspsData\"" + + "\211\004\n\007Verdict\022P\n\021input_granularity\030\001 \001(\01625" + + ".google.maps.addressvalidation.v1.Verdic" + + "t.Granularity\022U\n\026validation_granularity\030" + + "\002 \001(\01625.google.maps.addressvalidation.v1" + + ".Verdict.Granularity\022R\n\023geocode_granular" + + "ity\030\003 \001(\01625.google.maps.addressvalidatio" + + "n.v1.Verdict.Granularity\022\030\n\020address_comp" + + "lete\030\004 \001(\010\022\"\n\032has_unconfirmed_components" + + "\030\005 \001(\010\022\037\n\027has_inferred_components\030\006 \001(\010\022" + + "\037\n\027has_replaced_components\030\007 \001(\010\"\200\001\n\013Gra" + + "nularity\022\033\n\027GRANULARITY_UNSPECIFIED\020\000\022\017\n" + + "\013SUB_PREMISE\020\001\022\013\n\007PREMISE\020\002\022\025\n\021PREMISE_P" + + "ROXIMITY\020\003\022\t\n\005BLOCK\020\004\022\t\n\005ROUTE\020\005\022\t\n\005OTHE" + + "R\020\0062\262\003\n\021AddressValidation\022\246\001\n\017ValidateAd" + + "dress\0228.google.maps.addressvalidation.v1" + + ".ValidateAddressRequest\0329.google.maps.ad" + + "dressvalidation.v1.ValidateAddressRespon" + + "se\"\036\202\323\344\223\002\030\"\023/v1:validateAddress:\001*\022\316\001\n\031P" + + "rovideValidationFeedback\022B.google.maps.a" + "ddressvalidation.v1.ProvideValidationFee" - + "dbackResponse\"(\202\323\344\223\002\"\"\035/v1:provideValida" - + "tionFeedback:\001*\032#\312A addressvalidation.go" - + "ogleapis.comB\232\002\n$com.google.maps.address" - + "validation.v1B\035AddressValidationServiceP" - + "rotoP\001ZXcloud.google.com/go/maps/address" - + "validation/apiv1/addressvalidationpb;add" - + "ressvalidationpb\370\001\001\242\002\007GMPAVV1\252\002 Google.M" - + "aps.AddressValidation.V1\312\002 Google\\Maps\\A" - + "ddressValidation\\V1\352\002#Google::Maps::Addr" - + "essValidation::V1b\006proto3" + + "dbackRequest\032C.google.maps.addressvalida" + + "tion.v1.ProvideValidationFeedbackRespons" + + "e\"(\202\323\344\223\002\"\"\035/v1:provideValidationFeedback" + + ":\001*\032#\312A addressvalidation.googleapis.com" + + "B\232\002\n$com.google.maps.addressvalidation.v" + + "1B\035AddressValidationServiceProtoP\001ZXclou" + + "d.google.com/go/maps/addressvalidation/a" + + "piv1/addressvalidationpb;addressvalidati" + + "onpb\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.AddressV" + + "alidation.V1\312\002 Google\\Maps\\AddressValida" + + "tion\\V1\352\002#Google::Maps::AddressValidatio" + + "n::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -147,7 +148,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_maps_addressvalidation_v1_ValidateAddressRequest_descriptor, new java.lang.String[] { - "Address", "PreviousResponseId", "EnableUspsCass", + "Address", "PreviousResponseId", "EnableUspsCass", "SessionToken", }); internal_static_google_maps_addressvalidation_v1_ValidateAddressResponse_descriptor = getDescriptor().getMessageTypes().get(1); diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java index 9b16ee93cc25..36142ac1af02 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsData.java @@ -49,6 +49,13 @@ private UspsData() { dpvCmra_ = ""; dpvVacant_ = ""; dpvNoStat_ = ""; + dpvDrop_ = ""; + dpvThrowback_ = ""; + dpvNonDeliveryDays_ = ""; + dpvNoSecureLocation_ = ""; + dpvPbsa_ = ""; + dpvDoorNotAccessible_ = ""; + dpvEnhancedDeliveryCode_ = ""; carrierRoute_ = ""; carrierRouteIndicator_ = ""; postOfficeCity_ = ""; @@ -256,15 +263,18 @@ public com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes() { * * *
-   * The possible values for DPV confirmation. Returns a single character.
+   * The possible values for DPV confirmation. Returns a single character or
+   * returns no value.
    *
-   * * `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.
+   * * `S`: Address was DPV confirmed for the primary number only, and the
+   * secondary number information was present but not confirmed.
+   * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
+   * * Empty: If the response does not contain a `dpv_confirmation` value, the
+   * address was not submitted for DPV confirmation.
    * 
* * string dpv_confirmation = 4; @@ -287,15 +297,18 @@ public java.lang.String getDpvConfirmation() { * * *
-   * The possible values for DPV confirmation. Returns a single character.
+   * The possible values for DPV confirmation. Returns a single character or
+   * returns no value.
    *
-   * * `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.
+   * * `S`: Address was DPV confirmed for the primary number only, and the
+   * secondary number information was present but not confirmed.
+   * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
+   * * Empty: If the response does not contain a `dpv_confirmation` value, the
+   * address was not submitted for DPV confirmation.
    * 
* * string dpv_confirmation = 4; @@ -329,11 +342,12 @@ public com.google.protobuf.ByteString getDpvConfirmationBytes() { * * `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) + * * `CC`: Secondary number not matched and not required + * * `C1`: Secondary number not matched but required * * `N1`: High-rise address missing secondary number * * `M1`: Primary number missing * * `M3`: Primary number invalid - * * `P1`: Input address RR or HC box number missing + * * `P1`: Input address PO, 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 @@ -342,6 +356,8 @@ public com.google.protobuf.ByteString getDpvConfirmationBytes() { * * `RR`: DPV confirmed address with PMB information * * `R1`: DPV confirmed address without PMB information * * `R7`: Carrier Route R777 or R779 record + * * `IA`: Informed Address identified + * * `TA`: Primary number matched by dropping a trailing alpha * * * string dpv_footnote = 5; @@ -370,11 +386,12 @@ public java.lang.String getDpvFootnote() { * * `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) + * * `CC`: Secondary number not matched and not required + * * `C1`: Secondary number not matched but required * * `N1`: High-rise address missing secondary number * * `M1`: Primary number missing * * `M3`: Primary number invalid - * * `P1`: Input address RR or HC box number missing + * * `P1`: Input address PO, 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 @@ -383,6 +400,8 @@ public java.lang.String getDpvFootnote() { * * `RR`: DPV confirmed address with PMB information * * `R1`: DPV confirmed address without PMB information * * `R7`: Carrier Route R777 or R779 record + * * `IA`: Informed Address identified + * * `TA`: Primary number matched by dropping a trailing alpha * * * string dpv_footnote = 5; @@ -581,40 +600,65 @@ public com.google.protobuf.ByteString getDpvNoStatBytes() { } } - public static final int CARRIER_ROUTE_FIELD_NUMBER = 9; + public static final int DPV_NO_STAT_REASON_CODE_FIELD_NUMBER = 29; + private int dpvNoStatReasonCode_ = 0; + /** + * + * + *
+   * Indicates the NoStat type. Returns a reason code as int.
+   *
+   * * `1`: IDA (Internal Drop Address) – Addresses that do not receive mail
+   * directly from the USPS but are delivered to a drop address that services
+   * them.
+   * * `2`: CDS - Addresses that have not yet become deliverable. For example, a
+   * new subdivision where lots and primary numbers have been determined, but no
+   * structure exists yet for occupancy.
+   * * `3`: Collision - Addresses that do not actually DPV confirm.
+   * * `4`: CMZ (College, Military and Other Types) - ZIP + 4 records USPS has
+   * incorporated into the data.
+   * * `5`: Regular - Indicates addresses not receiving delivery and the
+   * addresses are not counted as possible deliveries.
+   * * `6`: Secondary Required - The address requires secondary information.
+   * 
+ * + * int32 dpv_no_stat_reason_code = 29; + * + * @return The dpvNoStatReasonCode. + */ + @java.lang.Override + public int getDpvNoStatReasonCode() { + return dpvNoStatReasonCode_; + } + + public static final int DPV_DROP_FIELD_NUMBER = 30; @SuppressWarnings("serial") - private volatile java.lang.Object carrierRoute_ = ""; + private volatile java.lang.Object dpvDrop_ = ""; /** * * *
-   * The carrier route code.
-   * A four character code consisting of a one letter prefix and a three digit
-   * route designator.
-   *
-   * Prefixes:
+   * Flag indicates mail is delivered to a single receptable at a site.
+   * Returns a single character.
    *
-   * * `C`: Carrier route (or city route)
-   * * `R`: Rural route
-   * * `H`: Highway Contract Route
-   * * `B`: Post Office Box Section
-   * * `G`: General delivery unit
+   * * `Y`: The mail is delivered to a single receptable at a site.
+   * * `N`: The mail is not delivered to a single receptable at a site.
    * 
* - * string carrier_route = 9; + * string dpv_drop = 30; * - * @return The carrierRoute. + * @return The dpvDrop. */ @java.lang.Override - public java.lang.String getCarrierRoute() { - java.lang.Object ref = carrierRoute_; + public java.lang.String getDpvDrop() { + java.lang.Object ref = dpvDrop_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - carrierRoute_ = s; + dpvDrop_ = s; return s; } } @@ -622,60 +666,58 @@ public java.lang.String getCarrierRoute() { * * *
-   * The carrier route code.
-   * A four character code consisting of a one letter prefix and a three digit
-   * route designator.
-   *
-   * Prefixes:
+   * Flag indicates mail is delivered to a single receptable at a site.
+   * Returns a single character.
    *
-   * * `C`: Carrier route (or city route)
-   * * `R`: Rural route
-   * * `H`: Highway Contract Route
-   * * `B`: Post Office Box Section
-   * * `G`: General delivery unit
+   * * `Y`: The mail is delivered to a single receptable at a site.
+   * * `N`: The mail is not delivered to a single receptable at a site.
    * 
* - * string carrier_route = 9; + * string dpv_drop = 30; * - * @return The bytes for carrierRoute. + * @return The bytes for dpvDrop. */ @java.lang.Override - public com.google.protobuf.ByteString getCarrierRouteBytes() { - java.lang.Object ref = carrierRoute_; + public com.google.protobuf.ByteString getDpvDropBytes() { + java.lang.Object ref = dpvDrop_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - carrierRoute_ = b; + dpvDrop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int CARRIER_ROUTE_INDICATOR_FIELD_NUMBER = 10; + public static final int DPV_THROWBACK_FIELD_NUMBER = 31; @SuppressWarnings("serial") - private volatile java.lang.Object carrierRouteIndicator_ = ""; + private volatile java.lang.Object dpvThrowback_ = ""; /** * * *
-   * Carrier route rate sort indicator.
+   * Indicates that mail is not delivered to the street address.
+   * Returns a single character.
+   *
+   * * `Y`: The mail is not delivered to the street address.
+   * * `N`: The mail is delivered to the street address.
    * 
* - * string carrier_route_indicator = 10; + * string dpv_throwback = 31; * - * @return The carrierRouteIndicator. + * @return The dpvThrowback. */ @java.lang.Override - public java.lang.String getCarrierRouteIndicator() { - java.lang.Object ref = carrierRouteIndicator_; + public java.lang.String getDpvThrowback() { + java.lang.Object ref = dpvThrowback_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - carrierRouteIndicator_ = s; + dpvThrowback_ = s; return s; } } @@ -683,69 +725,59 @@ public java.lang.String getCarrierRouteIndicator() { * * *
-   * Carrier route rate sort indicator.
+   * Indicates that mail is not delivered to the street address.
+   * Returns a single character.
+   *
+   * * `Y`: The mail is not delivered to the street address.
+   * * `N`: The mail is delivered to the street address.
    * 
* - * string carrier_route_indicator = 10; + * string dpv_throwback = 31; * - * @return The bytes for carrierRouteIndicator. + * @return The bytes for dpvThrowback. */ @java.lang.Override - public com.google.protobuf.ByteString getCarrierRouteIndicatorBytes() { - java.lang.Object ref = carrierRouteIndicator_; + public com.google.protobuf.ByteString getDpvThrowbackBytes() { + java.lang.Object ref = dpvThrowback_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - carrierRouteIndicator_ = b; + dpvThrowback_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int EWS_NO_MATCH_FIELD_NUMBER = 11; - private boolean ewsNoMatch_ = false; - /** - * - * - *
-   * The delivery address is matchable, but the EWS file indicates that an exact
-   * match will be available soon.
-   * 
- * - * bool ews_no_match = 11; - * - * @return The ewsNoMatch. - */ - @java.lang.Override - public boolean getEwsNoMatch() { - return ewsNoMatch_; - } - - public static final int POST_OFFICE_CITY_FIELD_NUMBER = 12; + public static final int DPV_NON_DELIVERY_DAYS_FIELD_NUMBER = 32; @SuppressWarnings("serial") - private volatile java.lang.Object postOfficeCity_ = ""; + private volatile java.lang.Object dpvNonDeliveryDays_ = ""; /** * * *
-   * Main post office city.
+   * Flag indicates mail delivery is not performed every day of the week.
+   * Returns a single character.
+   *
+   * * `Y`: The mail delivery is not performed every day of the week.
+   * * `N`: No indication the mail delivery is not performed every day of the
+   * week.
    * 
* - * string post_office_city = 12; + * string dpv_non_delivery_days = 32; * - * @return The postOfficeCity. + * @return The dpvNonDeliveryDays. */ @java.lang.Override - public java.lang.String getPostOfficeCity() { - java.lang.Object ref = postOfficeCity_; + public java.lang.String getDpvNonDeliveryDays() { + java.lang.Object ref = dpvNonDeliveryDays_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - postOfficeCity_ = s; + dpvNonDeliveryDays_ = s; return s; } } @@ -753,50 +785,86 @@ public java.lang.String getPostOfficeCity() { * * *
-   * Main post office city.
+   * Flag indicates mail delivery is not performed every day of the week.
+   * Returns a single character.
+   *
+   * * `Y`: The mail delivery is not performed every day of the week.
+   * * `N`: No indication the mail delivery is not performed every day of the
+   * week.
    * 
* - * string post_office_city = 12; + * string dpv_non_delivery_days = 32; * - * @return The bytes for postOfficeCity. + * @return The bytes for dpvNonDeliveryDays. */ @java.lang.Override - public com.google.protobuf.ByteString getPostOfficeCityBytes() { - java.lang.Object ref = postOfficeCity_; + public com.google.protobuf.ByteString getDpvNonDeliveryDaysBytes() { + java.lang.Object ref = dpvNonDeliveryDays_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - postOfficeCity_ = b; + dpvNonDeliveryDays_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int POST_OFFICE_STATE_FIELD_NUMBER = 13; + public static final int DPV_NON_DELIVERY_DAYS_VALUES_FIELD_NUMBER = 33; + private int dpvNonDeliveryDaysValues_ = 0; + /** + * + * + *
+   * Integer identifying non-delivery days. It can be interrogated using bit
+   * flags:
+   * 0x40 – Sunday is a non-delivery day
+   * 0x20 – Monday is a non-delivery day
+   * 0x10 – Tuesday is a non-delivery day
+   * 0x08 – Wednesday is a non-delivery day
+   * 0x04 – Thursday is a non-delivery day
+   * 0x02 – Friday is a non-delivery day
+   * 0x01 – Saturday is a non-delivery day
+   * 
+ * + * int32 dpv_non_delivery_days_values = 33; + * + * @return The dpvNonDeliveryDaysValues. + */ + @java.lang.Override + public int getDpvNonDeliveryDaysValues() { + return dpvNonDeliveryDaysValues_; + } + + public static final int DPV_NO_SECURE_LOCATION_FIELD_NUMBER = 34; @SuppressWarnings("serial") - private volatile java.lang.Object postOfficeState_ = ""; + private volatile java.lang.Object dpvNoSecureLocation_ = ""; /** * * *
-   * Main post office state.
+   * Flag indicates door is accessible, but package will not be left due to
+   * security concerns.
+   * Returns a single character.
+   *
+   * * `Y`: The package will not be left due to security concerns.
+   * * `N`: No indication the package will not be left due to security concerns.
    * 
* - * string post_office_state = 13; + * string dpv_no_secure_location = 34; * - * @return The postOfficeState. + * @return The dpvNoSecureLocation. */ @java.lang.Override - public java.lang.String getPostOfficeState() { - java.lang.Object ref = postOfficeState_; + public java.lang.String getDpvNoSecureLocation() { + java.lang.Object ref = dpvNoSecureLocation_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - postOfficeState_ = s; + dpvNoSecureLocation_ = s; return s; } } @@ -804,50 +872,59 @@ public java.lang.String getPostOfficeState() { * * *
-   * Main post office state.
+   * Flag indicates door is accessible, but package will not be left due to
+   * security concerns.
+   * Returns a single character.
+   *
+   * * `Y`: The package will not be left due to security concerns.
+   * * `N`: No indication the package will not be left due to security concerns.
    * 
* - * string post_office_state = 13; + * string dpv_no_secure_location = 34; * - * @return The bytes for postOfficeState. + * @return The bytes for dpvNoSecureLocation. */ @java.lang.Override - public com.google.protobuf.ByteString getPostOfficeStateBytes() { - java.lang.Object ref = postOfficeState_; + public com.google.protobuf.ByteString getDpvNoSecureLocationBytes() { + java.lang.Object ref = dpvNoSecureLocation_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - postOfficeState_ = b; + dpvNoSecureLocation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int ABBREVIATED_CITY_FIELD_NUMBER = 14; + public static final int DPV_PBSA_FIELD_NUMBER = 35; @SuppressWarnings("serial") - private volatile java.lang.Object abbreviatedCity_ = ""; + private volatile java.lang.Object dpvPbsa_ = ""; /** * * *
-   * Abbreviated city.
+   * Indicates the address was matched to PBSA record.
+   * Returns a single character.
+   *
+   * * `Y`: The address was matched to PBSA record.
+   * * `N`: The address was not matched to PBSA record.
    * 
* - * string abbreviated_city = 14; + * string dpv_pbsa = 35; * - * @return The abbreviatedCity. + * @return The dpvPbsa. */ @java.lang.Override - public java.lang.String getAbbreviatedCity() { - java.lang.Object ref = abbreviatedCity_; + public java.lang.String getDpvPbsa() { + java.lang.Object ref = dpvPbsa_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - abbreviatedCity_ = s; + dpvPbsa_ = s; return s; } } @@ -855,50 +932,58 @@ public java.lang.String getAbbreviatedCity() { * * *
-   * Abbreviated city.
+   * Indicates the address was matched to PBSA record.
+   * Returns a single character.
+   *
+   * * `Y`: The address was matched to PBSA record.
+   * * `N`: The address was not matched to PBSA record.
    * 
* - * string abbreviated_city = 14; + * string dpv_pbsa = 35; * - * @return The bytes for abbreviatedCity. + * @return The bytes for dpvPbsa. */ @java.lang.Override - public com.google.protobuf.ByteString getAbbreviatedCityBytes() { - java.lang.Object ref = abbreviatedCity_; + public com.google.protobuf.ByteString getDpvPbsaBytes() { + java.lang.Object ref = dpvPbsa_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - abbreviatedCity_ = b; + dpvPbsa_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int FIPS_COUNTY_CODE_FIELD_NUMBER = 15; + public static final int DPV_DOOR_NOT_ACCESSIBLE_FIELD_NUMBER = 36; @SuppressWarnings("serial") - private volatile java.lang.Object fipsCountyCode_ = ""; + private volatile java.lang.Object dpvDoorNotAccessible_ = ""; /** * * *
-   * FIPS county code.
+   * Flag indicates addresses where USPS cannot knock on a door to deliver mail.
+   * Returns a single character.
+   *
+   * * `Y`: The door is not accessible.
+   * * `N`: No indication the door is not accessible.
    * 
* - * string fips_county_code = 15; + * string dpv_door_not_accessible = 36; * - * @return The fipsCountyCode. + * @return The dpvDoorNotAccessible. */ @java.lang.Override - public java.lang.String getFipsCountyCode() { - java.lang.Object ref = fipsCountyCode_; + public java.lang.String getDpvDoorNotAccessible() { + java.lang.Object ref = dpvDoorNotAccessible_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - fipsCountyCode_ = s; + dpvDoorNotAccessible_ = s; return s; } } @@ -906,50 +991,67 @@ public java.lang.String getFipsCountyCode() { * * *
-   * FIPS county code.
+   * Flag indicates addresses where USPS cannot knock on a door to deliver mail.
+   * Returns a single character.
+   *
+   * * `Y`: The door is not accessible.
+   * * `N`: No indication the door is not accessible.
    * 
* - * string fips_county_code = 15; + * string dpv_door_not_accessible = 36; * - * @return The bytes for fipsCountyCode. + * @return The bytes for dpvDoorNotAccessible. */ @java.lang.Override - public com.google.protobuf.ByteString getFipsCountyCodeBytes() { - java.lang.Object ref = fipsCountyCode_; + public com.google.protobuf.ByteString getDpvDoorNotAccessibleBytes() { + java.lang.Object ref = dpvDoorNotAccessible_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - fipsCountyCode_ = b; + dpvDoorNotAccessible_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int COUNTY_FIELD_NUMBER = 16; + public static final int DPV_ENHANCED_DELIVERY_CODE_FIELD_NUMBER = 37; @SuppressWarnings("serial") - private volatile java.lang.Object county_ = ""; + private volatile java.lang.Object dpvEnhancedDeliveryCode_ = ""; /** * * *
-   * County name.
+   * Indicates that more than one DPV return code is valid for the address.
+   * 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,  or a single
+   * trailing alpha on a primary number was dropped to make a DPV match and
+   * secondary information required.
+   * * `D`: Address was DPV confirmed for the primary number only, and the
+   * secondary number information was missing.
+   * * `R`: Address confirmed but assigned to phantom route R777 and R779 and
+   * USPS delivery is not provided.
    * 
* - * string county = 16; + * string dpv_enhanced_delivery_code = 37; * - * @return The county. + * @return The dpvEnhancedDeliveryCode. */ @java.lang.Override - public java.lang.String getCounty() { - java.lang.Object ref = county_; + public java.lang.String getDpvEnhancedDeliveryCode() { + java.lang.Object ref = dpvEnhancedDeliveryCode_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - county_ = s; + dpvEnhancedDeliveryCode_ = s; return s; } } @@ -957,50 +1059,73 @@ public java.lang.String getCounty() { * * *
-   * County name.
+   * Indicates that more than one DPV return code is valid for the address.
+   * 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,  or a single
+   * trailing alpha on a primary number was dropped to make a DPV match and
+   * secondary information required.
+   * * `D`: Address was DPV confirmed for the primary number only, and the
+   * secondary number information was missing.
+   * * `R`: Address confirmed but assigned to phantom route R777 and R779 and
+   * USPS delivery is not provided.
    * 
* - * string county = 16; + * string dpv_enhanced_delivery_code = 37; * - * @return The bytes for county. + * @return The bytes for dpvEnhancedDeliveryCode. */ @java.lang.Override - public com.google.protobuf.ByteString getCountyBytes() { - java.lang.Object ref = county_; + public com.google.protobuf.ByteString getDpvEnhancedDeliveryCodeBytes() { + java.lang.Object ref = dpvEnhancedDeliveryCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - county_ = b; + dpvEnhancedDeliveryCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int ELOT_NUMBER_FIELD_NUMBER = 17; + public static final int CARRIER_ROUTE_FIELD_NUMBER = 9; @SuppressWarnings("serial") - private volatile java.lang.Object elotNumber_ = ""; + private volatile java.lang.Object carrierRoute_ = ""; /** * * *
-   * Enhanced Line of Travel (eLOT) number.
+   * 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 elot_number = 17; + * string carrier_route = 9; * - * @return The elotNumber. + * @return The carrierRoute. */ @java.lang.Override - public java.lang.String getElotNumber() { - java.lang.Object ref = elotNumber_; + public java.lang.String getCarrierRoute() { + java.lang.Object ref = carrierRoute_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - elotNumber_ = s; + carrierRoute_ = s; return s; } } @@ -1008,50 +1133,60 @@ public java.lang.String getElotNumber() { * * *
-   * Enhanced Line of Travel (eLOT) number.
+   * 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 elot_number = 17; + * string carrier_route = 9; * - * @return The bytes for elotNumber. + * @return The bytes for carrierRoute. */ @java.lang.Override - public com.google.protobuf.ByteString getElotNumberBytes() { - java.lang.Object ref = elotNumber_; + public com.google.protobuf.ByteString getCarrierRouteBytes() { + java.lang.Object ref = carrierRoute_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - elotNumber_ = b; + carrierRoute_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int ELOT_FLAG_FIELD_NUMBER = 18; + public static final int CARRIER_ROUTE_INDICATOR_FIELD_NUMBER = 10; @SuppressWarnings("serial") - private volatile java.lang.Object elotFlag_ = ""; + private volatile java.lang.Object carrierRouteIndicator_ = ""; /** * * *
-   * eLOT Ascending/Descending Flag (A/D).
+   * Carrier route rate sort indicator.
    * 
* - * string elot_flag = 18; + * string carrier_route_indicator = 10; * - * @return The elotFlag. + * @return The carrierRouteIndicator. */ @java.lang.Override - public java.lang.String getElotFlag() { - java.lang.Object ref = elotFlag_; + public java.lang.String getCarrierRouteIndicator() { + java.lang.Object ref = carrierRouteIndicator_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - elotFlag_ = s; + carrierRouteIndicator_ = s; return s; } } @@ -1059,50 +1194,69 @@ public java.lang.String getElotFlag() { * * *
-   * eLOT Ascending/Descending Flag (A/D).
+   * Carrier route rate sort indicator.
    * 
* - * string elot_flag = 18; + * string carrier_route_indicator = 10; * - * @return The bytes for elotFlag. + * @return The bytes for carrierRouteIndicator. */ @java.lang.Override - public com.google.protobuf.ByteString getElotFlagBytes() { - java.lang.Object ref = elotFlag_; + public com.google.protobuf.ByteString getCarrierRouteIndicatorBytes() { + java.lang.Object ref = carrierRouteIndicator_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - elotFlag_ = b; + carrierRouteIndicator_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int LACS_LINK_RETURN_CODE_FIELD_NUMBER = 19; + public static final int EWS_NO_MATCH_FIELD_NUMBER = 11; + private boolean ewsNoMatch_ = false; + /** + * + * + *
+   * The delivery address is matchable, but the EWS file indicates that an exact
+   * match will be available soon.
+   * 
+ * + * bool ews_no_match = 11; + * + * @return The ewsNoMatch. + */ + @java.lang.Override + public boolean getEwsNoMatch() { + return ewsNoMatch_; + } + + public static final int POST_OFFICE_CITY_FIELD_NUMBER = 12; @SuppressWarnings("serial") - private volatile java.lang.Object lacsLinkReturnCode_ = ""; + private volatile java.lang.Object postOfficeCity_ = ""; /** * * *
-   * LACSLink return code.
+   * Main post office city.
    * 
* - * string lacs_link_return_code = 19; + * string post_office_city = 12; * - * @return The lacsLinkReturnCode. + * @return The postOfficeCity. */ @java.lang.Override - public java.lang.String getLacsLinkReturnCode() { - java.lang.Object ref = lacsLinkReturnCode_; + public java.lang.String getPostOfficeCity() { + java.lang.Object ref = postOfficeCity_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - lacsLinkReturnCode_ = s; + postOfficeCity_ = s; return s; } } @@ -1110,50 +1264,50 @@ public java.lang.String getLacsLinkReturnCode() { * * *
-   * LACSLink return code.
+   * Main post office city.
    * 
* - * string lacs_link_return_code = 19; + * string post_office_city = 12; * - * @return The bytes for lacsLinkReturnCode. + * @return The bytes for postOfficeCity. */ @java.lang.Override - public com.google.protobuf.ByteString getLacsLinkReturnCodeBytes() { - java.lang.Object ref = lacsLinkReturnCode_; + public com.google.protobuf.ByteString getPostOfficeCityBytes() { + java.lang.Object ref = postOfficeCity_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - lacsLinkReturnCode_ = b; + postOfficeCity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int LACS_LINK_INDICATOR_FIELD_NUMBER = 20; + public static final int POST_OFFICE_STATE_FIELD_NUMBER = 13; @SuppressWarnings("serial") - private volatile java.lang.Object lacsLinkIndicator_ = ""; + private volatile java.lang.Object postOfficeState_ = ""; /** * * *
-   * LACSLink indicator.
+   * Main post office state.
    * 
* - * string lacs_link_indicator = 20; + * string post_office_state = 13; * - * @return The lacsLinkIndicator. + * @return The postOfficeState. */ @java.lang.Override - public java.lang.String getLacsLinkIndicator() { - java.lang.Object ref = lacsLinkIndicator_; + public java.lang.String getPostOfficeState() { + java.lang.Object ref = postOfficeState_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - lacsLinkIndicator_ = s; + postOfficeState_ = s; return s; } } @@ -1161,72 +1315,50 @@ public java.lang.String getLacsLinkIndicator() { * * *
-   * LACSLink indicator.
+   * Main post office state.
    * 
* - * string lacs_link_indicator = 20; + * string post_office_state = 13; * - * @return The bytes for lacsLinkIndicator. + * @return The bytes for postOfficeState. */ @java.lang.Override - public com.google.protobuf.ByteString getLacsLinkIndicatorBytes() { - java.lang.Object ref = lacsLinkIndicator_; + public com.google.protobuf.ByteString getPostOfficeStateBytes() { + java.lang.Object ref = postOfficeState_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - lacsLinkIndicator_ = b; + postOfficeState_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int PO_BOX_ONLY_POSTAL_CODE_FIELD_NUMBER = 21; - private boolean poBoxOnlyPostalCode_ = false; - /** - * - * - *
-   * PO Box only postal code.
-   * 
- * - * bool po_box_only_postal_code = 21; - * - * @return The poBoxOnlyPostalCode. - */ - @java.lang.Override - public boolean getPoBoxOnlyPostalCode() { - return poBoxOnlyPostalCode_; - } - - public static final int SUITELINK_FOOTNOTE_FIELD_NUMBER = 22; + public static final int ABBREVIATED_CITY_FIELD_NUMBER = 14; @SuppressWarnings("serial") - private volatile java.lang.Object suitelinkFootnote_ = ""; + private volatile java.lang.Object abbreviatedCity_ = ""; /** * * *
-   * 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.
+   * Abbreviated city.
    * 
* - * string suitelink_footnote = 22; + * string abbreviated_city = 14; * - * @return The suitelinkFootnote. + * @return The abbreviatedCity. */ @java.lang.Override - public java.lang.String getSuitelinkFootnote() { - java.lang.Object ref = suitelinkFootnote_; + public java.lang.String getAbbreviatedCity() { + java.lang.Object ref = abbreviatedCity_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - suitelinkFootnote_ = s; + abbreviatedCity_ = s; return s; } } @@ -1234,54 +1366,50 @@ public java.lang.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.
+   * Abbreviated city.
    * 
* - * string suitelink_footnote = 22; + * string abbreviated_city = 14; * - * @return The bytes for suitelinkFootnote. + * @return The bytes for abbreviatedCity. */ @java.lang.Override - public com.google.protobuf.ByteString getSuitelinkFootnoteBytes() { - java.lang.Object ref = suitelinkFootnote_; + public com.google.protobuf.ByteString getAbbreviatedCityBytes() { + java.lang.Object ref = abbreviatedCity_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - suitelinkFootnote_ = b; + abbreviatedCity_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int PMB_DESIGNATOR_FIELD_NUMBER = 23; + public static final int FIPS_COUNTY_CODE_FIELD_NUMBER = 15; @SuppressWarnings("serial") - private volatile java.lang.Object pmbDesignator_ = ""; + private volatile java.lang.Object fipsCountyCode_ = ""; /** * * *
-   * PMB (Private Mail Box) unit designator.
+   * FIPS county code.
    * 
* - * string pmb_designator = 23; + * string fips_county_code = 15; * - * @return The pmbDesignator. + * @return The fipsCountyCode. */ @java.lang.Override - public java.lang.String getPmbDesignator() { - java.lang.Object ref = pmbDesignator_; + public java.lang.String getFipsCountyCode() { + java.lang.Object ref = fipsCountyCode_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - pmbDesignator_ = s; + fipsCountyCode_ = s; return s; } } @@ -1289,50 +1417,50 @@ public java.lang.String getPmbDesignator() { * * *
-   * PMB (Private Mail Box) unit designator.
+   * FIPS county code.
    * 
* - * string pmb_designator = 23; + * string fips_county_code = 15; * - * @return The bytes for pmbDesignator. + * @return The bytes for fipsCountyCode. */ @java.lang.Override - public com.google.protobuf.ByteString getPmbDesignatorBytes() { - java.lang.Object ref = pmbDesignator_; + public com.google.protobuf.ByteString getFipsCountyCodeBytes() { + java.lang.Object ref = fipsCountyCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pmbDesignator_ = b; + fipsCountyCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int PMB_NUMBER_FIELD_NUMBER = 24; + public static final int COUNTY_FIELD_NUMBER = 16; @SuppressWarnings("serial") - private volatile java.lang.Object pmbNumber_ = ""; + private volatile java.lang.Object county_ = ""; /** * * *
-   * PMB (Private Mail Box) number;
+   * County name.
    * 
* - * string pmb_number = 24; + * string county = 16; * - * @return The pmbNumber. + * @return The county. */ @java.lang.Override - public java.lang.String getPmbNumber() { - java.lang.Object ref = pmbNumber_; + public java.lang.String getCounty() { + java.lang.Object ref = county_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - pmbNumber_ = s; + county_ = s; return s; } } @@ -1340,62 +1468,50 @@ public java.lang.String getPmbNumber() { * * *
-   * PMB (Private Mail Box) number;
+   * County name.
    * 
* - * string pmb_number = 24; + * string county = 16; * - * @return The bytes for pmbNumber. + * @return The bytes for county. */ @java.lang.Override - public com.google.protobuf.ByteString getPmbNumberBytes() { - java.lang.Object ref = pmbNumber_; + public com.google.protobuf.ByteString getCountyBytes() { + java.lang.Object ref = county_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - pmbNumber_ = b; + county_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int ADDRESS_RECORD_TYPE_FIELD_NUMBER = 25; + public static final int ELOT_NUMBER_FIELD_NUMBER = 17; @SuppressWarnings("serial") - private volatile java.lang.Object addressRecordType_ = ""; + private volatile java.lang.Object elotNumber_ = ""; /** * * *
-   * 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.
+   * Enhanced Line of Travel (eLOT) number.
    * 
* - * string address_record_type = 25; + * string elot_number = 17; * - * @return The addressRecordType. + * @return The elotNumber. */ @java.lang.Override - public java.lang.String getAddressRecordType() { - java.lang.Object ref = addressRecordType_; + public java.lang.String getElotNumber() { + java.lang.Object ref = elotNumber_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - addressRecordType_ = s; + elotNumber_ = s; return s; } } @@ -1403,85 +1519,101 @@ public java.lang.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.
+   * Enhanced Line of Travel (eLOT) number.
    * 
* - * string address_record_type = 25; + * string elot_number = 17; * - * @return The bytes for addressRecordType. + * @return The bytes for elotNumber. */ @java.lang.Override - public com.google.protobuf.ByteString getAddressRecordTypeBytes() { - java.lang.Object ref = addressRecordType_; + public com.google.protobuf.ByteString getElotNumberBytes() { + java.lang.Object ref = elotNumber_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - addressRecordType_ = b; + elotNumber_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int DEFAULT_ADDRESS_FIELD_NUMBER = 26; - private boolean defaultAddress_ = false; + public static final int ELOT_FLAG_FIELD_NUMBER = 18; + + @SuppressWarnings("serial") + private volatile java.lang.Object elotFlag_ = ""; /** * * *
-   * Indicator that a default address was found, but more specific addresses
-   * exists.
+   * eLOT Ascending/Descending Flag (A/D).
    * 
* - * bool default_address = 26; + * string elot_flag = 18; * - * @return The defaultAddress. + * @return The elotFlag. */ @java.lang.Override - public boolean getDefaultAddress() { - return defaultAddress_; + public java.lang.String getElotFlag() { + java.lang.Object ref = elotFlag_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + elotFlag_ = s; + return s; + } + } + /** + * + * + *
+   * eLOT Ascending/Descending Flag (A/D).
+   * 
+ * + * string elot_flag = 18; + * + * @return The bytes for elotFlag. + */ + @java.lang.Override + public com.google.protobuf.ByteString getElotFlagBytes() { + java.lang.Object ref = elotFlag_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + elotFlag_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - public static final int ERROR_MESSAGE_FIELD_NUMBER = 27; + public static final int LACS_LINK_RETURN_CODE_FIELD_NUMBER = 19; @SuppressWarnings("serial") - private volatile java.lang.Object errorMessage_ = ""; + private volatile java.lang.Object lacsLinkReturnCode_ = ""; /** * * *
-   * 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.
+   * LACSLink return code.
    * 
* - * string error_message = 27; + * string lacs_link_return_code = 19; * - * @return The errorMessage. + * @return The lacsLinkReturnCode. */ @java.lang.Override - public java.lang.String getErrorMessage() { - java.lang.Object ref = errorMessage_; + public java.lang.String getLacsLinkReturnCode() { + java.lang.Object ref = lacsLinkReturnCode_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - errorMessage_ = s; + lacsLinkReturnCode_ = s; return s; } } @@ -1489,1134 +1621,2775 @@ public java.lang.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.
+   * LACSLink return code.
    * 
* - * string error_message = 27; + * string lacs_link_return_code = 19; * - * @return The bytes for errorMessage. + * @return The bytes for lacsLinkReturnCode. */ @java.lang.Override - public com.google.protobuf.ByteString getErrorMessageBytes() { - java.lang.Object ref = errorMessage_; + public com.google.protobuf.ByteString getLacsLinkReturnCodeBytes() { + java.lang.Object ref = lacsLinkReturnCode_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - errorMessage_ = b; + lacsLinkReturnCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } - public static final int CASS_PROCESSED_FIELD_NUMBER = 28; - private boolean cassProcessed_ = false; + public static final int LACS_LINK_INDICATOR_FIELD_NUMBER = 20; + + @SuppressWarnings("serial") + private volatile java.lang.Object lacsLinkIndicator_ = ""; /** * * *
-   * Indicator that the request has been CASS processed.
+   * LACSLink indicator.
    * 
* - * bool cass_processed = 28; + * string lacs_link_indicator = 20; * - * @return The cassProcessed. + * @return The lacsLinkIndicator. */ @java.lang.Override - public boolean getCassProcessed() { - return cassProcessed_; + public java.lang.String getLacsLinkIndicator() { + java.lang.Object ref = lacsLinkIndicator_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + lacsLinkIndicator_ = s; + return s; + } } - - private byte memoizedIsInitialized = -1; - + /** + * + * + *
+   * LACSLink indicator.
+   * 
+ * + * string lacs_link_indicator = 20; + * + * @return The bytes for lacsLinkIndicator. + */ @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + public com.google.protobuf.ByteString getLacsLinkIndicatorBytes() { + java.lang.Object ref = lacsLinkIndicator_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + lacsLinkIndicator_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } - memoizedIsInitialized = 1; - return true; + public static final int PO_BOX_ONLY_POSTAL_CODE_FIELD_NUMBER = 21; + private boolean poBoxOnlyPostalCode_ = false; + /** + * + * + *
+   * PO Box only postal code.
+   * 
+ * + * bool po_box_only_postal_code = 21; + * + * @return The poBoxOnlyPostalCode. + */ + @java.lang.Override + public boolean getPoBoxOnlyPostalCode() { + return poBoxOnlyPostalCode_; } + public static final int SUITELINK_FOOTNOTE_FIELD_NUMBER = 22; + + @SuppressWarnings("serial") + private volatile java.lang.Object suitelinkFootnote_ = ""; + /** + * + * + *
+   * 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; + * + * @return The suitelinkFootnote. + */ @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (((bitField0_ & 0x00000001) != 0)) { - output.writeMessage(1, getStandardizedAddress()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPointCode_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deliveryPointCode_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPointCheckDigit_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deliveryPointCheckDigit_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvConfirmation_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dpvConfirmation_); + public java.lang.String getSuitelinkFootnote() { + java.lang.Object ref = suitelinkFootnote_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + suitelinkFootnote_ = s; + return s; } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvFootnote_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dpvFootnote_); + } + /** + * + * + *
+   * 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; + * + * @return The bytes for suitelinkFootnote. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSuitelinkFootnoteBytes() { + java.lang.Object ref = suitelinkFootnote_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + suitelinkFootnote_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvCmra_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, dpvCmra_); + } + + public static final int PMB_DESIGNATOR_FIELD_NUMBER = 23; + + @SuppressWarnings("serial") + private volatile java.lang.Object pmbDesignator_ = ""; + /** + * + * + *
+   * PMB (Private Mail Box) unit designator.
+   * 
+ * + * string pmb_designator = 23; + * + * @return The pmbDesignator. + */ + @java.lang.Override + public java.lang.String getPmbDesignator() { + java.lang.Object ref = pmbDesignator_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pmbDesignator_ = s; + return s; } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvVacant_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 7, dpvVacant_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvNoStat_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, dpvNoStat_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(carrierRoute_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 9, carrierRoute_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(carrierRouteIndicator_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 10, carrierRouteIndicator_); - } - if (ewsNoMatch_ != false) { - output.writeBool(11, ewsNoMatch_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postOfficeCity_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 12, postOfficeCity_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postOfficeState_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 13, postOfficeState_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(abbreviatedCity_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 14, abbreviatedCity_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fipsCountyCode_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 15, fipsCountyCode_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(county_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 16, county_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(elotNumber_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 17, elotNumber_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(elotFlag_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 18, elotFlag_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lacsLinkReturnCode_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 19, lacsLinkReturnCode_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lacsLinkIndicator_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 20, lacsLinkIndicator_); - } - if (poBoxOnlyPostalCode_ != false) { - output.writeBool(21, poBoxOnlyPostalCode_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suitelinkFootnote_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 22, suitelinkFootnote_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pmbDesignator_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 23, pmbDesignator_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pmbNumber_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 24, pmbNumber_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addressRecordType_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 25, addressRecordType_); - } - if (defaultAddress_ != false) { - output.writeBool(26, defaultAddress_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 27, errorMessage_); - } - if (cassProcessed_ != false) { - output.writeBool(28, cassProcessed_); - } - getUnknownFields().writeTo(output); } - + /** + * + * + *
+   * PMB (Private Mail Box) unit designator.
+   * 
+ * + * string pmb_designator = 23; + * + * @return The bytes for pmbDesignator. + */ @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStandardizedAddress()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPointCode_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deliveryPointCode_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPointCheckDigit_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, deliveryPointCheckDigit_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvConfirmation_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dpvConfirmation_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvFootnote_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dpvFootnote_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvCmra_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, dpvCmra_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvVacant_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, dpvVacant_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvNoStat_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, dpvNoStat_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(carrierRoute_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, carrierRoute_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(carrierRouteIndicator_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, carrierRouteIndicator_); - } - if (ewsNoMatch_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, ewsNoMatch_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postOfficeCity_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, postOfficeCity_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postOfficeState_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, postOfficeState_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(abbreviatedCity_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, abbreviatedCity_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fipsCountyCode_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, fipsCountyCode_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(county_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, county_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(elotNumber_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, elotNumber_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(elotFlag_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, elotFlag_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lacsLinkReturnCode_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, lacsLinkReturnCode_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lacsLinkIndicator_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, lacsLinkIndicator_); - } - if (poBoxOnlyPostalCode_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(21, poBoxOnlyPostalCode_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suitelinkFootnote_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, suitelinkFootnote_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pmbDesignator_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, pmbDesignator_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pmbNumber_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, pmbNumber_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addressRecordType_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, addressRecordType_); - } - if (defaultAddress_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(26, defaultAddress_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, errorMessage_); - } - if (cassProcessed_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(28, cassProcessed_); + public com.google.protobuf.ByteString getPmbDesignatorBytes() { + java.lang.Object ref = pmbDesignator_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pmbDesignator_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; } + public static final int PMB_NUMBER_FIELD_NUMBER = 24; + + @SuppressWarnings("serial") + private volatile java.lang.Object pmbNumber_ = ""; + /** + * + * + *
+   * PMB (Private Mail Box) number;
+   * 
+ * + * string pmb_number = 24; + * + * @return The pmbNumber. + */ @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; + public java.lang.String getPmbNumber() { + java.lang.Object ref = pmbNumber_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pmbNumber_ = s; + return s; } - if (!(obj instanceof com.google.maps.addressvalidation.v1.UspsData)) { - return super.equals(obj); + } + /** + * + * + *
+   * PMB (Private Mail Box) number;
+   * 
+ * + * string pmb_number = 24; + * + * @return The bytes for pmbNumber. + */ + @java.lang.Override + public com.google.protobuf.ByteString getPmbNumberBytes() { + java.lang.Object ref = pmbNumber_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + pmbNumber_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - com.google.maps.addressvalidation.v1.UspsData other = - (com.google.maps.addressvalidation.v1.UspsData) obj; + } - if (hasStandardizedAddress() != other.hasStandardizedAddress()) return false; - if (hasStandardizedAddress()) { - if (!getStandardizedAddress().equals(other.getStandardizedAddress())) return false; - } - if (!getDeliveryPointCode().equals(other.getDeliveryPointCode())) return false; - if (!getDeliveryPointCheckDigit().equals(other.getDeliveryPointCheckDigit())) return false; - if (!getDpvConfirmation().equals(other.getDpvConfirmation())) return false; - if (!getDpvFootnote().equals(other.getDpvFootnote())) return false; - if (!getDpvCmra().equals(other.getDpvCmra())) return false; - if (!getDpvVacant().equals(other.getDpvVacant())) return false; - if (!getDpvNoStat().equals(other.getDpvNoStat())) return false; - if (!getCarrierRoute().equals(other.getCarrierRoute())) return false; - if (!getCarrierRouteIndicator().equals(other.getCarrierRouteIndicator())) return false; - if (getEwsNoMatch() != other.getEwsNoMatch()) return false; - if (!getPostOfficeCity().equals(other.getPostOfficeCity())) return false; - if (!getPostOfficeState().equals(other.getPostOfficeState())) return false; - if (!getAbbreviatedCity().equals(other.getAbbreviatedCity())) return false; - if (!getFipsCountyCode().equals(other.getFipsCountyCode())) return false; - if (!getCounty().equals(other.getCounty())) return false; - if (!getElotNumber().equals(other.getElotNumber())) return false; - if (!getElotFlag().equals(other.getElotFlag())) return false; - if (!getLacsLinkReturnCode().equals(other.getLacsLinkReturnCode())) return false; - if (!getLacsLinkIndicator().equals(other.getLacsLinkIndicator())) return false; - if (getPoBoxOnlyPostalCode() != other.getPoBoxOnlyPostalCode()) return false; - if (!getSuitelinkFootnote().equals(other.getSuitelinkFootnote())) return false; - if (!getPmbDesignator().equals(other.getPmbDesignator())) return false; - if (!getPmbNumber().equals(other.getPmbNumber())) return false; - if (!getAddressRecordType().equals(other.getAddressRecordType())) return false; - if (getDefaultAddress() != other.getDefaultAddress()) return false; - if (!getErrorMessage().equals(other.getErrorMessage())) return false; - if (getCassProcessed() != other.getCassProcessed()) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } + public static final int ADDRESS_RECORD_TYPE_FIELD_NUMBER = 25; + @SuppressWarnings("serial") + private volatile java.lang.Object addressRecordType_ = ""; + /** + * + * + *
+   * 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; + * + * @return The addressRecordType. + */ @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasStandardizedAddress()) { - hash = (37 * hash) + STANDARDIZED_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + getStandardizedAddress().hashCode(); + public java.lang.String getAddressRecordType() { + java.lang.Object ref = addressRecordType_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + addressRecordType_ = s; + return s; } - hash = (37 * hash) + DELIVERY_POINT_CODE_FIELD_NUMBER; - hash = (53 * hash) + getDeliveryPointCode().hashCode(); - hash = (37 * hash) + DELIVERY_POINT_CHECK_DIGIT_FIELD_NUMBER; - hash = (53 * hash) + getDeliveryPointCheckDigit().hashCode(); - hash = (37 * hash) + DPV_CONFIRMATION_FIELD_NUMBER; - hash = (53 * hash) + getDpvConfirmation().hashCode(); - hash = (37 * hash) + DPV_FOOTNOTE_FIELD_NUMBER; - hash = (53 * hash) + getDpvFootnote().hashCode(); - hash = (37 * hash) + DPV_CMRA_FIELD_NUMBER; - hash = (53 * hash) + getDpvCmra().hashCode(); - hash = (37 * hash) + DPV_VACANT_FIELD_NUMBER; - hash = (53 * hash) + getDpvVacant().hashCode(); - hash = (37 * hash) + DPV_NO_STAT_FIELD_NUMBER; - hash = (53 * hash) + getDpvNoStat().hashCode(); - hash = (37 * hash) + CARRIER_ROUTE_FIELD_NUMBER; - hash = (53 * hash) + getCarrierRoute().hashCode(); - hash = (37 * hash) + CARRIER_ROUTE_INDICATOR_FIELD_NUMBER; - hash = (53 * hash) + getCarrierRouteIndicator().hashCode(); - hash = (37 * hash) + EWS_NO_MATCH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEwsNoMatch()); - hash = (37 * hash) + POST_OFFICE_CITY_FIELD_NUMBER; - hash = (53 * hash) + getPostOfficeCity().hashCode(); - hash = (37 * hash) + POST_OFFICE_STATE_FIELD_NUMBER; - hash = (53 * hash) + getPostOfficeState().hashCode(); - hash = (37 * hash) + ABBREVIATED_CITY_FIELD_NUMBER; - hash = (53 * hash) + getAbbreviatedCity().hashCode(); - hash = (37 * hash) + FIPS_COUNTY_CODE_FIELD_NUMBER; - hash = (53 * hash) + getFipsCountyCode().hashCode(); - hash = (37 * hash) + COUNTY_FIELD_NUMBER; - hash = (53 * hash) + getCounty().hashCode(); - hash = (37 * hash) + ELOT_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + getElotNumber().hashCode(); - hash = (37 * hash) + ELOT_FLAG_FIELD_NUMBER; - hash = (53 * hash) + getElotFlag().hashCode(); - hash = (37 * hash) + LACS_LINK_RETURN_CODE_FIELD_NUMBER; - hash = (53 * hash) + getLacsLinkReturnCode().hashCode(); - hash = (37 * hash) + LACS_LINK_INDICATOR_FIELD_NUMBER; - hash = (53 * hash) + getLacsLinkIndicator().hashCode(); - hash = (37 * hash) + PO_BOX_ONLY_POSTAL_CODE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPoBoxOnlyPostalCode()); - hash = (37 * hash) + SUITELINK_FOOTNOTE_FIELD_NUMBER; - hash = (53 * hash) + getSuitelinkFootnote().hashCode(); - hash = (37 * hash) + PMB_DESIGNATOR_FIELD_NUMBER; - hash = (53 * hash) + getPmbDesignator().hashCode(); - hash = (37 * hash) + PMB_NUMBER_FIELD_NUMBER; - hash = (53 * hash) + getPmbNumber().hashCode(); - hash = (37 * hash) + ADDRESS_RECORD_TYPE_FIELD_NUMBER; - hash = (53 * hash) + getAddressRecordType().hashCode(); - hash = (37 * hash) + DEFAULT_ADDRESS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDefaultAddress()); - hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; - hash = (53 * hash) + getErrorMessage().hashCode(); - hash = (37 * hash) + CASS_PROCESSED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCassProcessed()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.maps.addressvalidation.v1.UspsData parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.maps.addressvalidation.v1.UspsData parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.maps.addressvalidation.v1.UspsData parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.maps.addressvalidation.v1.UspsData parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.maps.addressvalidation.v1.UspsData parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.maps.addressvalidation.v1.UspsData parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.maps.addressvalidation.v1.UspsData prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - + /** + * + * + *
+   * 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; + * + * @return The bytes for addressRecordType. + */ @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + public com.google.protobuf.ByteString getAddressRecordTypeBytes() { + java.lang.Object ref = addressRecordType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + addressRecordType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } + public static final int DEFAULT_ADDRESS_FIELD_NUMBER = 26; + private boolean defaultAddress_ = false; /** * * *
-   * 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.
+   * Indicator that a default address was found, but more specific addresses
+   * exists.
    * 
* - * Protobuf type {@code google.maps.addressvalidation.v1.UspsData} + * bool default_address = 26; + * + * @return The defaultAddress. */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.UspsData) - com.google.maps.addressvalidation.v1.UspsDataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; - } + @java.lang.Override + public boolean getDefaultAddress() { + return defaultAddress_; + } - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.maps.addressvalidation.v1.UspsData.class, - com.google.maps.addressvalidation.v1.UspsData.Builder.class); - } + public static final int ERROR_MESSAGE_FIELD_NUMBER = 27; - // Construct using com.google.maps.addressvalidation.v1.UspsData.newBuilder() - private Builder() { - maybeForceBuilderInitialization(); + @SuppressWarnings("serial") + private volatile java.lang.Object errorMessage_ = ""; + /** + * + * + *
+   * 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; + * + * @return The errorMessage. + */ + @java.lang.Override + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; } - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - maybeForceBuilderInitialization(); + } + /** + * + * + *
+   * 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; + * + * @return The bytes for errorMessage. + */ + @java.lang.Override + public com.google.protobuf.ByteString getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } + } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getStandardizedAddressFieldBuilder(); - } - } + public static final int CASS_PROCESSED_FIELD_NUMBER = 28; + private boolean cassProcessed_ = false; + /** + * + * + *
+   * Indicator that the request has been CASS processed.
+   * 
+ * + * bool cass_processed = 28; + * + * @return The cassProcessed. + */ + @java.lang.Override + public boolean getCassProcessed() { + return cassProcessed_; + } - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - standardizedAddress_ = null; - if (standardizedAddressBuilder_ != null) { - standardizedAddressBuilder_.dispose(); - standardizedAddressBuilder_ = null; - } - deliveryPointCode_ = ""; - deliveryPointCheckDigit_ = ""; - dpvConfirmation_ = ""; - dpvFootnote_ = ""; - dpvCmra_ = ""; - dpvVacant_ = ""; - dpvNoStat_ = ""; - carrierRoute_ = ""; - carrierRouteIndicator_ = ""; - ewsNoMatch_ = false; - postOfficeCity_ = ""; - postOfficeState_ = ""; - abbreviatedCity_ = ""; - fipsCountyCode_ = ""; - county_ = ""; - elotNumber_ = ""; - elotFlag_ = ""; - lacsLinkReturnCode_ = ""; - lacsLinkIndicator_ = ""; - poBoxOnlyPostalCode_ = false; - suitelinkFootnote_ = ""; - pmbDesignator_ = ""; - pmbNumber_ = ""; - addressRecordType_ = ""; - defaultAddress_ = false; - errorMessage_ = ""; - cassProcessed_ = false; - return this; - } + private byte memoizedIsInitialized = -1; - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.maps.addressvalidation.v1.UspsDataProto - .internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; - } + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; - @java.lang.Override - public com.google.maps.addressvalidation.v1.UspsData getDefaultInstanceForType() { - return com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance(); - } + memoizedIsInitialized = 1; + return true; + } - @java.lang.Override - public com.google.maps.addressvalidation.v1.UspsData build() { - com.google.maps.addressvalidation.v1.UspsData result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (((bitField0_ & 0x00000001) != 0)) { + output.writeMessage(1, getStandardizedAddress()); } - - @java.lang.Override - public com.google.maps.addressvalidation.v1.UspsData buildPartial() { - com.google.maps.addressvalidation.v1.UspsData result = - new com.google.maps.addressvalidation.v1.UspsData(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPointCode_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deliveryPointCode_); } - - private void buildPartial0(com.google.maps.addressvalidation.v1.UspsData result) { - int from_bitField0_ = bitField0_; - int to_bitField0_ = 0; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.standardizedAddress_ = - standardizedAddressBuilder_ == null - ? standardizedAddress_ - : standardizedAddressBuilder_.build(); - to_bitField0_ |= 0x00000001; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.deliveryPointCode_ = deliveryPointCode_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.deliveryPointCheckDigit_ = deliveryPointCheckDigit_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.dpvConfirmation_ = dpvConfirmation_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.dpvFootnote_ = dpvFootnote_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.dpvCmra_ = dpvCmra_; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.dpvVacant_ = dpvVacant_; - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.dpvNoStat_ = dpvNoStat_; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.carrierRoute_ = carrierRoute_; - } - if (((from_bitField0_ & 0x00000200) != 0)) { - result.carrierRouteIndicator_ = carrierRouteIndicator_; - } - if (((from_bitField0_ & 0x00000400) != 0)) { - result.ewsNoMatch_ = ewsNoMatch_; - } - if (((from_bitField0_ & 0x00000800) != 0)) { - result.postOfficeCity_ = postOfficeCity_; - } - if (((from_bitField0_ & 0x00001000) != 0)) { - result.postOfficeState_ = postOfficeState_; - } - if (((from_bitField0_ & 0x00002000) != 0)) { - result.abbreviatedCity_ = abbreviatedCity_; - } - if (((from_bitField0_ & 0x00004000) != 0)) { - result.fipsCountyCode_ = fipsCountyCode_; - } - if (((from_bitField0_ & 0x00008000) != 0)) { - result.county_ = county_; - } - if (((from_bitField0_ & 0x00010000) != 0)) { - result.elotNumber_ = elotNumber_; - } - if (((from_bitField0_ & 0x00020000) != 0)) { - result.elotFlag_ = elotFlag_; - } - if (((from_bitField0_ & 0x00040000) != 0)) { - result.lacsLinkReturnCode_ = lacsLinkReturnCode_; - } - if (((from_bitField0_ & 0x00080000) != 0)) { - result.lacsLinkIndicator_ = lacsLinkIndicator_; - } - if (((from_bitField0_ & 0x00100000) != 0)) { - result.poBoxOnlyPostalCode_ = poBoxOnlyPostalCode_; - } - if (((from_bitField0_ & 0x00200000) != 0)) { - result.suitelinkFootnote_ = suitelinkFootnote_; - } - if (((from_bitField0_ & 0x00400000) != 0)) { - result.pmbDesignator_ = pmbDesignator_; - } - if (((from_bitField0_ & 0x00800000) != 0)) { - result.pmbNumber_ = pmbNumber_; - } - if (((from_bitField0_ & 0x01000000) != 0)) { - result.addressRecordType_ = addressRecordType_; - } - if (((from_bitField0_ & 0x02000000) != 0)) { - result.defaultAddress_ = defaultAddress_; - } - if (((from_bitField0_ & 0x04000000) != 0)) { - result.errorMessage_ = errorMessage_; - } - if (((from_bitField0_ & 0x08000000) != 0)) { - result.cassProcessed_ = cassProcessed_; - } - result.bitField0_ |= to_bitField0_; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPointCheckDigit_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, deliveryPointCheckDigit_); } - - @java.lang.Override - public Builder clone() { - return super.clone(); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvConfirmation_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, dpvConfirmation_); } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvFootnote_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dpvFootnote_); } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvCmra_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, dpvCmra_); } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvVacant_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, dpvVacant_); } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvNoStat_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, dpvNoStat_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(carrierRoute_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 9, carrierRoute_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(carrierRouteIndicator_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, carrierRouteIndicator_); + } + if (ewsNoMatch_ != false) { + output.writeBool(11, ewsNoMatch_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postOfficeCity_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 12, postOfficeCity_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postOfficeState_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 13, postOfficeState_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(abbreviatedCity_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 14, abbreviatedCity_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fipsCountyCode_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 15, fipsCountyCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(county_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 16, county_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(elotNumber_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 17, elotNumber_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(elotFlag_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 18, elotFlag_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lacsLinkReturnCode_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 19, lacsLinkReturnCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lacsLinkIndicator_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 20, lacsLinkIndicator_); + } + if (poBoxOnlyPostalCode_ != false) { + output.writeBool(21, poBoxOnlyPostalCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suitelinkFootnote_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 22, suitelinkFootnote_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pmbDesignator_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 23, pmbDesignator_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pmbNumber_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 24, pmbNumber_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addressRecordType_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 25, addressRecordType_); + } + if (defaultAddress_ != false) { + output.writeBool(26, defaultAddress_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 27, errorMessage_); + } + if (cassProcessed_ != false) { + output.writeBool(28, cassProcessed_); + } + if (dpvNoStatReasonCode_ != 0) { + output.writeInt32(29, dpvNoStatReasonCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvDrop_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 30, dpvDrop_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvThrowback_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 31, dpvThrowback_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvNonDeliveryDays_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 32, dpvNonDeliveryDays_); + } + if (dpvNonDeliveryDaysValues_ != 0) { + output.writeInt32(33, dpvNonDeliveryDaysValues_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvNoSecureLocation_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 34, dpvNoSecureLocation_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvPbsa_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 35, dpvPbsa_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvDoorNotAccessible_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 36, dpvDoorNotAccessible_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvEnhancedDeliveryCode_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 37, dpvEnhancedDeliveryCode_); + } + getUnknownFields().writeTo(output); + } - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (((bitField0_ & 0x00000001) != 0)) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStandardizedAddress()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPointCode_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deliveryPointCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deliveryPointCheckDigit_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, deliveryPointCheckDigit_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvConfirmation_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, dpvConfirmation_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvFootnote_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dpvFootnote_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvCmra_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, dpvCmra_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvVacant_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, dpvVacant_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvNoStat_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, dpvNoStat_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(carrierRoute_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, carrierRoute_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(carrierRouteIndicator_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, carrierRouteIndicator_); + } + if (ewsNoMatch_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(11, ewsNoMatch_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postOfficeCity_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, postOfficeCity_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(postOfficeState_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, postOfficeState_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(abbreviatedCity_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, abbreviatedCity_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fipsCountyCode_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, fipsCountyCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(county_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, county_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(elotNumber_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(17, elotNumber_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(elotFlag_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, elotFlag_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lacsLinkReturnCode_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(19, lacsLinkReturnCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lacsLinkIndicator_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(20, lacsLinkIndicator_); + } + if (poBoxOnlyPostalCode_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(21, poBoxOnlyPostalCode_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(suitelinkFootnote_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, suitelinkFootnote_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pmbDesignator_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(23, pmbDesignator_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pmbNumber_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(24, pmbNumber_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(addressRecordType_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(25, addressRecordType_); + } + if (defaultAddress_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(26, defaultAddress_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(27, errorMessage_); + } + if (cassProcessed_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(28, cassProcessed_); + } + if (dpvNoStatReasonCode_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(29, dpvNoStatReasonCode_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvDrop_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, dpvDrop_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvThrowback_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(31, dpvThrowback_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvNonDeliveryDays_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(32, dpvNonDeliveryDays_); + } + if (dpvNonDeliveryDaysValues_ != 0) { + size += com.google.protobuf.CodedOutputStream.computeInt32Size(33, dpvNonDeliveryDaysValues_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvNoSecureLocation_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(34, dpvNoSecureLocation_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvPbsa_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(35, dpvPbsa_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvDoorNotAccessible_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(36, dpvDoorNotAccessible_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(dpvEnhancedDeliveryCode_)) { + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(37, dpvEnhancedDeliveryCode_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.maps.addressvalidation.v1.UspsData) { - return mergeFrom((com.google.maps.addressvalidation.v1.UspsData) other); - } else { - super.mergeFrom(other); - return this; - } + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.maps.addressvalidation.v1.UspsData)) { + return super.equals(obj); } + com.google.maps.addressvalidation.v1.UspsData other = + (com.google.maps.addressvalidation.v1.UspsData) obj; - public Builder mergeFrom(com.google.maps.addressvalidation.v1.UspsData other) { - if (other == com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance()) return this; - if (other.hasStandardizedAddress()) { - mergeStandardizedAddress(other.getStandardizedAddress()); - } - if (!other.getDeliveryPointCode().isEmpty()) { - deliveryPointCode_ = other.deliveryPointCode_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (!other.getDeliveryPointCheckDigit().isEmpty()) { - deliveryPointCheckDigit_ = other.deliveryPointCheckDigit_; - bitField0_ |= 0x00000004; + if (hasStandardizedAddress() != other.hasStandardizedAddress()) return false; + if (hasStandardizedAddress()) { + if (!getStandardizedAddress().equals(other.getStandardizedAddress())) return false; + } + if (!getDeliveryPointCode().equals(other.getDeliveryPointCode())) return false; + if (!getDeliveryPointCheckDigit().equals(other.getDeliveryPointCheckDigit())) return false; + if (!getDpvConfirmation().equals(other.getDpvConfirmation())) return false; + if (!getDpvFootnote().equals(other.getDpvFootnote())) return false; + if (!getDpvCmra().equals(other.getDpvCmra())) return false; + if (!getDpvVacant().equals(other.getDpvVacant())) return false; + if (!getDpvNoStat().equals(other.getDpvNoStat())) return false; + if (getDpvNoStatReasonCode() != other.getDpvNoStatReasonCode()) return false; + if (!getDpvDrop().equals(other.getDpvDrop())) return false; + if (!getDpvThrowback().equals(other.getDpvThrowback())) return false; + if (!getDpvNonDeliveryDays().equals(other.getDpvNonDeliveryDays())) return false; + if (getDpvNonDeliveryDaysValues() != other.getDpvNonDeliveryDaysValues()) return false; + if (!getDpvNoSecureLocation().equals(other.getDpvNoSecureLocation())) return false; + if (!getDpvPbsa().equals(other.getDpvPbsa())) return false; + if (!getDpvDoorNotAccessible().equals(other.getDpvDoorNotAccessible())) return false; + if (!getDpvEnhancedDeliveryCode().equals(other.getDpvEnhancedDeliveryCode())) return false; + if (!getCarrierRoute().equals(other.getCarrierRoute())) return false; + if (!getCarrierRouteIndicator().equals(other.getCarrierRouteIndicator())) return false; + if (getEwsNoMatch() != other.getEwsNoMatch()) return false; + if (!getPostOfficeCity().equals(other.getPostOfficeCity())) return false; + if (!getPostOfficeState().equals(other.getPostOfficeState())) return false; + if (!getAbbreviatedCity().equals(other.getAbbreviatedCity())) return false; + if (!getFipsCountyCode().equals(other.getFipsCountyCode())) return false; + if (!getCounty().equals(other.getCounty())) return false; + if (!getElotNumber().equals(other.getElotNumber())) return false; + if (!getElotFlag().equals(other.getElotFlag())) return false; + if (!getLacsLinkReturnCode().equals(other.getLacsLinkReturnCode())) return false; + if (!getLacsLinkIndicator().equals(other.getLacsLinkIndicator())) return false; + if (getPoBoxOnlyPostalCode() != other.getPoBoxOnlyPostalCode()) return false; + if (!getSuitelinkFootnote().equals(other.getSuitelinkFootnote())) return false; + if (!getPmbDesignator().equals(other.getPmbDesignator())) return false; + if (!getPmbNumber().equals(other.getPmbNumber())) return false; + if (!getAddressRecordType().equals(other.getAddressRecordType())) return false; + if (getDefaultAddress() != other.getDefaultAddress()) return false; + if (!getErrorMessage().equals(other.getErrorMessage())) return false; + if (getCassProcessed() != other.getCassProcessed()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasStandardizedAddress()) { + hash = (37 * hash) + STANDARDIZED_ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + getStandardizedAddress().hashCode(); + } + hash = (37 * hash) + DELIVERY_POINT_CODE_FIELD_NUMBER; + hash = (53 * hash) + getDeliveryPointCode().hashCode(); + hash = (37 * hash) + DELIVERY_POINT_CHECK_DIGIT_FIELD_NUMBER; + hash = (53 * hash) + getDeliveryPointCheckDigit().hashCode(); + hash = (37 * hash) + DPV_CONFIRMATION_FIELD_NUMBER; + hash = (53 * hash) + getDpvConfirmation().hashCode(); + hash = (37 * hash) + DPV_FOOTNOTE_FIELD_NUMBER; + hash = (53 * hash) + getDpvFootnote().hashCode(); + hash = (37 * hash) + DPV_CMRA_FIELD_NUMBER; + hash = (53 * hash) + getDpvCmra().hashCode(); + hash = (37 * hash) + DPV_VACANT_FIELD_NUMBER; + hash = (53 * hash) + getDpvVacant().hashCode(); + hash = (37 * hash) + DPV_NO_STAT_FIELD_NUMBER; + hash = (53 * hash) + getDpvNoStat().hashCode(); + hash = (37 * hash) + DPV_NO_STAT_REASON_CODE_FIELD_NUMBER; + hash = (53 * hash) + getDpvNoStatReasonCode(); + hash = (37 * hash) + DPV_DROP_FIELD_NUMBER; + hash = (53 * hash) + getDpvDrop().hashCode(); + hash = (37 * hash) + DPV_THROWBACK_FIELD_NUMBER; + hash = (53 * hash) + getDpvThrowback().hashCode(); + hash = (37 * hash) + DPV_NON_DELIVERY_DAYS_FIELD_NUMBER; + hash = (53 * hash) + getDpvNonDeliveryDays().hashCode(); + hash = (37 * hash) + DPV_NON_DELIVERY_DAYS_VALUES_FIELD_NUMBER; + hash = (53 * hash) + getDpvNonDeliveryDaysValues(); + hash = (37 * hash) + DPV_NO_SECURE_LOCATION_FIELD_NUMBER; + hash = (53 * hash) + getDpvNoSecureLocation().hashCode(); + hash = (37 * hash) + DPV_PBSA_FIELD_NUMBER; + hash = (53 * hash) + getDpvPbsa().hashCode(); + hash = (37 * hash) + DPV_DOOR_NOT_ACCESSIBLE_FIELD_NUMBER; + hash = (53 * hash) + getDpvDoorNotAccessible().hashCode(); + hash = (37 * hash) + DPV_ENHANCED_DELIVERY_CODE_FIELD_NUMBER; + hash = (53 * hash) + getDpvEnhancedDeliveryCode().hashCode(); + hash = (37 * hash) + CARRIER_ROUTE_FIELD_NUMBER; + hash = (53 * hash) + getCarrierRoute().hashCode(); + hash = (37 * hash) + CARRIER_ROUTE_INDICATOR_FIELD_NUMBER; + hash = (53 * hash) + getCarrierRouteIndicator().hashCode(); + hash = (37 * hash) + EWS_NO_MATCH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEwsNoMatch()); + hash = (37 * hash) + POST_OFFICE_CITY_FIELD_NUMBER; + hash = (53 * hash) + getPostOfficeCity().hashCode(); + hash = (37 * hash) + POST_OFFICE_STATE_FIELD_NUMBER; + hash = (53 * hash) + getPostOfficeState().hashCode(); + hash = (37 * hash) + ABBREVIATED_CITY_FIELD_NUMBER; + hash = (53 * hash) + getAbbreviatedCity().hashCode(); + hash = (37 * hash) + FIPS_COUNTY_CODE_FIELD_NUMBER; + hash = (53 * hash) + getFipsCountyCode().hashCode(); + hash = (37 * hash) + COUNTY_FIELD_NUMBER; + hash = (53 * hash) + getCounty().hashCode(); + hash = (37 * hash) + ELOT_NUMBER_FIELD_NUMBER; + hash = (53 * hash) + getElotNumber().hashCode(); + hash = (37 * hash) + ELOT_FLAG_FIELD_NUMBER; + hash = (53 * hash) + getElotFlag().hashCode(); + hash = (37 * hash) + LACS_LINK_RETURN_CODE_FIELD_NUMBER; + hash = (53 * hash) + getLacsLinkReturnCode().hashCode(); + hash = (37 * hash) + LACS_LINK_INDICATOR_FIELD_NUMBER; + hash = (53 * hash) + getLacsLinkIndicator().hashCode(); + hash = (37 * hash) + PO_BOX_ONLY_POSTAL_CODE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getPoBoxOnlyPostalCode()); + hash = (37 * hash) + SUITELINK_FOOTNOTE_FIELD_NUMBER; + hash = (53 * hash) + getSuitelinkFootnote().hashCode(); + hash = (37 * hash) + PMB_DESIGNATOR_FIELD_NUMBER; + hash = (53 * hash) + getPmbDesignator().hashCode(); + hash = (37 * hash) + PMB_NUMBER_FIELD_NUMBER; + hash = (53 * hash) + getPmbNumber().hashCode(); + hash = (37 * hash) + ADDRESS_RECORD_TYPE_FIELD_NUMBER; + hash = (53 * hash) + getAddressRecordType().hashCode(); + hash = (37 * hash) + DEFAULT_ADDRESS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getDefaultAddress()); + hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrorMessage().hashCode(); + hash = (37 * hash) + CASS_PROCESSED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getCassProcessed()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.maps.addressvalidation.v1.UspsData parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.addressvalidation.v1.UspsData parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.maps.addressvalidation.v1.UspsData parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.addressvalidation.v1.UspsData parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.maps.addressvalidation.v1.UspsData parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.maps.addressvalidation.v1.UspsData parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.maps.addressvalidation.v1.UspsData prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * 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 {@code google.maps.addressvalidation.v1.UspsData} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.maps.addressvalidation.v1.UspsData) + com.google.maps.addressvalidation.v1.UspsDataOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsData_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.maps.addressvalidation.v1.UspsData.class, + com.google.maps.addressvalidation.v1.UspsData.Builder.class); + } + + // Construct using com.google.maps.addressvalidation.v1.UspsData.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getStandardizedAddressFieldBuilder(); + } + } + + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + bitField1_ = 0; + standardizedAddress_ = null; + if (standardizedAddressBuilder_ != null) { + standardizedAddressBuilder_.dispose(); + standardizedAddressBuilder_ = null; + } + deliveryPointCode_ = ""; + deliveryPointCheckDigit_ = ""; + dpvConfirmation_ = ""; + dpvFootnote_ = ""; + dpvCmra_ = ""; + dpvVacant_ = ""; + dpvNoStat_ = ""; + dpvNoStatReasonCode_ = 0; + dpvDrop_ = ""; + dpvThrowback_ = ""; + dpvNonDeliveryDays_ = ""; + dpvNonDeliveryDaysValues_ = 0; + dpvNoSecureLocation_ = ""; + dpvPbsa_ = ""; + dpvDoorNotAccessible_ = ""; + dpvEnhancedDeliveryCode_ = ""; + carrierRoute_ = ""; + carrierRouteIndicator_ = ""; + ewsNoMatch_ = false; + postOfficeCity_ = ""; + postOfficeState_ = ""; + abbreviatedCity_ = ""; + fipsCountyCode_ = ""; + county_ = ""; + elotNumber_ = ""; + elotFlag_ = ""; + lacsLinkReturnCode_ = ""; + lacsLinkIndicator_ = ""; + poBoxOnlyPostalCode_ = false; + suitelinkFootnote_ = ""; + pmbDesignator_ = ""; + pmbNumber_ = ""; + addressRecordType_ = ""; + defaultAddress_ = false; + errorMessage_ = ""; + cassProcessed_ = false; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.maps.addressvalidation.v1.UspsDataProto + .internal_static_google_maps_addressvalidation_v1_UspsData_descriptor; + } + + @java.lang.Override + public com.google.maps.addressvalidation.v1.UspsData getDefaultInstanceForType() { + return com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance(); + } + + @java.lang.Override + public com.google.maps.addressvalidation.v1.UspsData build() { + com.google.maps.addressvalidation.v1.UspsData result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.maps.addressvalidation.v1.UspsData buildPartial() { + com.google.maps.addressvalidation.v1.UspsData result = + new com.google.maps.addressvalidation.v1.UspsData(this); + if (bitField0_ != 0) { + buildPartial0(result); + } + if (bitField1_ != 0) { + buildPartial1(result); + } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.maps.addressvalidation.v1.UspsData result) { + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.standardizedAddress_ = + standardizedAddressBuilder_ == null + ? standardizedAddress_ + : standardizedAddressBuilder_.build(); + to_bitField0_ |= 0x00000001; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.deliveryPointCode_ = deliveryPointCode_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.deliveryPointCheckDigit_ = deliveryPointCheckDigit_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.dpvConfirmation_ = dpvConfirmation_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.dpvFootnote_ = dpvFootnote_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.dpvCmra_ = dpvCmra_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.dpvVacant_ = dpvVacant_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.dpvNoStat_ = dpvNoStat_; + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.dpvNoStatReasonCode_ = dpvNoStatReasonCode_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.dpvDrop_ = dpvDrop_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.dpvThrowback_ = dpvThrowback_; + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.dpvNonDeliveryDays_ = dpvNonDeliveryDays_; + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.dpvNonDeliveryDaysValues_ = dpvNonDeliveryDaysValues_; + } + if (((from_bitField0_ & 0x00002000) != 0)) { + result.dpvNoSecureLocation_ = dpvNoSecureLocation_; + } + if (((from_bitField0_ & 0x00004000) != 0)) { + result.dpvPbsa_ = dpvPbsa_; + } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.dpvDoorNotAccessible_ = dpvDoorNotAccessible_; + } + if (((from_bitField0_ & 0x00010000) != 0)) { + result.dpvEnhancedDeliveryCode_ = dpvEnhancedDeliveryCode_; + } + if (((from_bitField0_ & 0x00020000) != 0)) { + result.carrierRoute_ = carrierRoute_; + } + if (((from_bitField0_ & 0x00040000) != 0)) { + result.carrierRouteIndicator_ = carrierRouteIndicator_; + } + if (((from_bitField0_ & 0x00080000) != 0)) { + result.ewsNoMatch_ = ewsNoMatch_; + } + if (((from_bitField0_ & 0x00100000) != 0)) { + result.postOfficeCity_ = postOfficeCity_; + } + if (((from_bitField0_ & 0x00200000) != 0)) { + result.postOfficeState_ = postOfficeState_; + } + if (((from_bitField0_ & 0x00400000) != 0)) { + result.abbreviatedCity_ = abbreviatedCity_; + } + if (((from_bitField0_ & 0x00800000) != 0)) { + result.fipsCountyCode_ = fipsCountyCode_; + } + if (((from_bitField0_ & 0x01000000) != 0)) { + result.county_ = county_; + } + if (((from_bitField0_ & 0x02000000) != 0)) { + result.elotNumber_ = elotNumber_; + } + if (((from_bitField0_ & 0x04000000) != 0)) { + result.elotFlag_ = elotFlag_; + } + if (((from_bitField0_ & 0x08000000) != 0)) { + result.lacsLinkReturnCode_ = lacsLinkReturnCode_; + } + if (((from_bitField0_ & 0x10000000) != 0)) { + result.lacsLinkIndicator_ = lacsLinkIndicator_; + } + if (((from_bitField0_ & 0x20000000) != 0)) { + result.poBoxOnlyPostalCode_ = poBoxOnlyPostalCode_; + } + if (((from_bitField0_ & 0x40000000) != 0)) { + result.suitelinkFootnote_ = suitelinkFootnote_; + } + if (((from_bitField0_ & 0x80000000) != 0)) { + result.pmbDesignator_ = pmbDesignator_; + } + result.bitField0_ |= to_bitField0_; + } + + private void buildPartial1(com.google.maps.addressvalidation.v1.UspsData result) { + int from_bitField1_ = bitField1_; + if (((from_bitField1_ & 0x00000001) != 0)) { + result.pmbNumber_ = pmbNumber_; + } + if (((from_bitField1_ & 0x00000002) != 0)) { + result.addressRecordType_ = addressRecordType_; + } + if (((from_bitField1_ & 0x00000004) != 0)) { + result.defaultAddress_ = defaultAddress_; + } + if (((from_bitField1_ & 0x00000008) != 0)) { + result.errorMessage_ = errorMessage_; + } + if (((from_bitField1_ & 0x00000010) != 0)) { + result.cassProcessed_ = cassProcessed_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.maps.addressvalidation.v1.UspsData) { + return mergeFrom((com.google.maps.addressvalidation.v1.UspsData) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.maps.addressvalidation.v1.UspsData other) { + if (other == com.google.maps.addressvalidation.v1.UspsData.getDefaultInstance()) return this; + if (other.hasStandardizedAddress()) { + mergeStandardizedAddress(other.getStandardizedAddress()); + } + if (!other.getDeliveryPointCode().isEmpty()) { + deliveryPointCode_ = other.deliveryPointCode_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (!other.getDeliveryPointCheckDigit().isEmpty()) { + deliveryPointCheckDigit_ = other.deliveryPointCheckDigit_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (!other.getDpvConfirmation().isEmpty()) { + dpvConfirmation_ = other.dpvConfirmation_; + bitField0_ |= 0x00000008; + onChanged(); + } + if (!other.getDpvFootnote().isEmpty()) { + dpvFootnote_ = other.dpvFootnote_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getDpvCmra().isEmpty()) { + dpvCmra_ = other.dpvCmra_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getDpvVacant().isEmpty()) { + dpvVacant_ = other.dpvVacant_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (!other.getDpvNoStat().isEmpty()) { + dpvNoStat_ = other.dpvNoStat_; + bitField0_ |= 0x00000080; + onChanged(); + } + if (other.getDpvNoStatReasonCode() != 0) { + setDpvNoStatReasonCode(other.getDpvNoStatReasonCode()); + } + if (!other.getDpvDrop().isEmpty()) { + dpvDrop_ = other.dpvDrop_; + bitField0_ |= 0x00000200; + onChanged(); + } + if (!other.getDpvThrowback().isEmpty()) { + dpvThrowback_ = other.dpvThrowback_; + bitField0_ |= 0x00000400; + onChanged(); + } + if (!other.getDpvNonDeliveryDays().isEmpty()) { + dpvNonDeliveryDays_ = other.dpvNonDeliveryDays_; + bitField0_ |= 0x00000800; + onChanged(); + } + if (other.getDpvNonDeliveryDaysValues() != 0) { + setDpvNonDeliveryDaysValues(other.getDpvNonDeliveryDaysValues()); + } + if (!other.getDpvNoSecureLocation().isEmpty()) { + dpvNoSecureLocation_ = other.dpvNoSecureLocation_; + bitField0_ |= 0x00002000; + onChanged(); + } + if (!other.getDpvPbsa().isEmpty()) { + dpvPbsa_ = other.dpvPbsa_; + bitField0_ |= 0x00004000; + onChanged(); + } + if (!other.getDpvDoorNotAccessible().isEmpty()) { + dpvDoorNotAccessible_ = other.dpvDoorNotAccessible_; + bitField0_ |= 0x00008000; + onChanged(); + } + if (!other.getDpvEnhancedDeliveryCode().isEmpty()) { + dpvEnhancedDeliveryCode_ = other.dpvEnhancedDeliveryCode_; + bitField0_ |= 0x00010000; + onChanged(); + } + if (!other.getCarrierRoute().isEmpty()) { + carrierRoute_ = other.carrierRoute_; + bitField0_ |= 0x00020000; + onChanged(); + } + if (!other.getCarrierRouteIndicator().isEmpty()) { + carrierRouteIndicator_ = other.carrierRouteIndicator_; + bitField0_ |= 0x00040000; + onChanged(); + } + if (other.getEwsNoMatch() != false) { + setEwsNoMatch(other.getEwsNoMatch()); + } + if (!other.getPostOfficeCity().isEmpty()) { + postOfficeCity_ = other.postOfficeCity_; + bitField0_ |= 0x00100000; + onChanged(); + } + if (!other.getPostOfficeState().isEmpty()) { + postOfficeState_ = other.postOfficeState_; + bitField0_ |= 0x00200000; + onChanged(); + } + if (!other.getAbbreviatedCity().isEmpty()) { + abbreviatedCity_ = other.abbreviatedCity_; + bitField0_ |= 0x00400000; + onChanged(); + } + if (!other.getFipsCountyCode().isEmpty()) { + fipsCountyCode_ = other.fipsCountyCode_; + bitField0_ |= 0x00800000; + onChanged(); + } + if (!other.getCounty().isEmpty()) { + county_ = other.county_; + bitField0_ |= 0x01000000; onChanged(); } - if (!other.getDpvConfirmation().isEmpty()) { - dpvConfirmation_ = other.dpvConfirmation_; - bitField0_ |= 0x00000008; + if (!other.getElotNumber().isEmpty()) { + elotNumber_ = other.elotNumber_; + bitField0_ |= 0x02000000; onChanged(); } - if (!other.getDpvFootnote().isEmpty()) { - dpvFootnote_ = other.dpvFootnote_; - bitField0_ |= 0x00000010; + if (!other.getElotFlag().isEmpty()) { + elotFlag_ = other.elotFlag_; + bitField0_ |= 0x04000000; onChanged(); } - if (!other.getDpvCmra().isEmpty()) { - dpvCmra_ = other.dpvCmra_; - bitField0_ |= 0x00000020; + if (!other.getLacsLinkReturnCode().isEmpty()) { + lacsLinkReturnCode_ = other.lacsLinkReturnCode_; + bitField0_ |= 0x08000000; + onChanged(); + } + if (!other.getLacsLinkIndicator().isEmpty()) { + lacsLinkIndicator_ = other.lacsLinkIndicator_; + bitField0_ |= 0x10000000; + onChanged(); + } + if (other.getPoBoxOnlyPostalCode() != false) { + setPoBoxOnlyPostalCode(other.getPoBoxOnlyPostalCode()); + } + if (!other.getSuitelinkFootnote().isEmpty()) { + suitelinkFootnote_ = other.suitelinkFootnote_; + bitField0_ |= 0x40000000; + onChanged(); + } + if (!other.getPmbDesignator().isEmpty()) { + pmbDesignator_ = other.pmbDesignator_; + bitField0_ |= 0x80000000; + onChanged(); + } + if (!other.getPmbNumber().isEmpty()) { + pmbNumber_ = other.pmbNumber_; + bitField1_ |= 0x00000001; + onChanged(); + } + if (!other.getAddressRecordType().isEmpty()) { + addressRecordType_ = other.addressRecordType_; + bitField1_ |= 0x00000002; + onChanged(); + } + if (other.getDefaultAddress() != false) { + setDefaultAddress(other.getDefaultAddress()); + } + if (!other.getErrorMessage().isEmpty()) { + errorMessage_ = other.errorMessage_; + bitField1_ |= 0x00000008; + onChanged(); + } + if (other.getCassProcessed() != false) { + setCassProcessed(other.getCassProcessed()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + input.readMessage( + getStandardizedAddressFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + deliveryPointCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + deliveryPointCheckDigit_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + dpvConfirmation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + dpvFootnote_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + dpvCmra_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + dpvVacant_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + dpvNoStat_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + carrierRoute_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00020000; + break; + } // case 74 + case 82: + { + carrierRouteIndicator_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00040000; + break; + } // case 82 + case 88: + { + ewsNoMatch_ = input.readBool(); + bitField0_ |= 0x00080000; + break; + } // case 88 + case 98: + { + postOfficeCity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00100000; + break; + } // case 98 + case 106: + { + postOfficeState_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00200000; + break; + } // case 106 + case 114: + { + abbreviatedCity_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00400000; + break; + } // case 114 + case 122: + { + fipsCountyCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00800000; + break; + } // case 122 + case 130: + { + county_ = input.readStringRequireUtf8(); + bitField0_ |= 0x01000000; + break; + } // case 130 + case 138: + { + elotNumber_ = input.readStringRequireUtf8(); + bitField0_ |= 0x02000000; + break; + } // case 138 + case 146: + { + elotFlag_ = input.readStringRequireUtf8(); + bitField0_ |= 0x04000000; + break; + } // case 146 + case 154: + { + lacsLinkReturnCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x08000000; + break; + } // case 154 + case 162: + { + lacsLinkIndicator_ = input.readStringRequireUtf8(); + bitField0_ |= 0x10000000; + break; + } // case 162 + case 168: + { + poBoxOnlyPostalCode_ = input.readBool(); + bitField0_ |= 0x20000000; + break; + } // case 168 + case 178: + { + suitelinkFootnote_ = input.readStringRequireUtf8(); + bitField0_ |= 0x40000000; + break; + } // case 178 + case 186: + { + pmbDesignator_ = input.readStringRequireUtf8(); + bitField0_ |= 0x80000000; + break; + } // case 186 + case 194: + { + pmbNumber_ = input.readStringRequireUtf8(); + bitField1_ |= 0x00000001; + break; + } // case 194 + case 202: + { + addressRecordType_ = input.readStringRequireUtf8(); + bitField1_ |= 0x00000002; + break; + } // case 202 + case 208: + { + defaultAddress_ = input.readBool(); + bitField1_ |= 0x00000004; + break; + } // case 208 + case 218: + { + errorMessage_ = input.readStringRequireUtf8(); + bitField1_ |= 0x00000008; + break; + } // case 218 + case 224: + { + cassProcessed_ = input.readBool(); + bitField1_ |= 0x00000010; + break; + } // case 224 + case 232: + { + dpvNoStatReasonCode_ = input.readInt32(); + bitField0_ |= 0x00000100; + break; + } // case 232 + case 242: + { + dpvDrop_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 242 + case 250: + { + dpvThrowback_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 250 + case 258: + { + dpvNonDeliveryDays_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 258 + case 264: + { + dpvNonDeliveryDaysValues_ = input.readInt32(); + bitField0_ |= 0x00001000; + break; + } // case 264 + case 274: + { + dpvNoSecureLocation_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 274 + case 282: + { + dpvPbsa_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00004000; + break; + } // case 282 + case 290: + { + dpvDoorNotAccessible_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 290 + case 298: + { + dpvEnhancedDeliveryCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00010000; + break; + } // case 298 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { onChanged(); + } // finally + return this; + } + + private int bitField0_; + private int bitField1_; + + private com.google.maps.addressvalidation.v1.UspsAddress standardizedAddress_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.UspsAddress, + com.google.maps.addressvalidation.v1.UspsAddress.Builder, + com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> + standardizedAddressBuilder_; + /** + * + * + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * + * @return Whether the standardizedAddress field is set. + */ + public boolean hasStandardizedAddress() { + return ((bitField0_ & 0x00000001) != 0); + } + /** + * + * + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * + * @return The standardizedAddress. + */ + public com.google.maps.addressvalidation.v1.UspsAddress getStandardizedAddress() { + if (standardizedAddressBuilder_ == null) { + return standardizedAddress_ == null + ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() + : standardizedAddress_; + } else { + return standardizedAddressBuilder_.getMessage(); } - if (!other.getDpvVacant().isEmpty()) { - dpvVacant_ = other.dpvVacant_; - bitField0_ |= 0x00000040; - onChanged(); + } + /** + * + * + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + */ + public Builder setStandardizedAddress(com.google.maps.addressvalidation.v1.UspsAddress value) { + if (standardizedAddressBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + standardizedAddress_ = value; + } else { + standardizedAddressBuilder_.setMessage(value); } - if (!other.getDpvNoStat().isEmpty()) { - dpvNoStat_ = other.dpvNoStat_; - bitField0_ |= 0x00000080; - onChanged(); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + */ + public Builder setStandardizedAddress( + com.google.maps.addressvalidation.v1.UspsAddress.Builder builderForValue) { + if (standardizedAddressBuilder_ == null) { + standardizedAddress_ = builderForValue.build(); + } else { + standardizedAddressBuilder_.setMessage(builderForValue.build()); } - if (!other.getCarrierRoute().isEmpty()) { - carrierRoute_ = other.carrierRoute_; - bitField0_ |= 0x00000100; - onChanged(); + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + * + * + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + */ + public Builder mergeStandardizedAddress( + com.google.maps.addressvalidation.v1.UspsAddress value) { + if (standardizedAddressBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0) + && standardizedAddress_ != null + && standardizedAddress_ + != com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance()) { + getStandardizedAddressBuilder().mergeFrom(value); + } else { + standardizedAddress_ = value; + } + } else { + standardizedAddressBuilder_.mergeFrom(value); } - if (!other.getCarrierRouteIndicator().isEmpty()) { - carrierRouteIndicator_ = other.carrierRouteIndicator_; - bitField0_ |= 0x00000200; + if (standardizedAddress_ != null) { + bitField0_ |= 0x00000001; onChanged(); } - if (other.getEwsNoMatch() != false) { - setEwsNoMatch(other.getEwsNoMatch()); + return this; + } + /** + * + * + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + */ + public Builder clearStandardizedAddress() { + bitField0_ = (bitField0_ & ~0x00000001); + standardizedAddress_ = null; + if (standardizedAddressBuilder_ != null) { + standardizedAddressBuilder_.dispose(); + standardizedAddressBuilder_ = null; } - if (!other.getPostOfficeCity().isEmpty()) { - postOfficeCity_ = other.postOfficeCity_; - bitField0_ |= 0x00000800; - onChanged(); + onChanged(); + return this; + } + /** + * + * + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + */ + public com.google.maps.addressvalidation.v1.UspsAddress.Builder + getStandardizedAddressBuilder() { + bitField0_ |= 0x00000001; + onChanged(); + return getStandardizedAddressFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + */ + public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder + getStandardizedAddressOrBuilder() { + if (standardizedAddressBuilder_ != null) { + return standardizedAddressBuilder_.getMessageOrBuilder(); + } else { + return standardizedAddress_ == null + ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() + : standardizedAddress_; } - if (!other.getPostOfficeState().isEmpty()) { - postOfficeState_ = other.postOfficeState_; - bitField0_ |= 0x00001000; - onChanged(); + } + /** + * + * + *
+     * USPS standardized address.
+     * 
+ * + * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.UspsAddress, + com.google.maps.addressvalidation.v1.UspsAddress.Builder, + com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> + getStandardizedAddressFieldBuilder() { + if (standardizedAddressBuilder_ == null) { + standardizedAddressBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.maps.addressvalidation.v1.UspsAddress, + com.google.maps.addressvalidation.v1.UspsAddress.Builder, + com.google.maps.addressvalidation.v1.UspsAddressOrBuilder>( + getStandardizedAddress(), getParentForChildren(), isClean()); + standardizedAddress_ = null; } - if (!other.getAbbreviatedCity().isEmpty()) { - abbreviatedCity_ = other.abbreviatedCity_; - bitField0_ |= 0x00002000; - onChanged(); + return standardizedAddressBuilder_; + } + + private java.lang.Object deliveryPointCode_ = ""; + /** + * + * + *
+     * 2 digit delivery point code
+     * 
+ * + * string delivery_point_code = 2; + * + * @return The deliveryPointCode. + */ + public java.lang.String getDeliveryPointCode() { + java.lang.Object ref = deliveryPointCode_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deliveryPointCode_ = s; + return s; + } else { + return (java.lang.String) ref; } - if (!other.getFipsCountyCode().isEmpty()) { - fipsCountyCode_ = other.fipsCountyCode_; - bitField0_ |= 0x00004000; - onChanged(); + } + /** + * + * + *
+     * 2 digit delivery point code
+     * 
+ * + * string delivery_point_code = 2; + * + * @return The bytes for deliveryPointCode. + */ + public com.google.protobuf.ByteString getDeliveryPointCodeBytes() { + java.lang.Object ref = deliveryPointCode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deliveryPointCode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - if (!other.getCounty().isEmpty()) { - county_ = other.county_; - bitField0_ |= 0x00008000; - onChanged(); + } + /** + * + * + *
+     * 2 digit delivery point code
+     * 
+ * + * string delivery_point_code = 2; + * + * @param value The deliveryPointCode to set. + * @return This builder for chaining. + */ + public Builder setDeliveryPointCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } - if (!other.getElotNumber().isEmpty()) { - elotNumber_ = other.elotNumber_; - bitField0_ |= 0x00010000; - onChanged(); + deliveryPointCode_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + * + * + *
+     * 2 digit delivery point code
+     * 
+ * + * string delivery_point_code = 2; + * + * @return This builder for chaining. + */ + public Builder clearDeliveryPointCode() { + deliveryPointCode_ = getDefaultInstance().getDeliveryPointCode(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + * + * + *
+     * 2 digit delivery point code
+     * 
+ * + * string delivery_point_code = 2; + * + * @param value The bytes for deliveryPointCode to set. + * @return This builder for chaining. + */ + public Builder setDeliveryPointCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } - if (!other.getElotFlag().isEmpty()) { - elotFlag_ = other.elotFlag_; - bitField0_ |= 0x00020000; - onChanged(); + checkByteStringIsUtf8(value); + deliveryPointCode_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private java.lang.Object deliveryPointCheckDigit_ = ""; + /** + * + * + *
+     * 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; + * + * @return The deliveryPointCheckDigit. + */ + public java.lang.String getDeliveryPointCheckDigit() { + java.lang.Object ref = deliveryPointCheckDigit_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + deliveryPointCheckDigit_ = s; + return s; + } else { + return (java.lang.String) ref; } - if (!other.getLacsLinkReturnCode().isEmpty()) { - lacsLinkReturnCode_ = other.lacsLinkReturnCode_; - bitField0_ |= 0x00040000; - onChanged(); + } + /** + * + * + *
+     * 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; + * + * @return The bytes for deliveryPointCheckDigit. + */ + public com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes() { + java.lang.Object ref = deliveryPointCheckDigit_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + deliveryPointCheckDigit_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - if (!other.getLacsLinkIndicator().isEmpty()) { - lacsLinkIndicator_ = other.lacsLinkIndicator_; - bitField0_ |= 0x00080000; - onChanged(); + } + /** + * + * + *
+     * 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; + * + * @param value The deliveryPointCheckDigit to set. + * @return This builder for chaining. + */ + public Builder setDeliveryPointCheckDigit(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } - if (other.getPoBoxOnlyPostalCode() != false) { - setPoBoxOnlyPostalCode(other.getPoBoxOnlyPostalCode()); + deliveryPointCheckDigit_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + * + * + *
+     * 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; + * + * @return This builder for chaining. + */ + public Builder clearDeliveryPointCheckDigit() { + deliveryPointCheckDigit_ = getDefaultInstance().getDeliveryPointCheckDigit(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + * + * + *
+     * 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; + * + * @param value The bytes for deliveryPointCheckDigit to set. + * @return This builder for chaining. + */ + public Builder setDeliveryPointCheckDigitBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } - if (!other.getSuitelinkFootnote().isEmpty()) { - suitelinkFootnote_ = other.suitelinkFootnote_; - bitField0_ |= 0x00200000; - onChanged(); + checkByteStringIsUtf8(value); + deliveryPointCheckDigit_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private java.lang.Object dpvConfirmation_ = ""; + /** + * + * + *
+     * The possible values for DPV confirmation. Returns a single character or
+     * returns no value.
+     *
+     * * `N`: Primary and any secondary number information failed to
+     * DPV confirm.
+     * * `D`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was missing.
+     * * `S`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was present but not confirmed.
+     * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
+     * * Empty: If the response does not contain a `dpv_confirmation` value, the
+     * address was not submitted for DPV confirmation.
+     * 
+ * + * string dpv_confirmation = 4; + * + * @return The dpvConfirmation. + */ + public java.lang.String getDpvConfirmation() { + java.lang.Object ref = dpvConfirmation_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dpvConfirmation_ = s; + return s; + } else { + return (java.lang.String) ref; } - if (!other.getPmbDesignator().isEmpty()) { - pmbDesignator_ = other.pmbDesignator_; - bitField0_ |= 0x00400000; - onChanged(); + } + /** + * + * + *
+     * The possible values for DPV confirmation. Returns a single character or
+     * returns no value.
+     *
+     * * `N`: Primary and any secondary number information failed to
+     * DPV confirm.
+     * * `D`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was missing.
+     * * `S`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was present but not confirmed.
+     * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
+     * * Empty: If the response does not contain a `dpv_confirmation` value, the
+     * address was not submitted for DPV confirmation.
+     * 
+ * + * string dpv_confirmation = 4; + * + * @return The bytes for dpvConfirmation. + */ + public com.google.protobuf.ByteString getDpvConfirmationBytes() { + java.lang.Object ref = dpvConfirmation_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + dpvConfirmation_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - if (!other.getPmbNumber().isEmpty()) { - pmbNumber_ = other.pmbNumber_; - bitField0_ |= 0x00800000; - onChanged(); + } + /** + * + * + *
+     * The possible values for DPV confirmation. Returns a single character or
+     * returns no value.
+     *
+     * * `N`: Primary and any secondary number information failed to
+     * DPV confirm.
+     * * `D`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was missing.
+     * * `S`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was present but not confirmed.
+     * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
+     * * Empty: If the response does not contain a `dpv_confirmation` value, the
+     * address was not submitted for DPV confirmation.
+     * 
+ * + * string dpv_confirmation = 4; + * + * @param value The dpvConfirmation to set. + * @return This builder for chaining. + */ + public Builder setDpvConfirmation(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } - if (!other.getAddressRecordType().isEmpty()) { - addressRecordType_ = other.addressRecordType_; - bitField0_ |= 0x01000000; - onChanged(); + dpvConfirmation_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * The possible values for DPV confirmation. Returns a single character or
+     * returns no value.
+     *
+     * * `N`: Primary and any secondary number information failed to
+     * DPV confirm.
+     * * `D`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was missing.
+     * * `S`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was present but not confirmed.
+     * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
+     * * Empty: If the response does not contain a `dpv_confirmation` value, the
+     * address was not submitted for DPV confirmation.
+     * 
+ * + * string dpv_confirmation = 4; + * + * @return This builder for chaining. + */ + public Builder clearDpvConfirmation() { + dpvConfirmation_ = getDefaultInstance().getDpvConfirmation(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * The possible values for DPV confirmation. Returns a single character or
+     * returns no value.
+     *
+     * * `N`: Primary and any secondary number information failed to
+     * DPV confirm.
+     * * `D`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was missing.
+     * * `S`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was present but not confirmed.
+     * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
+     * * Empty: If the response does not contain a `dpv_confirmation` value, the
+     * address was not submitted for DPV confirmation.
+     * 
+ * + * string dpv_confirmation = 4; + * + * @param value The bytes for dpvConfirmation to set. + * @return This builder for chaining. + */ + public Builder setDpvConfirmationBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } - if (other.getDefaultAddress() != false) { - setDefaultAddress(other.getDefaultAddress()); + checkByteStringIsUtf8(value); + dpvConfirmation_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + + private java.lang.Object dpvFootnote_ = ""; + /** + * + * + *
+     * 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 and not required
+     * * `C1`: Secondary number not matched but required
+     * * `N1`: High-rise address missing secondary number
+     * * `M1`: Primary number missing
+     * * `M3`: Primary number invalid
+     * * `P1`: Input address PO, 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
+     * * `IA`: Informed Address identified
+     * * `TA`: Primary number matched by dropping a trailing alpha
+     * 
+ * + * string dpv_footnote = 5; + * + * @return The dpvFootnote. + */ + public java.lang.String getDpvFootnote() { + java.lang.Object ref = dpvFootnote_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dpvFootnote_ = s; + return s; + } else { + return (java.lang.String) ref; } - if (!other.getErrorMessage().isEmpty()) { - errorMessage_ = other.errorMessage_; - bitField0_ |= 0x04000000; - onChanged(); + } + /** + * + * + *
+     * 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 and not required
+     * * `C1`: Secondary number not matched but required
+     * * `N1`: High-rise address missing secondary number
+     * * `M1`: Primary number missing
+     * * `M3`: Primary number invalid
+     * * `P1`: Input address PO, 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
+     * * `IA`: Informed Address identified
+     * * `TA`: Primary number matched by dropping a trailing alpha
+     * 
+ * + * string dpv_footnote = 5; + * + * @return The bytes for dpvFootnote. + */ + public com.google.protobuf.ByteString getDpvFootnoteBytes() { + java.lang.Object ref = dpvFootnote_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + dpvFootnote_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; } - if (other.getCassProcessed() != false) { - setCassProcessed(other.getCassProcessed()); + } + /** + * + * + *
+     * 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 and not required
+     * * `C1`: Secondary number not matched but required
+     * * `N1`: High-rise address missing secondary number
+     * * `M1`: Primary number missing
+     * * `M3`: Primary number invalid
+     * * `P1`: Input address PO, 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
+     * * `IA`: Informed Address identified
+     * * `TA`: Primary number matched by dropping a trailing alpha
+     * 
+ * + * string dpv_footnote = 5; + * + * @param value The dpvFootnote to set. + * @return This builder for chaining. + */ + public Builder setDpvFootnote(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } - this.mergeUnknownFields(other.getUnknownFields()); + dpvFootnote_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * 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 and not required
+     * * `C1`: Secondary number not matched but required
+     * * `N1`: High-rise address missing secondary number
+     * * `M1`: Primary number missing
+     * * `M3`: Primary number invalid
+     * * `P1`: Input address PO, 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
+     * * `IA`: Informed Address identified
+     * * `TA`: Primary number matched by dropping a trailing alpha
+     * 
+ * + * string dpv_footnote = 5; + * + * @return This builder for chaining. + */ + public Builder clearDpvFootnote() { + dpvFootnote_ = getDefaultInstance().getDpvFootnote(); + bitField0_ = (bitField0_ & ~0x00000010); onChanged(); return this; } - - @java.lang.Override - public final boolean isInitialized() { - return true; + /** + * + * + *
+     * 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 and not required
+     * * `C1`: Secondary number not matched but required
+     * * `N1`: High-rise address missing secondary number
+     * * `M1`: Primary number missing
+     * * `M3`: Primary number invalid
+     * * `P1`: Input address PO, 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
+     * * `IA`: Informed Address identified
+     * * `TA`: Primary number matched by dropping a trailing alpha
+     * 
+ * + * string dpv_footnote = 5; + * + * @param value The bytes for dpvFootnote to set. + * @return This builder for chaining. + */ + public Builder setDpvFootnoteBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvFootnote_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; } - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - input.readMessage( - getStandardizedAddressFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - deliveryPointCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - deliveryPointCheckDigit_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - dpvConfirmation_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - dpvFootnote_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - dpvCmra_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - dpvVacant_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - dpvNoStat_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: - { - carrierRoute_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: - { - carrierRouteIndicator_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 88: - { - ewsNoMatch_ = input.readBool(); - bitField0_ |= 0x00000400; - break; - } // case 88 - case 98: - { - postOfficeCity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: - { - postOfficeState_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 114: - { - abbreviatedCity_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 114 - case 122: - { - fipsCountyCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; - break; - } // case 122 - case 130: - { - county_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 130 - case 138: - { - elotNumber_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; - break; - } // case 138 - case 146: - { - elotFlag_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00020000; - break; - } // case 146 - case 154: - { - lacsLinkReturnCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00040000; - break; - } // case 154 - case 162: - { - lacsLinkIndicator_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00080000; - break; - } // case 162 - case 168: - { - poBoxOnlyPostalCode_ = input.readBool(); - bitField0_ |= 0x00100000; - break; - } // case 168 - case 178: - { - suitelinkFootnote_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00200000; - break; - } // case 178 - case 186: - { - pmbDesignator_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00400000; - break; - } // case 186 - case 194: - { - pmbNumber_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00800000; - break; - } // case 194 - case 202: - { - addressRecordType_ = input.readStringRequireUtf8(); - bitField0_ |= 0x01000000; - break; - } // case 202 - case 208: - { - defaultAddress_ = input.readBool(); - bitField0_ |= 0x02000000; - break; - } // case 208 - case 218: - { - errorMessage_ = input.readStringRequireUtf8(); - bitField0_ |= 0x04000000; - break; - } // case 218 - case 224: - { - cassProcessed_ = input.readBool(); - bitField0_ |= 0x08000000; - break; - } // case 224 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally + private java.lang.Object dpvCmra_ = ""; + /** + * + * + *
+     * 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; + * + * @return The dpvCmra. + */ + public java.lang.String getDpvCmra() { + java.lang.Object ref = dpvCmra_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dpvCmra_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * 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; + * + * @return The bytes for dpvCmra. + */ + public com.google.protobuf.ByteString getDpvCmraBytes() { + java.lang.Object ref = dpvCmra_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + dpvCmra_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * 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; + * + * @param value The dpvCmra to set. + * @return This builder for chaining. + */ + public Builder setDpvCmra(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + dpvCmra_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + * + * + *
+     * 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; + * + * @return This builder for chaining. + */ + public Builder clearDpvCmra() { + dpvCmra_ = getDefaultInstance().getDpvCmra(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + * + * + *
+     * 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; + * + * @param value The bytes for dpvCmra to set. + * @return This builder for chaining. + */ + public Builder setDpvCmraBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvCmra_ = value; + bitField0_ |= 0x00000020; + onChanged(); return this; } - private int bitField0_; - - private com.google.maps.addressvalidation.v1.UspsAddress standardizedAddress_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.UspsAddress, - com.google.maps.addressvalidation.v1.UspsAddress.Builder, - com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> - standardizedAddressBuilder_; + private java.lang.Object dpvVacant_ = ""; /** * * *
-     * USPS standardized address.
+     * Is this place vacant?
+     * Returns a single character.
+     *
+     * * `Y`: The address is vacant
+     * * `N`: The address is not vacant
      * 
* - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * string dpv_vacant = 7; * - * @return Whether the standardizedAddress field is set. + * @return The dpvVacant. */ - public boolean hasStandardizedAddress() { - return ((bitField0_ & 0x00000001) != 0); + public java.lang.String getDpvVacant() { + java.lang.Object ref = dpvVacant_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dpvVacant_ = s; + return s; + } else { + return (java.lang.String) ref; + } } /** * * *
-     * USPS standardized address.
+     * Is this place vacant?
+     * Returns a single character.
+     *
+     * * `Y`: The address is vacant
+     * * `N`: The address is not vacant
+     * 
+ * + * string dpv_vacant = 7; + * + * @return The bytes for dpvVacant. + */ + public com.google.protobuf.ByteString getDpvVacantBytes() { + java.lang.Object ref = dpvVacant_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + dpvVacant_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Is this place vacant?
+     * Returns a single character.
+     *
+     * * `Y`: The address is vacant
+     * * `N`: The address is not vacant
+     * 
+ * + * string dpv_vacant = 7; + * + * @param value The dpvVacant to set. + * @return This builder for chaining. + */ + public Builder setDpvVacant(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + dpvVacant_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + * + * + *
+     * Is this place vacant?
+     * Returns a single character.
+     *
+     * * `Y`: The address is vacant
+     * * `N`: The address is not vacant
+     * 
+ * + * string dpv_vacant = 7; + * + * @return This builder for chaining. + */ + public Builder clearDpvVacant() { + dpvVacant_ = getDefaultInstance().getDpvVacant(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + * + * + *
+     * Is this place vacant?
+     * Returns a single character.
+     *
+     * * `Y`: The address is vacant
+     * * `N`: The address is not vacant
+     * 
+ * + * string dpv_vacant = 7; + * + * @param value The bytes for dpvVacant to set. + * @return This builder for chaining. + */ + public Builder setDpvVacantBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dpvVacant_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private java.lang.Object dpvNoStat_ = ""; + /** + * + * + *
+     * 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
      * 
* - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * string dpv_no_stat = 8; * - * @return The standardizedAddress. + * @return The dpvNoStat. */ - public com.google.maps.addressvalidation.v1.UspsAddress getStandardizedAddress() { - if (standardizedAddressBuilder_ == null) { - return standardizedAddress_ == null - ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() - : standardizedAddress_; + public java.lang.String getDpvNoStat() { + java.lang.Object ref = dpvNoStat_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + dpvNoStat_ = s; + return s; } else { - return standardizedAddressBuilder_.getMessage(); + return (java.lang.String) ref; } } /** * * *
-     * USPS standardized address.
+     * 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
      * 
* - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * string dpv_no_stat = 8; + * + * @return The bytes for dpvNoStat. */ - public Builder setStandardizedAddress(com.google.maps.addressvalidation.v1.UspsAddress value) { - if (standardizedAddressBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - standardizedAddress_ = value; + public com.google.protobuf.ByteString getDpvNoStatBytes() { + java.lang.Object ref = dpvNoStat_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + dpvNoStat_ = b; + return b; } else { - standardizedAddressBuilder_.setMessage(value); + return (com.google.protobuf.ByteString) ref; } - bitField0_ |= 0x00000001; - onChanged(); - return this; } /** * * *
-     * USPS standardized address.
+     * 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
      * 
* - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * string dpv_no_stat = 8; + * + * @param value The dpvNoStat to set. + * @return This builder for chaining. */ - public Builder setStandardizedAddress( - com.google.maps.addressvalidation.v1.UspsAddress.Builder builderForValue) { - if (standardizedAddressBuilder_ == null) { - standardizedAddress_ = builderForValue.build(); - } else { - standardizedAddressBuilder_.setMessage(builderForValue.build()); + public Builder setDpvNoStat(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); } - bitField0_ |= 0x00000001; + dpvNoStat_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } @@ -2624,128 +4397,166 @@ public Builder setStandardizedAddress( * * *
-     * USPS standardized address.
+     * 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
      * 
* - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * string dpv_no_stat = 8; + * + * @return This builder for chaining. */ - public Builder mergeStandardizedAddress( - com.google.maps.addressvalidation.v1.UspsAddress value) { - if (standardizedAddressBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && standardizedAddress_ != null - && standardizedAddress_ - != com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance()) { - getStandardizedAddressBuilder().mergeFrom(value); - } else { - standardizedAddress_ = value; - } - } else { - standardizedAddressBuilder_.mergeFrom(value); - } - if (standardizedAddress_ != null) { - bitField0_ |= 0x00000001; - onChanged(); - } + public Builder clearDpvNoStat() { + dpvNoStat_ = getDefaultInstance().getDpvNoStat(); + bitField0_ = (bitField0_ & ~0x00000080); + onChanged(); return this; } /** * * *
-     * USPS standardized address.
+     * 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
      * 
* - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * string dpv_no_stat = 8; + * + * @param value The bytes for dpvNoStat to set. + * @return This builder for chaining. */ - public Builder clearStandardizedAddress() { - bitField0_ = (bitField0_ & ~0x00000001); - standardizedAddress_ = null; - if (standardizedAddressBuilder_ != null) { - standardizedAddressBuilder_.dispose(); - standardizedAddressBuilder_ = null; + public Builder setDpvNoStatBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } + checkByteStringIsUtf8(value); + dpvNoStat_ = value; + bitField0_ |= 0x00000080; onChanged(); return this; } + + private int dpvNoStatReasonCode_; /** * * *
-     * USPS standardized address.
+     * Indicates the NoStat type. Returns a reason code as int.
+     *
+     * * `1`: IDA (Internal Drop Address) – Addresses that do not receive mail
+     * directly from the USPS but are delivered to a drop address that services
+     * them.
+     * * `2`: CDS - Addresses that have not yet become deliverable. For example, a
+     * new subdivision where lots and primary numbers have been determined, but no
+     * structure exists yet for occupancy.
+     * * `3`: Collision - Addresses that do not actually DPV confirm.
+     * * `4`: CMZ (College, Military and Other Types) - ZIP + 4 records USPS has
+     * incorporated into the data.
+     * * `5`: Regular - Indicates addresses not receiving delivery and the
+     * addresses are not counted as possible deliveries.
+     * * `6`: Secondary Required - The address requires secondary information.
      * 
* - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * int32 dpv_no_stat_reason_code = 29; + * + * @return The dpvNoStatReasonCode. */ - public com.google.maps.addressvalidation.v1.UspsAddress.Builder - getStandardizedAddressBuilder() { - bitField0_ |= 0x00000001; - onChanged(); - return getStandardizedAddressFieldBuilder().getBuilder(); + @java.lang.Override + public int getDpvNoStatReasonCode() { + return dpvNoStatReasonCode_; } /** * * *
-     * USPS standardized address.
+     * Indicates the NoStat type. Returns a reason code as int.
+     *
+     * * `1`: IDA (Internal Drop Address) – Addresses that do not receive mail
+     * directly from the USPS but are delivered to a drop address that services
+     * them.
+     * * `2`: CDS - Addresses that have not yet become deliverable. For example, a
+     * new subdivision where lots and primary numbers have been determined, but no
+     * structure exists yet for occupancy.
+     * * `3`: Collision - Addresses that do not actually DPV confirm.
+     * * `4`: CMZ (College, Military and Other Types) - ZIP + 4 records USPS has
+     * incorporated into the data.
+     * * `5`: Regular - Indicates addresses not receiving delivery and the
+     * addresses are not counted as possible deliveries.
+     * * `6`: Secondary Required - The address requires secondary information.
      * 
* - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * int32 dpv_no_stat_reason_code = 29; + * + * @param value The dpvNoStatReasonCode to set. + * @return This builder for chaining. */ - public com.google.maps.addressvalidation.v1.UspsAddressOrBuilder - getStandardizedAddressOrBuilder() { - if (standardizedAddressBuilder_ != null) { - return standardizedAddressBuilder_.getMessageOrBuilder(); - } else { - return standardizedAddress_ == null - ? com.google.maps.addressvalidation.v1.UspsAddress.getDefaultInstance() - : standardizedAddress_; - } + public Builder setDpvNoStatReasonCode(int value) { + + dpvNoStatReasonCode_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; } /** * * *
-     * USPS standardized address.
+     * Indicates the NoStat type. Returns a reason code as int.
+     *
+     * * `1`: IDA (Internal Drop Address) – Addresses that do not receive mail
+     * directly from the USPS but are delivered to a drop address that services
+     * them.
+     * * `2`: CDS - Addresses that have not yet become deliverable. For example, a
+     * new subdivision where lots and primary numbers have been determined, but no
+     * structure exists yet for occupancy.
+     * * `3`: Collision - Addresses that do not actually DPV confirm.
+     * * `4`: CMZ (College, Military and Other Types) - ZIP + 4 records USPS has
+     * incorporated into the data.
+     * * `5`: Regular - Indicates addresses not receiving delivery and the
+     * addresses are not counted as possible deliveries.
+     * * `6`: Secondary Required - The address requires secondary information.
      * 
* - * .google.maps.addressvalidation.v1.UspsAddress standardized_address = 1; + * int32 dpv_no_stat_reason_code = 29; + * + * @return This builder for chaining. */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.UspsAddress, - com.google.maps.addressvalidation.v1.UspsAddress.Builder, - com.google.maps.addressvalidation.v1.UspsAddressOrBuilder> - getStandardizedAddressFieldBuilder() { - if (standardizedAddressBuilder_ == null) { - standardizedAddressBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.maps.addressvalidation.v1.UspsAddress, - com.google.maps.addressvalidation.v1.UspsAddress.Builder, - com.google.maps.addressvalidation.v1.UspsAddressOrBuilder>( - getStandardizedAddress(), getParentForChildren(), isClean()); - standardizedAddress_ = null; - } - return standardizedAddressBuilder_; + public Builder clearDpvNoStatReasonCode() { + bitField0_ = (bitField0_ & ~0x00000100); + dpvNoStatReasonCode_ = 0; + onChanged(); + return this; } - private java.lang.Object deliveryPointCode_ = ""; + private java.lang.Object dpvDrop_ = ""; /** * * *
-     * 2 digit delivery point code
+     * Flag indicates mail is delivered to a single receptable at a site.
+     * Returns a single character.
+     *
+     * * `Y`: The mail is delivered to a single receptable at a site.
+     * * `N`: The mail is not delivered to a single receptable at a site.
      * 
* - * string delivery_point_code = 2; + * string dpv_drop = 30; * - * @return The deliveryPointCode. + * @return The dpvDrop. */ - public java.lang.String getDeliveryPointCode() { - java.lang.Object ref = deliveryPointCode_; + public java.lang.String getDpvDrop() { + java.lang.Object ref = dpvDrop_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - deliveryPointCode_ = s; + dpvDrop_ = s; return s; } else { return (java.lang.String) ref; @@ -2755,19 +4566,23 @@ public java.lang.String getDeliveryPointCode() { * * *
-     * 2 digit delivery point code
+     * Flag indicates mail is delivered to a single receptable at a site.
+     * Returns a single character.
+     *
+     * * `Y`: The mail is delivered to a single receptable at a site.
+     * * `N`: The mail is not delivered to a single receptable at a site.
      * 
* - * string delivery_point_code = 2; + * string dpv_drop = 30; * - * @return The bytes for deliveryPointCode. + * @return The bytes for dpvDrop. */ - public com.google.protobuf.ByteString getDeliveryPointCodeBytes() { - java.lang.Object ref = deliveryPointCode_; + public com.google.protobuf.ByteString getDpvDropBytes() { + java.lang.Object ref = dpvDrop_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - deliveryPointCode_ = b; + dpvDrop_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -2777,20 +4592,24 @@ public com.google.protobuf.ByteString getDeliveryPointCodeBytes() { * * *
-     * 2 digit delivery point code
+     * Flag indicates mail is delivered to a single receptable at a site.
+     * Returns a single character.
+     *
+     * * `Y`: The mail is delivered to a single receptable at a site.
+     * * `N`: The mail is not delivered to a single receptable at a site.
      * 
* - * string delivery_point_code = 2; + * string dpv_drop = 30; * - * @param value The deliveryPointCode to set. + * @param value The dpvDrop to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCode(java.lang.String value) { + public Builder setDpvDrop(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - deliveryPointCode_ = value; - bitField0_ |= 0x00000002; + dpvDrop_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -2798,16 +4617,20 @@ public Builder setDeliveryPointCode(java.lang.String value) { * * *
-     * 2 digit delivery point code
+     * Flag indicates mail is delivered to a single receptable at a site.
+     * Returns a single character.
+     *
+     * * `Y`: The mail is delivered to a single receptable at a site.
+     * * `N`: The mail is not delivered to a single receptable at a site.
      * 
* - * string delivery_point_code = 2; + * string dpv_drop = 30; * * @return This builder for chaining. */ - public Builder clearDeliveryPointCode() { - deliveryPointCode_ = getDefaultInstance().getDeliveryPointCode(); - bitField0_ = (bitField0_ & ~0x00000002); + public Builder clearDpvDrop() { + dpvDrop_ = getDefaultInstance().getDpvDrop(); + bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } @@ -2815,46 +4638,51 @@ public Builder clearDeliveryPointCode() { * * *
-     * 2 digit delivery point code
+     * Flag indicates mail is delivered to a single receptable at a site.
+     * Returns a single character.
+     *
+     * * `Y`: The mail is delivered to a single receptable at a site.
+     * * `N`: The mail is not delivered to a single receptable at a site.
      * 
* - * string delivery_point_code = 2; + * string dpv_drop = 30; * - * @param value The bytes for deliveryPointCode to set. + * @param value The bytes for dpvDrop to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCodeBytes(com.google.protobuf.ByteString value) { + public Builder setDpvDropBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - deliveryPointCode_ = value; - bitField0_ |= 0x00000002; + dpvDrop_ = value; + bitField0_ |= 0x00000200; onChanged(); return this; } - private java.lang.Object deliveryPointCheckDigit_ = ""; + private java.lang.Object dpvThrowback_ = ""; /** * * *
-     * 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.
+     * Indicates that mail is not delivered to the street address.
+     * Returns a single character.
+     *
+     * * `Y`: The mail is not delivered to the street address.
+     * * `N`: The mail is delivered to the street address.
      * 
* - * string delivery_point_check_digit = 3; + * string dpv_throwback = 31; * - * @return The deliveryPointCheckDigit. + * @return The dpvThrowback. */ - public java.lang.String getDeliveryPointCheckDigit() { - java.lang.Object ref = deliveryPointCheckDigit_; + public java.lang.String getDpvThrowback() { + java.lang.Object ref = dpvThrowback_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - deliveryPointCheckDigit_ = s; + dpvThrowback_ = s; return s; } else { return (java.lang.String) ref; @@ -2864,22 +4692,23 @@ public java.lang.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.
+     * Indicates that mail is not delivered to the street address.
+     * Returns a single character.
+     *
+     * * `Y`: The mail is not delivered to the street address.
+     * * `N`: The mail is delivered to the street address.
      * 
* - * string delivery_point_check_digit = 3; + * string dpv_throwback = 31; * - * @return The bytes for deliveryPointCheckDigit. + * @return The bytes for dpvThrowback. */ - public com.google.protobuf.ByteString getDeliveryPointCheckDigitBytes() { - java.lang.Object ref = deliveryPointCheckDigit_; + public com.google.protobuf.ByteString getDpvThrowbackBytes() { + java.lang.Object ref = dpvThrowback_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - deliveryPointCheckDigit_ = b; + dpvThrowback_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -2889,23 +4718,24 @@ public 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.
+     * Indicates that mail is not delivered to the street address.
+     * Returns a single character.
+     *
+     * * `Y`: The mail is not delivered to the street address.
+     * * `N`: The mail is delivered to the street address.
      * 
* - * string delivery_point_check_digit = 3; + * string dpv_throwback = 31; * - * @param value The deliveryPointCheckDigit to set. + * @param value The dpvThrowback to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCheckDigit(java.lang.String value) { + public Builder setDpvThrowback(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - deliveryPointCheckDigit_ = value; - bitField0_ |= 0x00000004; + dpvThrowback_ = value; + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -2913,19 +4743,20 @@ public Builder setDeliveryPointCheckDigit(java.lang.String value) { * * *
-     * 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.
+     * Indicates that mail is not delivered to the street address.
+     * Returns a single character.
+     *
+     * * `Y`: The mail is not delivered to the street address.
+     * * `N`: The mail is delivered to the street address.
      * 
* - * string delivery_point_check_digit = 3; + * string dpv_throwback = 31; * * @return This builder for chaining. */ - public Builder clearDeliveryPointCheckDigit() { - deliveryPointCheckDigit_ = getDefaultInstance().getDeliveryPointCheckDigit(); - bitField0_ = (bitField0_ & ~0x00000004); + public Builder clearDpvThrowback() { + dpvThrowback_ = getDefaultInstance().getDpvThrowback(); + bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } @@ -2933,54 +4764,52 @@ public Builder clearDeliveryPointCheckDigit() { * * *
-     * 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.
+     * Indicates that mail is not delivered to the street address.
+     * Returns a single character.
+     *
+     * * `Y`: The mail is not delivered to the street address.
+     * * `N`: The mail is delivered to the street address.
      * 
* - * string delivery_point_check_digit = 3; + * string dpv_throwback = 31; * - * @param value The bytes for deliveryPointCheckDigit to set. + * @param value The bytes for dpvThrowback to set. * @return This builder for chaining. */ - public Builder setDeliveryPointCheckDigitBytes(com.google.protobuf.ByteString value) { + public Builder setDpvThrowbackBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - deliveryPointCheckDigit_ = value; - bitField0_ |= 0x00000004; + dpvThrowback_ = value; + bitField0_ |= 0x00000400; onChanged(); return this; } - private java.lang.Object dpvConfirmation_ = ""; + private java.lang.Object dpvNonDeliveryDays_ = ""; /** * * *
-     * The possible values for DPV confirmation. Returns a single character.
+     * Flag indicates mail delivery is not performed every day of the week.
+     * 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.
+     * * `Y`: The mail delivery is not performed every day of the week.
+     * * `N`: No indication the mail delivery is not performed every day of the
+     * week.
      * 
* - * string dpv_confirmation = 4; + * string dpv_non_delivery_days = 32; * - * @return The dpvConfirmation. + * @return The dpvNonDeliveryDays. */ - public java.lang.String getDpvConfirmation() { - java.lang.Object ref = dpvConfirmation_; + public java.lang.String getDpvNonDeliveryDays() { + java.lang.Object ref = dpvNonDeliveryDays_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - dpvConfirmation_ = s; + dpvNonDeliveryDays_ = s; return s; } else { return (java.lang.String) ref; @@ -2990,27 +4819,24 @@ public java.lang.String getDpvConfirmation() { * * *
-     * The possible values for DPV confirmation. Returns a single character.
+     * Flag indicates mail delivery is not performed every day of the week.
+     * 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.
+     * * `Y`: The mail delivery is not performed every day of the week.
+     * * `N`: No indication the mail delivery is not performed every day of the
+     * week.
      * 
* - * string dpv_confirmation = 4; + * string dpv_non_delivery_days = 32; * - * @return The bytes for dpvConfirmation. + * @return The bytes for dpvNonDeliveryDays. */ - public com.google.protobuf.ByteString getDpvConfirmationBytes() { - java.lang.Object ref = dpvConfirmation_; + public com.google.protobuf.ByteString getDpvNonDeliveryDaysBytes() { + java.lang.Object ref = dpvNonDeliveryDays_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dpvConfirmation_ = b; + dpvNonDeliveryDays_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -3020,28 +4846,25 @@ public com.google.protobuf.ByteString getDpvConfirmationBytes() { * * *
-     * The possible values for DPV confirmation. Returns a single character.
+     * Flag indicates mail delivery is not performed every day of the week.
+     * 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.
+     * * `Y`: The mail delivery is not performed every day of the week.
+     * * `N`: No indication the mail delivery is not performed every day of the
+     * week.
      * 
* - * string dpv_confirmation = 4; + * string dpv_non_delivery_days = 32; * - * @param value The dpvConfirmation to set. + * @param value The dpvNonDeliveryDays to set. * @return This builder for chaining. */ - public Builder setDpvConfirmation(java.lang.String value) { + public Builder setDpvNonDeliveryDays(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - dpvConfirmation_ = value; - bitField0_ |= 0x00000008; + dpvNonDeliveryDays_ = value; + bitField0_ |= 0x00000800; onChanged(); return this; } @@ -3049,24 +4872,21 @@ public Builder setDpvConfirmation(java.lang.String value) { * * *
-     * The possible values for DPV confirmation. Returns a single character.
+     * Flag indicates mail delivery is not performed every day of the week.
+     * 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.
+     * * `Y`: The mail delivery is not performed every day of the week.
+     * * `N`: No indication the mail delivery is not performed every day of the
+     * week.
      * 
* - * string dpv_confirmation = 4; + * string dpv_non_delivery_days = 32; * * @return This builder for chaining. */ - public Builder clearDpvConfirmation() { - dpvConfirmation_ = getDefaultInstance().getDpvConfirmation(); - bitField0_ = (bitField0_ & ~0x00000008); + public Builder clearDpvNonDeliveryDays() { + dpvNonDeliveryDays_ = getDefaultInstance().getDpvNonDeliveryDays(); + bitField0_ = (bitField0_ & ~0x00000800); onChanged(); return this; } @@ -3074,69 +4894,130 @@ public Builder clearDpvConfirmation() { * * *
-     * The possible values for DPV confirmation. Returns a single character.
+     * Flag indicates mail delivery is not performed every day of the week.
+     * 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.
+     * * `Y`: The mail delivery is not performed every day of the week.
+     * * `N`: No indication the mail delivery is not performed every day of the
+     * week.
      * 
* - * string dpv_confirmation = 4; + * string dpv_non_delivery_days = 32; * - * @param value The bytes for dpvConfirmation to set. + * @param value The bytes for dpvNonDeliveryDays to set. * @return This builder for chaining. */ - public Builder setDpvConfirmationBytes(com.google.protobuf.ByteString value) { + public Builder setDpvNonDeliveryDaysBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - dpvConfirmation_ = value; - bitField0_ |= 0x00000008; + dpvNonDeliveryDays_ = value; + bitField0_ |= 0x00000800; onChanged(); return this; } - private java.lang.Object dpvFootnote_ = ""; + private int dpvNonDeliveryDaysValues_; /** * * *
-     * The footnotes from delivery point validation.
-     * Multiple footnotes may be strung together in the same string.
+     * Integer identifying non-delivery days. It can be interrogated using bit
+     * flags:
+     * 0x40 – Sunday is a non-delivery day
+     * 0x20 – Monday is a non-delivery day
+     * 0x10 – Tuesday is a non-delivery day
+     * 0x08 – Wednesday is a non-delivery day
+     * 0x04 – Thursday is a non-delivery day
+     * 0x02 – Friday is a non-delivery day
+     * 0x01 – Saturday is a non-delivery day
+     * 
* - * * `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 + * int32 dpv_non_delivery_days_values = 33; + * + * @return The dpvNonDeliveryDaysValues. + */ + @java.lang.Override + public int getDpvNonDeliveryDaysValues() { + return dpvNonDeliveryDaysValues_; + } + /** + * + * + *
+     * Integer identifying non-delivery days. It can be interrogated using bit
+     * flags:
+     * 0x40 – Sunday is a non-delivery day
+     * 0x20 – Monday is a non-delivery day
+     * 0x10 – Tuesday is a non-delivery day
+     * 0x08 – Wednesday is a non-delivery day
+     * 0x04 – Thursday is a non-delivery day
+     * 0x02 – Friday is a non-delivery day
+     * 0x01 – Saturday is a non-delivery day
      * 
* - * string dpv_footnote = 5; + * int32 dpv_non_delivery_days_values = 33; * - * @return The dpvFootnote. + * @param value The dpvNonDeliveryDaysValues to set. + * @return This builder for chaining. */ - public java.lang.String getDpvFootnote() { - java.lang.Object ref = dpvFootnote_; + public Builder setDpvNonDeliveryDaysValues(int value) { + + dpvNonDeliveryDaysValues_ = value; + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + * + * + *
+     * Integer identifying non-delivery days. It can be interrogated using bit
+     * flags:
+     * 0x40 – Sunday is a non-delivery day
+     * 0x20 – Monday is a non-delivery day
+     * 0x10 – Tuesday is a non-delivery day
+     * 0x08 – Wednesday is a non-delivery day
+     * 0x04 – Thursday is a non-delivery day
+     * 0x02 – Friday is a non-delivery day
+     * 0x01 – Saturday is a non-delivery day
+     * 
+ * + * int32 dpv_non_delivery_days_values = 33; + * + * @return This builder for chaining. + */ + public Builder clearDpvNonDeliveryDaysValues() { + bitField0_ = (bitField0_ & ~0x00001000); + dpvNonDeliveryDaysValues_ = 0; + onChanged(); + return this; + } + + private java.lang.Object dpvNoSecureLocation_ = ""; + /** + * + * + *
+     * Flag indicates door is accessible, but package will not be left due to
+     * security concerns.
+     * Returns a single character.
+     *
+     * * `Y`: The package will not be left due to security concerns.
+     * * `N`: No indication the package will not be left due to security concerns.
+     * 
+ * + * string dpv_no_secure_location = 34; + * + * @return The dpvNoSecureLocation. + */ + public java.lang.String getDpvNoSecureLocation() { + java.lang.Object ref = dpvNoSecureLocation_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - dpvFootnote_ = s; + dpvNoSecureLocation_ = s; return s; } else { return (java.lang.String) ref; @@ -3146,37 +5027,24 @@ public java.lang.String getDpvFootnote() { * * *
-     * The footnotes from delivery point validation.
-     * Multiple footnotes may be strung together in the same string.
+     * Flag indicates door is accessible, but package will not be left due to
+     * security concerns.
+     * Returns a single character.
      *
-     * * `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
+     * * `Y`: The package will not be left due to security concerns.
+     * * `N`: No indication the package will not be left due to security concerns.
      * 
* - * string dpv_footnote = 5; + * string dpv_no_secure_location = 34; * - * @return The bytes for dpvFootnote. + * @return The bytes for dpvNoSecureLocation. */ - public com.google.protobuf.ByteString getDpvFootnoteBytes() { - java.lang.Object ref = dpvFootnote_; + public com.google.protobuf.ByteString getDpvNoSecureLocationBytes() { + java.lang.Object ref = dpvNoSecureLocation_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dpvFootnote_ = b; + dpvNoSecureLocation_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -3186,38 +5054,25 @@ public com.google.protobuf.ByteString getDpvFootnoteBytes() { * * *
-     * The footnotes from delivery point validation.
-     * Multiple footnotes may be strung together in the same string.
+     * Flag indicates door is accessible, but package will not be left due to
+     * security concerns.
+     * Returns a single character.
      *
-     * * `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
+     * * `Y`: The package will not be left due to security concerns.
+     * * `N`: No indication the package will not be left due to security concerns.
      * 
* - * string dpv_footnote = 5; + * string dpv_no_secure_location = 34; * - * @param value The dpvFootnote to set. + * @param value The dpvNoSecureLocation to set. * @return This builder for chaining. */ - public Builder setDpvFootnote(java.lang.String value) { + public Builder setDpvNoSecureLocation(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - dpvFootnote_ = value; - bitField0_ |= 0x00000010; + dpvNoSecureLocation_ = value; + bitField0_ |= 0x00002000; onChanged(); return this; } @@ -3225,34 +5080,21 @@ public Builder setDpvFootnote(java.lang.String value) { * * *
-     * The footnotes from delivery point validation.
-     * Multiple footnotes may be strung together in the same string.
+     * Flag indicates door is accessible, but package will not be left due to
+     * security concerns.
+     * Returns a single character.
      *
-     * * `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
+     * * `Y`: The package will not be left due to security concerns.
+     * * `N`: No indication the package will not be left due to security concerns.
      * 
* - * string dpv_footnote = 5; + * string dpv_no_secure_location = 34; * * @return This builder for chaining. */ - public Builder clearDpvFootnote() { - dpvFootnote_ = getDefaultInstance().getDpvFootnote(); - bitField0_ = (bitField0_ & ~0x00000010); + public Builder clearDpvNoSecureLocation() { + dpvNoSecureLocation_ = getDefaultInstance().getDpvNoSecureLocation(); + bitField0_ = (bitField0_ & ~0x00002000); onChanged(); return this; } @@ -3260,65 +5102,52 @@ public Builder clearDpvFootnote() { * * *
-     * The footnotes from delivery point validation.
-     * Multiple footnotes may be strung together in the same string.
+     * Flag indicates door is accessible, but package will not be left due to
+     * security concerns.
+     * Returns a single character.
      *
-     * * `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
+     * * `Y`: The package will not be left due to security concerns.
+     * * `N`: No indication the package will not be left due to security concerns.
      * 
* - * string dpv_footnote = 5; + * string dpv_no_secure_location = 34; * - * @param value The bytes for dpvFootnote to set. + * @param value The bytes for dpvNoSecureLocation to set. * @return This builder for chaining. */ - public Builder setDpvFootnoteBytes(com.google.protobuf.ByteString value) { + public Builder setDpvNoSecureLocationBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - dpvFootnote_ = value; - bitField0_ |= 0x00000010; + dpvNoSecureLocation_ = value; + bitField0_ |= 0x00002000; onChanged(); return this; } - private java.lang.Object dpvCmra_ = ""; + private java.lang.Object dpvPbsa_ = ""; /** * * *
-     * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
-     * private business receiving mail for clients. Returns a single character.
+     * Indicates the address was matched to PBSA record.
+     * Returns a single character.
      *
-     * * `Y`: The address is a CMRA
-     * * `N`: The address is not a CMRA
+     * * `Y`: The address was matched to PBSA record.
+     * * `N`: The address was not matched to PBSA record.
      * 
* - * string dpv_cmra = 6; + * string dpv_pbsa = 35; * - * @return The dpvCmra. + * @return The dpvPbsa. */ - public java.lang.String getDpvCmra() { - java.lang.Object ref = dpvCmra_; + public java.lang.String getDpvPbsa() { + java.lang.Object ref = dpvPbsa_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - dpvCmra_ = s; + dpvPbsa_ = s; return s; } else { return (java.lang.String) ref; @@ -3328,23 +5157,23 @@ public java.lang.String getDpvCmra() { * * *
-     * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
-     * private business receiving mail for clients. Returns a single character.
+     * Indicates the address was matched to PBSA record.
+     * Returns a single character.
      *
-     * * `Y`: The address is a CMRA
-     * * `N`: The address is not a CMRA
+     * * `Y`: The address was matched to PBSA record.
+     * * `N`: The address was not matched to PBSA record.
      * 
* - * string dpv_cmra = 6; + * string dpv_pbsa = 35; * - * @return The bytes for dpvCmra. + * @return The bytes for dpvPbsa. */ - public com.google.protobuf.ByteString getDpvCmraBytes() { - java.lang.Object ref = dpvCmra_; + public com.google.protobuf.ByteString getDpvPbsaBytes() { + java.lang.Object ref = dpvPbsa_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dpvCmra_ = b; + dpvPbsa_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -3354,24 +5183,24 @@ public 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.
+     * Indicates the address was matched to PBSA record.
+     * Returns a single character.
      *
-     * * `Y`: The address is a CMRA
-     * * `N`: The address is not a CMRA
+     * * `Y`: The address was matched to PBSA record.
+     * * `N`: The address was not matched to PBSA record.
      * 
* - * string dpv_cmra = 6; + * string dpv_pbsa = 35; * - * @param value The dpvCmra to set. + * @param value The dpvPbsa to set. * @return This builder for chaining. */ - public Builder setDpvCmra(java.lang.String value) { + public Builder setDpvPbsa(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - dpvCmra_ = value; - bitField0_ |= 0x00000020; + dpvPbsa_ = value; + bitField0_ |= 0x00004000; onChanged(); return this; } @@ -3379,20 +5208,20 @@ public Builder setDpvCmra(java.lang.String value) { * * *
-     * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
-     * private business receiving mail for clients. Returns a single character.
+     * Indicates the address was matched to PBSA record.
+     * Returns a single character.
      *
-     * * `Y`: The address is a CMRA
-     * * `N`: The address is not a CMRA
+     * * `Y`: The address was matched to PBSA record.
+     * * `N`: The address was not matched to PBSA record.
      * 
* - * string dpv_cmra = 6; + * string dpv_pbsa = 35; * * @return This builder for chaining. */ - public Builder clearDpvCmra() { - dpvCmra_ = getDefaultInstance().getDpvCmra(); - bitField0_ = (bitField0_ & ~0x00000020); + public Builder clearDpvPbsa() { + dpvPbsa_ = getDefaultInstance().getDpvPbsa(); + bitField0_ = (bitField0_ & ~0x00004000); onChanged(); return this; } @@ -3400,51 +5229,51 @@ public Builder clearDpvCmra() { * * *
-     * Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a
-     * private business receiving mail for clients. Returns a single character.
+     * Indicates the address was matched to PBSA record.
+     * Returns a single character.
      *
-     * * `Y`: The address is a CMRA
-     * * `N`: The address is not a CMRA
+     * * `Y`: The address was matched to PBSA record.
+     * * `N`: The address was not matched to PBSA record.
      * 
* - * string dpv_cmra = 6; + * string dpv_pbsa = 35; * - * @param value The bytes for dpvCmra to set. + * @param value The bytes for dpvPbsa to set. * @return This builder for chaining. */ - public Builder setDpvCmraBytes(com.google.protobuf.ByteString value) { + public Builder setDpvPbsaBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - dpvCmra_ = value; - bitField0_ |= 0x00000020; + dpvPbsa_ = value; + bitField0_ |= 0x00004000; onChanged(); return this; } - private java.lang.Object dpvVacant_ = ""; + private java.lang.Object dpvDoorNotAccessible_ = ""; /** * * *
-     * Is this place vacant?
+     * Flag indicates addresses where USPS cannot knock on a door to deliver mail.
      * Returns a single character.
      *
-     * * `Y`: The address is vacant
-     * * `N`: The address is not vacant
+     * * `Y`: The door is not accessible.
+     * * `N`: No indication the door is not accessible.
      * 
* - * string dpv_vacant = 7; + * string dpv_door_not_accessible = 36; * - * @return The dpvVacant. + * @return The dpvDoorNotAccessible. */ - public java.lang.String getDpvVacant() { - java.lang.Object ref = dpvVacant_; + public java.lang.String getDpvDoorNotAccessible() { + java.lang.Object ref = dpvDoorNotAccessible_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - dpvVacant_ = s; + dpvDoorNotAccessible_ = s; return s; } else { return (java.lang.String) ref; @@ -3454,23 +5283,23 @@ public java.lang.String getDpvVacant() { * * *
-     * Is this place vacant?
+     * Flag indicates addresses where USPS cannot knock on a door to deliver mail.
      * Returns a single character.
      *
-     * * `Y`: The address is vacant
-     * * `N`: The address is not vacant
+     * * `Y`: The door is not accessible.
+     * * `N`: No indication the door is not accessible.
      * 
* - * string dpv_vacant = 7; + * string dpv_door_not_accessible = 36; * - * @return The bytes for dpvVacant. + * @return The bytes for dpvDoorNotAccessible. */ - public com.google.protobuf.ByteString getDpvVacantBytes() { - java.lang.Object ref = dpvVacant_; + public com.google.protobuf.ByteString getDpvDoorNotAccessibleBytes() { + java.lang.Object ref = dpvDoorNotAccessible_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dpvVacant_ = b; + dpvDoorNotAccessible_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -3480,24 +5309,24 @@ public com.google.protobuf.ByteString getDpvVacantBytes() { * * *
-     * Is this place vacant?
+     * Flag indicates addresses where USPS cannot knock on a door to deliver mail.
      * Returns a single character.
      *
-     * * `Y`: The address is vacant
-     * * `N`: The address is not vacant
+     * * `Y`: The door is not accessible.
+     * * `N`: No indication the door is not accessible.
      * 
* - * string dpv_vacant = 7; + * string dpv_door_not_accessible = 36; * - * @param value The dpvVacant to set. + * @param value The dpvDoorNotAccessible to set. * @return This builder for chaining. */ - public Builder setDpvVacant(java.lang.String value) { + public Builder setDpvDoorNotAccessible(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - dpvVacant_ = value; - bitField0_ |= 0x00000040; + dpvDoorNotAccessible_ = value; + bitField0_ |= 0x00008000; onChanged(); return this; } @@ -3505,20 +5334,20 @@ public Builder setDpvVacant(java.lang.String value) { * * *
-     * Is this place vacant?
+     * Flag indicates addresses where USPS cannot knock on a door to deliver mail.
      * Returns a single character.
      *
-     * * `Y`: The address is vacant
-     * * `N`: The address is not vacant
+     * * `Y`: The door is not accessible.
+     * * `N`: No indication the door is not accessible.
      * 
* - * string dpv_vacant = 7; + * string dpv_door_not_accessible = 36; * * @return This builder for chaining. */ - public Builder clearDpvVacant() { - dpvVacant_ = getDefaultInstance().getDpvVacant(); - bitField0_ = (bitField0_ & ~0x00000040); + public Builder clearDpvDoorNotAccessible() { + dpvDoorNotAccessible_ = getDefaultInstance().getDpvDoorNotAccessible(); + bitField0_ = (bitField0_ & ~0x00008000); onChanged(); return this; } @@ -3526,52 +5355,60 @@ public Builder clearDpvVacant() { * * *
-     * Is this place vacant?
+     * Flag indicates addresses where USPS cannot knock on a door to deliver mail.
      * Returns a single character.
      *
-     * * `Y`: The address is vacant
-     * * `N`: The address is not vacant
+     * * `Y`: The door is not accessible.
+     * * `N`: No indication the door is not accessible.
      * 
* - * string dpv_vacant = 7; + * string dpv_door_not_accessible = 36; * - * @param value The bytes for dpvVacant to set. + * @param value The bytes for dpvDoorNotAccessible to set. * @return This builder for chaining. */ - public Builder setDpvVacantBytes(com.google.protobuf.ByteString value) { + public Builder setDpvDoorNotAccessibleBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - dpvVacant_ = value; - bitField0_ |= 0x00000040; + dpvDoorNotAccessible_ = value; + bitField0_ |= 0x00008000; onChanged(); return this; } - private java.lang.Object dpvNoStat_ = ""; + private java.lang.Object dpvEnhancedDeliveryCode_ = ""; /** * * *
-     * 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.
+     * Indicates that more than one DPV return code is valid for the address.
+     * Returns a single character.
      *
-     * * `Y`: The address is not active
-     * * `N`: The address is active
+     * * `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,  or a single
+     * trailing alpha on a primary number was dropped to make a DPV match and
+     * secondary information required.
+     * * `D`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was missing.
+     * * `R`: Address confirmed but assigned to phantom route R777 and R779 and
+     * USPS delivery is not provided.
      * 
* - * string dpv_no_stat = 8; + * string dpv_enhanced_delivery_code = 37; * - * @return The dpvNoStat. + * @return The dpvEnhancedDeliveryCode. */ - public java.lang.String getDpvNoStat() { - java.lang.Object ref = dpvNoStat_; + public java.lang.String getDpvEnhancedDeliveryCode() { + java.lang.Object ref = dpvEnhancedDeliveryCode_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); - dpvNoStat_ = s; + dpvEnhancedDeliveryCode_ = s; return s; } else { return (java.lang.String) ref; @@ -3581,24 +5418,32 @@ public java.lang.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.
+     * Indicates that more than one DPV return code is valid for the address.
+     * Returns a single character.
      *
-     * * `Y`: The address is not active
-     * * `N`: The address is active
+     * * `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,  or a single
+     * trailing alpha on a primary number was dropped to make a DPV match and
+     * secondary information required.
+     * * `D`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was missing.
+     * * `R`: Address confirmed but assigned to phantom route R777 and R779 and
+     * USPS delivery is not provided.
      * 
* - * string dpv_no_stat = 8; + * string dpv_enhanced_delivery_code = 37; * - * @return The bytes for dpvNoStat. + * @return The bytes for dpvEnhancedDeliveryCode. */ - public com.google.protobuf.ByteString getDpvNoStatBytes() { - java.lang.Object ref = dpvNoStat_; + public com.google.protobuf.ByteString getDpvEnhancedDeliveryCodeBytes() { + java.lang.Object ref = dpvEnhancedDeliveryCode_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - dpvNoStat_ = b; + dpvEnhancedDeliveryCode_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; @@ -3608,25 +5453,33 @@ public 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.
+     * Indicates that more than one DPV return code is valid for the address.
+     * Returns a single character.
      *
-     * * `Y`: The address is not active
-     * * `N`: The address is active
+     * * `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,  or a single
+     * trailing alpha on a primary number was dropped to make a DPV match and
+     * secondary information required.
+     * * `D`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was missing.
+     * * `R`: Address confirmed but assigned to phantom route R777 and R779 and
+     * USPS delivery is not provided.
      * 
* - * string dpv_no_stat = 8; + * string dpv_enhanced_delivery_code = 37; * - * @param value The dpvNoStat to set. + * @param value The dpvEnhancedDeliveryCode to set. * @return This builder for chaining. */ - public Builder setDpvNoStat(java.lang.String value) { + public Builder setDpvEnhancedDeliveryCode(java.lang.String value) { if (value == null) { throw new NullPointerException(); } - dpvNoStat_ = value; - bitField0_ |= 0x00000080; + dpvEnhancedDeliveryCode_ = value; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -3634,21 +5487,29 @@ public Builder setDpvNoStat(java.lang.String value) { * * *
-     * 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.
+     * Indicates that more than one DPV return code is valid for the address.
+     * Returns a single character.
      *
-     * * `Y`: The address is not active
-     * * `N`: The address is active
+     * * `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,  or a single
+     * trailing alpha on a primary number was dropped to make a DPV match and
+     * secondary information required.
+     * * `D`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was missing.
+     * * `R`: Address confirmed but assigned to phantom route R777 and R779 and
+     * USPS delivery is not provided.
      * 
* - * string dpv_no_stat = 8; + * string dpv_enhanced_delivery_code = 37; * * @return This builder for chaining. */ - public Builder clearDpvNoStat() { - dpvNoStat_ = getDefaultInstance().getDpvNoStat(); - bitField0_ = (bitField0_ & ~0x00000080); + public Builder clearDpvEnhancedDeliveryCode() { + dpvEnhancedDeliveryCode_ = getDefaultInstance().getDpvEnhancedDeliveryCode(); + bitField0_ = (bitField0_ & ~0x00010000); onChanged(); return this; } @@ -3656,26 +5517,34 @@ public Builder clearDpvNoStat() { * * *
-     * 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.
+     * Indicates that more than one DPV return code is valid for the address.
+     * Returns a single character.
      *
-     * * `Y`: The address is not active
-     * * `N`: The address is active
+     * * `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,  or a single
+     * trailing alpha on a primary number was dropped to make a DPV match and
+     * secondary information required.
+     * * `D`: Address was DPV confirmed for the primary number only, and the
+     * secondary number information was missing.
+     * * `R`: Address confirmed but assigned to phantom route R777 and R779 and
+     * USPS delivery is not provided.
      * 
* - * string dpv_no_stat = 8; + * string dpv_enhanced_delivery_code = 37; * - * @param value The bytes for dpvNoStat to set. + * @param value The bytes for dpvEnhancedDeliveryCode to set. * @return This builder for chaining. */ - public Builder setDpvNoStatBytes(com.google.protobuf.ByteString value) { + public Builder setDpvEnhancedDeliveryCodeBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); - dpvNoStat_ = value; - bitField0_ |= 0x00000080; + dpvEnhancedDeliveryCode_ = value; + bitField0_ |= 0x00010000; onChanged(); return this; } @@ -3772,7 +5641,7 @@ public Builder setCarrierRoute(java.lang.String value) { throw new NullPointerException(); } carrierRoute_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -3799,7 +5668,7 @@ public Builder setCarrierRoute(java.lang.String value) { */ public Builder clearCarrierRoute() { carrierRoute_ = getDefaultInstance().getCarrierRoute(); - bitField0_ = (bitField0_ & ~0x00000100); + bitField0_ = (bitField0_ & ~0x00020000); onChanged(); return this; } @@ -3831,7 +5700,7 @@ public Builder setCarrierRouteBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); carrierRoute_ = value; - bitField0_ |= 0x00000100; + bitField0_ |= 0x00020000; onChanged(); return this; } @@ -3898,7 +5767,7 @@ public Builder setCarrierRouteIndicator(java.lang.String value) { throw new NullPointerException(); } carrierRouteIndicator_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -3915,7 +5784,7 @@ public Builder setCarrierRouteIndicator(java.lang.String value) { */ public Builder clearCarrierRouteIndicator() { carrierRouteIndicator_ = getDefaultInstance().getCarrierRouteIndicator(); - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ = (bitField0_ & ~0x00040000); onChanged(); return this; } @@ -3937,7 +5806,7 @@ public Builder setCarrierRouteIndicatorBytes(com.google.protobuf.ByteString valu } checkByteStringIsUtf8(value); carrierRouteIndicator_ = value; - bitField0_ |= 0x00000200; + bitField0_ |= 0x00040000; onChanged(); return this; } @@ -3975,7 +5844,7 @@ public boolean getEwsNoMatch() { public Builder setEwsNoMatch(boolean value) { ewsNoMatch_ = value; - bitField0_ |= 0x00000400; + bitField0_ |= 0x00080000; onChanged(); return this; } @@ -3992,7 +5861,7 @@ public Builder setEwsNoMatch(boolean value) { * @return This builder for chaining. */ public Builder clearEwsNoMatch() { - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ = (bitField0_ & ~0x00080000); ewsNoMatch_ = false; onChanged(); return this; @@ -4060,7 +5929,7 @@ public Builder setPostOfficeCity(java.lang.String value) { throw new NullPointerException(); } postOfficeCity_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -4077,7 +5946,7 @@ public Builder setPostOfficeCity(java.lang.String value) { */ public Builder clearPostOfficeCity() { postOfficeCity_ = getDefaultInstance().getPostOfficeCity(); - bitField0_ = (bitField0_ & ~0x00000800); + bitField0_ = (bitField0_ & ~0x00100000); onChanged(); return this; } @@ -4099,7 +5968,7 @@ public Builder setPostOfficeCityBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); postOfficeCity_ = value; - bitField0_ |= 0x00000800; + bitField0_ |= 0x00100000; onChanged(); return this; } @@ -4166,7 +6035,7 @@ public Builder setPostOfficeState(java.lang.String value) { throw new NullPointerException(); } postOfficeState_ = value; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00200000; onChanged(); return this; } @@ -4183,7 +6052,7 @@ public Builder setPostOfficeState(java.lang.String value) { */ public Builder clearPostOfficeState() { postOfficeState_ = getDefaultInstance().getPostOfficeState(); - bitField0_ = (bitField0_ & ~0x00001000); + bitField0_ = (bitField0_ & ~0x00200000); onChanged(); return this; } @@ -4205,7 +6074,7 @@ public Builder setPostOfficeStateBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); postOfficeState_ = value; - bitField0_ |= 0x00001000; + bitField0_ |= 0x00200000; onChanged(); return this; } @@ -4272,7 +6141,7 @@ public Builder setAbbreviatedCity(java.lang.String value) { throw new NullPointerException(); } abbreviatedCity_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00400000; onChanged(); return this; } @@ -4289,7 +6158,7 @@ public Builder setAbbreviatedCity(java.lang.String value) { */ public Builder clearAbbreviatedCity() { abbreviatedCity_ = getDefaultInstance().getAbbreviatedCity(); - bitField0_ = (bitField0_ & ~0x00002000); + bitField0_ = (bitField0_ & ~0x00400000); onChanged(); return this; } @@ -4311,7 +6180,7 @@ public Builder setAbbreviatedCityBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); abbreviatedCity_ = value; - bitField0_ |= 0x00002000; + bitField0_ |= 0x00400000; onChanged(); return this; } @@ -4378,7 +6247,7 @@ public Builder setFipsCountyCode(java.lang.String value) { throw new NullPointerException(); } fipsCountyCode_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -4395,7 +6264,7 @@ public Builder setFipsCountyCode(java.lang.String value) { */ public Builder clearFipsCountyCode() { fipsCountyCode_ = getDefaultInstance().getFipsCountyCode(); - bitField0_ = (bitField0_ & ~0x00004000); + bitField0_ = (bitField0_ & ~0x00800000); onChanged(); return this; } @@ -4417,7 +6286,7 @@ public Builder setFipsCountyCodeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); fipsCountyCode_ = value; - bitField0_ |= 0x00004000; + bitField0_ |= 0x00800000; onChanged(); return this; } @@ -4484,7 +6353,7 @@ public Builder setCounty(java.lang.String value) { throw new NullPointerException(); } county_ = value; - bitField0_ |= 0x00008000; + bitField0_ |= 0x01000000; onChanged(); return this; } @@ -4501,7 +6370,7 @@ public Builder setCounty(java.lang.String value) { */ public Builder clearCounty() { county_ = getDefaultInstance().getCounty(); - bitField0_ = (bitField0_ & ~0x00008000); + bitField0_ = (bitField0_ & ~0x01000000); onChanged(); return this; } @@ -4523,7 +6392,7 @@ public Builder setCountyBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); county_ = value; - bitField0_ |= 0x00008000; + bitField0_ |= 0x01000000; onChanged(); return this; } @@ -4590,7 +6459,7 @@ public Builder setElotNumber(java.lang.String value) { throw new NullPointerException(); } elotNumber_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x02000000; onChanged(); return this; } @@ -4607,7 +6476,7 @@ public Builder setElotNumber(java.lang.String value) { */ public Builder clearElotNumber() { elotNumber_ = getDefaultInstance().getElotNumber(); - bitField0_ = (bitField0_ & ~0x00010000); + bitField0_ = (bitField0_ & ~0x02000000); onChanged(); return this; } @@ -4629,7 +6498,7 @@ public Builder setElotNumberBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); elotNumber_ = value; - bitField0_ |= 0x00010000; + bitField0_ |= 0x02000000; onChanged(); return this; } @@ -4696,7 +6565,7 @@ public Builder setElotFlag(java.lang.String value) { throw new NullPointerException(); } elotFlag_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x04000000; onChanged(); return this; } @@ -4713,7 +6582,7 @@ public Builder setElotFlag(java.lang.String value) { */ public Builder clearElotFlag() { elotFlag_ = getDefaultInstance().getElotFlag(); - bitField0_ = (bitField0_ & ~0x00020000); + bitField0_ = (bitField0_ & ~0x04000000); onChanged(); return this; } @@ -4735,7 +6604,7 @@ public Builder setElotFlagBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); elotFlag_ = value; - bitField0_ |= 0x00020000; + bitField0_ |= 0x04000000; onChanged(); return this; } @@ -4802,7 +6671,7 @@ public Builder setLacsLinkReturnCode(java.lang.String value) { throw new NullPointerException(); } lacsLinkReturnCode_ = value; - bitField0_ |= 0x00040000; + bitField0_ |= 0x08000000; onChanged(); return this; } @@ -4819,7 +6688,7 @@ public Builder setLacsLinkReturnCode(java.lang.String value) { */ public Builder clearLacsLinkReturnCode() { lacsLinkReturnCode_ = getDefaultInstance().getLacsLinkReturnCode(); - bitField0_ = (bitField0_ & ~0x00040000); + bitField0_ = (bitField0_ & ~0x08000000); onChanged(); return this; } @@ -4841,7 +6710,7 @@ public Builder setLacsLinkReturnCodeBytes(com.google.protobuf.ByteString value) } checkByteStringIsUtf8(value); lacsLinkReturnCode_ = value; - bitField0_ |= 0x00040000; + bitField0_ |= 0x08000000; onChanged(); return this; } @@ -4908,7 +6777,7 @@ public Builder setLacsLinkIndicator(java.lang.String value) { throw new NullPointerException(); } lacsLinkIndicator_ = value; - bitField0_ |= 0x00080000; + bitField0_ |= 0x10000000; onChanged(); return this; } @@ -4925,7 +6794,7 @@ public Builder setLacsLinkIndicator(java.lang.String value) { */ public Builder clearLacsLinkIndicator() { lacsLinkIndicator_ = getDefaultInstance().getLacsLinkIndicator(); - bitField0_ = (bitField0_ & ~0x00080000); + bitField0_ = (bitField0_ & ~0x10000000); onChanged(); return this; } @@ -4947,7 +6816,7 @@ public Builder setLacsLinkIndicatorBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); lacsLinkIndicator_ = value; - bitField0_ |= 0x00080000; + bitField0_ |= 0x10000000; onChanged(); return this; } @@ -4983,7 +6852,7 @@ public boolean getPoBoxOnlyPostalCode() { public Builder setPoBoxOnlyPostalCode(boolean value) { poBoxOnlyPostalCode_ = value; - bitField0_ |= 0x00100000; + bitField0_ |= 0x20000000; onChanged(); return this; } @@ -4999,7 +6868,7 @@ public Builder setPoBoxOnlyPostalCode(boolean value) { * @return This builder for chaining. */ public Builder clearPoBoxOnlyPostalCode() { - bitField0_ = (bitField0_ & ~0x00100000); + bitField0_ = (bitField0_ & ~0x20000000); poBoxOnlyPostalCode_ = false; onChanged(); return this; @@ -5079,7 +6948,7 @@ public Builder setSuitelinkFootnote(java.lang.String value) { throw new NullPointerException(); } suitelinkFootnote_ = value; - bitField0_ |= 0x00200000; + bitField0_ |= 0x40000000; onChanged(); return this; } @@ -5100,7 +6969,7 @@ public Builder setSuitelinkFootnote(java.lang.String value) { */ public Builder clearSuitelinkFootnote() { suitelinkFootnote_ = getDefaultInstance().getSuitelinkFootnote(); - bitField0_ = (bitField0_ & ~0x00200000); + bitField0_ = (bitField0_ & ~0x40000000); onChanged(); return this; } @@ -5126,7 +6995,7 @@ public Builder setSuitelinkFootnoteBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); suitelinkFootnote_ = value; - bitField0_ |= 0x00200000; + bitField0_ |= 0x40000000; onChanged(); return this; } @@ -5193,7 +7062,7 @@ public Builder setPmbDesignator(java.lang.String value) { throw new NullPointerException(); } pmbDesignator_ = value; - bitField0_ |= 0x00400000; + bitField0_ |= 0x80000000; onChanged(); return this; } @@ -5210,7 +7079,7 @@ public Builder setPmbDesignator(java.lang.String value) { */ public Builder clearPmbDesignator() { pmbDesignator_ = getDefaultInstance().getPmbDesignator(); - bitField0_ = (bitField0_ & ~0x00400000); + bitField0_ = (bitField0_ & ~0x80000000); onChanged(); return this; } @@ -5232,7 +7101,7 @@ public Builder setPmbDesignatorBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); pmbDesignator_ = value; - bitField0_ |= 0x00400000; + bitField0_ |= 0x80000000; onChanged(); return this; } @@ -5299,7 +7168,7 @@ public Builder setPmbNumber(java.lang.String value) { throw new NullPointerException(); } pmbNumber_ = value; - bitField0_ |= 0x00800000; + bitField1_ |= 0x00000001; onChanged(); return this; } @@ -5316,7 +7185,7 @@ public Builder setPmbNumber(java.lang.String value) { */ public Builder clearPmbNumber() { pmbNumber_ = getDefaultInstance().getPmbNumber(); - bitField0_ = (bitField0_ & ~0x00800000); + bitField1_ = (bitField1_ & ~0x00000001); onChanged(); return this; } @@ -5338,7 +7207,7 @@ public Builder setPmbNumberBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); pmbNumber_ = value; - bitField0_ |= 0x00800000; + bitField1_ |= 0x00000001; onChanged(); return this; } @@ -5441,7 +7310,7 @@ public Builder setAddressRecordType(java.lang.String value) { throw new NullPointerException(); } addressRecordType_ = value; - bitField0_ |= 0x01000000; + bitField1_ |= 0x00000002; onChanged(); return this; } @@ -5470,7 +7339,7 @@ public Builder setAddressRecordType(java.lang.String value) { */ public Builder clearAddressRecordType() { addressRecordType_ = getDefaultInstance().getAddressRecordType(); - bitField0_ = (bitField0_ & ~0x01000000); + bitField1_ = (bitField1_ & ~0x00000002); onChanged(); return this; } @@ -5504,7 +7373,7 @@ public Builder setAddressRecordTypeBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); addressRecordType_ = value; - bitField0_ |= 0x01000000; + bitField1_ |= 0x00000002; onChanged(); return this; } @@ -5542,7 +7411,7 @@ public boolean getDefaultAddress() { public Builder setDefaultAddress(boolean value) { defaultAddress_ = value; - bitField0_ |= 0x02000000; + bitField1_ |= 0x00000004; onChanged(); return this; } @@ -5559,7 +7428,7 @@ public Builder setDefaultAddress(boolean value) { * @return This builder for chaining. */ public Builder clearDefaultAddress() { - bitField0_ = (bitField0_ & ~0x02000000); + bitField1_ = (bitField1_ & ~0x00000004); defaultAddress_ = false; onChanged(); return this; @@ -5639,7 +7508,7 @@ public Builder setErrorMessage(java.lang.String value) { throw new NullPointerException(); } errorMessage_ = value; - bitField0_ |= 0x04000000; + bitField1_ |= 0x00000008; onChanged(); return this; } @@ -5660,7 +7529,7 @@ public Builder setErrorMessage(java.lang.String value) { */ public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); - bitField0_ = (bitField0_ & ~0x04000000); + bitField1_ = (bitField1_ & ~0x00000008); onChanged(); return this; } @@ -5686,7 +7555,7 @@ public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) { } checkByteStringIsUtf8(value); errorMessage_ = value; - bitField0_ |= 0x04000000; + bitField1_ |= 0x00000008; onChanged(); return this; } @@ -5722,7 +7591,7 @@ public boolean getCassProcessed() { public Builder setCassProcessed(boolean value) { cassProcessed_ = value; - bitField0_ |= 0x08000000; + bitField1_ |= 0x00000010; onChanged(); return this; } @@ -5738,7 +7607,7 @@ public Builder setCassProcessed(boolean value) { * @return This builder for chaining. */ public Builder clearCassProcessed() { - bitField0_ = (bitField0_ & ~0x08000000); + bitField1_ = (bitField1_ & ~0x00000010); cassProcessed_ = false; onChanged(); return this; diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java index 900cb0735abe..4b7d7cc10b3d 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataOrBuilder.java @@ -119,15 +119,18 @@ public interface UspsDataOrBuilder * * *
-   * The possible values for DPV confirmation. Returns a single character.
+   * The possible values for DPV confirmation. Returns a single character or
+   * returns no value.
    *
-   * * `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.
+   * * `S`: Address was DPV confirmed for the primary number only, and the
+   * secondary number information was present but not confirmed.
+   * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
+   * * Empty: If the response does not contain a `dpv_confirmation` value, the
+   * address was not submitted for DPV confirmation.
    * 
* * string dpv_confirmation = 4; @@ -139,15 +142,18 @@ public interface UspsDataOrBuilder * * *
-   * The possible values for DPV confirmation. Returns a single character.
+   * The possible values for DPV confirmation. Returns a single character or
+   * returns no value.
    *
-   * * `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.
+   * * `S`: Address was DPV confirmed for the primary number only, and the
+   * secondary number information was present but not confirmed.
+   * * `Y`: Address was DPV confirmed for primary and any secondary numbers.
+   * * Empty: If the response does not contain a `dpv_confirmation` value, the
+   * address was not submitted for DPV confirmation.
    * 
* * string dpv_confirmation = 4; @@ -166,11 +172,12 @@ public interface UspsDataOrBuilder * * `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) + * * `CC`: Secondary number not matched and not required + * * `C1`: Secondary number not matched but required * * `N1`: High-rise address missing secondary number * * `M1`: Primary number missing * * `M3`: Primary number invalid - * * `P1`: Input address RR or HC box number missing + * * `P1`: Input address PO, 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 @@ -179,6 +186,8 @@ public interface UspsDataOrBuilder * * `RR`: DPV confirmed address with PMB information * * `R1`: DPV confirmed address without PMB information * * `R7`: Carrier Route R777 or R779 record + * * `IA`: Informed Address identified + * * `TA`: Primary number matched by dropping a trailing alpha * * * string dpv_footnote = 5; @@ -196,11 +205,12 @@ public interface UspsDataOrBuilder * * `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) + * * `CC`: Secondary number not matched and not required + * * `C1`: Secondary number not matched but required * * `N1`: High-rise address missing secondary number * * `M1`: Primary number missing * * `M3`: Primary number invalid - * * `P1`: Input address RR or HC box number missing + * * `P1`: Input address PO, 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 @@ -209,6 +219,8 @@ public interface UspsDataOrBuilder * * `RR`: DPV confirmed address with PMB information * * `R1`: DPV confirmed address without PMB information * * `R7`: Carrier Route R777 or R779 record + * * `IA`: Informed Address identified + * * `TA`: Primary number matched by dropping a trailing alpha * * * string dpv_footnote = 5; @@ -318,6 +330,306 @@ public interface UspsDataOrBuilder */ com.google.protobuf.ByteString getDpvNoStatBytes(); + /** + * + * + *
+   * Indicates the NoStat type. Returns a reason code as int.
+   *
+   * * `1`: IDA (Internal Drop Address) – Addresses that do not receive mail
+   * directly from the USPS but are delivered to a drop address that services
+   * them.
+   * * `2`: CDS - Addresses that have not yet become deliverable. For example, a
+   * new subdivision where lots and primary numbers have been determined, but no
+   * structure exists yet for occupancy.
+   * * `3`: Collision - Addresses that do not actually DPV confirm.
+   * * `4`: CMZ (College, Military and Other Types) - ZIP + 4 records USPS has
+   * incorporated into the data.
+   * * `5`: Regular - Indicates addresses not receiving delivery and the
+   * addresses are not counted as possible deliveries.
+   * * `6`: Secondary Required - The address requires secondary information.
+   * 
+ * + * int32 dpv_no_stat_reason_code = 29; + * + * @return The dpvNoStatReasonCode. + */ + int getDpvNoStatReasonCode(); + + /** + * + * + *
+   * Flag indicates mail is delivered to a single receptable at a site.
+   * Returns a single character.
+   *
+   * * `Y`: The mail is delivered to a single receptable at a site.
+   * * `N`: The mail is not delivered to a single receptable at a site.
+   * 
+ * + * string dpv_drop = 30; + * + * @return The dpvDrop. + */ + java.lang.String getDpvDrop(); + /** + * + * + *
+   * Flag indicates mail is delivered to a single receptable at a site.
+   * Returns a single character.
+   *
+   * * `Y`: The mail is delivered to a single receptable at a site.
+   * * `N`: The mail is not delivered to a single receptable at a site.
+   * 
+ * + * string dpv_drop = 30; + * + * @return The bytes for dpvDrop. + */ + com.google.protobuf.ByteString getDpvDropBytes(); + + /** + * + * + *
+   * Indicates that mail is not delivered to the street address.
+   * Returns a single character.
+   *
+   * * `Y`: The mail is not delivered to the street address.
+   * * `N`: The mail is delivered to the street address.
+   * 
+ * + * string dpv_throwback = 31; + * + * @return The dpvThrowback. + */ + java.lang.String getDpvThrowback(); + /** + * + * + *
+   * Indicates that mail is not delivered to the street address.
+   * Returns a single character.
+   *
+   * * `Y`: The mail is not delivered to the street address.
+   * * `N`: The mail is delivered to the street address.
+   * 
+ * + * string dpv_throwback = 31; + * + * @return The bytes for dpvThrowback. + */ + com.google.protobuf.ByteString getDpvThrowbackBytes(); + + /** + * + * + *
+   * Flag indicates mail delivery is not performed every day of the week.
+   * Returns a single character.
+   *
+   * * `Y`: The mail delivery is not performed every day of the week.
+   * * `N`: No indication the mail delivery is not performed every day of the
+   * week.
+   * 
+ * + * string dpv_non_delivery_days = 32; + * + * @return The dpvNonDeliveryDays. + */ + java.lang.String getDpvNonDeliveryDays(); + /** + * + * + *
+   * Flag indicates mail delivery is not performed every day of the week.
+   * Returns a single character.
+   *
+   * * `Y`: The mail delivery is not performed every day of the week.
+   * * `N`: No indication the mail delivery is not performed every day of the
+   * week.
+   * 
+ * + * string dpv_non_delivery_days = 32; + * + * @return The bytes for dpvNonDeliveryDays. + */ + com.google.protobuf.ByteString getDpvNonDeliveryDaysBytes(); + + /** + * + * + *
+   * Integer identifying non-delivery days. It can be interrogated using bit
+   * flags:
+   * 0x40 – Sunday is a non-delivery day
+   * 0x20 – Monday is a non-delivery day
+   * 0x10 – Tuesday is a non-delivery day
+   * 0x08 – Wednesday is a non-delivery day
+   * 0x04 – Thursday is a non-delivery day
+   * 0x02 – Friday is a non-delivery day
+   * 0x01 – Saturday is a non-delivery day
+   * 
+ * + * int32 dpv_non_delivery_days_values = 33; + * + * @return The dpvNonDeliveryDaysValues. + */ + int getDpvNonDeliveryDaysValues(); + + /** + * + * + *
+   * Flag indicates door is accessible, but package will not be left due to
+   * security concerns.
+   * Returns a single character.
+   *
+   * * `Y`: The package will not be left due to security concerns.
+   * * `N`: No indication the package will not be left due to security concerns.
+   * 
+ * + * string dpv_no_secure_location = 34; + * + * @return The dpvNoSecureLocation. + */ + java.lang.String getDpvNoSecureLocation(); + /** + * + * + *
+   * Flag indicates door is accessible, but package will not be left due to
+   * security concerns.
+   * Returns a single character.
+   *
+   * * `Y`: The package will not be left due to security concerns.
+   * * `N`: No indication the package will not be left due to security concerns.
+   * 
+ * + * string dpv_no_secure_location = 34; + * + * @return The bytes for dpvNoSecureLocation. + */ + com.google.protobuf.ByteString getDpvNoSecureLocationBytes(); + + /** + * + * + *
+   * Indicates the address was matched to PBSA record.
+   * Returns a single character.
+   *
+   * * `Y`: The address was matched to PBSA record.
+   * * `N`: The address was not matched to PBSA record.
+   * 
+ * + * string dpv_pbsa = 35; + * + * @return The dpvPbsa. + */ + java.lang.String getDpvPbsa(); + /** + * + * + *
+   * Indicates the address was matched to PBSA record.
+   * Returns a single character.
+   *
+   * * `Y`: The address was matched to PBSA record.
+   * * `N`: The address was not matched to PBSA record.
+   * 
+ * + * string dpv_pbsa = 35; + * + * @return The bytes for dpvPbsa. + */ + com.google.protobuf.ByteString getDpvPbsaBytes(); + + /** + * + * + *
+   * Flag indicates addresses where USPS cannot knock on a door to deliver mail.
+   * Returns a single character.
+   *
+   * * `Y`: The door is not accessible.
+   * * `N`: No indication the door is not accessible.
+   * 
+ * + * string dpv_door_not_accessible = 36; + * + * @return The dpvDoorNotAccessible. + */ + java.lang.String getDpvDoorNotAccessible(); + /** + * + * + *
+   * Flag indicates addresses where USPS cannot knock on a door to deliver mail.
+   * Returns a single character.
+   *
+   * * `Y`: The door is not accessible.
+   * * `N`: No indication the door is not accessible.
+   * 
+ * + * string dpv_door_not_accessible = 36; + * + * @return The bytes for dpvDoorNotAccessible. + */ + com.google.protobuf.ByteString getDpvDoorNotAccessibleBytes(); + + /** + * + * + *
+   * Indicates that more than one DPV return code is valid for the address.
+   * 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,  or a single
+   * trailing alpha on a primary number was dropped to make a DPV match and
+   * secondary information required.
+   * * `D`: Address was DPV confirmed for the primary number only, and the
+   * secondary number information was missing.
+   * * `R`: Address confirmed but assigned to phantom route R777 and R779 and
+   * USPS delivery is not provided.
+   * 
+ * + * string dpv_enhanced_delivery_code = 37; + * + * @return The dpvEnhancedDeliveryCode. + */ + java.lang.String getDpvEnhancedDeliveryCode(); + /** + * + * + *
+   * Indicates that more than one DPV return code is valid for the address.
+   * 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,  or a single
+   * trailing alpha on a primary number was dropped to make a DPV match and
+   * secondary information required.
+   * * `D`: Address was DPV confirmed for the primary number only, and the
+   * secondary number information was missing.
+   * * `R`: Address confirmed but assigned to phantom route R777 and R779 and
+   * USPS delivery is not provided.
+   * 
+ * + * string dpv_enhanced_delivery_code = 37; + * + * @return The bytes for dpvEnhancedDeliveryCode. + */ + com.google.protobuf.ByteString getDpvEnhancedDeliveryCodeBytes(); + /** * * diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java index 3511cd6b8773..14369a40658f 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/UspsDataProto.java @@ -52,33 +52,40 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_line\030\003 \001(\t\022\024\n\014urbanization\030\004 \001(\t\022#\n\033cit" + "y_state_zip_address_line\030\005 \001(\t\022\014\n\004city\030\006" + " \001(\t\022\r\n\005state\030\007 \001(\t\022\020\n\010zip_code\030\010 \001(\t\022\032\n" - + "\022zip_code_extension\030\t \001(\t\"\374\005\n\010UspsData\022K" + + "\022zip_code_extension\030\t \001(\t\"\202\010\n\010UspsData\022K" + "\n\024standardized_address\030\001 \001(\0132-.google.ma" + "ps.addressvalidation.v1.UspsAddress\022\033\n\023d" + "elivery_point_code\030\002 \001(\t\022\"\n\032delivery_poi" + "nt_check_digit\030\003 \001(\t\022\030\n\020dpv_confirmation" + "\030\004 \001(\t\022\024\n\014dpv_footnote\030\005 \001(\t\022\020\n\010dpv_cmra" + "\030\006 \001(\t\022\022\n\ndpv_vacant\030\007 \001(\t\022\023\n\013dpv_no_sta" - + "t\030\010 \001(\t\022\025\n\rcarrier_route\030\t \001(\t\022\037\n\027carrie" - + "r_route_indicator\030\n \001(\t\022\024\n\014ews_no_match\030" - + "\013 \001(\010\022\030\n\020post_office_city\030\014 \001(\t\022\031\n\021post_" - + "office_state\030\r \001(\t\022\030\n\020abbreviated_city\030\016" - + " \001(\t\022\030\n\020fips_county_code\030\017 \001(\t\022\016\n\006county" - + "\030\020 \001(\t\022\023\n\013elot_number\030\021 \001(\t\022\021\n\telot_flag" - + "\030\022 \001(\t\022\035\n\025lacs_link_return_code\030\023 \001(\t\022\033\n" - + "\023lacs_link_indicator\030\024 \001(\t\022\037\n\027po_box_onl" - + "y_postal_code\030\025 \001(\010\022\032\n\022suitelink_footnot" - + "e\030\026 \001(\t\022\026\n\016pmb_designator\030\027 \001(\t\022\022\n\npmb_n" - + "umber\030\030 \001(\t\022\033\n\023address_record_type\030\031 \001(\t" - + "\022\027\n\017default_address\030\032 \001(\010\022\025\n\rerror_messa" - + "ge\030\033 \001(\t\022\026\n\016cass_processed\030\034 \001(\010B\212\002\n$com" - + ".google.maps.addressvalidation.v1B\rUspsD" - + "ataProtoP\001ZXcloud.google.com/go/maps/add" - + "ressvalidation/apiv1/addressvalidationpb" - + ";addressvalidationpb\370\001\001\242\002\007GMPAVV1\252\002 Goog" - + "le.Maps.AddressValidation.V1\312\002 Google\\Ma" - + "ps\\AddressValidation\\V1\352\002#Google::Maps::" - + "AddressValidation::V1b\006proto3" + + "t\030\010 \001(\t\022\037\n\027dpv_no_stat_reason_code\030\035 \001(\005" + + "\022\020\n\010dpv_drop\030\036 \001(\t\022\025\n\rdpv_throwback\030\037 \001(" + + "\t\022\035\n\025dpv_non_delivery_days\030 \001(\t\022$\n\034dpv_" + + "non_delivery_days_values\030! \001(\005\022\036\n\026dpv_no" + + "_secure_location\030\" \001(\t\022\020\n\010dpv_pbsa\030# \001(\t" + + "\022\037\n\027dpv_door_not_accessible\030$ \001(\t\022\"\n\032dpv" + + "_enhanced_delivery_code\030% \001(\t\022\025\n\rcarrier" + + "_route\030\t \001(\t\022\037\n\027carrier_route_indicator\030" + + "\n \001(\t\022\024\n\014ews_no_match\030\013 \001(\010\022\030\n\020post_offi" + + "ce_city\030\014 \001(\t\022\031\n\021post_office_state\030\r \001(\t" + + "\022\030\n\020abbreviated_city\030\016 \001(\t\022\030\n\020fips_count" + + "y_code\030\017 \001(\t\022\016\n\006county\030\020 \001(\t\022\023\n\013elot_num" + + "ber\030\021 \001(\t\022\021\n\telot_flag\030\022 \001(\t\022\035\n\025lacs_lin" + + "k_return_code\030\023 \001(\t\022\033\n\023lacs_link_indicat" + + "or\030\024 \001(\t\022\037\n\027po_box_only_postal_code\030\025 \001(" + + "\010\022\032\n\022suitelink_footnote\030\026 \001(\t\022\026\n\016pmb_des" + + "ignator\030\027 \001(\t\022\022\n\npmb_number\030\030 \001(\t\022\033\n\023add" + + "ress_record_type\030\031 \001(\t\022\027\n\017default_addres" + + "s\030\032 \001(\010\022\025\n\rerror_message\030\033 \001(\t\022\026\n\016cass_p" + + "rocessed\030\034 \001(\010B\212\002\n$com.google.maps.addre" + + "ssvalidation.v1B\rUspsDataProtoP\001ZXcloud." + + "google.com/go/maps/addressvalidation/api" + + "v1/addressvalidationpb;addressvalidation" + + "pb\370\001\001\242\002\007GMPAVV1\252\002 Google.Maps.AddressVal" + + "idation.V1\312\002 Google\\Maps\\AddressValidati" + + "on\\V1\352\002#Google::Maps::AddressValidation:" + + ":V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -113,6 +120,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "DpvCmra", "DpvVacant", "DpvNoStat", + "DpvNoStatReasonCode", + "DpvDrop", + "DpvThrowback", + "DpvNonDeliveryDays", + "DpvNonDeliveryDaysValues", + "DpvNoSecureLocation", + "DpvPbsa", + "DpvDoorNotAccessible", + "DpvEnhancedDeliveryCode", "CarrierRoute", "CarrierRouteIndicator", "EwsNoMatch", diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java index 0ee478fd1109..778a34928334 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequest.java @@ -40,6 +40,7 @@ private ValidateAddressRequest(com.google.protobuf.GeneratedMessageV3.Builder private ValidateAddressRequest() { previousResponseId_ = ""; + sessionToken_ = ""; } @java.lang.Override @@ -76,8 +77,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -108,8 +109,8 @@ public boolean hasAddress() { * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -140,8 +141,8 @@ public com.google.type.PostalAddress getAddress() { * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -253,6 +254,95 @@ public boolean getEnableUspsCass() { return enableUspsCass_; } + public static final int SESSION_TOKEN_FIELD_NUMBER = 5; + + @SuppressWarnings("serial") + private volatile java.lang.Object sessionToken_ = ""; + /** + * + * + *
+   * Optional. A string which identifies an Autocomplete session for billing
+   * purposes. Must be a URL and filename safe base64 string with at most 36
+   * ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
+   * returned.
+   *
+   * The session begins when the user starts typing a query, and concludes when
+   * they select a place and a call to Place Details or Address Validation is
+   * made. Each session can have multiple autocomplete queries, followed by one
+   * Place Details or Address Validation request. The credentials used for each
+   * request within a session must belong to the same Google Cloud Console
+   * project. Once a session has concluded, the token is no longer valid; your
+   * app must generate a fresh token for each session. If the `session_token`
+   * parameter is omitted, or if you reuse a session token, the session is
+   * charged as if no session token was provided (each request is billed
+   * separately).
+   *
+   * Note: Address Validation can only be used in sessions with the
+   * Autocomplete (New) API, not the old Autocomplete API. See
+   * https://developers.google.com/maps/documentation/places/web-service/session-pricing
+   * for more details.
+   * 
+ * + * string session_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The sessionToken. + */ + @java.lang.Override + public java.lang.String getSessionToken() { + java.lang.Object ref = sessionToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sessionToken_ = s; + return s; + } + } + /** + * + * + *
+   * Optional. A string which identifies an Autocomplete session for billing
+   * purposes. Must be a URL and filename safe base64 string with at most 36
+   * ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
+   * returned.
+   *
+   * The session begins when the user starts typing a query, and concludes when
+   * they select a place and a call to Place Details or Address Validation is
+   * made. Each session can have multiple autocomplete queries, followed by one
+   * Place Details or Address Validation request. The credentials used for each
+   * request within a session must belong to the same Google Cloud Console
+   * project. Once a session has concluded, the token is no longer valid; your
+   * app must generate a fresh token for each session. If the `session_token`
+   * parameter is omitted, or if you reuse a session token, the session is
+   * charged as if no session token was provided (each request is billed
+   * separately).
+   *
+   * Note: Address Validation can only be used in sessions with the
+   * Autocomplete (New) API, not the old Autocomplete API. See
+   * https://developers.google.com/maps/documentation/places/web-service/session-pricing
+   * for more details.
+   * 
+ * + * string session_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for sessionToken. + */ + @java.lang.Override + public com.google.protobuf.ByteString getSessionTokenBytes() { + java.lang.Object ref = sessionToken_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sessionToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -276,6 +366,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (enableUspsCass_ != false) { output.writeBool(3, enableUspsCass_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sessionToken_); + } getUnknownFields().writeTo(output); } @@ -294,6 +387,9 @@ public int getSerializedSize() { if (enableUspsCass_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, enableUspsCass_); } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sessionToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sessionToken_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -316,6 +412,7 @@ public boolean equals(final java.lang.Object obj) { } if (!getPreviousResponseId().equals(other.getPreviousResponseId())) return false; if (getEnableUspsCass() != other.getEnableUspsCass()) return false; + if (!getSessionToken().equals(other.getSessionToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -335,6 +432,8 @@ public int hashCode() { hash = (53 * hash) + getPreviousResponseId().hashCode(); hash = (37 * hash) + ENABLE_USPS_CASS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableUspsCass()); + hash = (37 * hash) + SESSION_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getSessionToken().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -491,6 +590,7 @@ public Builder clear() { } previousResponseId_ = ""; enableUspsCass_ = false; + sessionToken_ = ""; return this; } @@ -538,6 +638,9 @@ private void buildPartial0(com.google.maps.addressvalidation.v1.ValidateAddressR if (((from_bitField0_ & 0x00000004) != 0)) { result.enableUspsCass_ = enableUspsCass_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.sessionToken_ = sessionToken_; + } result.bitField0_ |= to_bitField0_; } @@ -598,6 +701,11 @@ public Builder mergeFrom(com.google.maps.addressvalidation.v1.ValidateAddressReq if (other.getEnableUspsCass() != false) { setEnableUspsCass(other.getEnableUspsCass()); } + if (!other.getSessionToken().isEmpty()) { + sessionToken_ = other.sessionToken_; + bitField0_ |= 0x00000008; + onChanged(); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -642,6 +750,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000004; break; } // case 24 + case 42: + { + sessionToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -677,8 +791,8 @@ public Builder mergeFrom( * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -709,8 +823,8 @@ public boolean hasAddress() { * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -745,8 +859,8 @@ public com.google.type.PostalAddress getAddress() { * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -785,8 +899,8 @@ public Builder setAddress(com.google.type.PostalAddress value) { * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -822,8 +936,8 @@ public Builder setAddress(com.google.type.PostalAddress.Builder builderForValue) * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -867,8 +981,8 @@ public Builder mergeAddress(com.google.type.PostalAddress value) { * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -904,8 +1018,8 @@ public Builder clearAddress() { * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -936,8 +1050,8 @@ public com.google.type.PostalAddress.Builder getAddressBuilder() { * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -970,8 +1084,8 @@ public com.google.type.PostalAddressOrBuilder getAddressOrBuilder() { * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -1226,6 +1340,207 @@ public Builder clearEnableUspsCass() { return this; } + private java.lang.Object sessionToken_ = ""; + /** + * + * + *
+     * Optional. A string which identifies an Autocomplete session for billing
+     * purposes. Must be a URL and filename safe base64 string with at most 36
+     * ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
+     * returned.
+     *
+     * The session begins when the user starts typing a query, and concludes when
+     * they select a place and a call to Place Details or Address Validation is
+     * made. Each session can have multiple autocomplete queries, followed by one
+     * Place Details or Address Validation request. The credentials used for each
+     * request within a session must belong to the same Google Cloud Console
+     * project. Once a session has concluded, the token is no longer valid; your
+     * app must generate a fresh token for each session. If the `session_token`
+     * parameter is omitted, or if you reuse a session token, the session is
+     * charged as if no session token was provided (each request is billed
+     * separately).
+     *
+     * Note: Address Validation can only be used in sessions with the
+     * Autocomplete (New) API, not the old Autocomplete API. See
+     * https://developers.google.com/maps/documentation/places/web-service/session-pricing
+     * for more details.
+     * 
+ * + * string session_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The sessionToken. + */ + public java.lang.String getSessionToken() { + java.lang.Object ref = sessionToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + sessionToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Optional. A string which identifies an Autocomplete session for billing
+     * purposes. Must be a URL and filename safe base64 string with at most 36
+     * ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
+     * returned.
+     *
+     * The session begins when the user starts typing a query, and concludes when
+     * they select a place and a call to Place Details or Address Validation is
+     * made. Each session can have multiple autocomplete queries, followed by one
+     * Place Details or Address Validation request. The credentials used for each
+     * request within a session must belong to the same Google Cloud Console
+     * project. Once a session has concluded, the token is no longer valid; your
+     * app must generate a fresh token for each session. If the `session_token`
+     * parameter is omitted, or if you reuse a session token, the session is
+     * charged as if no session token was provided (each request is billed
+     * separately).
+     *
+     * Note: Address Validation can only be used in sessions with the
+     * Autocomplete (New) API, not the old Autocomplete API. See
+     * https://developers.google.com/maps/documentation/places/web-service/session-pricing
+     * for more details.
+     * 
+ * + * string session_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for sessionToken. + */ + public com.google.protobuf.ByteString getSessionTokenBytes() { + java.lang.Object ref = sessionToken_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + sessionToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Optional. A string which identifies an Autocomplete session for billing
+     * purposes. Must be a URL and filename safe base64 string with at most 36
+     * ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
+     * returned.
+     *
+     * The session begins when the user starts typing a query, and concludes when
+     * they select a place and a call to Place Details or Address Validation is
+     * made. Each session can have multiple autocomplete queries, followed by one
+     * Place Details or Address Validation request. The credentials used for each
+     * request within a session must belong to the same Google Cloud Console
+     * project. Once a session has concluded, the token is no longer valid; your
+     * app must generate a fresh token for each session. If the `session_token`
+     * parameter is omitted, or if you reuse a session token, the session is
+     * charged as if no session token was provided (each request is billed
+     * separately).
+     *
+     * Note: Address Validation can only be used in sessions with the
+     * Autocomplete (New) API, not the old Autocomplete API. See
+     * https://developers.google.com/maps/documentation/places/web-service/session-pricing
+     * for more details.
+     * 
+ * + * string session_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The sessionToken to set. + * @return This builder for chaining. + */ + public Builder setSessionToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + sessionToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. A string which identifies an Autocomplete session for billing
+     * purposes. Must be a URL and filename safe base64 string with at most 36
+     * ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
+     * returned.
+     *
+     * The session begins when the user starts typing a query, and concludes when
+     * they select a place and a call to Place Details or Address Validation is
+     * made. Each session can have multiple autocomplete queries, followed by one
+     * Place Details or Address Validation request. The credentials used for each
+     * request within a session must belong to the same Google Cloud Console
+     * project. Once a session has concluded, the token is no longer valid; your
+     * app must generate a fresh token for each session. If the `session_token`
+     * parameter is omitted, or if you reuse a session token, the session is
+     * charged as if no session token was provided (each request is billed
+     * separately).
+     *
+     * Note: Address Validation can only be used in sessions with the
+     * Autocomplete (New) API, not the old Autocomplete API. See
+     * https://developers.google.com/maps/documentation/places/web-service/session-pricing
+     * for more details.
+     * 
+ * + * string session_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearSessionToken() { + sessionToken_ = getDefaultInstance().getSessionToken(); + bitField0_ = (bitField0_ & ~0x00000008); + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. A string which identifies an Autocomplete session for billing
+     * purposes. Must be a URL and filename safe base64 string with at most 36
+     * ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
+     * returned.
+     *
+     * The session begins when the user starts typing a query, and concludes when
+     * they select a place and a call to Place Details or Address Validation is
+     * made. Each session can have multiple autocomplete queries, followed by one
+     * Place Details or Address Validation request. The credentials used for each
+     * request within a session must belong to the same Google Cloud Console
+     * project. Once a session has concluded, the token is no longer valid; your
+     * app must generate a fresh token for each session. If the `session_token`
+     * parameter is omitted, or if you reuse a session token, the session is
+     * charged as if no session token was provided (each request is billed
+     * separately).
+     *
+     * Note: Address Validation can only be used in sessions with the
+     * Autocomplete (New) API, not the old Autocomplete API. See
+     * https://developers.google.com/maps/documentation/places/web-service/session-pricing
+     * for more details.
+     * 
+ * + * string session_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The bytes for sessionToken to set. + * @return This builder for chaining. + */ + public Builder setSessionTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + sessionToken_ = value; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java index 748483b2c2b0..ec8db6f1e8b3 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/ValidateAddressRequestOrBuilder.java @@ -34,8 +34,8 @@ public interface ValidateAddressRequestOrBuilder * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -63,8 +63,8 @@ public interface ValidateAddressRequestOrBuilder * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -92,8 +92,8 @@ public interface ValidateAddressRequestOrBuilder * The total length of the fields in this input must not exceed 280 * characters. * - * Supported regions can be found in the - * [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + * Supported regions can be found + * [here](https://developers.google.com/maps/documentation/address-validation/coverage). * * The [language_code][google.type.PostalAddress.language_code] value in the * input address is reserved for future uses and is ignored today. The @@ -170,4 +170,67 @@ public interface ValidateAddressRequestOrBuilder * @return The enableUspsCass. */ boolean getEnableUspsCass(); + + /** + * + * + *
+   * Optional. A string which identifies an Autocomplete session for billing
+   * purposes. Must be a URL and filename safe base64 string with at most 36
+   * ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
+   * returned.
+   *
+   * The session begins when the user starts typing a query, and concludes when
+   * they select a place and a call to Place Details or Address Validation is
+   * made. Each session can have multiple autocomplete queries, followed by one
+   * Place Details or Address Validation request. The credentials used for each
+   * request within a session must belong to the same Google Cloud Console
+   * project. Once a session has concluded, the token is no longer valid; your
+   * app must generate a fresh token for each session. If the `session_token`
+   * parameter is omitted, or if you reuse a session token, the session is
+   * charged as if no session token was provided (each request is billed
+   * separately).
+   *
+   * Note: Address Validation can only be used in sessions with the
+   * Autocomplete (New) API, not the old Autocomplete API. See
+   * https://developers.google.com/maps/documentation/places/web-service/session-pricing
+   * for more details.
+   * 
+ * + * string session_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The sessionToken. + */ + java.lang.String getSessionToken(); + /** + * + * + *
+   * Optional. A string which identifies an Autocomplete session for billing
+   * purposes. Must be a URL and filename safe base64 string with at most 36
+   * ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
+   * returned.
+   *
+   * The session begins when the user starts typing a query, and concludes when
+   * they select a place and a call to Place Details or Address Validation is
+   * made. Each session can have multiple autocomplete queries, followed by one
+   * Place Details or Address Validation request. The credentials used for each
+   * request within a session must belong to the same Google Cloud Console
+   * project. Once a session has concluded, the token is no longer valid; your
+   * app must generate a fresh token for each session. If the `session_token`
+   * parameter is omitted, or if you reuse a session token, the session is
+   * charged as if no session token was provided (each request is billed
+   * separately).
+   *
+   * Note: Address Validation can only be used in sessions with the
+   * Autocomplete (New) API, not the old Autocomplete API. See
+   * https://developers.google.com/maps/documentation/places/web-service/session-pricing
+   * for more details.
+   * 
+ * + * string session_token = 5 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The bytes for sessionToken. + */ + com.google.protobuf.ByteString getSessionTokenBytes(); } diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java index 4e7b862d0e68..060bdb41a58e 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/java/com/google/maps/addressvalidation/v1/Verdict.java @@ -116,8 +116,7 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * A geocode that should be very close to the building-level location of
-     * the address.
+     * A geocode that approximates the building-level location of the address.
      * 
* * PREMISE_PROXIMITY = 3; @@ -193,8 +192,7 @@ public enum Granularity implements com.google.protobuf.ProtocolMessageEnum { * * *
-     * A geocode that should be very close to the building-level location of
-     * the address.
+     * A geocode that approximates the building-level location of the address.
      * 
* * PREMISE_PROXIMITY = 3; diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto index c24a3bf96181..031361178dcf 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address.proto @@ -118,9 +118,11 @@ message AddressComponent { // for a complete address. bool inferred = 4; - // 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. + // Indicates a correction to a misspelling in the component name. The API + // does not always flag changes from one spelling variant to another, such as + // when changing "centre" to "center". It also does not always flag common + // misspellings, such as when changing "Amphitheater Pkwy" to "Amphitheatre + // Pkwy". bool spell_corrected = 5; // Indicates the name of the component was replaced with a completely diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto index ff19440eeded..134b27577627 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/address_validation_service.proto @@ -70,8 +70,8 @@ message ValidateAddressRequest { // The total length of the fields in this input must not exceed 280 // characters. // - // Supported regions can be found in the - // [FAQ](https://developers.google.com/maps/documentation/address-validation/faq#which_regions_are_currently_supported). + // Supported regions can be found + // [here](https://developers.google.com/maps/documentation/address-validation/coverage). // // The [language_code][google.type.PostalAddress.language_code] value in the // input address is reserved for future uses and is ignored today. The @@ -107,6 +107,28 @@ message ValidateAddressRequest { // contains the street number and name and the second line contains the city, // state, and zip code. bool enable_usps_cass = 3; + + // Optional. A string which identifies an Autocomplete session for billing + // purposes. Must be a URL and filename safe base64 string with at most 36 + // ASCII characters in length. Otherwise an INVALID_ARGUMENT error is + // returned. + // + // The session begins when the user starts typing a query, and concludes when + // they select a place and a call to Place Details or Address Validation is + // made. Each session can have multiple autocomplete queries, followed by one + // Place Details or Address Validation request. The credentials used for each + // request within a session must belong to the same Google Cloud Console + // project. Once a session has concluded, the token is no longer valid; your + // app must generate a fresh token for each session. If the `session_token` + // parameter is omitted, or if you reuse a session token, the session is + // charged as if no session token was provided (each request is billed + // separately). + // + // Note: Address Validation can only be used in sessions with the + // Autocomplete (New) API, not the old Autocomplete API. See + // https://developers.google.com/maps/documentation/places/web-service/session-pricing + // for more details. + string session_token = 5 [(google.api.field_behavior) = OPTIONAL]; } // The response to an address validation request. @@ -204,8 +226,7 @@ message Verdict { // Building-level result. PREMISE = 2; - // A geocode that should be very close to the building-level location of - // the address. + // A geocode that approximates the building-level location of the address. PREMISE_PROXIMITY = 3; // The address or geocode indicates a block. Only used in regions which diff --git a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto index c1680a127790..a6d85fb3fd86 100644 --- a/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto +++ b/java-maps-addressvalidation/proto-google-maps-addressvalidation-v1/src/main/proto/google/maps/addressvalidation/v1/usps_data.proto @@ -73,15 +73,18 @@ message UspsData { // code, and ZIP+4 together should yield a number divisible by 10. string delivery_point_check_digit = 3; - // The possible values for DPV confirmation. Returns a single character. + // The possible values for DPV confirmation. Returns a single character or + // returns no value. // - // * `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. + // * `S`: Address was DPV confirmed for the primary number only, and the + // secondary number information was present but not confirmed. + // * `Y`: Address was DPV confirmed for primary and any secondary numbers. + // * Empty: If the response does not contain a `dpv_confirmation` value, the + // address was not submitted for DPV confirmation. string dpv_confirmation = 4; // The footnotes from delivery point validation. @@ -90,11 +93,12 @@ message UspsData { // * `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) + // * `CC`: Secondary number not matched and not required + // * `C1`: Secondary number not matched but required // * `N1`: High-rise address missing secondary number // * `M1`: Primary number missing // * `M3`: Primary number invalid - // * `P1`: Input address RR or HC box number missing + // * `P1`: Input address PO, 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 @@ -103,6 +107,8 @@ message UspsData { // * `RR`: DPV confirmed address with PMB information // * `R1`: DPV confirmed address without PMB information // * `R7`: Carrier Route R777 or R779 record + // * `IA`: Informed Address identified + // * `TA`: Primary number matched by dropping a trailing alpha string dpv_footnote = 5; // Indicates if the address is a CMRA (Commercial Mail Receiving Agency)--a @@ -127,6 +133,93 @@ message UspsData { // * `N`: The address is active string dpv_no_stat = 8; + // Indicates the NoStat type. Returns a reason code as int. + // + // * `1`: IDA (Internal Drop Address) – Addresses that do not receive mail + // directly from the USPS but are delivered to a drop address that services + // them. + // * `2`: CDS - Addresses that have not yet become deliverable. For example, a + // new subdivision where lots and primary numbers have been determined, but no + // structure exists yet for occupancy. + // * `3`: Collision - Addresses that do not actually DPV confirm. + // * `4`: CMZ (College, Military and Other Types) - ZIP + 4 records USPS has + // incorporated into the data. + // * `5`: Regular - Indicates addresses not receiving delivery and the + // addresses are not counted as possible deliveries. + // * `6`: Secondary Required - The address requires secondary information. + int32 dpv_no_stat_reason_code = 29; + + // Flag indicates mail is delivered to a single receptable at a site. + // Returns a single character. + // + // * `Y`: The mail is delivered to a single receptable at a site. + // * `N`: The mail is not delivered to a single receptable at a site. + string dpv_drop = 30; + + // Indicates that mail is not delivered to the street address. + // Returns a single character. + // + // * `Y`: The mail is not delivered to the street address. + // * `N`: The mail is delivered to the street address. + string dpv_throwback = 31; + + // Flag indicates mail delivery is not performed every day of the week. + // Returns a single character. + // + // * `Y`: The mail delivery is not performed every day of the week. + // * `N`: No indication the mail delivery is not performed every day of the + // week. + string dpv_non_delivery_days = 32; + + // Integer identifying non-delivery days. It can be interrogated using bit + // flags: + // 0x40 – Sunday is a non-delivery day + // 0x20 – Monday is a non-delivery day + // 0x10 – Tuesday is a non-delivery day + // 0x08 – Wednesday is a non-delivery day + // 0x04 – Thursday is a non-delivery day + // 0x02 – Friday is a non-delivery day + // 0x01 – Saturday is a non-delivery day + int32 dpv_non_delivery_days_values = 33; + + // Flag indicates door is accessible, but package will not be left due to + // security concerns. + // Returns a single character. + // + // * `Y`: The package will not be left due to security concerns. + // * `N`: No indication the package will not be left due to security concerns. + string dpv_no_secure_location = 34; + + // Indicates the address was matched to PBSA record. + // Returns a single character. + // + // * `Y`: The address was matched to PBSA record. + // * `N`: The address was not matched to PBSA record. + string dpv_pbsa = 35; + + // Flag indicates addresses where USPS cannot knock on a door to deliver mail. + // Returns a single character. + // + // * `Y`: The door is not accessible. + // * `N`: No indication the door is not accessible. + string dpv_door_not_accessible = 36; + + // Indicates that more than one DPV return code is valid for the address. + // 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, or a single + // trailing alpha on a primary number was dropped to make a DPV match and + // secondary information required. + // * `D`: Address was DPV confirmed for the primary number only, and the + // secondary number information was missing. + // * `R`: Address confirmed but assigned to phantom route R777 and R779 and + // USPS delivery is not provided. + string dpv_enhanced_delivery_code = 37; + // The carrier route code. // A four character code consisting of a one letter prefix and a three digit // route designator. diff --git a/java-maps-addressvalidation/samples/snippets/generated/com/google/maps/addressvalidation/v1/addressvalidation/validateaddress/AsyncValidateAddress.java b/java-maps-addressvalidation/samples/snippets/generated/com/google/maps/addressvalidation/v1/addressvalidation/validateaddress/AsyncValidateAddress.java index 4fe53a6a361a..c202f9c10880 100644 --- a/java-maps-addressvalidation/samples/snippets/generated/com/google/maps/addressvalidation/v1/addressvalidation/validateaddress/AsyncValidateAddress.java +++ b/java-maps-addressvalidation/samples/snippets/generated/com/google/maps/addressvalidation/v1/addressvalidation/validateaddress/AsyncValidateAddress.java @@ -41,6 +41,7 @@ public static void asyncValidateAddress() throws Exception { .setAddress(PostalAddress.newBuilder().build()) .setPreviousResponseId("previousResponseId468754323") .setEnableUspsCass(true) + .setSessionToken("sessionToken-696552189") .build(); ApiFuture future = addressValidationClient.validateAddressCallable().futureCall(request); diff --git a/java-maps-addressvalidation/samples/snippets/generated/com/google/maps/addressvalidation/v1/addressvalidation/validateaddress/SyncValidateAddress.java b/java-maps-addressvalidation/samples/snippets/generated/com/google/maps/addressvalidation/v1/addressvalidation/validateaddress/SyncValidateAddress.java index 48881dd93465..4b8048a8927d 100644 --- a/java-maps-addressvalidation/samples/snippets/generated/com/google/maps/addressvalidation/v1/addressvalidation/validateaddress/SyncValidateAddress.java +++ b/java-maps-addressvalidation/samples/snippets/generated/com/google/maps/addressvalidation/v1/addressvalidation/validateaddress/SyncValidateAddress.java @@ -40,6 +40,7 @@ public static void syncValidateAddress() throws Exception { .setAddress(PostalAddress.newBuilder().build()) .setPreviousResponseId("previousResponseId468754323") .setEnableUspsCass(true) + .setSessionToken("sessionToken-696552189") .build(); ValidateAddressResponse response = addressValidationClient.validateAddress(request); }