1 |
efrain |
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 |
|
|
|
17 |
/* Automatically generated nanopb header */
|
|
|
18 |
/* Generated by nanopb-0.3.9.7 */
|
|
|
19 |
|
|
|
20 |
#ifndef PB_GOOGLE_CRASHLYTICS_CRASHLYTICS_NANOPB_H_INCLUDED
|
|
|
21 |
#define PB_GOOGLE_CRASHLYTICS_CRASHLYTICS_NANOPB_H_INCLUDED
|
|
|
22 |
#include <nanopb/pb.h>
|
|
|
23 |
|
|
|
24 |
/* @@protoc_insertion_point(includes) */
|
|
|
25 |
#if PB_PROTO_HEADER_VERSION != 30
|
|
|
26 |
#error Regenerate this file with the current version of nanopb generator.
|
|
|
27 |
#endif
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
/* Enum definitions */
|
|
|
31 |
typedef enum _google_crashlytics_Platforms {
|
|
|
32 |
google_crashlytics_Platforms_UNKNOWN_PLATFORM = 0,
|
|
|
33 |
google_crashlytics_Platforms_IOS = 1,
|
|
|
34 |
google_crashlytics_Platforms_TVOS = 2,
|
|
|
35 |
google_crashlytics_Platforms_MAC_OS_X = 5
|
|
|
36 |
} google_crashlytics_Platforms;
|
|
|
37 |
#define _google_crashlytics_Platforms_MIN google_crashlytics_Platforms_UNKNOWN_PLATFORM
|
|
|
38 |
#define _google_crashlytics_Platforms_MAX google_crashlytics_Platforms_MAC_OS_X
|
|
|
39 |
#define _google_crashlytics_Platforms_ARRAYSIZE ((google_crashlytics_Platforms)(google_crashlytics_Platforms_MAC_OS_X+1))
|
|
|
40 |
|
|
|
41 |
/* Struct definitions */
|
|
|
42 |
typedef struct _google_crashlytics_FilesPayload {
|
|
|
43 |
pb_size_t files_count;
|
|
|
44 |
struct _google_crashlytics_FilesPayload_File *files;
|
|
|
45 |
/* @@protoc_insertion_point(struct:google_crashlytics_FilesPayload) */
|
|
|
46 |
} google_crashlytics_FilesPayload;
|
|
|
47 |
|
|
|
48 |
typedef struct _google_crashlytics_FilesPayload_File {
|
|
|
49 |
pb_bytes_array_t *filename;
|
|
|
50 |
pb_bytes_array_t *contents;
|
|
|
51 |
/* @@protoc_insertion_point(struct:google_crashlytics_FilesPayload_File) */
|
|
|
52 |
} google_crashlytics_FilesPayload_File;
|
|
|
53 |
|
|
|
54 |
typedef struct _google_crashlytics_Report {
|
|
|
55 |
pb_bytes_array_t *sdk_version;
|
|
|
56 |
pb_bytes_array_t *gmp_app_id;
|
|
|
57 |
google_crashlytics_Platforms platform;
|
|
|
58 |
pb_bytes_array_t *installation_uuid;
|
|
|
59 |
pb_bytes_array_t *build_version;
|
|
|
60 |
pb_bytes_array_t *display_version;
|
|
|
61 |
google_crashlytics_FilesPayload apple_payload;
|
|
|
62 |
/* @@protoc_insertion_point(struct:google_crashlytics_Report) */
|
|
|
63 |
} google_crashlytics_Report;
|
|
|
64 |
|
|
|
65 |
/* Default values for struct fields */
|
|
|
66 |
|
|
|
67 |
/* Initializer values for message structs */
|
|
|
68 |
#define google_crashlytics_Report_init_default {NULL, NULL, _google_crashlytics_Platforms_MIN, NULL, NULL, NULL, google_crashlytics_FilesPayload_init_default}
|
|
|
69 |
#define google_crashlytics_FilesPayload_init_default {0, NULL}
|
|
|
70 |
#define google_crashlytics_FilesPayload_File_init_default {NULL, NULL}
|
|
|
71 |
#define google_crashlytics_Report_init_zero {NULL, NULL, _google_crashlytics_Platforms_MIN, NULL, NULL, NULL, google_crashlytics_FilesPayload_init_zero}
|
|
|
72 |
#define google_crashlytics_FilesPayload_init_zero {0, NULL}
|
|
|
73 |
#define google_crashlytics_FilesPayload_File_init_zero {NULL, NULL}
|
|
|
74 |
|
|
|
75 |
/* Field tags (for use in manual encoding/decoding) */
|
|
|
76 |
#define google_crashlytics_FilesPayload_files_tag 1
|
|
|
77 |
#define google_crashlytics_FilesPayload_File_filename_tag 1
|
|
|
78 |
#define google_crashlytics_FilesPayload_File_contents_tag 2
|
|
|
79 |
#define google_crashlytics_Report_sdk_version_tag 1
|
|
|
80 |
#define google_crashlytics_Report_gmp_app_id_tag 3
|
|
|
81 |
#define google_crashlytics_Report_platform_tag 4
|
|
|
82 |
#define google_crashlytics_Report_installation_uuid_tag 5
|
|
|
83 |
#define google_crashlytics_Report_build_version_tag 6
|
|
|
84 |
#define google_crashlytics_Report_display_version_tag 7
|
|
|
85 |
#define google_crashlytics_Report_apple_payload_tag 10
|
|
|
86 |
|
|
|
87 |
/* Struct field encoding specification for nanopb */
|
|
|
88 |
extern const pb_field_t google_crashlytics_Report_fields[8];
|
|
|
89 |
extern const pb_field_t google_crashlytics_FilesPayload_fields[2];
|
|
|
90 |
extern const pb_field_t google_crashlytics_FilesPayload_File_fields[3];
|
|
|
91 |
|
|
|
92 |
/* Maximum encoded size of messages (where known) */
|
|
|
93 |
/* google_crashlytics_Report_size depends on runtime parameters */
|
|
|
94 |
/* google_crashlytics_FilesPayload_size depends on runtime parameters */
|
|
|
95 |
/* google_crashlytics_FilesPayload_File_size depends on runtime parameters */
|
|
|
96 |
|
|
|
97 |
/* Message IDs (where set with "msgid" option) */
|
|
|
98 |
#ifdef PB_MSGID
|
|
|
99 |
|
|
|
100 |
#define CRASHLYTICS_MESSAGES \
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
#endif
|
|
|
104 |
|
|
|
105 |
/* @@protoc_insertion_point(eof) */
|
|
|
106 |
|
|
|
107 |
#endif
|