1 /*
2 * Copyright (C) 2023 The Android Open Source Project
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 // Autogenerated by the ProtoZero C compiler plugin.
18 // Invoked by tools/gen_c_protos
19 // DO NOT EDIT.
20 #ifndef INCLUDE_PERFETTO_PUBLIC_PROTOS_TRACE_TRACK_EVENT_DEBUG_ANNOTATION_PZC_H_
21 #define INCLUDE_PERFETTO_PUBLIC_PROTOS_TRACE_TRACK_EVENT_DEBUG_ANNOTATION_PZC_H_
22
23 #include <stdbool.h>
24 #include <stdint.h>
25
26 #include "perfetto/public/pb_macros.h"
27
28 PERFETTO_PB_MSG_DECL(perfetto_protos_DebugAnnotation);
29 PERFETTO_PB_MSG_DECL(perfetto_protos_DebugAnnotation_NestedValue);
30
PERFETTO_PB_ENUM_IN_MSG(perfetto_protos_DebugAnnotation_NestedValue,NestedType)31 PERFETTO_PB_ENUM_IN_MSG(perfetto_protos_DebugAnnotation_NestedValue,
32 NestedType){
33 PERFETTO_PB_ENUM_IN_MSG_ENTRY(perfetto_protos_DebugAnnotation_NestedValue,
34 UNSPECIFIED) = 0,
35 PERFETTO_PB_ENUM_IN_MSG_ENTRY(perfetto_protos_DebugAnnotation_NestedValue,
36 DICT) = 1,
37 PERFETTO_PB_ENUM_IN_MSG_ENTRY(perfetto_protos_DebugAnnotation_NestedValue,
38 ARRAY) = 2,
39 };
40
41 PERFETTO_PB_MSG(perfetto_protos_DebugAnnotationValueTypeName);
42 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotationValueTypeName,
43 VARINT,
44 uint64_t,
45 iid,
46 1);
47 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotationValueTypeName,
48 STRING,
49 const char*,
50 name,
51 2);
52
53 PERFETTO_PB_MSG(perfetto_protos_DebugAnnotationName);
54 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotationName,
55 VARINT,
56 uint64_t,
57 iid,
58 1);
59 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotationName,
60 STRING,
61 const char*,
62 name,
63 2);
64
65 PERFETTO_PB_MSG(perfetto_protos_DebugAnnotation);
66 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
67 VARINT,
68 uint64_t,
69 name_iid,
70 1);
71 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
72 STRING,
73 const char*,
74 name,
75 10);
76 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation, VARINT, bool, bool_value, 2);
77 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
78 VARINT,
79 uint64_t,
80 uint_value,
81 3);
82 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
83 VARINT,
84 int64_t,
85 int_value,
86 4);
87 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
88 FIXED64,
89 double,
90 double_value,
91 5);
92 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
93 VARINT,
94 uint64_t,
95 pointer_value,
96 7);
97 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
98 MSG,
99 perfetto_protos_DebugAnnotation_NestedValue,
100 nested_value,
101 8);
102 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
103 STRING,
104 const char*,
105 legacy_json_value,
106 9);
107 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
108 STRING,
109 const char*,
110 string_value,
111 6);
112 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
113 VARINT,
114 uint64_t,
115 string_value_iid,
116 17);
117 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
118 STRING,
119 const char*,
120 proto_type_name,
121 16);
122 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
123 VARINT,
124 uint64_t,
125 proto_type_name_iid,
126 13);
127 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
128 STRING,
129 const char*,
130 proto_value,
131 14);
132 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
133 MSG,
134 perfetto_protos_DebugAnnotation,
135 dict_entries,
136 11);
137 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation,
138 MSG,
139 perfetto_protos_DebugAnnotation,
140 array_values,
141 12);
142
143 PERFETTO_PB_MSG(perfetto_protos_DebugAnnotation_NestedValue);
144 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation_NestedValue,
145 VARINT,
146 enum perfetto_protos_DebugAnnotation_NestedValue_NestedType,
147 nested_type,
148 1);
149 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation_NestedValue,
150 STRING,
151 const char*,
152 dict_keys,
153 2);
154 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation_NestedValue,
155 MSG,
156 perfetto_protos_DebugAnnotation_NestedValue,
157 dict_values,
158 3);
159 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation_NestedValue,
160 MSG,
161 perfetto_protos_DebugAnnotation_NestedValue,
162 array_values,
163 4);
164 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation_NestedValue,
165 VARINT,
166 int64_t,
167 int_value,
168 5);
169 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation_NestedValue,
170 FIXED64,
171 double,
172 double_value,
173 6);
174 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation_NestedValue,
175 VARINT,
176 bool,
177 bool_value,
178 7);
179 PERFETTO_PB_FIELD(perfetto_protos_DebugAnnotation_NestedValue,
180 STRING,
181 const char*,
182 string_value,
183 8);
184
185 #endif // INCLUDE_PERFETTO_PUBLIC_PROTOS_TRACE_TRACK_EVENT_DEBUG_ANNOTATION_PZC_H_
186