You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

107 lines
4.3 KiB

  1. /*
  2. * Copyright 2019 Google
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /* Automatically generated nanopb header */
  17. /* Generated by nanopb-0.3.9.5 */
  18. #ifndef PB_GOOGLE_CRASHLYTICS_CRASHLYTICS_NANOPB_H_INCLUDED
  19. #define PB_GOOGLE_CRASHLYTICS_CRASHLYTICS_NANOPB_H_INCLUDED
  20. #include <nanopb/pb.h>
  21. /* @@protoc_insertion_point(includes) */
  22. #if PB_PROTO_HEADER_VERSION != 30
  23. #error Regenerate this file with the current version of nanopb generator.
  24. #endif
  25. /* Enum definitions */
  26. typedef enum _google_crashlytics_Platforms {
  27. google_crashlytics_Platforms_UNKNOWN_PLATFORM = 0,
  28. google_crashlytics_Platforms_IOS = 1,
  29. google_crashlytics_Platforms_TVOS = 2,
  30. google_crashlytics_Platforms_MAC_OS_X = 5
  31. } google_crashlytics_Platforms;
  32. #define _google_crashlytics_Platforms_MIN google_crashlytics_Platforms_UNKNOWN_PLATFORM
  33. #define _google_crashlytics_Platforms_MAX google_crashlytics_Platforms_MAC_OS_X
  34. #define _google_crashlytics_Platforms_ARRAYSIZE ((google_crashlytics_Platforms)(google_crashlytics_Platforms_MAC_OS_X+1))
  35. /* Struct definitions */
  36. typedef struct _google_crashlytics_FilesPayload {
  37. pb_size_t files_count;
  38. struct _google_crashlytics_FilesPayload_File *files;
  39. /* @@protoc_insertion_point(struct:google_crashlytics_FilesPayload) */
  40. } google_crashlytics_FilesPayload;
  41. typedef struct _google_crashlytics_FilesPayload_File {
  42. pb_bytes_array_t *filename;
  43. pb_bytes_array_t *contents;
  44. /* @@protoc_insertion_point(struct:google_crashlytics_FilesPayload_File) */
  45. } google_crashlytics_FilesPayload_File;
  46. typedef struct _google_crashlytics_Report {
  47. pb_bytes_array_t *sdk_version;
  48. pb_bytes_array_t *gmp_app_id;
  49. google_crashlytics_Platforms platform;
  50. pb_bytes_array_t *installation_uuid;
  51. pb_bytes_array_t *build_version;
  52. pb_bytes_array_t *display_version;
  53. google_crashlytics_FilesPayload apple_payload;
  54. /* @@protoc_insertion_point(struct:google_crashlytics_Report) */
  55. } google_crashlytics_Report;
  56. /* Default values for struct fields */
  57. /* Initializer values for message structs */
  58. #define google_crashlytics_Report_init_default {NULL, NULL, _google_crashlytics_Platforms_MIN, NULL, NULL, NULL, google_crashlytics_FilesPayload_init_default}
  59. #define google_crashlytics_FilesPayload_init_default {0, NULL}
  60. #define google_crashlytics_FilesPayload_File_init_default {NULL, NULL}
  61. #define google_crashlytics_Report_init_zero {NULL, NULL, _google_crashlytics_Platforms_MIN, NULL, NULL, NULL, google_crashlytics_FilesPayload_init_zero}
  62. #define google_crashlytics_FilesPayload_init_zero {0, NULL}
  63. #define google_crashlytics_FilesPayload_File_init_zero {NULL, NULL}
  64. /* Field tags (for use in manual encoding/decoding) */
  65. #define google_crashlytics_FilesPayload_files_tag 1
  66. #define google_crashlytics_FilesPayload_File_filename_tag 1
  67. #define google_crashlytics_FilesPayload_File_contents_tag 2
  68. #define google_crashlytics_Report_sdk_version_tag 1
  69. #define google_crashlytics_Report_gmp_app_id_tag 3
  70. #define google_crashlytics_Report_platform_tag 4
  71. #define google_crashlytics_Report_installation_uuid_tag 5
  72. #define google_crashlytics_Report_build_version_tag 6
  73. #define google_crashlytics_Report_display_version_tag 7
  74. #define google_crashlytics_Report_apple_payload_tag 10
  75. /* Struct field encoding specification for nanopb */
  76. extern const pb_field_t google_crashlytics_Report_fields[8];
  77. extern const pb_field_t google_crashlytics_FilesPayload_fields[2];
  78. extern const pb_field_t google_crashlytics_FilesPayload_File_fields[3];
  79. /* Maximum encoded size of messages (where known) */
  80. /* google_crashlytics_Report_size depends on runtime parameters */
  81. /* google_crashlytics_FilesPayload_size depends on runtime parameters */
  82. /* google_crashlytics_FilesPayload_File_size depends on runtime parameters */
  83. /* Message IDs (where set with "msgid" option) */
  84. #ifdef PB_MSGID
  85. #define CRASHLYTICS_MESSAGES \
  86. #endif
  87. /* @@protoc_insertion_point(eof) */
  88. #endif