crashlytics.proto 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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_crashlytics;
  16. enum Platforms {
  17. UNKNOWN_PLATFORM = 0;
  18. IOS = 1;
  19. TVOS = 2;
  20. MAC_OS_X = 5;
  21. }
  22. message Report {
  23. // SDK version that generated this session
  24. string sdk_version = 1;
  25. // GMP App ID
  26. string gmp_app_id = 3;
  27. // General device type which generated the Event
  28. Platforms platform = 4;
  29. // Unique device generated guid for application install.
  30. string installation_uuid = 5;
  31. // App build version.
  32. string build_version = 6;
  33. // Developer-supplied application version.
  34. string display_version = 7;
  35. FilesPayload apple_payload = 10;
  36. }
  37. // Session data represented as a set of log and metadata files.
  38. message FilesPayload {
  39. message File {
  40. string filename = 1;
  41. bytes contents = 2;
  42. }
  43. repeated File files = 1;
  44. }