Debian Codegraph @

maps/places/apiv1/placespb/attribution.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/attribution.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 // Information about the author of the UGC data. Used in
38 // [Photo][google.maps.places.v1.Photo], and
39 // [Review][google.maps.places.v1.Review].
40 type AuthorAttribution struct {
41 state protoimpl.MessageState
42 sizeCache protoimpl.SizeCache
43 unknownFields protoimpl.UnknownFields
44
45 // Name of the author of the [Photo][google.maps.places.v1.Photo] or
46 // [Review][google.maps.places.v1.Review].
47 DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
48 // URI of the author of the [Photo][google.maps.places.v1.Photo] or
49 // [Review][google.maps.places.v1.Review].
50 Uri string `protobuf:"bytes,2,opt,name=uri,proto3" json:"uri,omitempty"`
51 // Profile photo URI of the author of the
52 // [Photo][google.maps.places.v1.Photo] or
53 // [Review][google.maps.places.v1.Review].
54 PhotoUri string `protobuf:"bytes,3,opt,name=photo_uri,json=photoUri,proto3" json:"photo_uri,omitempty"`
55 }
56
57 func (x *AuthorAttribution) Reset() {
58 *x = AuthorAttribution{}
59 mi := &file_google_maps_places_v1_attribution_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63
64 func (x *AuthorAttribution) String() string {
65 return protoimpl.X.MessageStringOf(x)
66 }
67
68 func (*AuthorAttribution) ProtoMessage() {}
69
70 func (x *AuthorAttribution) ProtoReflect() protoreflect.Message {
71 mi := &file_google_maps_places_v1_attribution_proto_msgTypes[0]
72 if x != nil {
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 if ms.LoadMessageInfo() == nil {
75 ms.StoreMessageInfo(mi)
76 }
77 return ms
78 }
79 return mi.MessageOf(x)
80 }
81
82 // Deprecated: Use AuthorAttribution.ProtoReflect.Descriptor instead.
83 func (*AuthorAttribution) Descriptor() ([]byte, []int) {
84 return file_google_maps_places_v1_attribution_proto_rawDescGZIP(), []int{0}
85 }
86
87 func (x *AuthorAttribution) GetDisplayName() string {
88 if x != nil {
89 return x.DisplayName
90 }
91 return ""
92 }
93
94 func (x *AuthorAttribution) GetUri() string {
95 if x != nil {
96 return x.Uri
97 }
98 return ""
99 }
100
101 func (x *AuthorAttribution) GetPhotoUri() string {
102 if x != nil {
103 return x.PhotoUri
104 }
105 return ""
106 }
107
108 var File_google_maps_places_v1_attribution_proto protoreflect.FileDescriptor
109
110 var file_google_maps_places_v1_attribution_proto_rawDesc = []byte{
111 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c,
112 0x61, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
113 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
114 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
115 0x22, 0x65, 0x0a, 0x11, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62,
116 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
117 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73,
118 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18,
119 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x68,
120 0x6f, 0x74, 0x6f, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70,
121 0x68, 0x6f, 0x74, 0x6f, 0x55, 0x72, 0x69, 0x42, 0xa1, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e,
122 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63,
123 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69,
124 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64,
125 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d,
126 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31,
127 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73,
128 0x70, 0x62, 0xa2, 0x02, 0x06, 0x47, 0x4d, 0x50, 0x53, 0x56, 0x31, 0xaa, 0x02, 0x15, 0x47, 0x6f,
129 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73,
130 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70,
131 0x73, 0x5c, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
132 0x74, 0x6f, 0x33,
133 }
134
135 var (
136 file_google_maps_places_v1_attribution_proto_rawDescOnce sync.Once
137 file_google_maps_places_v1_attribution_proto_rawDescData = file_google_maps_places_v1_attribution_proto_rawDesc
138 )
139
140 func file_google_maps_places_v1_attribution_proto_rawDescGZIP() []byte {
141 file_google_maps_places_v1_attribution_proto_rawDescOnce.Do(func() {
142 file_google_maps_places_v1_attribution_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_places_v1_attribution_proto_rawDescData)
143 })
144 return file_google_maps_places_v1_attribution_proto_rawDescData
145 }
146
147 var file_google_maps_places_v1_attribution_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
148 var file_google_maps_places_v1_attribution_proto_goTypes = []any{
149 (*AuthorAttribution)(nil), // 0: google.maps.places.v1.AuthorAttribution
150 }
151 var file_google_maps_places_v1_attribution_proto_depIdxs = []int32{
152 0, // [0:0] is the sub-list for method output_type
153 0, // [0:0] is the sub-list for method input_type
154 0, // [0:0] is the sub-list for extension type_name
155 0, // [0:0] is the sub-list for extension extendee
156 0, // [0:0] is the sub-list for field type_name
157 }
158
159 func init() { file_google_maps_places_v1_attribution_proto_init() }
160 func file_google_maps_places_v1_attribution_proto_init() {
161 if File_google_maps_places_v1_attribution_proto != nil {
162 return
163 }
164 type x struct{}
165 out := protoimpl.TypeBuilder{
166 File: protoimpl.DescBuilder{
167 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
168 RawDescriptor: file_google_maps_places_v1_attribution_proto_rawDesc,
169 NumEnums: 0,
170 NumMessages: 1,
171 NumExtensions: 0,
172 NumServices: 0,
173 },
174 GoTypes: file_google_maps_places_v1_attribution_proto_goTypes,
175 DependencyIndexes: file_google_maps_places_v1_attribution_proto_depIdxs,
176 MessageInfos: file_google_maps_places_v1_attribution_proto_msgTypes,
177 }.Build()
178 File_google_maps_places_v1_attribution_proto = out.File
179 file_google_maps_places_v1_attribution_proto_rawDesc = nil
180 file_google_maps_places_v1_attribution_proto_goTypes = nil
181 file_google_maps_places_v1_attribution_proto_depIdxs = nil
182 }