1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package unity
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 )
30
31 const (
32
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38
39 type ClientInfo_Platform int32
40
41 const (
42
43 ClientInfo_PLATFORM_UNSPECIFIED ClientInfo_Platform = 0
44
45 ClientInfo_EDITOR ClientInfo_Platform = 1
46
47 ClientInfo_MAC_OS ClientInfo_Platform = 2
48
49 ClientInfo_WINDOWS ClientInfo_Platform = 3
50
51 ClientInfo_LINUX ClientInfo_Platform = 4
52
53 ClientInfo_ANDROID ClientInfo_Platform = 5
54
55 ClientInfo_IOS ClientInfo_Platform = 6
56
57 ClientInfo_WEB_GL ClientInfo_Platform = 7
58 )
59
60
61 var (
62 ClientInfo_Platform_name = map[int32]string{
63 0: "PLATFORM_UNSPECIFIED",
64 1: "EDITOR",
65 2: "MAC_OS",
66 3: "WINDOWS",
67 4: "LINUX",
68 5: "ANDROID",
69 6: "IOS",
70 7: "WEB_GL",
71 }
72 ClientInfo_Platform_value = map[string]int32{
73 "PLATFORM_UNSPECIFIED": 0,
74 "EDITOR": 1,
75 "MAC_OS": 2,
76 "WINDOWS": 3,
77 "LINUX": 4,
78 "ANDROID": 5,
79 "IOS": 6,
80 "WEB_GL": 7,
81 }
82 )
83
84 func (x ClientInfo_Platform) Enum() *ClientInfo_Platform {
85 p := new(ClientInfo_Platform)
86 *p = x
87 return p
88 }
89
90 func (x ClientInfo_Platform) String() string {
91 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
92 }
93
94 func (ClientInfo_Platform) Descriptor() protoreflect.EnumDescriptor {
95 return file_google_maps_unity_clientinfo_proto_enumTypes[0].Descriptor()
96 }
97
98 func (ClientInfo_Platform) Type() protoreflect.EnumType {
99 return &file_google_maps_unity_clientinfo_proto_enumTypes[0]
100 }
101
102 func (x ClientInfo_Platform) Number() protoreflect.EnumNumber {
103 return protoreflect.EnumNumber(x)
104 }
105
106
107 func (ClientInfo_Platform) EnumDescriptor() ([]byte, []int) {
108 return file_google_maps_unity_clientinfo_proto_rawDescGZIP(), []int{0, 0}
109 }
110
111
112 type ClientInfo struct {
113 state protoimpl.MessageState
114 sizeCache protoimpl.SizeCache
115 unknownFields protoimpl.UnknownFields
116
117
118
119 ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
120
121
122 ApplicationVersion string `protobuf:"bytes,2,opt,name=application_version,json=applicationVersion,proto3" json:"application_version,omitempty"`
123
124 Platform ClientInfo_Platform `protobuf:"varint,3,opt,name=platform,proto3,enum=google.maps.unity.ClientInfo_Platform" json:"platform,omitempty"`
125
126
127 OperatingSystem string `protobuf:"bytes,4,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"`
128
129
130 ApiClient string `protobuf:"bytes,5,opt,name=api_client,json=apiClient,proto3" json:"api_client,omitempty"`
131
132
133 DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"`
134
135
136
137 LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
138
139
140
141 OperatingSystemBuild string `protobuf:"bytes,8,opt,name=operating_system_build,json=operatingSystemBuild,proto3" json:"operating_system_build,omitempty"`
142 }
143
144 func (x *ClientInfo) Reset() {
145 *x = ClientInfo{}
146 if protoimpl.UnsafeEnabled {
147 mi := &file_google_maps_unity_clientinfo_proto_msgTypes[0]
148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
149 ms.StoreMessageInfo(mi)
150 }
151 }
152
153 func (x *ClientInfo) String() string {
154 return protoimpl.X.MessageStringOf(x)
155 }
156
157 func (*ClientInfo) ProtoMessage() {}
158
159 func (x *ClientInfo) ProtoReflect() protoreflect.Message {
160 mi := &file_google_maps_unity_clientinfo_proto_msgTypes[0]
161 if protoimpl.UnsafeEnabled && x != nil {
162 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
163 if ms.LoadMessageInfo() == nil {
164 ms.StoreMessageInfo(mi)
165 }
166 return ms
167 }
168 return mi.MessageOf(x)
169 }
170
171
172 func (*ClientInfo) Descriptor() ([]byte, []int) {
173 return file_google_maps_unity_clientinfo_proto_rawDescGZIP(), []int{0}
174 }
175
176 func (x *ClientInfo) GetApplicationId() string {
177 if x != nil {
178 return x.ApplicationId
179 }
180 return ""
181 }
182
183 func (x *ClientInfo) GetApplicationVersion() string {
184 if x != nil {
185 return x.ApplicationVersion
186 }
187 return ""
188 }
189
190 func (x *ClientInfo) GetPlatform() ClientInfo_Platform {
191 if x != nil {
192 return x.Platform
193 }
194 return ClientInfo_PLATFORM_UNSPECIFIED
195 }
196
197 func (x *ClientInfo) GetOperatingSystem() string {
198 if x != nil {
199 return x.OperatingSystem
200 }
201 return ""
202 }
203
204 func (x *ClientInfo) GetApiClient() string {
205 if x != nil {
206 return x.ApiClient
207 }
208 return ""
209 }
210
211 func (x *ClientInfo) GetDeviceModel() string {
212 if x != nil {
213 return x.DeviceModel
214 }
215 return ""
216 }
217
218 func (x *ClientInfo) GetLanguageCode() string {
219 if x != nil {
220 return x.LanguageCode
221 }
222 return ""
223 }
224
225 func (x *ClientInfo) GetOperatingSystemBuild() string {
226 if x != nil {
227 return x.OperatingSystemBuild
228 }
229 return ""
230 }
231
232 var File_google_maps_unity_clientinfo_proto protoreflect.FileDescriptor
233
234 var file_google_maps_unity_clientinfo_proto_rawDesc = []byte{
235 0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x75, 0x6e,
236 0x69, 0x74, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70,
237 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
238 0x73, 0x2e, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x22, 0xe8, 0x03, 0x0a, 0x0a, 0x43, 0x6c, 0x69, 0x65,
239 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63,
240 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
241 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2f, 0x0a,
242 0x13, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x65, 0x72,
243 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x61, 0x70, 0x70, 0x6c,
244 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x42,
245 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
246 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x75,
247 0x6e, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e,
248 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
249 0x72, 0x6d, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f,
250 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70,
251 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1d, 0x0a,
252 0x0a, 0x61, 0x70, 0x69, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
253 0x09, 0x52, 0x09, 0x61, 0x70, 0x69, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c,
254 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01,
255 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12,
256 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65,
257 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65,
258 0x43, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e,
259 0x67, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x08,
260 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53,
261 0x79, 0x73, 0x74, 0x65, 0x6d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x76, 0x0a, 0x08, 0x50, 0x6c,
262 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f,
263 0x52, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
264 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06,
265 0x4d, 0x41, 0x43, 0x5f, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x49, 0x4e, 0x44,
266 0x4f, 0x57, 0x53, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x49, 0x4e, 0x55, 0x58, 0x10, 0x04,
267 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x4e, 0x44, 0x52, 0x4f, 0x49, 0x44, 0x10, 0x05, 0x12, 0x07, 0x0a,
268 0x03, 0x49, 0x4f, 0x53, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x57, 0x45, 0x42, 0x5f, 0x47, 0x4c,
269 0x10, 0x07, 0x42, 0x7c, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
270 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x42, 0x0f, 0x43, 0x6c, 0x69,
271 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36,
272 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
273 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
274 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x79,
275 0x3b, 0x75, 0x6e, 0x69, 0x74, 0x79, 0xa2, 0x02, 0x03, 0x47, 0x4d, 0x55, 0xaa, 0x02, 0x11, 0x47,
276 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x55, 0x6e, 0x69, 0x74, 0x79,
277 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
278 }
279
280 var (
281 file_google_maps_unity_clientinfo_proto_rawDescOnce sync.Once
282 file_google_maps_unity_clientinfo_proto_rawDescData = file_google_maps_unity_clientinfo_proto_rawDesc
283 )
284
285 func file_google_maps_unity_clientinfo_proto_rawDescGZIP() []byte {
286 file_google_maps_unity_clientinfo_proto_rawDescOnce.Do(func() {
287 file_google_maps_unity_clientinfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_unity_clientinfo_proto_rawDescData)
288 })
289 return file_google_maps_unity_clientinfo_proto_rawDescData
290 }
291
292 var file_google_maps_unity_clientinfo_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
293 var file_google_maps_unity_clientinfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
294 var file_google_maps_unity_clientinfo_proto_goTypes = []interface{}{
295 (ClientInfo_Platform)(0),
296 (*ClientInfo)(nil),
297 }
298 var file_google_maps_unity_clientinfo_proto_depIdxs = []int32{
299 0,
300 1,
301 1,
302 1,
303 1,
304 0,
305 }
306
307 func init() { file_google_maps_unity_clientinfo_proto_init() }
308 func file_google_maps_unity_clientinfo_proto_init() {
309 if File_google_maps_unity_clientinfo_proto != nil {
310 return
311 }
312 if !protoimpl.UnsafeEnabled {
313 file_google_maps_unity_clientinfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
314 switch v := v.(*ClientInfo); i {
315 case 0:
316 return &v.state
317 case 1:
318 return &v.sizeCache
319 case 2:
320 return &v.unknownFields
321 default:
322 return nil
323 }
324 }
325 }
326 type x struct{}
327 out := protoimpl.TypeBuilder{
328 File: protoimpl.DescBuilder{
329 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
330 RawDescriptor: file_google_maps_unity_clientinfo_proto_rawDesc,
331 NumEnums: 1,
332 NumMessages: 1,
333 NumExtensions: 0,
334 NumServices: 0,
335 },
336 GoTypes: file_google_maps_unity_clientinfo_proto_goTypes,
337 DependencyIndexes: file_google_maps_unity_clientinfo_proto_depIdxs,
338 EnumInfos: file_google_maps_unity_clientinfo_proto_enumTypes,
339 MessageInfos: file_google_maps_unity_clientinfo_proto_msgTypes,
340 }.Build()
341 File_google_maps_unity_clientinfo_proto = out.File
342 file_google_maps_unity_clientinfo_proto_rawDesc = nil
343 file_google_maps_unity_clientinfo_proto_goTypes = nil
344 file_google_maps_unity_clientinfo_proto_depIdxs = nil
345 }
346
View as plain text