Debian Codegraph @

maps/places/apiv1/placespb/contextual_content.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/maps/places/v1/contextual_content.proto
20
21 package placespb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Experimental: See
38 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
39 // for more details.
40 //
41 // Content that is contextual to the place query.
42 type ContextualContent struct {
43 state protoimpl.MessageState
44 sizeCache protoimpl.SizeCache
45 unknownFields protoimpl.UnknownFields
46
47 // List of reviews about this place, contexual to the place query.
48 Reviews []*Review `protobuf:"bytes,1,rep,name=reviews,proto3" json:"reviews,omitempty"`
49 // Information (including references) about photos of this place, contexual to
50 // the place query.
51 Photos []*Photo `protobuf:"bytes,2,rep,name=photos,proto3" json:"photos,omitempty"`
52 // Experimental: See
53 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
54 // for more details.
55 //
56 // Justifications for the place.
57 Justifications []*ContextualContent_Justification `protobuf:"bytes,3,rep,name=justifications,proto3" json:"justifications,omitempty"`
58 }
59
60 func (x *ContextualContent) Reset() {
61 *x = ContextualContent{}
62 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[0]
63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
64 ms.StoreMessageInfo(mi)
65 }
66
67 func (x *ContextualContent) String() string {
68 return protoimpl.X.MessageStringOf(x)
69 }
70
71 func (*ContextualContent) ProtoMessage() {}
72
73 func (x *ContextualContent) ProtoReflect() protoreflect.Message {
74 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[0]
75 if x != nil {
76 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
77 if ms.LoadMessageInfo() == nil {
78 ms.StoreMessageInfo(mi)
79 }
80 return ms
81 }
82 return mi.MessageOf(x)
83 }
84
85 // Deprecated: Use ContextualContent.ProtoReflect.Descriptor instead.
86 func (*ContextualContent) Descriptor() ([]byte, []int) {
87 return file_google_maps_places_v1_contextual_content_proto_rawDescGZIP(), []int{0}
88 }
89
90 func (x *ContextualContent) GetReviews() []*Review {
91 if x != nil {
92 return x.Reviews
93 }
94 return nil
95 }
96
97 func (x *ContextualContent) GetPhotos() []*Photo {
98 if x != nil {
99 return x.Photos
100 }
101 return nil
102 }
103
104 func (x *ContextualContent) GetJustifications() []*ContextualContent_Justification {
105 if x != nil {
106 return x.Justifications
107 }
108 return nil
109 }
110
111 // Experimental: See
112 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
113 // for more details.
114 //
115 // Justifications for the place. Justifications answers the question of why a
116 // place could interest an end user.
117 type ContextualContent_Justification struct {
118 state protoimpl.MessageState
119 sizeCache protoimpl.SizeCache
120 unknownFields protoimpl.UnknownFields
121
122 // Types that are assignable to Justification:
123 //
124 // *ContextualContent_Justification_ReviewJustification_
125 // *ContextualContent_Justification_BusinessAvailabilityAttributesJustification_
126 Justification isContextualContent_Justification_Justification `protobuf_oneof:"justification"`
127 }
128
129 func (x *ContextualContent_Justification) Reset() {
130 *x = ContextualContent_Justification{}
131 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[1]
132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133 ms.StoreMessageInfo(mi)
134 }
135
136 func (x *ContextualContent_Justification) String() string {
137 return protoimpl.X.MessageStringOf(x)
138 }
139
140 func (*ContextualContent_Justification) ProtoMessage() {}
141
142 func (x *ContextualContent_Justification) ProtoReflect() protoreflect.Message {
143 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[1]
144 if x != nil {
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 if ms.LoadMessageInfo() == nil {
147 ms.StoreMessageInfo(mi)
148 }
149 return ms
150 }
151 return mi.MessageOf(x)
152 }
153
154 // Deprecated: Use ContextualContent_Justification.ProtoReflect.Descriptor instead.
155 func (*ContextualContent_Justification) Descriptor() ([]byte, []int) {
156 return file_google_maps_places_v1_contextual_content_proto_rawDescGZIP(), []int{0, 0}
157 }
158
159 func (m *ContextualContent_Justification) GetJustification() isContextualContent_Justification_Justification {
160 if m != nil {
161 return m.Justification
162 }
163 return nil
164 }
165
166 func (x *ContextualContent_Justification) GetReviewJustification() *ContextualContent_Justification_ReviewJustification {
167 if x, ok := x.GetJustification().(*ContextualContent_Justification_ReviewJustification_); ok {
168 return x.ReviewJustification
169 }
170 return nil
171 }
172
173 func (x *ContextualContent_Justification) GetBusinessAvailabilityAttributesJustification() *ContextualContent_Justification_BusinessAvailabilityAttributesJustification {
174 if x, ok := x.GetJustification().(*ContextualContent_Justification_BusinessAvailabilityAttributesJustification_); ok {
175 return x.BusinessAvailabilityAttributesJustification
176 }
177 return nil
178 }
179
180 type isContextualContent_Justification_Justification interface {
181 isContextualContent_Justification_Justification()
182 }
183
184 type ContextualContent_Justification_ReviewJustification_ struct {
185 // Experimental: See
186 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
187 // for more details.
188 ReviewJustification *ContextualContent_Justification_ReviewJustification `protobuf:"bytes,1,opt,name=review_justification,json=reviewJustification,proto3,oneof"`
189 }
190
191 type ContextualContent_Justification_BusinessAvailabilityAttributesJustification_ struct {
192 // Experimental: See
193 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
194 // for more details.
195 BusinessAvailabilityAttributesJustification *ContextualContent_Justification_BusinessAvailabilityAttributesJustification `protobuf:"bytes,2,opt,name=business_availability_attributes_justification,json=businessAvailabilityAttributesJustification,proto3,oneof"`
196 }
197
198 func (*ContextualContent_Justification_ReviewJustification_) isContextualContent_Justification_Justification() {
199 }
200
201 func (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification_) isContextualContent_Justification_Justification() {
202 }
203
204 // Experimental: See
205 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
206 // for more details.
207 //
208 // User review justifications. This highlights a section of the user review
209 // that would interest an end user. For instance, if the search query is
210 // "firewood pizza", the review justification highlights the text relevant
211 // to the search query.
212 type ContextualContent_Justification_ReviewJustification struct {
213 state protoimpl.MessageState
214 sizeCache protoimpl.SizeCache
215 unknownFields protoimpl.UnknownFields
216
217 HighlightedText *ContextualContent_Justification_ReviewJustification_HighlightedText `protobuf:"bytes,1,opt,name=highlighted_text,json=highlightedText,proto3" json:"highlighted_text,omitempty"`
218 // The review that the highlighted text is generated from.
219 Review *Review `protobuf:"bytes,2,opt,name=review,proto3" json:"review,omitempty"`
220 }
221
222 func (x *ContextualContent_Justification_ReviewJustification) Reset() {
223 *x = ContextualContent_Justification_ReviewJustification{}
224 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[2]
225 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
226 ms.StoreMessageInfo(mi)
227 }
228
229 func (x *ContextualContent_Justification_ReviewJustification) String() string {
230 return protoimpl.X.MessageStringOf(x)
231 }
232
233 func (*ContextualContent_Justification_ReviewJustification) ProtoMessage() {}
234
235 func (x *ContextualContent_Justification_ReviewJustification) ProtoReflect() protoreflect.Message {
236 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[2]
237 if x != nil {
238 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
239 if ms.LoadMessageInfo() == nil {
240 ms.StoreMessageInfo(mi)
241 }
242 return ms
243 }
244 return mi.MessageOf(x)
245 }
246
247 // Deprecated: Use ContextualContent_Justification_ReviewJustification.ProtoReflect.Descriptor instead.
248 func (*ContextualContent_Justification_ReviewJustification) Descriptor() ([]byte, []int) {
249 return file_google_maps_places_v1_contextual_content_proto_rawDescGZIP(), []int{0, 0, 0}
250 }
251
252 func (x *ContextualContent_Justification_ReviewJustification) GetHighlightedText() *ContextualContent_Justification_ReviewJustification_HighlightedText {
253 if x != nil {
254 return x.HighlightedText
255 }
256 return nil
257 }
258
259 func (x *ContextualContent_Justification_ReviewJustification) GetReview() *Review {
260 if x != nil {
261 return x.Review
262 }
263 return nil
264 }
265
266 // Experimental: See
267 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
268 // for more details.
269 // BusinessAvailabilityAttributes justifications. This shows some attributes
270 // a business has that could interest an end user.
271 type ContextualContent_Justification_BusinessAvailabilityAttributesJustification struct {
272 state protoimpl.MessageState
273 sizeCache protoimpl.SizeCache
274 unknownFields protoimpl.UnknownFields
275
276 // If a place provides takeout.
277 Takeout bool `protobuf:"varint,1,opt,name=takeout,proto3" json:"takeout,omitempty"`
278 // If a place provides delivery.
279 Delivery bool `protobuf:"varint,2,opt,name=delivery,proto3" json:"delivery,omitempty"`
280 // If a place provides dine-in.
281 DineIn bool `protobuf:"varint,3,opt,name=dine_in,json=dineIn,proto3" json:"dine_in,omitempty"`
282 }
283
284 func (x *ContextualContent_Justification_BusinessAvailabilityAttributesJustification) Reset() {
285 *x = ContextualContent_Justification_BusinessAvailabilityAttributesJustification{}
286 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[3]
287 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
288 ms.StoreMessageInfo(mi)
289 }
290
291 func (x *ContextualContent_Justification_BusinessAvailabilityAttributesJustification) String() string {
292 return protoimpl.X.MessageStringOf(x)
293 }
294
295 func (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification) ProtoMessage() {}
296
297 func (x *ContextualContent_Justification_BusinessAvailabilityAttributesJustification) ProtoReflect() protoreflect.Message {
298 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[3]
299 if x != nil {
300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
301 if ms.LoadMessageInfo() == nil {
302 ms.StoreMessageInfo(mi)
303 }
304 return ms
305 }
306 return mi.MessageOf(x)
307 }
308
309 // Deprecated: Use ContextualContent_Justification_BusinessAvailabilityAttributesJustification.ProtoReflect.Descriptor instead.
310 func (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification) Descriptor() ([]byte, []int) {
311 return file_google_maps_places_v1_contextual_content_proto_rawDescGZIP(), []int{0, 0, 1}
312 }
313
314 func (x *ContextualContent_Justification_BusinessAvailabilityAttributesJustification) GetTakeout() bool {
315 if x != nil {
316 return x.Takeout
317 }
318 return false
319 }
320
321 func (x *ContextualContent_Justification_BusinessAvailabilityAttributesJustification) GetDelivery() bool {
322 if x != nil {
323 return x.Delivery
324 }
325 return false
326 }
327
328 func (x *ContextualContent_Justification_BusinessAvailabilityAttributesJustification) GetDineIn() bool {
329 if x != nil {
330 return x.DineIn
331 }
332 return false
333 }
334
335 // The text highlighted by the justification. This is a subset of the
336 // review itself. The exact word to highlight is marked by the
337 // HighlightedTextRange. There could be several words in the text being
338 // highlighted.
339 type ContextualContent_Justification_ReviewJustification_HighlightedText struct {
340 state protoimpl.MessageState
341 sizeCache protoimpl.SizeCache
342 unknownFields protoimpl.UnknownFields
343
344 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
345 // The list of the ranges of the highlighted text.
346 HighlightedTextRanges []*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange `protobuf:"bytes,2,rep,name=highlighted_text_ranges,json=highlightedTextRanges,proto3" json:"highlighted_text_ranges,omitempty"`
347 }
348
349 func (x *ContextualContent_Justification_ReviewJustification_HighlightedText) Reset() {
350 *x = ContextualContent_Justification_ReviewJustification_HighlightedText{}
351 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[4]
352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
353 ms.StoreMessageInfo(mi)
354 }
355
356 func (x *ContextualContent_Justification_ReviewJustification_HighlightedText) String() string {
357 return protoimpl.X.MessageStringOf(x)
358 }
359
360 func (*ContextualContent_Justification_ReviewJustification_HighlightedText) ProtoMessage() {}
361
362 func (x *ContextualContent_Justification_ReviewJustification_HighlightedText) ProtoReflect() protoreflect.Message {
363 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[4]
364 if x != nil {
365 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
366 if ms.LoadMessageInfo() == nil {
367 ms.StoreMessageInfo(mi)
368 }
369 return ms
370 }
371 return mi.MessageOf(x)
372 }
373
374 // Deprecated: Use ContextualContent_Justification_ReviewJustification_HighlightedText.ProtoReflect.Descriptor instead.
375 func (*ContextualContent_Justification_ReviewJustification_HighlightedText) Descriptor() ([]byte, []int) {
376 return file_google_maps_places_v1_contextual_content_proto_rawDescGZIP(), []int{0, 0, 0, 0}
377 }
378
379 func (x *ContextualContent_Justification_ReviewJustification_HighlightedText) GetText() string {
380 if x != nil {
381 return x.Text
382 }
383 return ""
384 }
385
386 func (x *ContextualContent_Justification_ReviewJustification_HighlightedText) GetHighlightedTextRanges() []*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange {
387 if x != nil {
388 return x.HighlightedTextRanges
389 }
390 return nil
391 }
392
393 // The range of highlighted text.
394 type ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange struct {
395 state protoimpl.MessageState
396 sizeCache protoimpl.SizeCache
397 unknownFields protoimpl.UnknownFields
398
399 StartIndex int32 `protobuf:"varint,1,opt,name=start_index,json=startIndex,proto3" json:"start_index,omitempty"`
400 EndIndex int32 `protobuf:"varint,2,opt,name=end_index,json=endIndex,proto3" json:"end_index,omitempty"`
401 }
402
403 func (x *ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) Reset() {
404 *x = ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange{}
405 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[5]
406 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
407 ms.StoreMessageInfo(mi)
408 }
409
410 func (x *ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) String() string {
411 return protoimpl.X.MessageStringOf(x)
412 }
413
414 func (*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) ProtoMessage() {
415 }
416
417 func (x *ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) ProtoReflect() protoreflect.Message {
418 mi := &file_google_maps_places_v1_contextual_content_proto_msgTypes[5]
419 if x != nil {
420 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
421 if ms.LoadMessageInfo() == nil {
422 ms.StoreMessageInfo(mi)
423 }
424 return ms
425 }
426 return mi.MessageOf(x)
427 }
428
429 // Deprecated: Use ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange.ProtoReflect.Descriptor instead.
430 func (*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) Descriptor() ([]byte, []int) {
431 return file_google_maps_places_v1_contextual_content_proto_rawDescGZIP(), []int{0, 0, 0, 0, 0}
432 }
433
434 func (x *ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) GetStartIndex() int32 {
435 if x != nil {
436 return x.StartIndex
437 }
438 return 0
439 }
440
441 func (x *ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange) GetEndIndex() int32 {
442 if x != nil {
443 return x.EndIndex
444 }
445 return 0
446 }
447
448 var File_google_maps_places_v1_contextual_content_proto protoreflect.FileDescriptor
449
450 var file_google_maps_places_v1_contextual_content_proto_rawDesc = []byte{
451 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c,
452 0x61, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75,
453 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
454 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c,
455 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
456 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70,
457 0x68, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x67, 0x6f, 0x6f, 0x67,
458 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x76,
459 0x31, 0x2f, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xcf,
460 0x09, 0x0a, 0x11, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x6f, 0x6e,
461 0x74, 0x65, 0x6e, 0x74, 0x12, 0x37, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x18,
462 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
463 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
464 0x76, 0x69, 0x65, 0x77, 0x52, 0x07, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x73, 0x12, 0x34, 0x0a,
465 0x06, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
466 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63,
467 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x52, 0x06, 0x70, 0x68, 0x6f,
468 0x74, 0x6f, 0x73, 0x12, 0x5e, 0x0a, 0x0e, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
469 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f,
470 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73,
471 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x6f,
472 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
473 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
474 0x6f, 0x6e, 0x73, 0x1a, 0xea, 0x07, 0x0a, 0x0d, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63,
475 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x7f, 0x0a, 0x14, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x5f,
476 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
477 0x01, 0x28, 0x0b, 0x32, 0x4a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
478 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74,
479 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x4a, 0x75,
480 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x76, 0x69,
481 0x65, 0x77, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48,
482 0x00, 0x52, 0x13, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69,
483 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xc9, 0x01, 0x0a, 0x2e, 0x62, 0x75, 0x73, 0x69, 0x6e,
484 0x65, 0x73, 0x73, 0x5f, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
485 0x5f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x5f, 0x6a, 0x75, 0x73, 0x74,
486 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
487 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c,
488 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75,
489 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66,
490 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73,
491 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72,
492 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
493 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x2b, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x41,
494 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72, 0x69,
495 0x62, 0x75, 0x74, 0x65, 0x73, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69,
496 0x6f, 0x6e, 0x1a, 0xfc, 0x03, 0x0a, 0x13, 0x52, 0x65, 0x76, 0x69, 0x65, 0x77, 0x4a, 0x75, 0x73,
497 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x85, 0x01, 0x0a, 0x10, 0x68,
498 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18,
499 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x5a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
500 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f,
501 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e,
502 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65,
503 0x76, 0x69, 0x65, 0x77, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
504 0x6e, 0x2e, 0x48, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78,
505 0x74, 0x52, 0x0f, 0x68, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x54, 0x65,
506 0x78, 0x74, 0x12, 0x35, 0x0a, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01,
507 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73,
508 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x76, 0x69, 0x65,
509 0x77, 0x52, 0x06, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x1a, 0xa5, 0x02, 0x0a, 0x0f, 0x48, 0x69,
510 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a,
511 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78,
512 0x74, 0x12, 0xa7, 0x01, 0x0a, 0x17, 0x68, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x65,
513 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x02, 0x20,
514 0x03, 0x28, 0x0b, 0x32, 0x6f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
515 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74,
516 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x4a, 0x75,
517 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x76, 0x69,
518 0x65, 0x77, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
519 0x48, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x2e,
520 0x48, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x52,
521 0x61, 0x6e, 0x67, 0x65, 0x52, 0x15, 0x68, 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x65,
522 0x64, 0x54, 0x65, 0x78, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x1a, 0x54, 0x0a, 0x14, 0x48,
523 0x69, 0x67, 0x68, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x52, 0x61,
524 0x6e, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x64,
525 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x49,
526 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65,
527 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x6e, 0x64, 0x49, 0x6e, 0x64, 0x65,
528 0x78, 0x1a, 0x7c, 0x0a, 0x2b, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x41, 0x76, 0x61,
529 0x69, 0x6c, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75,
530 0x74, 0x65, 0x73, 0x4a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
531 0x12, 0x18, 0x0a, 0x07, 0x74, 0x61, 0x6b, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
532 0x08, 0x52, 0x07, 0x74, 0x61, 0x6b, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65,
533 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x64, 0x65,
534 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x69, 0x6e, 0x65, 0x5f, 0x69,
535 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x42,
536 0x0f, 0x0a, 0x0d, 0x6a, 0x75, 0x73, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
537 0x42, 0xa7, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
538 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x16,
539 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e,
540 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
541 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x61,
542 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f,
543 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x70,
544 0x62, 0xa2, 0x02, 0x06, 0x47, 0x4d, 0x50, 0x53, 0x56, 0x31, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f,
545 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e,
546 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73,
547 0x5c, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
548 0x6f, 0x33,
549 }
550
551 var (
552 file_google_maps_places_v1_contextual_content_proto_rawDescOnce sync.Once
553 file_google_maps_places_v1_contextual_content_proto_rawDescData = file_google_maps_places_v1_contextual_content_proto_rawDesc
554 )
555
556 func file_google_maps_places_v1_contextual_content_proto_rawDescGZIP() []byte {
557 file_google_maps_places_v1_contextual_content_proto_rawDescOnce.Do(func() {
558 file_google_maps_places_v1_contextual_content_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_places_v1_contextual_content_proto_rawDescData)
559 })
560 return file_google_maps_places_v1_contextual_content_proto_rawDescData
561 }
562
563 var file_google_maps_places_v1_contextual_content_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
564 var file_google_maps_places_v1_contextual_content_proto_goTypes = []any{
565 (*ContextualContent)(nil), // 0: google.maps.places.v1.ContextualContent
566 (*ContextualContent_Justification)(nil), // 1: google.maps.places.v1.ContextualContent.Justification
567 (*ContextualContent_Justification_ReviewJustification)(nil), // 2: google.maps.places.v1.ContextualContent.Justification.ReviewJustification
568 (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification)(nil), // 3: google.maps.places.v1.ContextualContent.Justification.BusinessAvailabilityAttributesJustification
569 (*ContextualContent_Justification_ReviewJustification_HighlightedText)(nil), // 4: google.maps.places.v1.ContextualContent.Justification.ReviewJustification.HighlightedText
570 (*ContextualContent_Justification_ReviewJustification_HighlightedText_HighlightedTextRange)(nil), // 5: google.maps.places.v1.ContextualContent.Justification.ReviewJustification.HighlightedText.HighlightedTextRange
571 (*Review)(nil), // 6: google.maps.places.v1.Review
572 (*Photo)(nil), // 7: google.maps.places.v1.Photo
573 }
574 var file_google_maps_places_v1_contextual_content_proto_depIdxs = []int32{
575 6, // 0: google.maps.places.v1.ContextualContent.reviews:type_name -> google.maps.places.v1.Review
576 7, // 1: google.maps.places.v1.ContextualContent.photos:type_name -> google.maps.places.v1.Photo
577 1, // 2: google.maps.places.v1.ContextualContent.justifications:type_name -> google.maps.places.v1.ContextualContent.Justification
578 2, // 3: google.maps.places.v1.ContextualContent.Justification.review_justification:type_name -> google.maps.places.v1.ContextualContent.Justification.ReviewJustification
579 3, // 4: google.maps.places.v1.ContextualContent.Justification.business_availability_attributes_justification:type_name -> google.maps.places.v1.ContextualContent.Justification.BusinessAvailabilityAttributesJustification
580 4, // 5: google.maps.places.v1.ContextualContent.Justification.ReviewJustification.highlighted_text:type_name -> google.maps.places.v1.ContextualContent.Justification.ReviewJustification.HighlightedText
581 6, // 6: google.maps.places.v1.ContextualContent.Justification.ReviewJustification.review:type_name -> google.maps.places.v1.Review
582 5, // 7: google.maps.places.v1.ContextualContent.Justification.ReviewJustification.HighlightedText.highlighted_text_ranges:type_name -> google.maps.places.v1.ContextualContent.Justification.ReviewJustification.HighlightedText.HighlightedTextRange
583 8, // [8:8] is the sub-list for method output_type
584 8, // [8:8] is the sub-list for method input_type
585 8, // [8:8] is the sub-list for extension type_name
586 8, // [8:8] is the sub-list for extension extendee
587 0, // [0:8] is the sub-list for field type_name
588 }
589
590 func init() { file_google_maps_places_v1_contextual_content_proto_init() }
591 func file_google_maps_places_v1_contextual_content_proto_init() {
592 if File_google_maps_places_v1_contextual_content_proto != nil {
593 return
594 }
595 file_google_maps_places_v1_photo_proto_init()
596 file_google_maps_places_v1_review_proto_init()
597 file_google_maps_places_v1_contextual_content_proto_msgTypes[1].OneofWrappers = []any{
598 (*ContextualContent_Justification_ReviewJustification_)(nil),
599 (*ContextualContent_Justification_BusinessAvailabilityAttributesJustification_)(nil),
600 }
601 type x struct{}
602 out := protoimpl.TypeBuilder{
603 File: protoimpl.DescBuilder{
604 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
605 RawDescriptor: file_google_maps_places_v1_contextual_content_proto_rawDesc,
606 NumEnums: 0,
607 NumMessages: 6,
608 NumExtensions: 0,
609 NumServices: 0,
610 },
611 GoTypes: file_google_maps_places_v1_contextual_content_proto_goTypes,
612 DependencyIndexes: file_google_maps_places_v1_contextual_content_proto_depIdxs,
613 MessageInfos: file_google_maps_places_v1_contextual_content_proto_msgTypes,
614 }.Build()
615 File_google_maps_places_v1_contextual_content_proto = out.File
616 file_google_maps_places_v1_contextual_content_proto_rawDesc = nil
617 file_google_maps_places_v1_contextual_content_proto_goTypes = nil
618 file_google_maps_places_v1_contextual_content_proto_depIdxs = nil
619 }