1// Copyright 2020 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.22.0 18// protoc v3.11.2 19// source: google/maps/unity/clientinfo.proto 20 21package unity 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 29 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 30) 31 32const ( 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// This is a compile-time assertion that a sufficiently up-to-date version 40// of the legacy proto package is being used. 41const _ = proto.ProtoPackageIsVersion4 42 43// Platform enum. 44type ClientInfo_Platform int32 45 46const ( 47 // Unspecified or unknown OS. 48 ClientInfo_PLATFORM_UNSPECIFIED ClientInfo_Platform = 0 49 // Development environment. 50 ClientInfo_EDITOR ClientInfo_Platform = 1 51 // macOS. 52 ClientInfo_MAC_OS ClientInfo_Platform = 2 53 // Windows. 54 ClientInfo_WINDOWS ClientInfo_Platform = 3 55 // Linux 56 ClientInfo_LINUX ClientInfo_Platform = 4 57 // Android 58 ClientInfo_ANDROID ClientInfo_Platform = 5 59 // iOS 60 ClientInfo_IOS ClientInfo_Platform = 6 61 // WebGL. 62 ClientInfo_WEB_GL ClientInfo_Platform = 7 63) 64 65// Enum value maps for ClientInfo_Platform. 66var ( 67 ClientInfo_Platform_name = map[int32]string{ 68 0: "PLATFORM_UNSPECIFIED", 69 1: "EDITOR", 70 2: "MAC_OS", 71 3: "WINDOWS", 72 4: "LINUX", 73 5: "ANDROID", 74 6: "IOS", 75 7: "WEB_GL", 76 } 77 ClientInfo_Platform_value = map[string]int32{ 78 "PLATFORM_UNSPECIFIED": 0, 79 "EDITOR": 1, 80 "MAC_OS": 2, 81 "WINDOWS": 3, 82 "LINUX": 4, 83 "ANDROID": 5, 84 "IOS": 6, 85 "WEB_GL": 7, 86 } 87) 88 89func (x ClientInfo_Platform) Enum() *ClientInfo_Platform { 90 p := new(ClientInfo_Platform) 91 *p = x 92 return p 93} 94 95func (x ClientInfo_Platform) String() string { 96 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 97} 98 99func (ClientInfo_Platform) Descriptor() protoreflect.EnumDescriptor { 100 return file_google_maps_unity_clientinfo_proto_enumTypes[0].Descriptor() 101} 102 103func (ClientInfo_Platform) Type() protoreflect.EnumType { 104 return &file_google_maps_unity_clientinfo_proto_enumTypes[0] 105} 106 107func (x ClientInfo_Platform) Number() protoreflect.EnumNumber { 108 return protoreflect.EnumNumber(x) 109} 110 111// Deprecated: Use ClientInfo_Platform.Descriptor instead. 112func (ClientInfo_Platform) EnumDescriptor() ([]byte, []int) { 113 return file_google_maps_unity_clientinfo_proto_rawDescGZIP(), []int{0, 0} 114} 115 116// Client information. 117type ClientInfo struct { 118 state protoimpl.MessageState 119 sizeCache protoimpl.SizeCache 120 unknownFields protoimpl.UnknownFields 121 122 // Application ID, such as the package name on Android and the bundle 123 // identifier on iOS platforms. 124 ApplicationId string `protobuf:"bytes,1,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"` 125 // Application version number, such as "1.2.3". The exact format is 126 // application-dependent. 127 ApplicationVersion string `protobuf:"bytes,2,opt,name=application_version,json=applicationVersion,proto3" json:"application_version,omitempty"` 128 // Platform where the application is running. 129 Platform ClientInfo_Platform `protobuf:"varint,3,opt,name=platform,proto3,enum=google.maps.unity.ClientInfo_Platform" json:"platform,omitempty"` 130 // Operating system name and version as reported by the OS. For example, 131 // "Mac OS X 10.10.4". The exact format is platform-dependent. 132 OperatingSystem string `protobuf:"bytes,4,opt,name=operating_system,json=operatingSystem,proto3" json:"operating_system,omitempty"` 133 // API client name and version. For example, the SDK calling the API. The 134 // exact format is up to the client. 135 ApiClient string `protobuf:"bytes,5,opt,name=api_client,json=apiClient,proto3" json:"api_client,omitempty"` 136 // Device model as reported by the device. The exact format is 137 // platform-dependent. 138 DeviceModel string `protobuf:"bytes,6,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"` 139 // Language code (in BCP-47 format) indicating the UI language of the client. 140 // Examples are "en", "en-US" or "ja-Latn". For more information, see 141 // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. 142 LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"` 143 // Build number/version of the operating system. e.g., the contents of 144 // android.os.Build.ID in Android, or the contents of sysctl "kern.osversion" 145 // in iOS. 146 OperatingSystemBuild string `protobuf:"bytes,8,opt,name=operating_system_build,json=operatingSystemBuild,proto3" json:"operating_system_build,omitempty"` 147} 148 149func (x *ClientInfo) Reset() { 150 *x = ClientInfo{} 151 if protoimpl.UnsafeEnabled { 152 mi := &file_google_maps_unity_clientinfo_proto_msgTypes[0] 153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 154 ms.StoreMessageInfo(mi) 155 } 156} 157 158func (x *ClientInfo) String() string { 159 return protoimpl.X.MessageStringOf(x) 160} 161 162func (*ClientInfo) ProtoMessage() {} 163 164func (x *ClientInfo) ProtoReflect() protoreflect.Message { 165 mi := &file_google_maps_unity_clientinfo_proto_msgTypes[0] 166 if protoimpl.UnsafeEnabled && x != nil { 167 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 168 if ms.LoadMessageInfo() == nil { 169 ms.StoreMessageInfo(mi) 170 } 171 return ms 172 } 173 return mi.MessageOf(x) 174} 175 176// Deprecated: Use ClientInfo.ProtoReflect.Descriptor instead. 177func (*ClientInfo) Descriptor() ([]byte, []int) { 178 return file_google_maps_unity_clientinfo_proto_rawDescGZIP(), []int{0} 179} 180 181func (x *ClientInfo) GetApplicationId() string { 182 if x != nil { 183 return x.ApplicationId 184 } 185 return "" 186} 187 188func (x *ClientInfo) GetApplicationVersion() string { 189 if x != nil { 190 return x.ApplicationVersion 191 } 192 return "" 193} 194 195func (x *ClientInfo) GetPlatform() ClientInfo_Platform { 196 if x != nil { 197 return x.Platform 198 } 199 return ClientInfo_PLATFORM_UNSPECIFIED 200} 201 202func (x *ClientInfo) GetOperatingSystem() string { 203 if x != nil { 204 return x.OperatingSystem 205 } 206 return "" 207} 208 209func (x *ClientInfo) GetApiClient() string { 210 if x != nil { 211 return x.ApiClient 212 } 213 return "" 214} 215 216func (x *ClientInfo) GetDeviceModel() string { 217 if x != nil { 218 return x.DeviceModel 219 } 220 return "" 221} 222 223func (x *ClientInfo) GetLanguageCode() string { 224 if x != nil { 225 return x.LanguageCode 226 } 227 return "" 228} 229 230func (x *ClientInfo) GetOperatingSystemBuild() string { 231 if x != nil { 232 return x.OperatingSystemBuild 233 } 234 return "" 235} 236 237var File_google_maps_unity_clientinfo_proto protoreflect.FileDescriptor 238 239var file_google_maps_unity_clientinfo_proto_rawDesc = []byte{ 240 0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x75, 0x6e, 241 0x69, 0x74, 0x79, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 242 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 243 0x73, 0x2e, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x22, 0xe8, 0x03, 0x0a, 0x0a, 0x43, 0x6c, 0x69, 0x65, 244 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 245 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 246 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x2f, 0x0a, 247 0x13, 0x61, 0x70, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x76, 0x65, 0x72, 248 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x61, 0x70, 0x70, 0x6c, 249 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x42, 250 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 251 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x75, 252 0x6e, 0x69, 0x74, 0x79, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 253 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 254 0x72, 0x6d, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x5f, 255 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x6f, 0x70, 256 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x1d, 0x0a, 257 0x0a, 0x61, 0x70, 0x69, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 258 0x09, 0x52, 0x09, 0x61, 0x70, 0x69, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 259 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 260 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 261 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 262 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 263 0x43, 0x6f, 0x64, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 264 0x67, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x08, 265 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53, 266 0x79, 0x73, 0x74, 0x65, 0x6d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x76, 0x0a, 0x08, 0x50, 0x6c, 267 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x41, 0x54, 0x46, 0x4f, 268 0x52, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 269 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 270 0x4d, 0x41, 0x43, 0x5f, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x49, 0x4e, 0x44, 271 0x4f, 0x57, 0x53, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x49, 0x4e, 0x55, 0x58, 0x10, 0x04, 272 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x4e, 0x44, 0x52, 0x4f, 0x49, 0x44, 0x10, 0x05, 0x12, 0x07, 0x0a, 273 0x03, 0x49, 0x4f, 0x53, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x57, 0x45, 0x42, 0x5f, 0x47, 0x4c, 274 0x10, 0x07, 0x42, 0x7c, 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 275 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x42, 0x0f, 0x43, 0x6c, 0x69, 276 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36, 277 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 278 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 279 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x75, 0x6e, 0x69, 0x74, 0x79, 280 0x3b, 0x75, 0x6e, 0x69, 0x74, 0x79, 0xa2, 0x02, 0x03, 0x47, 0x4d, 0x55, 0xaa, 0x02, 0x11, 0x47, 281 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x55, 0x6e, 0x69, 0x74, 0x79, 282 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 283} 284 285var ( 286 file_google_maps_unity_clientinfo_proto_rawDescOnce sync.Once 287 file_google_maps_unity_clientinfo_proto_rawDescData = file_google_maps_unity_clientinfo_proto_rawDesc 288) 289 290func file_google_maps_unity_clientinfo_proto_rawDescGZIP() []byte { 291 file_google_maps_unity_clientinfo_proto_rawDescOnce.Do(func() { 292 file_google_maps_unity_clientinfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_unity_clientinfo_proto_rawDescData) 293 }) 294 return file_google_maps_unity_clientinfo_proto_rawDescData 295} 296 297var file_google_maps_unity_clientinfo_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 298var file_google_maps_unity_clientinfo_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 299var file_google_maps_unity_clientinfo_proto_goTypes = []interface{}{ 300 (ClientInfo_Platform)(0), // 0: google.maps.unity.ClientInfo.Platform 301 (*ClientInfo)(nil), // 1: google.maps.unity.ClientInfo 302} 303var file_google_maps_unity_clientinfo_proto_depIdxs = []int32{ 304 0, // 0: google.maps.unity.ClientInfo.platform:type_name -> google.maps.unity.ClientInfo.Platform 305 1, // [1:1] is the sub-list for method output_type 306 1, // [1:1] is the sub-list for method input_type 307 1, // [1:1] is the sub-list for extension type_name 308 1, // [1:1] is the sub-list for extension extendee 309 0, // [0:1] is the sub-list for field type_name 310} 311 312func init() { file_google_maps_unity_clientinfo_proto_init() } 313func file_google_maps_unity_clientinfo_proto_init() { 314 if File_google_maps_unity_clientinfo_proto != nil { 315 return 316 } 317 if !protoimpl.UnsafeEnabled { 318 file_google_maps_unity_clientinfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 319 switch v := v.(*ClientInfo); i { 320 case 0: 321 return &v.state 322 case 1: 323 return &v.sizeCache 324 case 2: 325 return &v.unknownFields 326 default: 327 return nil 328 } 329 } 330 } 331 type x struct{} 332 out := protoimpl.TypeBuilder{ 333 File: protoimpl.DescBuilder{ 334 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 335 RawDescriptor: file_google_maps_unity_clientinfo_proto_rawDesc, 336 NumEnums: 1, 337 NumMessages: 1, 338 NumExtensions: 0, 339 NumServices: 0, 340 }, 341 GoTypes: file_google_maps_unity_clientinfo_proto_goTypes, 342 DependencyIndexes: file_google_maps_unity_clientinfo_proto_depIdxs, 343 EnumInfos: file_google_maps_unity_clientinfo_proto_enumTypes, 344 MessageInfos: file_google_maps_unity_clientinfo_proto_msgTypes, 345 }.Build() 346 File_google_maps_unity_clientinfo_proto = out.File 347 file_google_maps_unity_clientinfo_proto_rawDesc = nil 348 file_google_maps_unity_clientinfo_proto_goTypes = nil 349 file_google_maps_unity_clientinfo_proto_depIdxs = nil 350} 351