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 constant definitions */
|
|
|
18 |
/* Generated by nanopb-0.3.9.6 */
|
|
|
19 |
|
|
|
20 |
#include "FirebaseInAppMessaging/Sources/Analytics/Protogen/nanopb/fiam.nanopb.h"
|
|
|
21 |
|
|
|
22 |
/* @@protoc_insertion_point(includes) */
|
|
|
23 |
#if PB_PROTO_HEADER_VERSION != 30
|
|
|
24 |
#error Regenerate this file with the current version of nanopb generator.
|
|
|
25 |
#endif
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
const pb_field_t logs_proto_firebase_inappmessaging_CampaignAnalytics_fields[10] = {
|
|
|
30 |
PB_FIELD( 1, BYTES , OPTIONAL, POINTER , FIRST, logs_proto_firebase_inappmessaging_CampaignAnalytics, project_number, project_number, 0),
|
|
|
31 |
PB_FIELD( 2, BYTES , OPTIONAL, POINTER , OTHER, logs_proto_firebase_inappmessaging_CampaignAnalytics, campaign_id, project_number, 0),
|
|
|
32 |
PB_FIELD( 3, MESSAGE , OPTIONAL, STATIC , OTHER, logs_proto_firebase_inappmessaging_CampaignAnalytics, client_app, campaign_id, &logs_proto_firebase_inappmessaging_ClientAppInfo_fields),
|
|
|
33 |
PB_FIELD( 4, INT64 , OPTIONAL, STATIC , OTHER, logs_proto_firebase_inappmessaging_CampaignAnalytics, client_timestamp_millis, client_app, 0),
|
|
|
34 |
PB_ANONYMOUS_ONEOF_FIELD(event, 5, ENUM , ONEOF, STATIC , OTHER, logs_proto_firebase_inappmessaging_CampaignAnalytics, event_type, client_timestamp_millis, 0),
|
|
|
35 |
PB_ANONYMOUS_ONEOF_FIELD(event, 6, ENUM , ONEOF, STATIC , UNION, logs_proto_firebase_inappmessaging_CampaignAnalytics, dismiss_type, client_timestamp_millis, 0),
|
|
|
36 |
PB_ANONYMOUS_ONEOF_FIELD(event, 7, ENUM , ONEOF, STATIC , UNION, logs_proto_firebase_inappmessaging_CampaignAnalytics, render_error_reason, client_timestamp_millis, 0),
|
|
|
37 |
PB_ANONYMOUS_ONEOF_FIELD(event, 8, ENUM , ONEOF, STATIC , UNION, logs_proto_firebase_inappmessaging_CampaignAnalytics, fetch_error_reason, client_timestamp_millis, 0),
|
|
|
38 |
PB_FIELD( 9, BYTES , OPTIONAL, POINTER , OTHER, logs_proto_firebase_inappmessaging_CampaignAnalytics, fiam_sdk_version, fetch_error_reason, 0),
|
|
|
39 |
PB_LAST_FIELD
|
|
|
40 |
};
|
|
|
41 |
|
|
|
42 |
const pb_field_t logs_proto_firebase_inappmessaging_ClientAppInfo_fields[3] = {
|
|
|
43 |
PB_FIELD( 1, BYTES , OPTIONAL, POINTER , FIRST, logs_proto_firebase_inappmessaging_ClientAppInfo, google_app_id, google_app_id, 0),
|
|
|
44 |
PB_FIELD( 2, BYTES , OPTIONAL, POINTER , OTHER, logs_proto_firebase_inappmessaging_ClientAppInfo, firebase_instance_id, google_app_id, 0),
|
|
|
45 |
PB_LAST_FIELD
|
|
|
46 |
};
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
|
52 |
|
|
|
53 |
/* Check that field information fits in pb_field_t */
|
|
|
54 |
#if !defined(PB_FIELD_32BIT)
|
|
|
55 |
/* If you get an error here, it means that you need to define PB_FIELD_32BIT
|
|
|
56 |
* compile-time option. You can do that in pb.h or on compiler command line.
|
|
|
57 |
*
|
|
|
58 |
* The reason you need to do this is that some of your messages contain tag
|
|
|
59 |
* numbers or field sizes that are larger than what can fit in 8 or 16 bit
|
|
|
60 |
* field descriptors.
|
|
|
61 |
*/
|
|
|
62 |
PB_STATIC_ASSERT((pb_membersize(logs_proto_firebase_inappmessaging_CampaignAnalytics, client_app) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_logs_proto_firebase_inappmessaging_CampaignAnalytics_logs_proto_firebase_inappmessaging_ClientAppInfo)
|
|
|
63 |
#endif
|
|
|
64 |
|
|
|
65 |
#if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
|
|
|
66 |
/* If you get an error here, it means that you need to define PB_FIELD_16BIT
|
|
|
67 |
* compile-time option. You can do that in pb.h or on compiler command line.
|
|
|
68 |
*
|
|
|
69 |
* The reason you need to do this is that some of your messages contain tag
|
|
|
70 |
* numbers or field sizes that are larger than what can fit in the default
|
|
|
71 |
* 8 bit descriptors.
|
|
|
72 |
*/
|
|
|
73 |
PB_STATIC_ASSERT((pb_membersize(logs_proto_firebase_inappmessaging_CampaignAnalytics, client_app) < 256), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_logs_proto_firebase_inappmessaging_CampaignAnalytics_logs_proto_firebase_inappmessaging_ClientAppInfo)
|
|
|
74 |
#endif
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
/* @@protoc_insertion_point(eof) */
|