Proyectos de Subversion Iphone Microlearning

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
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_GDT_CCT_CCT_NANOPB_H_INCLUDED
21
#define PB_GDT_CCT_CCT_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 _gdt_cct_NetworkConnectionInfo_NetworkType {
32
    gdt_cct_NetworkConnectionInfo_NetworkType_NONE = -1,
33
    gdt_cct_NetworkConnectionInfo_NetworkType_MOBILE = 0,
34
    gdt_cct_NetworkConnectionInfo_NetworkType_WIFI = 1,
35
    gdt_cct_NetworkConnectionInfo_NetworkType_MOBILE_MMS = 2,
36
    gdt_cct_NetworkConnectionInfo_NetworkType_MOBILE_SUPL = 3,
37
    gdt_cct_NetworkConnectionInfo_NetworkType_MOBILE_DUN = 4,
38
    gdt_cct_NetworkConnectionInfo_NetworkType_MOBILE_HIPRI = 5,
39
    gdt_cct_NetworkConnectionInfo_NetworkType_WIMAX = 6,
40
    gdt_cct_NetworkConnectionInfo_NetworkType_BLUETOOTH = 7,
41
    gdt_cct_NetworkConnectionInfo_NetworkType_DUMMY = 8,
42
    gdt_cct_NetworkConnectionInfo_NetworkType_ETHERNET = 9,
43
    gdt_cct_NetworkConnectionInfo_NetworkType_MOBILE_FOTA = 10,
44
    gdt_cct_NetworkConnectionInfo_NetworkType_MOBILE_IMS = 11,
45
    gdt_cct_NetworkConnectionInfo_NetworkType_MOBILE_CBS = 12,
46
    gdt_cct_NetworkConnectionInfo_NetworkType_WIFI_P2P = 13,
47
    gdt_cct_NetworkConnectionInfo_NetworkType_MOBILE_IA = 14,
48
    gdt_cct_NetworkConnectionInfo_NetworkType_MOBILE_EMERGENCY = 15,
49
    gdt_cct_NetworkConnectionInfo_NetworkType_PROXY = 16,
50
    gdt_cct_NetworkConnectionInfo_NetworkType_VPN = 17
51
} gdt_cct_NetworkConnectionInfo_NetworkType;
52
#define _gdt_cct_NetworkConnectionInfo_NetworkType_MIN gdt_cct_NetworkConnectionInfo_NetworkType_NONE
53
#define _gdt_cct_NetworkConnectionInfo_NetworkType_MAX gdt_cct_NetworkConnectionInfo_NetworkType_VPN
54
#define _gdt_cct_NetworkConnectionInfo_NetworkType_ARRAYSIZE ((gdt_cct_NetworkConnectionInfo_NetworkType)(gdt_cct_NetworkConnectionInfo_NetworkType_VPN+1))
55
 
56
typedef enum _gdt_cct_NetworkConnectionInfo_MobileSubtype {
57
    gdt_cct_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE = 0,
58
    gdt_cct_NetworkConnectionInfo_MobileSubtype_GPRS = 1,
59
    gdt_cct_NetworkConnectionInfo_MobileSubtype_EDGE = 2,
60
    gdt_cct_NetworkConnectionInfo_MobileSubtype_UMTS = 3,
61
    gdt_cct_NetworkConnectionInfo_MobileSubtype_CDMA = 4,
62
    gdt_cct_NetworkConnectionInfo_MobileSubtype_EVDO_0 = 5,
63
    gdt_cct_NetworkConnectionInfo_MobileSubtype_EVDO_A = 6,
64
    gdt_cct_NetworkConnectionInfo_MobileSubtype_RTT = 7,
65
    gdt_cct_NetworkConnectionInfo_MobileSubtype_HSDPA = 8,
66
    gdt_cct_NetworkConnectionInfo_MobileSubtype_HSUPA = 9,
67
    gdt_cct_NetworkConnectionInfo_MobileSubtype_HSPA = 10,
68
    gdt_cct_NetworkConnectionInfo_MobileSubtype_IDEN = 11,
69
    gdt_cct_NetworkConnectionInfo_MobileSubtype_EVDO_B = 12,
70
    gdt_cct_NetworkConnectionInfo_MobileSubtype_LTE = 13,
71
    gdt_cct_NetworkConnectionInfo_MobileSubtype_EHRPD = 14,
72
    gdt_cct_NetworkConnectionInfo_MobileSubtype_HSPAP = 15,
73
    gdt_cct_NetworkConnectionInfo_MobileSubtype_GSM = 16,
74
    gdt_cct_NetworkConnectionInfo_MobileSubtype_TD_SCDMA = 17,
75
    gdt_cct_NetworkConnectionInfo_MobileSubtype_IWLAN = 18,
76
    gdt_cct_NetworkConnectionInfo_MobileSubtype_LTE_CA = 19,
77
    gdt_cct_NetworkConnectionInfo_MobileSubtype_COMBINED = 100
78
} gdt_cct_NetworkConnectionInfo_MobileSubtype;
79
#define _gdt_cct_NetworkConnectionInfo_MobileSubtype_MIN gdt_cct_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE
80
#define _gdt_cct_NetworkConnectionInfo_MobileSubtype_MAX gdt_cct_NetworkConnectionInfo_MobileSubtype_COMBINED
81
#define _gdt_cct_NetworkConnectionInfo_MobileSubtype_ARRAYSIZE ((gdt_cct_NetworkConnectionInfo_MobileSubtype)(gdt_cct_NetworkConnectionInfo_MobileSubtype_COMBINED+1))
82
 
83
typedef enum _gdt_cct_ClientInfo_ClientType {
84
    gdt_cct_ClientInfo_ClientType_CLIENT_UNKNOWN = 0,
85
    gdt_cct_ClientInfo_ClientType_IOS_FIREBASE = 15
86
} gdt_cct_ClientInfo_ClientType;
87
#define _gdt_cct_ClientInfo_ClientType_MIN gdt_cct_ClientInfo_ClientType_CLIENT_UNKNOWN
88
#define _gdt_cct_ClientInfo_ClientType_MAX gdt_cct_ClientInfo_ClientType_IOS_FIREBASE
89
#define _gdt_cct_ClientInfo_ClientType_ARRAYSIZE ((gdt_cct_ClientInfo_ClientType)(gdt_cct_ClientInfo_ClientType_IOS_FIREBASE+1))
90
 
91
typedef enum _gdt_cct_QosTierConfiguration_QosTier {
92
    gdt_cct_QosTierConfiguration_QosTier_DEFAULT = 0,
93
    gdt_cct_QosTierConfiguration_QosTier_UNMETERED_ONLY = 1,
94
    gdt_cct_QosTierConfiguration_QosTier_UNMETERED_OR_DAILY = 2,
95
    gdt_cct_QosTierConfiguration_QosTier_FAST_IF_RADIO_AWAKE = 3,
96
    gdt_cct_QosTierConfiguration_QosTier_NEVER = 4
97
} gdt_cct_QosTierConfiguration_QosTier;
98
#define _gdt_cct_QosTierConfiguration_QosTier_MIN gdt_cct_QosTierConfiguration_QosTier_DEFAULT
99
#define _gdt_cct_QosTierConfiguration_QosTier_MAX gdt_cct_QosTierConfiguration_QosTier_NEVER
100
#define _gdt_cct_QosTierConfiguration_QosTier_ARRAYSIZE ((gdt_cct_QosTierConfiguration_QosTier)(gdt_cct_QosTierConfiguration_QosTier_NEVER+1))
101
 
102
/* Struct definitions */
103
typedef struct _gdt_cct_BatchedLogRequest {
104
    pb_size_t log_request_count;
105
    struct _gdt_cct_LogRequest *log_request;
106
/* @@protoc_insertion_point(struct:gdt_cct_BatchedLogRequest) */
107
} gdt_cct_BatchedLogRequest;
108
 
109
typedef struct _gdt_cct_IosClientInfo {
110
    pb_bytes_array_t *os_major_version;
111
    pb_bytes_array_t *os_full_version;
112
    pb_bytes_array_t *application_build;
113
    pb_bytes_array_t *country;
114
    pb_bytes_array_t *model;
115
    pb_bytes_array_t *language_code;
116
    pb_bytes_array_t *application_bundle_id;
117
/* @@protoc_insertion_point(struct:gdt_cct_IosClientInfo) */
118
} gdt_cct_IosClientInfo;
119
 
120
typedef struct _gdt_cct_ClientInfo {
121
    bool has_client_type;
122
    gdt_cct_ClientInfo_ClientType client_type;
123
    bool has_ios_client_info;
124
    gdt_cct_IosClientInfo ios_client_info;
125
/* @@protoc_insertion_point(struct:gdt_cct_ClientInfo) */
126
} gdt_cct_ClientInfo;
127
 
128
typedef struct _gdt_cct_NetworkConnectionInfo {
129
    bool has_network_type;
130
    gdt_cct_NetworkConnectionInfo_NetworkType network_type;
131
    bool has_mobile_subtype;
132
    gdt_cct_NetworkConnectionInfo_MobileSubtype mobile_subtype;
133
/* @@protoc_insertion_point(struct:gdt_cct_NetworkConnectionInfo) */
134
} gdt_cct_NetworkConnectionInfo;
135
 
136
typedef struct _gdt_cct_QosTierConfiguration {
137
    bool has_qos_tier;
138
    gdt_cct_QosTierConfiguration_QosTier qos_tier;
139
    bool has_log_source;
140
    int32_t log_source;
141
/* @@protoc_insertion_point(struct:gdt_cct_QosTierConfiguration) */
142
} gdt_cct_QosTierConfiguration;
143
 
144
typedef struct _gdt_cct_QosTiersOverride {
145
    pb_size_t qos_tier_configuration_count;
146
    struct _gdt_cct_QosTierConfiguration *qos_tier_configuration;
147
    bool has_qos_tier_fingerprint;
148
    int64_t qos_tier_fingerprint;
149
/* @@protoc_insertion_point(struct:gdt_cct_QosTiersOverride) */
150
} gdt_cct_QosTiersOverride;
151
 
152
typedef struct _gdt_cct_LogEvent {
153
    bool has_event_time_ms;
154
    int64_t event_time_ms;
155
    pb_bytes_array_t *source_extension;
156
    bool has_event_code;
157
    int32_t event_code;
158
    bool has_timezone_offset_seconds;
159
    int64_t timezone_offset_seconds;
160
    bool has_event_uptime_ms;
161
    int64_t event_uptime_ms;
162
    bool has_network_connection_info;
163
    gdt_cct_NetworkConnectionInfo network_connection_info;
164
/* @@protoc_insertion_point(struct:gdt_cct_LogEvent) */
165
} gdt_cct_LogEvent;
166
 
167
typedef struct _gdt_cct_LogRequest {
168
    bool has_client_info;
169
    gdt_cct_ClientInfo client_info;
170
    bool has_log_source;
171
    int32_t log_source;
172
    pb_size_t log_event_count;
173
    struct _gdt_cct_LogEvent *log_event;
174
    bool has_request_time_ms;
175
    int64_t request_time_ms;
176
    bool has_request_uptime_ms;
177
    int64_t request_uptime_ms;
178
    bool has_qos_tier;
179
    gdt_cct_QosTierConfiguration_QosTier qos_tier;
180
/* @@protoc_insertion_point(struct:gdt_cct_LogRequest) */
181
} gdt_cct_LogRequest;
182
 
183
typedef struct _gdt_cct_LogResponse {
184
    bool has_next_request_wait_millis;
185
    int64_t next_request_wait_millis;
186
    bool has_qos_tier;
187
    gdt_cct_QosTiersOverride qos_tier;
188
/* @@protoc_insertion_point(struct:gdt_cct_LogResponse) */
189
} gdt_cct_LogResponse;
190
 
191
/* Default values for struct fields */
192
extern const gdt_cct_NetworkConnectionInfo_NetworkType gdt_cct_NetworkConnectionInfo_network_type_default;
193
extern const gdt_cct_NetworkConnectionInfo_MobileSubtype gdt_cct_NetworkConnectionInfo_mobile_subtype_default;
194
extern const gdt_cct_QosTierConfiguration_QosTier gdt_cct_LogRequest_qos_tier_default;
195
extern const int32_t gdt_cct_QosTierConfiguration_log_source_default;
196
 
197
/* Initializer values for message structs */
198
#define gdt_cct_LogEvent_init_default            {false, 0, NULL, false, 0, false, 0, false, 0, false, gdt_cct_NetworkConnectionInfo_init_default}
199
#define gdt_cct_NetworkConnectionInfo_init_default {false, gdt_cct_NetworkConnectionInfo_NetworkType_NONE, false, gdt_cct_NetworkConnectionInfo_MobileSubtype_UNKNOWN_MOBILE_SUBTYPE}
200
#define gdt_cct_IosClientInfo_init_default       {NULL, NULL, NULL, NULL, NULL, NULL, NULL}
201
#define gdt_cct_ClientInfo_init_default          {false, _gdt_cct_ClientInfo_ClientType_MIN, false, gdt_cct_IosClientInfo_init_default}
202
#define gdt_cct_BatchedLogRequest_init_default   {0, NULL}
203
#define gdt_cct_LogRequest_init_default          {false, gdt_cct_ClientInfo_init_default, false, 0, 0, NULL, false, 0, false, 0, false, gdt_cct_QosTierConfiguration_QosTier_DEFAULT}
204
#define gdt_cct_QosTierConfiguration_init_default {false, _gdt_cct_QosTierConfiguration_QosTier_MIN, false, 0}
205
#define gdt_cct_QosTiersOverride_init_default    {0, NULL, false, 0}
206
#define gdt_cct_LogResponse_init_default         {false, 0, false, gdt_cct_QosTiersOverride_init_default}
207
#define gdt_cct_LogEvent_init_zero               {false, 0, NULL, false, 0, false, 0, false, 0, false, gdt_cct_NetworkConnectionInfo_init_zero}
208
#define gdt_cct_NetworkConnectionInfo_init_zero  {false, _gdt_cct_NetworkConnectionInfo_NetworkType_MIN, false, _gdt_cct_NetworkConnectionInfo_MobileSubtype_MIN}
209
#define gdt_cct_IosClientInfo_init_zero          {NULL, NULL, NULL, NULL, NULL, NULL, NULL}
210
#define gdt_cct_ClientInfo_init_zero             {false, _gdt_cct_ClientInfo_ClientType_MIN, false, gdt_cct_IosClientInfo_init_zero}
211
#define gdt_cct_BatchedLogRequest_init_zero      {0, NULL}
212
#define gdt_cct_LogRequest_init_zero             {false, gdt_cct_ClientInfo_init_zero, false, 0, 0, NULL, false, 0, false, 0, false, _gdt_cct_QosTierConfiguration_QosTier_MIN}
213
#define gdt_cct_QosTierConfiguration_init_zero   {false, _gdt_cct_QosTierConfiguration_QosTier_MIN, false, 0}
214
#define gdt_cct_QosTiersOverride_init_zero       {0, NULL, false, 0}
215
#define gdt_cct_LogResponse_init_zero            {false, 0, false, gdt_cct_QosTiersOverride_init_zero}
216
 
217
/* Field tags (for use in manual encoding/decoding) */
218
#define gdt_cct_BatchedLogRequest_log_request_tag 1
219
#define gdt_cct_IosClientInfo_os_major_version_tag 3
220
#define gdt_cct_IosClientInfo_os_full_version_tag 4
221
#define gdt_cct_IosClientInfo_application_build_tag 5
222
#define gdt_cct_IosClientInfo_country_tag        6
223
#define gdt_cct_IosClientInfo_model_tag          7
224
#define gdt_cct_IosClientInfo_language_code_tag  8
225
#define gdt_cct_IosClientInfo_application_bundle_id_tag 11
226
#define gdt_cct_ClientInfo_client_type_tag       1
227
#define gdt_cct_ClientInfo_ios_client_info_tag   4
228
#define gdt_cct_NetworkConnectionInfo_network_type_tag 1
229
#define gdt_cct_NetworkConnectionInfo_mobile_subtype_tag 2
230
#define gdt_cct_QosTierConfiguration_qos_tier_tag 2
231
#define gdt_cct_QosTierConfiguration_log_source_tag 3
232
#define gdt_cct_QosTiersOverride_qos_tier_configuration_tag 1
233
#define gdt_cct_QosTiersOverride_qos_tier_fingerprint_tag 2
234
#define gdt_cct_LogEvent_event_time_ms_tag       1
235
#define gdt_cct_LogEvent_event_code_tag          11
236
#define gdt_cct_LogEvent_event_uptime_ms_tag     17
237
#define gdt_cct_LogEvent_source_extension_tag    6
238
#define gdt_cct_LogEvent_timezone_offset_seconds_tag 15
239
#define gdt_cct_LogEvent_network_connection_info_tag 23
240
#define gdt_cct_LogRequest_request_time_ms_tag   4
241
#define gdt_cct_LogRequest_request_uptime_ms_tag 8
242
#define gdt_cct_LogRequest_client_info_tag       1
243
#define gdt_cct_LogRequest_log_source_tag        2
244
#define gdt_cct_LogRequest_log_event_tag         3
245
#define gdt_cct_LogRequest_qos_tier_tag          9
246
#define gdt_cct_LogResponse_next_request_wait_millis_tag 1
247
#define gdt_cct_LogResponse_qos_tier_tag         3
248
 
249
/* Struct field encoding specification for nanopb */
250
extern const pb_field_t gdt_cct_LogEvent_fields[7];
251
extern const pb_field_t gdt_cct_NetworkConnectionInfo_fields[3];
252
extern const pb_field_t gdt_cct_IosClientInfo_fields[8];
253
extern const pb_field_t gdt_cct_ClientInfo_fields[3];
254
extern const pb_field_t gdt_cct_BatchedLogRequest_fields[2];
255
extern const pb_field_t gdt_cct_LogRequest_fields[7];
256
extern const pb_field_t gdt_cct_QosTierConfiguration_fields[3];
257
extern const pb_field_t gdt_cct_QosTiersOverride_fields[3];
258
extern const pb_field_t gdt_cct_LogResponse_fields[3];
259
 
260
/* Maximum encoded size of messages (where known) */
261
/* gdt_cct_LogEvent_size depends on runtime parameters */
262
#define gdt_cct_NetworkConnectionInfo_size       13
263
/* gdt_cct_IosClientInfo_size depends on runtime parameters */
264
/* gdt_cct_ClientInfo_size depends on runtime parameters */
265
/* gdt_cct_BatchedLogRequest_size depends on runtime parameters */
266
/* gdt_cct_LogRequest_size depends on runtime parameters */
267
#define gdt_cct_QosTierConfiguration_size        13
268
/* gdt_cct_QosTiersOverride_size depends on runtime parameters */
269
/* gdt_cct_LogResponse_size depends on runtime parameters */
270
 
271
/* Message IDs (where set with "msgid" option) */
272
#ifdef PB_MSGID
273
 
274
#define CCT_MESSAGES \
275
 
276
 
277
#endif
278
 
279
/* @@protoc_insertion_point(eof) */
280
 
281
#endif