Debian Codegraph @

googleapis/maps/regionlookup/v1alpha/region_identifier.pb.go

raw symbols SCIP
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 protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.12.2
19 // source: google/maps/regionlookup/v1alpha/region_identifier.proto
20
21 package regionlookup
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
29 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Possible place types to match to.
40 type RegionIdentifier_PlaceType int32
41
42 const (
43 // Default value. This value is unused.
44 RegionIdentifier_PLACE_TYPE_UNSPECIFIED RegionIdentifier_PlaceType = 0
45 // Postal code.
46 RegionIdentifier_POSTAL_CODE RegionIdentifier_PlaceType = 1
47 // Administrative area level 1 (State in the US).
48 RegionIdentifier_ADMINISTRATIVE_AREA_LEVEL_1 RegionIdentifier_PlaceType = 2
49 // Administrative area level 2 (County in the US).
50 RegionIdentifier_ADMINISTRATIVE_AREA_LEVEL_2 RegionIdentifier_PlaceType = 3
51 // Locality (City).
52 RegionIdentifier_LOCALITY RegionIdentifier_PlaceType = 4
53 // Neighborhood.
54 RegionIdentifier_NEIGHBORHOOD RegionIdentifier_PlaceType = 5
55 // Country.
56 RegionIdentifier_COUNTRY RegionIdentifier_PlaceType = 6
57 // Sublocality.
58 RegionIdentifier_SUBLOCALITY RegionIdentifier_PlaceType = 7
59 // Administrative area level 3.
60 RegionIdentifier_ADMINISTRATIVE_AREA_LEVEL_3 RegionIdentifier_PlaceType = 8
61 // Administrative area level 4.
62 RegionIdentifier_ADMINISTRATIVE_AREA_LEVEL_4 RegionIdentifier_PlaceType = 9
63 // School district.
64 RegionIdentifier_SCHOOL_DISTRICT RegionIdentifier_PlaceType = 10
65 )
66
67 // Enum value maps for RegionIdentifier_PlaceType.
68 var (
69 RegionIdentifier_PlaceType_name = map[int32]string{
70 0: "PLACE_TYPE_UNSPECIFIED",
71 1: "POSTAL_CODE",
72 2: "ADMINISTRATIVE_AREA_LEVEL_1",
73 3: "ADMINISTRATIVE_AREA_LEVEL_2",
74 4: "LOCALITY",
75 5: "NEIGHBORHOOD",
76 6: "COUNTRY",
77 7: "SUBLOCALITY",
78 8: "ADMINISTRATIVE_AREA_LEVEL_3",
79 9: "ADMINISTRATIVE_AREA_LEVEL_4",
80 10: "SCHOOL_DISTRICT",
81 }
82 RegionIdentifier_PlaceType_value = map[string]int32{
83 "PLACE_TYPE_UNSPECIFIED": 0,
84 "POSTAL_CODE": 1,
85 "ADMINISTRATIVE_AREA_LEVEL_1": 2,
86 "ADMINISTRATIVE_AREA_LEVEL_2": 3,
87 "LOCALITY": 4,
88 "NEIGHBORHOOD": 5,
89 "COUNTRY": 6,
90 "SUBLOCALITY": 7,
91 "ADMINISTRATIVE_AREA_LEVEL_3": 8,
92 "ADMINISTRATIVE_AREA_LEVEL_4": 9,
93 "SCHOOL_DISTRICT": 10,
94 }
95 )
96
97 func (x RegionIdentifier_PlaceType) Enum() *RegionIdentifier_PlaceType {
98 p := new(RegionIdentifier_PlaceType)
99 *p = x
100 return p
101 }
102
103 func (x RegionIdentifier_PlaceType) String() string {
104 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
105 }
106
107 func (RegionIdentifier_PlaceType) Descriptor() protoreflect.EnumDescriptor {
108 return file_google_maps_regionlookup_v1alpha_region_identifier_proto_enumTypes[0].Descriptor()
109 }
110
111 func (RegionIdentifier_PlaceType) Type() protoreflect.EnumType {
112 return &file_google_maps_regionlookup_v1alpha_region_identifier_proto_enumTypes[0]
113 }
114
115 func (x RegionIdentifier_PlaceType) Number() protoreflect.EnumNumber {
116 return protoreflect.EnumNumber(x)
117 }
118
119 // Deprecated: Use RegionIdentifier_PlaceType.Descriptor instead.
120 func (RegionIdentifier_PlaceType) EnumDescriptor() ([]byte, []int) {
121 return file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDescGZIP(), []int{0, 0}
122 }
123
124 // Region Identifier.
125 //
126 // Identifies a region to look up.
127 //
128 // One of place or unit_code must be specified. If none is specified,
129 // an INVALID_ARGUMENT error is returned. region_code must also be specified
130 // except when place_type is "country".
131 //
132 // place and unit_code specify a location to match a Place ID to. For
133 // example if place is "California" and region_code "US" the API
134 // returns the following matched_place_id results when the following
135 // place_types are specified:
136 //
137 // place_type: matched_place_id results:
138 // administrative_area_level_1 Place ID for The State of California
139 // (All other supported types) No Match
140 //
141 // If unit_code is "6" (FIPs code for California) and region_code is "US
142 // the API returns the following matched_place_id results when the
143 // following place_types are specified:
144 //
145 // place type: matched_place_id results:
146 // administrative_area_level_1 Place ID for The State of California
147 // (All other supported types) No Match
148 //
149 // or if unit_code is "US" the API returns the following results when
150 // the following place_types are specified:
151 //
152 // place type: matched_place_id results:
153 // country Place ID for the United States
154 // (All other supported types) No Match
155 //
156 // If no match is found, matched_place_id is not set.
157 //
158 // Candidate Place IDs are returned when a lookup finds a region with a
159 // different place_type then the one requested. For example if place is
160 // "California" and place_type is "country" the Place ID for The State of
161 // California is returned as a candidate in the candidate_place_ids field.
162 //
163 // Next available tag: 10
164 type RegionIdentifier struct {
165 state protoimpl.MessageState
166 sizeCache protoimpl.SizeCache
167 unknownFields protoimpl.UnknownFields
168
169 // The location must be specified by one of the following:
170 //
171 // Types that are assignable to Location:
172 // *RegionIdentifier_Place
173 // *RegionIdentifier_UnitCode
174 Location isRegionIdentifier_Location `protobuf_oneof:"location"`
175 // Required. Place type to match.
176 PlaceType RegionIdentifier_PlaceType `protobuf:"varint,6,opt,name=place_type,json=placeType,proto3,enum=google.maps.regionlookup.v1alpha.RegionIdentifier_PlaceType" json:"place_type,omitempty"`
177 // The BCP-47 language code, such as "en-US" or "sr-Latn", corresponding to
178 // the language in which the place name and address is requested. If none is
179 // requested, then it defaults to English.
180 LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
181 // Two-letter ISO-3166 country/region code for the location you're trying to
182 // match. region_code is optional if place_type is "country".
183 RegionCode string `protobuf:"bytes,8,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
184 }
185
186 func (x *RegionIdentifier) Reset() {
187 *x = RegionIdentifier{}
188 if protoimpl.UnsafeEnabled {
189 mi := &file_google_maps_regionlookup_v1alpha_region_identifier_proto_msgTypes[0]
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 ms.StoreMessageInfo(mi)
192 }
193 }
194
195 func (x *RegionIdentifier) String() string {
196 return protoimpl.X.MessageStringOf(x)
197 }
198
199 func (*RegionIdentifier) ProtoMessage() {}
200
201 func (x *RegionIdentifier) ProtoReflect() protoreflect.Message {
202 mi := &file_google_maps_regionlookup_v1alpha_region_identifier_proto_msgTypes[0]
203 if protoimpl.UnsafeEnabled && x != nil {
204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
205 if ms.LoadMessageInfo() == nil {
206 ms.StoreMessageInfo(mi)
207 }
208 return ms
209 }
210 return mi.MessageOf(x)
211 }
212
213 // Deprecated: Use RegionIdentifier.ProtoReflect.Descriptor instead.
214 func (*RegionIdentifier) Descriptor() ([]byte, []int) {
215 return file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDescGZIP(), []int{0}
216 }
217
218 func (m *RegionIdentifier) GetLocation() isRegionIdentifier_Location {
219 if m != nil {
220 return m.Location
221 }
222 return nil
223 }
224
225 func (x *RegionIdentifier) GetPlace() string {
226 if x, ok := x.GetLocation().(*RegionIdentifier_Place); ok {
227 return x.Place
228 }
229 return ""
230 }
231
232 func (x *RegionIdentifier) GetUnitCode() string {
233 if x, ok := x.GetLocation().(*RegionIdentifier_UnitCode); ok {
234 return x.UnitCode
235 }
236 return ""
237 }
238
239 func (x *RegionIdentifier) GetPlaceType() RegionIdentifier_PlaceType {
240 if x != nil {
241 return x.PlaceType
242 }
243 return RegionIdentifier_PLACE_TYPE_UNSPECIFIED
244 }
245
246 func (x *RegionIdentifier) GetLanguageCode() string {
247 if x != nil {
248 return x.LanguageCode
249 }
250 return ""
251 }
252
253 func (x *RegionIdentifier) GetRegionCode() string {
254 if x != nil {
255 return x.RegionCode
256 }
257 return ""
258 }
259
260 type isRegionIdentifier_Location interface {
261 isRegionIdentifier_Location()
262 }
263
264 type RegionIdentifier_Place struct {
265 // The name of the region to match to a Place ID.
266 //
267 // The place field is used in combination with place_type to look up
268 // the region Place ID.
269 //
270 // For example:
271 // If place_type is "locality", a valid place can be "Palo Alto, CA".
272 //
273 // If place_type is "postal_code", a valid place can be "94109".
274 //
275 // If place_type is "country", a valid place can be "United States".
276 // etc.
277 //
278 // region_code is required when place is specified except when
279 // place_type is "country".
280 Place string `protobuf:"bytes,4,opt,name=place,proto3,oneof"`
281 }
282
283 type RegionIdentifier_UnitCode struct {
284 // The FIPs state or county codes (US only) or ISO-3166-1 country code to be
285 // matched.
286 //
287 // The unit_code field is used in combination with place_type to look up
288 // the region Place ID.
289 //
290 // For example:
291 // If place_type is "country", a valid unit_code can be "US" (ISO-3166-1
292 // Alpha-2 code for United States) or "BR" (ISO-3166-1 Alpha-2 code for
293 // Brazil).
294 //
295 // If place_type is "administrative_area_level_1" (state) and region_code is
296 // "US", a valid unit_code can be "6" (FIPs code for California) or
297 // "12"(FIPs code for Florida).
298 //
299 // If place_type is "administrative_area_level_2" (county) and region_code
300 // is "US", a valid unit_code can be "6001" (FIPs code for Alameda County in
301 // California) or "12086" (FIPs code for Miami-Dade County in Florida).
302 //
303 // region_code is required when specifying a FIPs code. region_code is
304 // ignored for ISO-3166-1 country codes.
305 UnitCode string `protobuf:"bytes,5,opt,name=unit_code,json=unitCode,proto3,oneof"`
306 }
307
308 func (*RegionIdentifier_Place) isRegionIdentifier_Location() {}
309
310 func (*RegionIdentifier_UnitCode) isRegionIdentifier_Location() {}
311
312 var File_google_maps_regionlookup_v1alpha_region_identifier_proto protoreflect.FileDescriptor
313
314 var file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDesc = []byte{
315 0x0a, 0x38, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x65,
316 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70,
317 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
318 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x6f, 0x67,
319 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f,
320 0x6f, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1f, 0x67, 0x6f,
321 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
322 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x04,
323 0x0a, 0x10, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69,
324 0x65, 0x72, 0x12, 0x16, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
325 0x09, 0x48, 0x00, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x75, 0x6e,
326 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
327 0x08, 0x75, 0x6e, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x60, 0x0a, 0x0a, 0x70, 0x6c, 0x61,
328 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3c, 0x2e,
329 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x65, 0x67, 0x69,
330 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
331 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65,
332 0x72, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02,
333 0x52, 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c,
334 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01,
335 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65,
336 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
337 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64,
338 0x65, 0x22, 0x8f, 0x02, 0x0a, 0x09, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
339 0x1a, 0x0a, 0x16, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
340 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x50,
341 0x4f, 0x53, 0x54, 0x41, 0x4c, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b,
342 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x41,
343 0x52, 0x45, 0x41, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x31, 0x10, 0x02, 0x12, 0x1f, 0x0a,
344 0x1b, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f,
345 0x41, 0x52, 0x45, 0x41, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x32, 0x10, 0x03, 0x12, 0x0c,
346 0x0a, 0x08, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c,
347 0x4e, 0x45, 0x49, 0x47, 0x48, 0x42, 0x4f, 0x52, 0x48, 0x4f, 0x4f, 0x44, 0x10, 0x05, 0x12, 0x0b,
348 0x0a, 0x07, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x52, 0x59, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, 0x53,
349 0x55, 0x42, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x07, 0x12, 0x1f, 0x0a, 0x1b,
350 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x41,
351 0x52, 0x45, 0x41, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x33, 0x10, 0x08, 0x12, 0x1f, 0x0a,
352 0x1b, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f,
353 0x41, 0x52, 0x45, 0x41, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x34, 0x10, 0x09, 0x12, 0x13,
354 0x0a, 0x0f, 0x53, 0x43, 0x48, 0x4f, 0x4f, 0x4c, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x52, 0x49, 0x43,
355 0x54, 0x10, 0x0a, 0x42, 0x0a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42,
356 0xdf, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
357 0x61, 0x70, 0x73, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70,
358 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x15, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
359 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
360 0x01, 0x5a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67,
361 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f,
362 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x65,
363 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70,
364 0x68, 0x61, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0xf8,
365 0x01, 0x01, 0xa2, 0x02, 0x06, 0x4d, 0x52, 0x4c, 0x56, 0x31, 0x41, 0xaa, 0x02, 0x20, 0x47, 0x6f,
366 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
367 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02,
368 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x52, 0x65, 0x67,
369 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68,
370 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
371 }
372
373 var (
374 file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDescOnce sync.Once
375 file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDescData = file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDesc
376 )
377
378 func file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDescGZIP() []byte {
379 file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDescOnce.Do(func() {
380 file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDescData)
381 })
382 return file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDescData
383 }
384
385 var file_google_maps_regionlookup_v1alpha_region_identifier_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
386 var file_google_maps_regionlookup_v1alpha_region_identifier_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
387 var file_google_maps_regionlookup_v1alpha_region_identifier_proto_goTypes = []interface{}{
388 (RegionIdentifier_PlaceType)(0), // 0: google.maps.regionlookup.v1alpha.RegionIdentifier.PlaceType
389 (*RegionIdentifier)(nil), // 1: google.maps.regionlookup.v1alpha.RegionIdentifier
390 }
391 var file_google_maps_regionlookup_v1alpha_region_identifier_proto_depIdxs = []int32{
392 0, // 0: google.maps.regionlookup.v1alpha.RegionIdentifier.place_type:type_name -> google.maps.regionlookup.v1alpha.RegionIdentifier.PlaceType
393 1, // [1:1] is the sub-list for method output_type
394 1, // [1:1] is the sub-list for method input_type
395 1, // [1:1] is the sub-list for extension type_name
396 1, // [1:1] is the sub-list for extension extendee
397 0, // [0:1] is the sub-list for field type_name
398 }
399
400 func init() { file_google_maps_regionlookup_v1alpha_region_identifier_proto_init() }
401 func file_google_maps_regionlookup_v1alpha_region_identifier_proto_init() {
402 if File_google_maps_regionlookup_v1alpha_region_identifier_proto != nil {
403 return
404 }
405 if !protoimpl.UnsafeEnabled {
406 file_google_maps_regionlookup_v1alpha_region_identifier_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
407 switch v := v.(*RegionIdentifier); i {
408 case 0:
409 return &v.state
410 case 1:
411 return &v.sizeCache
412 case 2:
413 return &v.unknownFields
414 default:
415 return nil
416 }
417 }
418 }
419 file_google_maps_regionlookup_v1alpha_region_identifier_proto_msgTypes[0].OneofWrappers = []interface{}{
420 (*RegionIdentifier_Place)(nil),
421 (*RegionIdentifier_UnitCode)(nil),
422 }
423 type x struct{}
424 out := protoimpl.TypeBuilder{
425 File: protoimpl.DescBuilder{
426 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
427 RawDescriptor: file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDesc,
428 NumEnums: 1,
429 NumMessages: 1,
430 NumExtensions: 0,
431 NumServices: 0,
432 },
433 GoTypes: file_google_maps_regionlookup_v1alpha_region_identifier_proto_goTypes,
434 DependencyIndexes: file_google_maps_regionlookup_v1alpha_region_identifier_proto_depIdxs,
435 EnumInfos: file_google_maps_regionlookup_v1alpha_region_identifier_proto_enumTypes,
436 MessageInfos: file_google_maps_regionlookup_v1alpha_region_identifier_proto_msgTypes,
437 }.Build()
438 File_google_maps_regionlookup_v1alpha_region_identifier_proto = out.File
439 file_google_maps_regionlookup_v1alpha_region_identifier_proto_rawDesc = nil
440 file_google_maps_regionlookup_v1alpha_region_identifier_proto_goTypes = nil
441 file_google_maps_regionlookup_v1alpha_region_identifier_proto_depIdxs = nil
442 }