Debian Codegraph @

googleapis/maps/addressvalidation/v1/alias.go

raw
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by aliasgen. DO NOT EDIT.
16
17 // Package addressvalidation aliases all exported identifiers in package
18 // "cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb".
19 //
20 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb.
21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
22 // for more details.
23 package addressvalidation
24
25 import (
26 src "cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb"
27 grpc "google.golang.org/grpc"
28 )
29
30 // Deprecated: Please use consts in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
31 const (
32 AddressComponent_CONFIRMATION_LEVEL_UNSPECIFIED = src.AddressComponent_CONFIRMATION_LEVEL_UNSPECIFIED
33 AddressComponent_CONFIRMED = src.AddressComponent_CONFIRMED
34 AddressComponent_UNCONFIRMED_AND_SUSPICIOUS = src.AddressComponent_UNCONFIRMED_AND_SUSPICIOUS
35 AddressComponent_UNCONFIRMED_BUT_PLAUSIBLE = src.AddressComponent_UNCONFIRMED_BUT_PLAUSIBLE
36 ProvideValidationFeedbackRequest_UNUSED = src.ProvideValidationFeedbackRequest_UNUSED
37 ProvideValidationFeedbackRequest_UNVALIDATED_VERSION_USED = src.ProvideValidationFeedbackRequest_UNVALIDATED_VERSION_USED
38 ProvideValidationFeedbackRequest_USER_VERSION_USED = src.ProvideValidationFeedbackRequest_USER_VERSION_USED
39 ProvideValidationFeedbackRequest_VALIDATED_VERSION_USED = src.ProvideValidationFeedbackRequest_VALIDATED_VERSION_USED
40 ProvideValidationFeedbackRequest_VALIDATION_CONCLUSION_UNSPECIFIED = src.ProvideValidationFeedbackRequest_VALIDATION_CONCLUSION_UNSPECIFIED
41 Verdict_BLOCK = src.Verdict_BLOCK
42 Verdict_GRANULARITY_UNSPECIFIED = src.Verdict_GRANULARITY_UNSPECIFIED
43 Verdict_OTHER = src.Verdict_OTHER
44 Verdict_PREMISE = src.Verdict_PREMISE
45 Verdict_PREMISE_PROXIMITY = src.Verdict_PREMISE_PROXIMITY
46 Verdict_ROUTE = src.Verdict_ROUTE
47 Verdict_SUB_PREMISE = src.Verdict_SUB_PREMISE
48 )
49
50 // Deprecated: Please use vars in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
51 var (
52 AddressComponent_ConfirmationLevel_name = src.AddressComponent_ConfirmationLevel_name
53 AddressComponent_ConfirmationLevel_value = src.AddressComponent_ConfirmationLevel_value
54 File_google_maps_addressvalidation_v1_address_proto = src.File_google_maps_addressvalidation_v1_address_proto
55 File_google_maps_addressvalidation_v1_address_validation_service_proto = src.File_google_maps_addressvalidation_v1_address_validation_service_proto
56 File_google_maps_addressvalidation_v1_geocode_proto = src.File_google_maps_addressvalidation_v1_geocode_proto
57 File_google_maps_addressvalidation_v1_metadata_proto = src.File_google_maps_addressvalidation_v1_metadata_proto
58 File_google_maps_addressvalidation_v1_usps_data_proto = src.File_google_maps_addressvalidation_v1_usps_data_proto
59 ProvideValidationFeedbackRequest_ValidationConclusion_name = src.ProvideValidationFeedbackRequest_ValidationConclusion_name
60 ProvideValidationFeedbackRequest_ValidationConclusion_value = src.ProvideValidationFeedbackRequest_ValidationConclusion_value
61 Verdict_Granularity_name = src.Verdict_Granularity_name
62 Verdict_Granularity_value = src.Verdict_Granularity_value
63 )
64
65 // Details of the address parsed from the input.
66 //
67 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
68 type Address = src.Address
69
70 // Represents an address component, such as a street, city, or state.
71 //
72 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
73 type AddressComponent = src.AddressComponent
74
75 // The different possible values for confirmation levels.
76 //
77 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
78 type AddressComponent_ConfirmationLevel = src.AddressComponent_ConfirmationLevel
79
80 // The metadata for the address.
81 //
82 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
83 type AddressMetadata = src.AddressMetadata
84
85 // AddressValidationClient is the client API for AddressValidation service.
86 // For semantics around ctx use and closing/ending streaming RPCs, please refer
87 // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
88 //
89 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
90 type AddressValidationClient = src.AddressValidationClient
91
92 // AddressValidationServer is the server API for AddressValidation service.
93 //
94 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
95 type AddressValidationServer = src.AddressValidationServer
96
97 // A wrapper for the name of the component.
98 //
99 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
100 type ComponentName = src.ComponentName
101
102 // Contains information about the place the input was geocoded to.
103 //
104 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
105 type Geocode = src.Geocode
106
107 // Plus code (http://plus.codes) is a location reference with two formats:
108 // global code defining a 14mx14m (1/8000th of a degree) or smaller rectangle,
109 // and compound code, replacing the prefix with a reference location.
110 //
111 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
112 type PlusCode = src.PlusCode
113
114 // The request for sending validation feedback.
115 //
116 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
117 type ProvideValidationFeedbackRequest = src.ProvideValidationFeedbackRequest
118
119 // The possible final outcomes of the sequence of address validation requests
120 // needed to validate an address.
121 //
122 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
123 type ProvideValidationFeedbackRequest_ValidationConclusion = src.ProvideValidationFeedbackRequest_ValidationConclusion
124
125 // The response for validation feedback. The response is empty if the feedback
126 // is sent successfully.
127 //
128 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
129 type ProvideValidationFeedbackResponse = src.ProvideValidationFeedbackResponse
130
131 // UnimplementedAddressValidationServer can be embedded to have forward
132 // compatible implementations.
133 //
134 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
135 type UnimplementedAddressValidationServer = src.UnimplementedAddressValidationServer
136
137 // USPS representation of a US address.
138 //
139 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
140 type UspsAddress = src.UspsAddress
141
142 // The USPS data for the address.
143 //
144 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
145 type UspsData = src.UspsData
146
147 // The request for validating an address.
148 //
149 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
150 type ValidateAddressRequest = src.ValidateAddressRequest
151
152 // The response to an address validation request.
153 //
154 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
155 type ValidateAddressResponse = src.ValidateAddressResponse
156
157 // The result of validating an address.
158 //
159 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
160 type ValidationResult = src.ValidationResult
161
162 // High level overview of the address validation result and geocode.
163 //
164 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
165 type Verdict = src.Verdict
166
167 // The various granularities that an address or a geocode can have. When used
168 // to indicate granularity for an *address*, these values indicate with how
169 // fine a granularity the address identifies a mailing destination. For
170 // example, an address such as "123 Main Street, Redwood City, CA, 94061"
171 // identifies a `PREMISE` while something like "Redwood City, CA, 94061"
172 // identifies a `LOCALITY`. However, if we are unable to find a geocode for
173 // "123 Main Street" in Redwood City, the geocode returned might be of
174 // `LOCALITY` granularity even though the address is more granular.
175 //
176 // Deprecated: Please use types in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
177 type Verdict_Granularity = src.Verdict_Granularity
178
179 // Deprecated: Please use funcs in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
180 func NewAddressValidationClient(cc grpc.ClientConnInterface) AddressValidationClient {
181 return src.NewAddressValidationClient(cc)
182 }
183
184 // Deprecated: Please use funcs in: cloud.google.com/go/maps/addressvalidation/apiv1/addressvalidationpb
185 func RegisterAddressValidationServer(s *grpc.Server, srv AddressValidationServer) {
186 src.RegisterAddressValidationServer(s, srv)
187 }