31
31
public final class GoogleMapsAddressvalidationV1Verdict extends com .google .api .client .json .GenericJson {
32
32
33
33
/**
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
36
36
* `missing_component_types`, `unresolved_tokens` or `unexpected` fields for more details.
37
37
* The value may be {@code null}.
38
38
*/
@@ -67,6 +67,14 @@ public final class GoogleMapsAddressvalidationV1Verdict extends com.google.api.c
67
67
@ com .google .api .client .util .Key
68
68
private java .lang .Boolean hasReplacedComponents ;
69
69
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
+
70
78
/**
71
79
* At least one address component cannot be categorized or validated, see
72
80
* [google.maps.addressvalidation.v1.Address.address_components] for details.
@@ -81,25 +89,41 @@ public final class GoogleMapsAddressvalidationV1Verdict extends com.google.api.c
81
89
* below. For example, if the input address includes a specific apartment number, then the
82
90
* `input_granularity` here will be `SUB_PREMISE`. If we cannot match the apartment number in the
83
91
* databases or the apartment number is invalid, the `validation_granularity` will likely be
84
- * `PREMISE` or worse .
92
+ * `PREMISE` or more coarse .
85
93
* The value may be {@code null}.
86
94
*/
87
95
@ com .google .api .client .util .Key
88
96
private java .lang .String inputGranularity ;
89
97
90
98
/**
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].
95
119
* The value may be {@code null}.
96
120
*/
97
121
@ com .google .api .client .util .Key
98
122
private java .lang .String validationGranularity ;
99
123
100
124
/**
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
103
127
* `missing_component_types`, `unresolved_tokens` or `unexpected` fields for more details.
104
128
* @return value or {@code null} for none
105
129
*/
@@ -108,8 +132,8 @@ public java.lang.Boolean getAddressComplete() {
108
132
}
109
133
110
134
/**
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
113
137
* `missing_component_types`, `unresolved_tokens` or `unexpected` fields for more details.
114
138
* @param addressComplete addressComplete or {@code null} for none
115
139
*/
@@ -183,6 +207,25 @@ public GoogleMapsAddressvalidationV1Verdict setHasReplacedComponents(java.lang.B
183
207
return this ;
184
208
}
185
209
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
+
186
229
/**
187
230
* At least one address component cannot be categorized or validated, see
188
231
* [google.maps.addressvalidation.v1.Address.address_components] for details.
@@ -208,7 +251,7 @@ public GoogleMapsAddressvalidationV1Verdict setHasUnconfirmedComponents(java.lan
208
251
* below. For example, if the input address includes a specific apartment number, then the
209
252
* `input_granularity` here will be `SUB_PREMISE`. If we cannot match the apartment number in the
210
253
* databases or the apartment number is invalid, the `validation_granularity` will likely be
211
- * `PREMISE` or worse .
254
+ * `PREMISE` or more coarse .
212
255
* @return value or {@code null} for none
213
256
*/
214
257
public java .lang .String getInputGranularity () {
@@ -221,7 +264,7 @@ public java.lang.String getInputGranularity() {
221
264
* below. For example, if the input address includes a specific apartment number, then the
222
265
* `input_granularity` here will be `SUB_PREMISE`. If we cannot match the apartment number in the
223
266
* databases or the apartment number is invalid, the `validation_granularity` will likely be
224
- * `PREMISE` or worse .
267
+ * `PREMISE` or more coarse .
225
268
* @param inputGranularity inputGranularity or {@code null} for none
226
269
*/
227
270
public GoogleMapsAddressvalidationV1Verdict setInputGranularity (java .lang .String inputGranularity ) {
@@ -230,21 +273,56 @@ public GoogleMapsAddressvalidationV1Verdict setInputGranularity(java.lang.String
230
273
}
231
274
232
275
/**
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].
237
315
* @return value or {@code null} for none
238
316
*/
239
317
public java .lang .String getValidationGranularity () {
240
318
return validationGranularity ;
241
319
}
242
320
243
321
/**
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].
248
326
* @param validationGranularity validationGranularity or {@code null} for none
249
327
*/
250
328
public GoogleMapsAddressvalidationV1Verdict setValidationGranularity (java .lang .String validationGranularity ) {
0 commit comments