clientinfo.proto 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. syntax = "proto3";
  15. package google.maps.unity;
  16. option csharp_namespace = "Google.Maps.Unity";
  17. option go_package = "google.golang.org/genproto/googleapis/maps/unity;unity";
  18. option java_multiple_files = true;
  19. option java_outer_classname = "ClientInfoProto";
  20. option java_package = "com.google.maps.unity";
  21. option objc_class_prefix = "GMU";
  22. // Client information.
  23. message ClientInfo {
  24. // Platform enum.
  25. enum Platform {
  26. // Unspecified or unknown OS.
  27. PLATFORM_UNSPECIFIED = 0;
  28. // Development environment.
  29. EDITOR = 1;
  30. // macOS.
  31. MAC_OS = 2;
  32. // Windows.
  33. WINDOWS = 3;
  34. // Linux
  35. LINUX = 4;
  36. // Android
  37. ANDROID = 5;
  38. // iOS
  39. IOS = 6;
  40. // WebGL.
  41. WEB_GL = 7;
  42. }
  43. // Application ID, such as the package name on Android and the bundle
  44. // identifier on iOS platforms.
  45. string application_id = 1;
  46. // Application version number, such as "1.2.3". The exact format is
  47. // application-dependent.
  48. string application_version = 2;
  49. // Platform where the application is running.
  50. Platform platform = 3;
  51. // Operating system name and version as reported by the OS. For example,
  52. // "Mac OS X 10.10.4". The exact format is platform-dependent.
  53. string operating_system = 4;
  54. // API client name and version. For example, the SDK calling the API. The
  55. // exact format is up to the client.
  56. string api_client = 5;
  57. // Device model as reported by the device. The exact format is
  58. // platform-dependent.
  59. string device_model = 6;
  60. // Language code (in BCP-47 format) indicating the UI language of the client.
  61. // Examples are "en", "en-US" or "ja-Latn". For more information, see
  62. // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
  63. string language_code = 7;
  64. // Build number/version of the operating system. e.g., the contents of
  65. // android.os.Build.ID in Android, or the contents of sysctl "kern.osversion"
  66. // in iOS.
  67. string operating_system_build = 8;
  68. }