3131public final class GoogleMapsAddressvalidationV1Verdict extends com .google .api .client .json .GenericJson {
3232
3333 /**
34- * The address is considered complete if there are no unresolved tokens, no unexpected or missing
35- * address components. If unset, indicates that the value is `false`. See
34+ * The post-processed address is considered complete if there are no unresolved tokens, no
35+ * unexpected or missing address components. If unset, indicates that the value is `false`. See
3636 * `missing_component_types`, `unresolved_tokens` or `unexpected` fields for more details.
3737 * The value may be {@code null}.
3838 */
@@ -67,6 +67,14 @@ public final class GoogleMapsAddressvalidationV1Verdict extends com.google.api.c
6767 @ com .google .api .client .util .Key
6868 private java .lang .Boolean hasReplacedComponents ;
6969
70+ /**
71+ * At least one address component was spell-corrected, see
72+ * [google.maps.addressvalidation.v1.Address.address_components] for details.
73+ * The value may be {@code null}.
74+ */
75+ @ com .google .api .client .util .Key
76+ private java .lang .Boolean hasSpellCorrectedComponents ;
77+
7078 /**
7179 * At least one address component cannot be categorized or validated, see
7280 * [google.maps.addressvalidation.v1.Address.address_components] for details.
@@ -81,25 +89,41 @@ public final class GoogleMapsAddressvalidationV1Verdict extends com.google.api.c
8189 * below. For example, if the input address includes a specific apartment number, then the
8290 * `input_granularity` here will be `SUB_PREMISE`. If we cannot match the apartment number in the
8391 * databases or the apartment number is invalid, the `validation_granularity` will likely be
84- * `PREMISE` or worse .
92+ * `PREMISE` or more coarse .
8593 * The value may be {@code null}.
8694 */
8795 @ com .google .api .client .util .Key
8896 private java .lang .String inputGranularity ;
8997
9098 /**
91- * The granularity level that the API can fully **validate** the address to. For example, an
92- * `validation_granularity` of `PREMISE` indicates all address components at the level of
93- * `PREMISE` or more coarse can be validated. Per address component validation result can be found
94- * in [google.maps.addressvalidation.v1.Address.address_components].
99+ * Preview: This feature is in Preview (pre-GA). Pre-GA products and features might have limited
100+ * support, and changes to pre-GA products and features might not be compatible with other pre-GA
101+ * versions. Pre-GA Offerings are covered by the [Google Maps Platform Service Specific
102+ * Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). For more information,
103+ * see the [launch stage descriptions](https://developers.google.com/maps/launch-stages). Offers
104+ * an interpretive summary of the API response, intended to assist in determining a potential
105+ * subsequent action to take. This field is derived from other fields in the API response and
106+ * should not be considered as a guarantee of address accuracy or deliverability. See [Build your
107+ * validation logic](https://developers.google.com/maps/documentation/address-validation/build-
108+ * validation-logic) for more details.
109+ * The value may be {@code null}.
110+ */
111+ @ com .google .api .client .util .Key
112+ private java .lang .String possibleNextAction ;
113+
114+ /**
115+ * The level of granularity for the post-processed address that the API can fully validate. For
116+ * example, a `validation_granularity` of `PREMISE` indicates all address components at the level
117+ * of `PREMISE` or more coarse can be validated. Per address component validation result can be
118+ * found in [google.maps.addressvalidation.v1.Address.address_components].
95119 * The value may be {@code null}.
96120 */
97121 @ com .google .api .client .util .Key
98122 private java .lang .String validationGranularity ;
99123
100124 /**
101- * The address is considered complete if there are no unresolved tokens, no unexpected or missing
102- * address components. If unset, indicates that the value is `false`. See
125+ * The post-processed address is considered complete if there are no unresolved tokens, no
126+ * unexpected or missing address components. If unset, indicates that the value is `false`. See
103127 * `missing_component_types`, `unresolved_tokens` or `unexpected` fields for more details.
104128 * @return value or {@code null} for none
105129 */
@@ -108,8 +132,8 @@ public java.lang.Boolean getAddressComplete() {
108132 }
109133
110134 /**
111- * The address is considered complete if there are no unresolved tokens, no unexpected or missing
112- * address components. If unset, indicates that the value is `false`. See
135+ * The post-processed address is considered complete if there are no unresolved tokens, no
136+ * unexpected or missing address components. If unset, indicates that the value is `false`. See
113137 * `missing_component_types`, `unresolved_tokens` or `unexpected` fields for more details.
114138 * @param addressComplete addressComplete or {@code null} for none
115139 */
@@ -183,6 +207,25 @@ public GoogleMapsAddressvalidationV1Verdict setHasReplacedComponents(java.lang.B
183207 return this ;
184208 }
185209
210+ /**
211+ * At least one address component was spell-corrected, see
212+ * [google.maps.addressvalidation.v1.Address.address_components] for details.
213+ * @return value or {@code null} for none
214+ */
215+ public java .lang .Boolean getHasSpellCorrectedComponents () {
216+ return hasSpellCorrectedComponents ;
217+ }
218+
219+ /**
220+ * At least one address component was spell-corrected, see
221+ * [google.maps.addressvalidation.v1.Address.address_components] for details.
222+ * @param hasSpellCorrectedComponents hasSpellCorrectedComponents or {@code null} for none
223+ */
224+ public GoogleMapsAddressvalidationV1Verdict setHasSpellCorrectedComponents (java .lang .Boolean hasSpellCorrectedComponents ) {
225+ this .hasSpellCorrectedComponents = hasSpellCorrectedComponents ;
226+ return this ;
227+ }
228+
186229 /**
187230 * At least one address component cannot be categorized or validated, see
188231 * [google.maps.addressvalidation.v1.Address.address_components] for details.
@@ -208,7 +251,7 @@ public GoogleMapsAddressvalidationV1Verdict setHasUnconfirmedComponents(java.lan
208251 * below. For example, if the input address includes a specific apartment number, then the
209252 * `input_granularity` here will be `SUB_PREMISE`. If we cannot match the apartment number in the
210253 * databases or the apartment number is invalid, the `validation_granularity` will likely be
211- * `PREMISE` or worse .
254+ * `PREMISE` or more coarse .
212255 * @return value or {@code null} for none
213256 */
214257 public java .lang .String getInputGranularity () {
@@ -221,7 +264,7 @@ public java.lang.String getInputGranularity() {
221264 * below. For example, if the input address includes a specific apartment number, then the
222265 * `input_granularity` here will be `SUB_PREMISE`. If we cannot match the apartment number in the
223266 * databases or the apartment number is invalid, the `validation_granularity` will likely be
224- * `PREMISE` or worse .
267+ * `PREMISE` or more coarse .
225268 * @param inputGranularity inputGranularity or {@code null} for none
226269 */
227270 public GoogleMapsAddressvalidationV1Verdict setInputGranularity (java .lang .String inputGranularity ) {
@@ -230,21 +273,56 @@ public GoogleMapsAddressvalidationV1Verdict setInputGranularity(java.lang.String
230273 }
231274
232275 /**
233- * The granularity level that the API can fully **validate** the address to. For example, an
234- * `validation_granularity` of `PREMISE` indicates all address components at the level of
235- * `PREMISE` or more coarse can be validated. Per address component validation result can be found
236- * in [google.maps.addressvalidation.v1.Address.address_components].
276+ * Preview: This feature is in Preview (pre-GA). Pre-GA products and features might have limited
277+ * support, and changes to pre-GA products and features might not be compatible with other pre-GA
278+ * versions. Pre-GA Offerings are covered by the [Google Maps Platform Service Specific
279+ * Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). For more information,
280+ * see the [launch stage descriptions](https://developers.google.com/maps/launch-stages). Offers
281+ * an interpretive summary of the API response, intended to assist in determining a potential
282+ * subsequent action to take. This field is derived from other fields in the API response and
283+ * should not be considered as a guarantee of address accuracy or deliverability. See [Build your
284+ * validation logic](https://developers.google.com/maps/documentation/address-validation/build-
285+ * validation-logic) for more details.
286+ * @return value or {@code null} for none
287+ */
288+ public java .lang .String getPossibleNextAction () {
289+ return possibleNextAction ;
290+ }
291+
292+ /**
293+ * Preview: This feature is in Preview (pre-GA). Pre-GA products and features might have limited
294+ * support, and changes to pre-GA products and features might not be compatible with other pre-GA
295+ * versions. Pre-GA Offerings are covered by the [Google Maps Platform Service Specific
296+ * Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). For more information,
297+ * see the [launch stage descriptions](https://developers.google.com/maps/launch-stages). Offers
298+ * an interpretive summary of the API response, intended to assist in determining a potential
299+ * subsequent action to take. This field is derived from other fields in the API response and
300+ * should not be considered as a guarantee of address accuracy or deliverability. See [Build your
301+ * validation logic](https://developers.google.com/maps/documentation/address-validation/build-
302+ * validation-logic) for more details.
303+ * @param possibleNextAction possibleNextAction or {@code null} for none
304+ */
305+ public GoogleMapsAddressvalidationV1Verdict setPossibleNextAction (java .lang .String possibleNextAction ) {
306+ this .possibleNextAction = possibleNextAction ;
307+ return this ;
308+ }
309+
310+ /**
311+ * The level of granularity for the post-processed address that the API can fully validate. For
312+ * example, a `validation_granularity` of `PREMISE` indicates all address components at the level
313+ * of `PREMISE` or more coarse can be validated. Per address component validation result can be
314+ * found in [google.maps.addressvalidation.v1.Address.address_components].
237315 * @return value or {@code null} for none
238316 */
239317 public java .lang .String getValidationGranularity () {
240318 return validationGranularity ;
241319 }
242320
243321 /**
244- * The granularity level that the API can fully ** validate** the address to . For example, an
245- * `validation_granularity` of `PREMISE` indicates all address components at the level of
246- * `PREMISE` or more coarse can be validated. Per address component validation result can be found
247- * in [google.maps.addressvalidation.v1.Address.address_components].
322+ * The level of granularity for the post-processed address that the API can fully validate. For
323+ * example, a `validation_granularity` of `PREMISE` indicates all address components at the level
324+ * of `PREMISE` or more coarse can be validated. Per address component validation result can be
325+ * found in [google.maps.addressvalidation.v1.Address.address_components].
248326 * @param validationGranularity validationGranularity or {@code null} for none
249327 */
250328 public GoogleMapsAddressvalidationV1Verdict setValidationGranularity (java .lang .String validationGranularity ) {
0 commit comments