1 // Autogenerated by the ProtoZero compiler plugin. DO NOT EDIT.
2
3 #ifndef PERFETTO_PROTOS_PROTOS_PERFETTO_TRACE_ANDROID_SERVER_WINDOWMANAGERSERVICE_PROTO_H_
4 #define PERFETTO_PROTOS_PROTOS_PERFETTO_TRACE_ANDROID_SERVER_WINDOWMANAGERSERVICE_PROTO_H_
5
6 #include <stddef.h>
7 #include <stdint.h>
8
9 #include "perfetto/protozero/field_writer.h"
10 #include "perfetto/protozero/message.h"
11 #include "perfetto/protozero/packed_repeated_fields.h"
12 #include "perfetto/protozero/proto_decoder.h"
13 #include "perfetto/protozero/proto_utils.h"
14
15 namespace perfetto {
16 namespace protos {
17 namespace pbzero {
18 class ActivityRecordProto;
19 class AppTransitionProto;
20 class BackNavigationProto;
21 class BarControllerProto;
22 class ConfigurationContainerProto;
23 class ConfigurationProto;
24 class DisplayAreaChildProto;
25 class DisplayAreaProto;
26 class DisplayContentProto;
27 class DisplayCutoutProto;
28 class DisplayFramesProto;
29 class DisplayInfoProto;
30 class DisplayRotationProto;
31 class DockedTaskDividerControllerProto;
32 class IdentifierProto;
33 class ImeInsetsSourceProviderProto;
34 class InsetsSourceControlProto;
35 class InsetsSourceProto;
36 class InsetsSourceProviderProto;
37 class KeyguardControllerProto;
38 class KeyguardOccludedProto;
39 class KeyguardPerDisplayProto;
40 class KeyguardServiceDelegateProto;
41 class PinnedTaskControllerProto;
42 class RectProto;
43 class RootWindowContainerProto;
44 class ScreenRotationAnimationProto;
45 class SurfaceAnimatorProto;
46 class SurfaceControlProto;
47 class TaskFragmentProto;
48 class TaskProto;
49 class WindowContainerChildProto;
50 class WindowContainerProto;
51 class WindowContainerThumbnailProto;
52 class WindowFramesProto;
53 class WindowLayoutParamsProto;
54 class WindowManagerPolicyProto;
55 class WindowOrientationListenerProto;
56 class WindowStateAnimatorProto;
57 class WindowStateProto;
58 class WindowSurfaceControllerProto;
59 class WindowTokenProto;
60 namespace perfetto_pbzero_enum_ActivityInfoProto {
61 enum ScreenOrientation : int32_t;
62 } // namespace perfetto_pbzero_enum_ActivityInfoProto
63 using ActivityInfoProto_ScreenOrientation = perfetto_pbzero_enum_ActivityInfoProto::ScreenOrientation;
64 namespace perfetto_pbzero_enum_AppTransitionProto {
65 enum AppState : int32_t;
66 } // namespace perfetto_pbzero_enum_AppTransitionProto
67 using AppTransitionProto_AppState = perfetto_pbzero_enum_AppTransitionProto::AppState;
68 namespace perfetto_pbzero_enum_KeyguardServiceDelegateProto {
69 enum InteractiveState : int32_t;
70 } // namespace perfetto_pbzero_enum_KeyguardServiceDelegateProto
71 using KeyguardServiceDelegateProto_InteractiveState = perfetto_pbzero_enum_KeyguardServiceDelegateProto::InteractiveState;
72 namespace perfetto_pbzero_enum_KeyguardServiceDelegateProto {
73 enum ScreenState : int32_t;
74 } // namespace perfetto_pbzero_enum_KeyguardServiceDelegateProto
75 using KeyguardServiceDelegateProto_ScreenState = perfetto_pbzero_enum_KeyguardServiceDelegateProto::ScreenState;
76 namespace perfetto_pbzero_enum_StatusBarManagerProto {
77 enum TransientWindowState : int32_t;
78 } // namespace perfetto_pbzero_enum_StatusBarManagerProto
79 using StatusBarManagerProto_TransientWindowState = perfetto_pbzero_enum_StatusBarManagerProto::TransientWindowState;
80 namespace perfetto_pbzero_enum_StatusBarManagerProto {
81 enum WindowState : int32_t;
82 } // namespace perfetto_pbzero_enum_StatusBarManagerProto
83 using StatusBarManagerProto_WindowState = perfetto_pbzero_enum_StatusBarManagerProto::WindowState;
84 namespace perfetto_pbzero_enum_SurfaceProto {
85 enum Rotation : int32_t;
86 } // namespace perfetto_pbzero_enum_SurfaceProto
87 using SurfaceProto_Rotation = perfetto_pbzero_enum_SurfaceProto::Rotation;
88 enum TransitionTypeEnum : int32_t;
89 namespace perfetto_pbzero_enum_WindowManagerPolicyProto {
90 enum UserRotationMode : int32_t;
91 } // namespace perfetto_pbzero_enum_WindowManagerPolicyProto
92 using WindowManagerPolicyProto_UserRotationMode = perfetto_pbzero_enum_WindowManagerPolicyProto::UserRotationMode;
93 namespace perfetto_pbzero_enum_WindowStateAnimatorProto {
94 enum DrawState : int32_t;
95 } // namespace perfetto_pbzero_enum_WindowStateAnimatorProto
96 using WindowStateAnimatorProto_DrawState = perfetto_pbzero_enum_WindowStateAnimatorProto::DrawState;
97 } // Namespace pbzero.
98 } // Namespace protos.
99 } // Namespace perfetto.
100
101 namespace perfetto {
102 namespace protos {
103 namespace pbzero {
104
105 namespace perfetto_pbzero_enum_WindowStateAnimatorProto {
106 enum DrawState : int32_t {
107 NO_SURFACE = 0,
108 DRAW_PENDING = 1,
109 COMMIT_DRAW_PENDING = 2,
110 READY_TO_SHOW = 3,
111 HAS_DRAWN = 4,
112 };
113 } // namespace perfetto_pbzero_enum_WindowStateAnimatorProto
114 using WindowStateAnimatorProto_DrawState = perfetto_pbzero_enum_WindowStateAnimatorProto::DrawState;
115
116
117 constexpr WindowStateAnimatorProto_DrawState WindowStateAnimatorProto_DrawState_MIN = WindowStateAnimatorProto_DrawState::NO_SURFACE;
118 constexpr WindowStateAnimatorProto_DrawState WindowStateAnimatorProto_DrawState_MAX = WindowStateAnimatorProto_DrawState::HAS_DRAWN;
119
120
121 PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE
WindowStateAnimatorProto_DrawState_Name(::perfetto::protos::pbzero::WindowStateAnimatorProto_DrawState value)122 const char* WindowStateAnimatorProto_DrawState_Name(::perfetto::protos::pbzero::WindowStateAnimatorProto_DrawState value) {
123 switch (value) {
124 case ::perfetto::protos::pbzero::WindowStateAnimatorProto_DrawState::NO_SURFACE:
125 return "NO_SURFACE";
126
127 case ::perfetto::protos::pbzero::WindowStateAnimatorProto_DrawState::DRAW_PENDING:
128 return "DRAW_PENDING";
129
130 case ::perfetto::protos::pbzero::WindowStateAnimatorProto_DrawState::COMMIT_DRAW_PENDING:
131 return "COMMIT_DRAW_PENDING";
132
133 case ::perfetto::protos::pbzero::WindowStateAnimatorProto_DrawState::READY_TO_SHOW:
134 return "READY_TO_SHOW";
135
136 case ::perfetto::protos::pbzero::WindowStateAnimatorProto_DrawState::HAS_DRAWN:
137 return "HAS_DRAWN";
138 }
139 return "PBZERO_UNKNOWN_ENUM_VALUE";
140 }
141
142 namespace perfetto_pbzero_enum_AppTransitionProto {
143 enum AppState : int32_t {
144 APP_STATE_IDLE = 0,
145 APP_STATE_READY = 1,
146 APP_STATE_RUNNING = 2,
147 APP_STATE_TIMEOUT = 3,
148 };
149 } // namespace perfetto_pbzero_enum_AppTransitionProto
150 using AppTransitionProto_AppState = perfetto_pbzero_enum_AppTransitionProto::AppState;
151
152
153 constexpr AppTransitionProto_AppState AppTransitionProto_AppState_MIN = AppTransitionProto_AppState::APP_STATE_IDLE;
154 constexpr AppTransitionProto_AppState AppTransitionProto_AppState_MAX = AppTransitionProto_AppState::APP_STATE_TIMEOUT;
155
156
157 PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE
AppTransitionProto_AppState_Name(::perfetto::protos::pbzero::AppTransitionProto_AppState value)158 const char* AppTransitionProto_AppState_Name(::perfetto::protos::pbzero::AppTransitionProto_AppState value) {
159 switch (value) {
160 case ::perfetto::protos::pbzero::AppTransitionProto_AppState::APP_STATE_IDLE:
161 return "APP_STATE_IDLE";
162
163 case ::perfetto::protos::pbzero::AppTransitionProto_AppState::APP_STATE_READY:
164 return "APP_STATE_READY";
165
166 case ::perfetto::protos::pbzero::AppTransitionProto_AppState::APP_STATE_RUNNING:
167 return "APP_STATE_RUNNING";
168
169 case ::perfetto::protos::pbzero::AppTransitionProto_AppState::APP_STATE_TIMEOUT:
170 return "APP_STATE_TIMEOUT";
171 }
172 return "PBZERO_UNKNOWN_ENUM_VALUE";
173 }
174
175 namespace perfetto_pbzero_enum_WindowManagerPolicyProto {
176 enum UserRotationMode : int32_t {
177 USER_ROTATION_FREE = 0,
178 USER_ROTATION_LOCKED = 1,
179 };
180 } // namespace perfetto_pbzero_enum_WindowManagerPolicyProto
181 using WindowManagerPolicyProto_UserRotationMode = perfetto_pbzero_enum_WindowManagerPolicyProto::UserRotationMode;
182
183
184 constexpr WindowManagerPolicyProto_UserRotationMode WindowManagerPolicyProto_UserRotationMode_MIN = WindowManagerPolicyProto_UserRotationMode::USER_ROTATION_FREE;
185 constexpr WindowManagerPolicyProto_UserRotationMode WindowManagerPolicyProto_UserRotationMode_MAX = WindowManagerPolicyProto_UserRotationMode::USER_ROTATION_LOCKED;
186
187
188 PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE
WindowManagerPolicyProto_UserRotationMode_Name(::perfetto::protos::pbzero::WindowManagerPolicyProto_UserRotationMode value)189 const char* WindowManagerPolicyProto_UserRotationMode_Name(::perfetto::protos::pbzero::WindowManagerPolicyProto_UserRotationMode value) {
190 switch (value) {
191 case ::perfetto::protos::pbzero::WindowManagerPolicyProto_UserRotationMode::USER_ROTATION_FREE:
192 return "USER_ROTATION_FREE";
193
194 case ::perfetto::protos::pbzero::WindowManagerPolicyProto_UserRotationMode::USER_ROTATION_LOCKED:
195 return "USER_ROTATION_LOCKED";
196 }
197 return "PBZERO_UNKNOWN_ENUM_VALUE";
198 }
199
200 namespace perfetto_pbzero_enum_KeyguardServiceDelegateProto {
201 enum ScreenState : int32_t {
202 SCREEN_STATE_OFF = 0,
203 SCREEN_STATE_TURNING_ON = 1,
204 SCREEN_STATE_ON = 2,
205 SCREEN_STATE_TURNING_OFF = 3,
206 };
207 } // namespace perfetto_pbzero_enum_KeyguardServiceDelegateProto
208 using KeyguardServiceDelegateProto_ScreenState = perfetto_pbzero_enum_KeyguardServiceDelegateProto::ScreenState;
209
210
211 constexpr KeyguardServiceDelegateProto_ScreenState KeyguardServiceDelegateProto_ScreenState_MIN = KeyguardServiceDelegateProto_ScreenState::SCREEN_STATE_OFF;
212 constexpr KeyguardServiceDelegateProto_ScreenState KeyguardServiceDelegateProto_ScreenState_MAX = KeyguardServiceDelegateProto_ScreenState::SCREEN_STATE_TURNING_OFF;
213
214
215 PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE
KeyguardServiceDelegateProto_ScreenState_Name(::perfetto::protos::pbzero::KeyguardServiceDelegateProto_ScreenState value)216 const char* KeyguardServiceDelegateProto_ScreenState_Name(::perfetto::protos::pbzero::KeyguardServiceDelegateProto_ScreenState value) {
217 switch (value) {
218 case ::perfetto::protos::pbzero::KeyguardServiceDelegateProto_ScreenState::SCREEN_STATE_OFF:
219 return "SCREEN_STATE_OFF";
220
221 case ::perfetto::protos::pbzero::KeyguardServiceDelegateProto_ScreenState::SCREEN_STATE_TURNING_ON:
222 return "SCREEN_STATE_TURNING_ON";
223
224 case ::perfetto::protos::pbzero::KeyguardServiceDelegateProto_ScreenState::SCREEN_STATE_ON:
225 return "SCREEN_STATE_ON";
226
227 case ::perfetto::protos::pbzero::KeyguardServiceDelegateProto_ScreenState::SCREEN_STATE_TURNING_OFF:
228 return "SCREEN_STATE_TURNING_OFF";
229 }
230 return "PBZERO_UNKNOWN_ENUM_VALUE";
231 }
232
233 namespace perfetto_pbzero_enum_KeyguardServiceDelegateProto {
234 enum InteractiveState : int32_t {
235 INTERACTIVE_STATE_SLEEP = 0,
236 INTERACTIVE_STATE_WAKING = 1,
237 INTERACTIVE_STATE_AWAKE = 2,
238 INTERACTIVE_STATE_GOING_TO_SLEEP = 3,
239 };
240 } // namespace perfetto_pbzero_enum_KeyguardServiceDelegateProto
241 using KeyguardServiceDelegateProto_InteractiveState = perfetto_pbzero_enum_KeyguardServiceDelegateProto::InteractiveState;
242
243
244 constexpr KeyguardServiceDelegateProto_InteractiveState KeyguardServiceDelegateProto_InteractiveState_MIN = KeyguardServiceDelegateProto_InteractiveState::INTERACTIVE_STATE_SLEEP;
245 constexpr KeyguardServiceDelegateProto_InteractiveState KeyguardServiceDelegateProto_InteractiveState_MAX = KeyguardServiceDelegateProto_InteractiveState::INTERACTIVE_STATE_GOING_TO_SLEEP;
246
247
248 PERFETTO_PROTOZERO_CONSTEXPR14_OR_INLINE
KeyguardServiceDelegateProto_InteractiveState_Name(::perfetto::protos::pbzero::KeyguardServiceDelegateProto_InteractiveState value)249 const char* KeyguardServiceDelegateProto_InteractiveState_Name(::perfetto::protos::pbzero::KeyguardServiceDelegateProto_InteractiveState value) {
250 switch (value) {
251 case ::perfetto::protos::pbzero::KeyguardServiceDelegateProto_InteractiveState::INTERACTIVE_STATE_SLEEP:
252 return "INTERACTIVE_STATE_SLEEP";
253
254 case ::perfetto::protos::pbzero::KeyguardServiceDelegateProto_InteractiveState::INTERACTIVE_STATE_WAKING:
255 return "INTERACTIVE_STATE_WAKING";
256
257 case ::perfetto::protos::pbzero::KeyguardServiceDelegateProto_InteractiveState::INTERACTIVE_STATE_AWAKE:
258 return "INTERACTIVE_STATE_AWAKE";
259
260 case ::perfetto::protos::pbzero::KeyguardServiceDelegateProto_InteractiveState::INTERACTIVE_STATE_GOING_TO_SLEEP:
261 return "INTERACTIVE_STATE_GOING_TO_SLEEP";
262 }
263 return "PBZERO_UNKNOWN_ENUM_VALUE";
264 }
265
266 class BackNavigationProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/5, /*HAS_NONPACKED_REPEATED_FIELDS=*/false> {
267 public:
BackNavigationProto_Decoder(const uint8_t * data,size_t len)268 BackNavigationProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
BackNavigationProto_Decoder(const std::string & raw)269 explicit BackNavigationProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
BackNavigationProto_Decoder(const::protozero::ConstBytes & raw)270 explicit BackNavigationProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_animation_in_progress()271 bool has_animation_in_progress() const { return at<1>().valid(); }
animation_in_progress()272 bool animation_in_progress() const { return at<1>().as_bool(); }
has_last_back_type()273 bool has_last_back_type() const { return at<2>().valid(); }
last_back_type()274 int32_t last_back_type() const { return at<2>().as_int32(); }
has_show_wallpaper()275 bool has_show_wallpaper() const { return at<3>().valid(); }
show_wallpaper()276 bool show_wallpaper() const { return at<3>().as_bool(); }
has_main_open_activity()277 bool has_main_open_activity() const { return at<4>().valid(); }
main_open_activity()278 ::protozero::ConstChars main_open_activity() const { return at<4>().as_string(); }
has_animation_running()279 bool has_animation_running() const { return at<5>().valid(); }
animation_running()280 bool animation_running() const { return at<5>().as_bool(); }
281 };
282
283 class BackNavigationProto : public ::protozero::Message {
284 public:
285 using Decoder = BackNavigationProto_Decoder;
286 enum : int32_t {
287 kAnimationInProgressFieldNumber = 1,
288 kLastBackTypeFieldNumber = 2,
289 kShowWallpaperFieldNumber = 3,
290 kMainOpenActivityFieldNumber = 4,
291 kAnimationRunningFieldNumber = 5,
292 };
GetName()293 static constexpr const char* GetName() { return ".perfetto.protos.BackNavigationProto"; }
294
295
296 using FieldMetadata_AnimationInProgress =
297 ::protozero::proto_utils::FieldMetadata<
298 1,
299 ::protozero::proto_utils::RepetitionType::kNotRepeated,
300 ::protozero::proto_utils::ProtoSchemaType::kBool,
301 bool,
302 BackNavigationProto>;
303
304 static constexpr FieldMetadata_AnimationInProgress kAnimationInProgress{};
set_animation_in_progress(bool value)305 void set_animation_in_progress(bool value) {
306 static constexpr uint32_t field_id = FieldMetadata_AnimationInProgress::kFieldId;
307 // Call the appropriate protozero::Message::Append(field_id, ...)
308 // method based on the type of the field.
309 ::protozero::internal::FieldWriter<
310 ::protozero::proto_utils::ProtoSchemaType::kBool>
311 ::Append(*this, field_id, value);
312 }
313
314 using FieldMetadata_LastBackType =
315 ::protozero::proto_utils::FieldMetadata<
316 2,
317 ::protozero::proto_utils::RepetitionType::kNotRepeated,
318 ::protozero::proto_utils::ProtoSchemaType::kInt32,
319 int32_t,
320 BackNavigationProto>;
321
322 static constexpr FieldMetadata_LastBackType kLastBackType{};
set_last_back_type(int32_t value)323 void set_last_back_type(int32_t value) {
324 static constexpr uint32_t field_id = FieldMetadata_LastBackType::kFieldId;
325 // Call the appropriate protozero::Message::Append(field_id, ...)
326 // method based on the type of the field.
327 ::protozero::internal::FieldWriter<
328 ::protozero::proto_utils::ProtoSchemaType::kInt32>
329 ::Append(*this, field_id, value);
330 }
331
332 using FieldMetadata_ShowWallpaper =
333 ::protozero::proto_utils::FieldMetadata<
334 3,
335 ::protozero::proto_utils::RepetitionType::kNotRepeated,
336 ::protozero::proto_utils::ProtoSchemaType::kBool,
337 bool,
338 BackNavigationProto>;
339
340 static constexpr FieldMetadata_ShowWallpaper kShowWallpaper{};
set_show_wallpaper(bool value)341 void set_show_wallpaper(bool value) {
342 static constexpr uint32_t field_id = FieldMetadata_ShowWallpaper::kFieldId;
343 // Call the appropriate protozero::Message::Append(field_id, ...)
344 // method based on the type of the field.
345 ::protozero::internal::FieldWriter<
346 ::protozero::proto_utils::ProtoSchemaType::kBool>
347 ::Append(*this, field_id, value);
348 }
349
350 using FieldMetadata_MainOpenActivity =
351 ::protozero::proto_utils::FieldMetadata<
352 4,
353 ::protozero::proto_utils::RepetitionType::kNotRepeated,
354 ::protozero::proto_utils::ProtoSchemaType::kString,
355 std::string,
356 BackNavigationProto>;
357
358 static constexpr FieldMetadata_MainOpenActivity kMainOpenActivity{};
set_main_open_activity(const char * data,size_t size)359 void set_main_open_activity(const char* data, size_t size) {
360 AppendBytes(FieldMetadata_MainOpenActivity::kFieldId, data, size);
361 }
set_main_open_activity(::protozero::ConstChars chars)362 void set_main_open_activity(::protozero::ConstChars chars) {
363 AppendBytes(FieldMetadata_MainOpenActivity::kFieldId, chars.data, chars.size);
364 }
set_main_open_activity(std::string value)365 void set_main_open_activity(std::string value) {
366 static constexpr uint32_t field_id = FieldMetadata_MainOpenActivity::kFieldId;
367 // Call the appropriate protozero::Message::Append(field_id, ...)
368 // method based on the type of the field.
369 ::protozero::internal::FieldWriter<
370 ::protozero::proto_utils::ProtoSchemaType::kString>
371 ::Append(*this, field_id, value);
372 }
373
374 using FieldMetadata_AnimationRunning =
375 ::protozero::proto_utils::FieldMetadata<
376 5,
377 ::protozero::proto_utils::RepetitionType::kNotRepeated,
378 ::protozero::proto_utils::ProtoSchemaType::kBool,
379 bool,
380 BackNavigationProto>;
381
382 static constexpr FieldMetadata_AnimationRunning kAnimationRunning{};
set_animation_running(bool value)383 void set_animation_running(bool value) {
384 static constexpr uint32_t field_id = FieldMetadata_AnimationRunning::kFieldId;
385 // Call the appropriate protozero::Message::Append(field_id, ...)
386 // method based on the type of the field.
387 ::protozero::internal::FieldWriter<
388 ::protozero::proto_utils::ProtoSchemaType::kBool>
389 ::Append(*this, field_id, value);
390 }
391 };
392
393 class ImeInsetsSourceProviderProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/3, /*HAS_NONPACKED_REPEATED_FIELDS=*/false> {
394 public:
ImeInsetsSourceProviderProto_Decoder(const uint8_t * data,size_t len)395 ImeInsetsSourceProviderProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
ImeInsetsSourceProviderProto_Decoder(const std::string & raw)396 explicit ImeInsetsSourceProviderProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
ImeInsetsSourceProviderProto_Decoder(const::protozero::ConstBytes & raw)397 explicit ImeInsetsSourceProviderProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_insets_source_provider()398 bool has_insets_source_provider() const { return at<1>().valid(); }
insets_source_provider()399 ::protozero::ConstBytes insets_source_provider() const { return at<1>().as_bytes(); }
has_ime_target_from_ime()400 bool has_ime_target_from_ime() const { return at<2>().valid(); }
ime_target_from_ime()401 ::protozero::ConstBytes ime_target_from_ime() const { return at<2>().as_bytes(); }
has_is_ime_layout_drawn()402 bool has_is_ime_layout_drawn() const { return at<3>().valid(); }
is_ime_layout_drawn()403 bool is_ime_layout_drawn() const { return at<3>().as_bool(); }
404 };
405
406 class ImeInsetsSourceProviderProto : public ::protozero::Message {
407 public:
408 using Decoder = ImeInsetsSourceProviderProto_Decoder;
409 enum : int32_t {
410 kInsetsSourceProviderFieldNumber = 1,
411 kImeTargetFromImeFieldNumber = 2,
412 kIsImeLayoutDrawnFieldNumber = 3,
413 };
GetName()414 static constexpr const char* GetName() { return ".perfetto.protos.ImeInsetsSourceProviderProto"; }
415
416
417 using FieldMetadata_InsetsSourceProvider =
418 ::protozero::proto_utils::FieldMetadata<
419 1,
420 ::protozero::proto_utils::RepetitionType::kNotRepeated,
421 ::protozero::proto_utils::ProtoSchemaType::kMessage,
422 InsetsSourceProviderProto,
423 ImeInsetsSourceProviderProto>;
424
425 static constexpr FieldMetadata_InsetsSourceProvider kInsetsSourceProvider{};
set_insets_source_provider()426 template <typename T = InsetsSourceProviderProto> T* set_insets_source_provider() {
427 return BeginNestedMessage<T>(1);
428 }
429
430
431 using FieldMetadata_ImeTargetFromIme =
432 ::protozero::proto_utils::FieldMetadata<
433 2,
434 ::protozero::proto_utils::RepetitionType::kNotRepeated,
435 ::protozero::proto_utils::ProtoSchemaType::kMessage,
436 WindowStateProto,
437 ImeInsetsSourceProviderProto>;
438
439 static constexpr FieldMetadata_ImeTargetFromIme kImeTargetFromIme{};
set_ime_target_from_ime()440 template <typename T = WindowStateProto> T* set_ime_target_from_ime() {
441 return BeginNestedMessage<T>(2);
442 }
443
444
445 using FieldMetadata_IsImeLayoutDrawn =
446 ::protozero::proto_utils::FieldMetadata<
447 3,
448 ::protozero::proto_utils::RepetitionType::kNotRepeated,
449 ::protozero::proto_utils::ProtoSchemaType::kBool,
450 bool,
451 ImeInsetsSourceProviderProto>;
452
453 static constexpr FieldMetadata_IsImeLayoutDrawn kIsImeLayoutDrawn{};
set_is_ime_layout_drawn(bool value)454 void set_is_ime_layout_drawn(bool value) {
455 static constexpr uint32_t field_id = FieldMetadata_IsImeLayoutDrawn::kFieldId;
456 // Call the appropriate protozero::Message::Append(field_id, ...)
457 // method based on the type of the field.
458 ::protozero::internal::FieldWriter<
459 ::protozero::proto_utils::ProtoSchemaType::kBool>
460 ::Append(*this, field_id, value);
461 }
462 };
463
464 class InsetsSourceProviderProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/16, /*HAS_NONPACKED_REPEATED_FIELDS=*/false> {
465 public:
InsetsSourceProviderProto_Decoder(const uint8_t * data,size_t len)466 InsetsSourceProviderProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
InsetsSourceProviderProto_Decoder(const std::string & raw)467 explicit InsetsSourceProviderProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
InsetsSourceProviderProto_Decoder(const::protozero::ConstBytes & raw)468 explicit InsetsSourceProviderProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_source()469 bool has_source() const { return at<1>().valid(); }
source()470 ::protozero::ConstBytes source() const { return at<1>().as_bytes(); }
has_frame()471 bool has_frame() const { return at<2>().valid(); }
frame()472 ::protozero::ConstBytes frame() const { return at<2>().as_bytes(); }
has_fake_control()473 bool has_fake_control() const { return at<3>().valid(); }
fake_control()474 ::protozero::ConstBytes fake_control() const { return at<3>().as_bytes(); }
has_control()475 bool has_control() const { return at<4>().valid(); }
control()476 ::protozero::ConstBytes control() const { return at<4>().as_bytes(); }
has_control_target()477 bool has_control_target() const { return at<5>().valid(); }
control_target()478 ::protozero::ConstBytes control_target() const { return at<5>().as_bytes(); }
has_pending_control_target()479 bool has_pending_control_target() const { return at<6>().valid(); }
pending_control_target()480 ::protozero::ConstBytes pending_control_target() const { return at<6>().as_bytes(); }
has_fake_control_target()481 bool has_fake_control_target() const { return at<7>().valid(); }
fake_control_target()482 ::protozero::ConstBytes fake_control_target() const { return at<7>().as_bytes(); }
has_captured_leash()483 bool has_captured_leash() const { return at<8>().valid(); }
captured_leash()484 ::protozero::ConstBytes captured_leash() const { return at<8>().as_bytes(); }
has_ime_overridden_frame()485 bool has_ime_overridden_frame() const { return at<9>().valid(); }
ime_overridden_frame()486 ::protozero::ConstBytes ime_overridden_frame() const { return at<9>().as_bytes(); }
has_is_leash_ready_for_dispatching()487 bool has_is_leash_ready_for_dispatching() const { return at<10>().valid(); }
is_leash_ready_for_dispatching()488 bool is_leash_ready_for_dispatching() const { return at<10>().as_bool(); }
has_client_visible()489 bool has_client_visible() const { return at<11>().valid(); }
client_visible()490 bool client_visible() const { return at<11>().as_bool(); }
has_server_visible()491 bool has_server_visible() const { return at<12>().valid(); }
server_visible()492 bool server_visible() const { return at<12>().as_bool(); }
has_seamless_rotating()493 bool has_seamless_rotating() const { return at<13>().valid(); }
seamless_rotating()494 bool seamless_rotating() const { return at<13>().as_bool(); }
has_finish_seamless_rotate_frame_number()495 bool has_finish_seamless_rotate_frame_number() const { return at<14>().valid(); }
finish_seamless_rotate_frame_number()496 int64_t finish_seamless_rotate_frame_number() const { return at<14>().as_int64(); }
has_controllable()497 bool has_controllable() const { return at<15>().valid(); }
controllable()498 bool controllable() const { return at<15>().as_bool(); }
has_source_window_state()499 bool has_source_window_state() const { return at<16>().valid(); }
source_window_state()500 ::protozero::ConstBytes source_window_state() const { return at<16>().as_bytes(); }
501 };
502
503 class InsetsSourceProviderProto : public ::protozero::Message {
504 public:
505 using Decoder = InsetsSourceProviderProto_Decoder;
506 enum : int32_t {
507 kSourceFieldNumber = 1,
508 kFrameFieldNumber = 2,
509 kFakeControlFieldNumber = 3,
510 kControlFieldNumber = 4,
511 kControlTargetFieldNumber = 5,
512 kPendingControlTargetFieldNumber = 6,
513 kFakeControlTargetFieldNumber = 7,
514 kCapturedLeashFieldNumber = 8,
515 kImeOverriddenFrameFieldNumber = 9,
516 kIsLeashReadyForDispatchingFieldNumber = 10,
517 kClientVisibleFieldNumber = 11,
518 kServerVisibleFieldNumber = 12,
519 kSeamlessRotatingFieldNumber = 13,
520 kFinishSeamlessRotateFrameNumberFieldNumber = 14,
521 kControllableFieldNumber = 15,
522 kSourceWindowStateFieldNumber = 16,
523 };
GetName()524 static constexpr const char* GetName() { return ".perfetto.protos.InsetsSourceProviderProto"; }
525
526
527 using FieldMetadata_Source =
528 ::protozero::proto_utils::FieldMetadata<
529 1,
530 ::protozero::proto_utils::RepetitionType::kNotRepeated,
531 ::protozero::proto_utils::ProtoSchemaType::kMessage,
532 InsetsSourceProto,
533 InsetsSourceProviderProto>;
534
535 static constexpr FieldMetadata_Source kSource{};
set_source()536 template <typename T = InsetsSourceProto> T* set_source() {
537 return BeginNestedMessage<T>(1);
538 }
539
540
541 using FieldMetadata_Frame =
542 ::protozero::proto_utils::FieldMetadata<
543 2,
544 ::protozero::proto_utils::RepetitionType::kNotRepeated,
545 ::protozero::proto_utils::ProtoSchemaType::kMessage,
546 RectProto,
547 InsetsSourceProviderProto>;
548
549 static constexpr FieldMetadata_Frame kFrame{};
set_frame()550 template <typename T = RectProto> T* set_frame() {
551 return BeginNestedMessage<T>(2);
552 }
553
554
555 using FieldMetadata_FakeControl =
556 ::protozero::proto_utils::FieldMetadata<
557 3,
558 ::protozero::proto_utils::RepetitionType::kNotRepeated,
559 ::protozero::proto_utils::ProtoSchemaType::kMessage,
560 InsetsSourceControlProto,
561 InsetsSourceProviderProto>;
562
563 static constexpr FieldMetadata_FakeControl kFakeControl{};
set_fake_control()564 template <typename T = InsetsSourceControlProto> T* set_fake_control() {
565 return BeginNestedMessage<T>(3);
566 }
567
568
569 using FieldMetadata_Control =
570 ::protozero::proto_utils::FieldMetadata<
571 4,
572 ::protozero::proto_utils::RepetitionType::kNotRepeated,
573 ::protozero::proto_utils::ProtoSchemaType::kMessage,
574 InsetsSourceControlProto,
575 InsetsSourceProviderProto>;
576
577 static constexpr FieldMetadata_Control kControl{};
set_control()578 template <typename T = InsetsSourceControlProto> T* set_control() {
579 return BeginNestedMessage<T>(4);
580 }
581
582
583 using FieldMetadata_ControlTarget =
584 ::protozero::proto_utils::FieldMetadata<
585 5,
586 ::protozero::proto_utils::RepetitionType::kNotRepeated,
587 ::protozero::proto_utils::ProtoSchemaType::kMessage,
588 WindowStateProto,
589 InsetsSourceProviderProto>;
590
591 static constexpr FieldMetadata_ControlTarget kControlTarget{};
set_control_target()592 template <typename T = WindowStateProto> T* set_control_target() {
593 return BeginNestedMessage<T>(5);
594 }
595
596
597 using FieldMetadata_PendingControlTarget =
598 ::protozero::proto_utils::FieldMetadata<
599 6,
600 ::protozero::proto_utils::RepetitionType::kNotRepeated,
601 ::protozero::proto_utils::ProtoSchemaType::kMessage,
602 WindowStateProto,
603 InsetsSourceProviderProto>;
604
605 static constexpr FieldMetadata_PendingControlTarget kPendingControlTarget{};
set_pending_control_target()606 template <typename T = WindowStateProto> T* set_pending_control_target() {
607 return BeginNestedMessage<T>(6);
608 }
609
610
611 using FieldMetadata_FakeControlTarget =
612 ::protozero::proto_utils::FieldMetadata<
613 7,
614 ::protozero::proto_utils::RepetitionType::kNotRepeated,
615 ::protozero::proto_utils::ProtoSchemaType::kMessage,
616 WindowStateProto,
617 InsetsSourceProviderProto>;
618
619 static constexpr FieldMetadata_FakeControlTarget kFakeControlTarget{};
set_fake_control_target()620 template <typename T = WindowStateProto> T* set_fake_control_target() {
621 return BeginNestedMessage<T>(7);
622 }
623
624
625 using FieldMetadata_CapturedLeash =
626 ::protozero::proto_utils::FieldMetadata<
627 8,
628 ::protozero::proto_utils::RepetitionType::kNotRepeated,
629 ::protozero::proto_utils::ProtoSchemaType::kMessage,
630 SurfaceControlProto,
631 InsetsSourceProviderProto>;
632
633 static constexpr FieldMetadata_CapturedLeash kCapturedLeash{};
set_captured_leash()634 template <typename T = SurfaceControlProto> T* set_captured_leash() {
635 return BeginNestedMessage<T>(8);
636 }
637
638
639 using FieldMetadata_ImeOverriddenFrame =
640 ::protozero::proto_utils::FieldMetadata<
641 9,
642 ::protozero::proto_utils::RepetitionType::kNotRepeated,
643 ::protozero::proto_utils::ProtoSchemaType::kMessage,
644 RectProto,
645 InsetsSourceProviderProto>;
646
647 static constexpr FieldMetadata_ImeOverriddenFrame kImeOverriddenFrame{};
set_ime_overridden_frame()648 template <typename T = RectProto> T* set_ime_overridden_frame() {
649 return BeginNestedMessage<T>(9);
650 }
651
652
653 using FieldMetadata_IsLeashReadyForDispatching =
654 ::protozero::proto_utils::FieldMetadata<
655 10,
656 ::protozero::proto_utils::RepetitionType::kNotRepeated,
657 ::protozero::proto_utils::ProtoSchemaType::kBool,
658 bool,
659 InsetsSourceProviderProto>;
660
661 static constexpr FieldMetadata_IsLeashReadyForDispatching kIsLeashReadyForDispatching{};
set_is_leash_ready_for_dispatching(bool value)662 void set_is_leash_ready_for_dispatching(bool value) {
663 static constexpr uint32_t field_id = FieldMetadata_IsLeashReadyForDispatching::kFieldId;
664 // Call the appropriate protozero::Message::Append(field_id, ...)
665 // method based on the type of the field.
666 ::protozero::internal::FieldWriter<
667 ::protozero::proto_utils::ProtoSchemaType::kBool>
668 ::Append(*this, field_id, value);
669 }
670
671 using FieldMetadata_ClientVisible =
672 ::protozero::proto_utils::FieldMetadata<
673 11,
674 ::protozero::proto_utils::RepetitionType::kNotRepeated,
675 ::protozero::proto_utils::ProtoSchemaType::kBool,
676 bool,
677 InsetsSourceProviderProto>;
678
679 static constexpr FieldMetadata_ClientVisible kClientVisible{};
set_client_visible(bool value)680 void set_client_visible(bool value) {
681 static constexpr uint32_t field_id = FieldMetadata_ClientVisible::kFieldId;
682 // Call the appropriate protozero::Message::Append(field_id, ...)
683 // method based on the type of the field.
684 ::protozero::internal::FieldWriter<
685 ::protozero::proto_utils::ProtoSchemaType::kBool>
686 ::Append(*this, field_id, value);
687 }
688
689 using FieldMetadata_ServerVisible =
690 ::protozero::proto_utils::FieldMetadata<
691 12,
692 ::protozero::proto_utils::RepetitionType::kNotRepeated,
693 ::protozero::proto_utils::ProtoSchemaType::kBool,
694 bool,
695 InsetsSourceProviderProto>;
696
697 static constexpr FieldMetadata_ServerVisible kServerVisible{};
set_server_visible(bool value)698 void set_server_visible(bool value) {
699 static constexpr uint32_t field_id = FieldMetadata_ServerVisible::kFieldId;
700 // Call the appropriate protozero::Message::Append(field_id, ...)
701 // method based on the type of the field.
702 ::protozero::internal::FieldWriter<
703 ::protozero::proto_utils::ProtoSchemaType::kBool>
704 ::Append(*this, field_id, value);
705 }
706
707 using FieldMetadata_SeamlessRotating =
708 ::protozero::proto_utils::FieldMetadata<
709 13,
710 ::protozero::proto_utils::RepetitionType::kNotRepeated,
711 ::protozero::proto_utils::ProtoSchemaType::kBool,
712 bool,
713 InsetsSourceProviderProto>;
714
715 static constexpr FieldMetadata_SeamlessRotating kSeamlessRotating{};
set_seamless_rotating(bool value)716 void set_seamless_rotating(bool value) {
717 static constexpr uint32_t field_id = FieldMetadata_SeamlessRotating::kFieldId;
718 // Call the appropriate protozero::Message::Append(field_id, ...)
719 // method based on the type of the field.
720 ::protozero::internal::FieldWriter<
721 ::protozero::proto_utils::ProtoSchemaType::kBool>
722 ::Append(*this, field_id, value);
723 }
724
725 using FieldMetadata_FinishSeamlessRotateFrameNumber =
726 ::protozero::proto_utils::FieldMetadata<
727 14,
728 ::protozero::proto_utils::RepetitionType::kNotRepeated,
729 ::protozero::proto_utils::ProtoSchemaType::kInt64,
730 int64_t,
731 InsetsSourceProviderProto>;
732
733 static constexpr FieldMetadata_FinishSeamlessRotateFrameNumber kFinishSeamlessRotateFrameNumber{};
set_finish_seamless_rotate_frame_number(int64_t value)734 void set_finish_seamless_rotate_frame_number(int64_t value) {
735 static constexpr uint32_t field_id = FieldMetadata_FinishSeamlessRotateFrameNumber::kFieldId;
736 // Call the appropriate protozero::Message::Append(field_id, ...)
737 // method based on the type of the field.
738 ::protozero::internal::FieldWriter<
739 ::protozero::proto_utils::ProtoSchemaType::kInt64>
740 ::Append(*this, field_id, value);
741 }
742
743 using FieldMetadata_Controllable =
744 ::protozero::proto_utils::FieldMetadata<
745 15,
746 ::protozero::proto_utils::RepetitionType::kNotRepeated,
747 ::protozero::proto_utils::ProtoSchemaType::kBool,
748 bool,
749 InsetsSourceProviderProto>;
750
751 static constexpr FieldMetadata_Controllable kControllable{};
set_controllable(bool value)752 void set_controllable(bool value) {
753 static constexpr uint32_t field_id = FieldMetadata_Controllable::kFieldId;
754 // Call the appropriate protozero::Message::Append(field_id, ...)
755 // method based on the type of the field.
756 ::protozero::internal::FieldWriter<
757 ::protozero::proto_utils::ProtoSchemaType::kBool>
758 ::Append(*this, field_id, value);
759 }
760
761 using FieldMetadata_SourceWindowState =
762 ::protozero::proto_utils::FieldMetadata<
763 16,
764 ::protozero::proto_utils::RepetitionType::kNotRepeated,
765 ::protozero::proto_utils::ProtoSchemaType::kMessage,
766 WindowStateProto,
767 InsetsSourceProviderProto>;
768
769 static constexpr FieldMetadata_SourceWindowState kSourceWindowState{};
set_source_window_state()770 template <typename T = WindowStateProto> T* set_source_window_state() {
771 return BeginNestedMessage<T>(16);
772 }
773
774 };
775
776 class WindowFramesProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/16, /*HAS_NONPACKED_REPEATED_FIELDS=*/false> {
777 public:
WindowFramesProto_Decoder(const uint8_t * data,size_t len)778 WindowFramesProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
WindowFramesProto_Decoder(const std::string & raw)779 explicit WindowFramesProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
WindowFramesProto_Decoder(const::protozero::ConstBytes & raw)780 explicit WindowFramesProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_containing_frame()781 bool has_containing_frame() const { return at<1>().valid(); }
containing_frame()782 ::protozero::ConstBytes containing_frame() const { return at<1>().as_bytes(); }
has_content_frame()783 bool has_content_frame() const { return at<2>().valid(); }
content_frame()784 ::protozero::ConstBytes content_frame() const { return at<2>().as_bytes(); }
has_decor_frame()785 bool has_decor_frame() const { return at<3>().valid(); }
decor_frame()786 ::protozero::ConstBytes decor_frame() const { return at<3>().as_bytes(); }
has_display_frame()787 bool has_display_frame() const { return at<4>().valid(); }
display_frame()788 ::protozero::ConstBytes display_frame() const { return at<4>().as_bytes(); }
has_frame()789 bool has_frame() const { return at<5>().valid(); }
frame()790 ::protozero::ConstBytes frame() const { return at<5>().as_bytes(); }
has_outset_frame()791 bool has_outset_frame() const { return at<6>().valid(); }
outset_frame()792 ::protozero::ConstBytes outset_frame() const { return at<6>().as_bytes(); }
has_overscan_frame()793 bool has_overscan_frame() const { return at<7>().valid(); }
overscan_frame()794 ::protozero::ConstBytes overscan_frame() const { return at<7>().as_bytes(); }
has_parent_frame()795 bool has_parent_frame() const { return at<8>().valid(); }
parent_frame()796 ::protozero::ConstBytes parent_frame() const { return at<8>().as_bytes(); }
has_visible_frame()797 bool has_visible_frame() const { return at<9>().valid(); }
visible_frame()798 ::protozero::ConstBytes visible_frame() const { return at<9>().as_bytes(); }
has_cutout()799 bool has_cutout() const { return at<10>().valid(); }
cutout()800 ::protozero::ConstBytes cutout() const { return at<10>().as_bytes(); }
has_content_insets()801 bool has_content_insets() const { return at<11>().valid(); }
content_insets()802 ::protozero::ConstBytes content_insets() const { return at<11>().as_bytes(); }
has_overscan_insets()803 bool has_overscan_insets() const { return at<12>().valid(); }
overscan_insets()804 ::protozero::ConstBytes overscan_insets() const { return at<12>().as_bytes(); }
has_visible_insets()805 bool has_visible_insets() const { return at<13>().valid(); }
visible_insets()806 ::protozero::ConstBytes visible_insets() const { return at<13>().as_bytes(); }
has_stable_insets()807 bool has_stable_insets() const { return at<14>().valid(); }
stable_insets()808 ::protozero::ConstBytes stable_insets() const { return at<14>().as_bytes(); }
has_outsets()809 bool has_outsets() const { return at<15>().valid(); }
outsets()810 ::protozero::ConstBytes outsets() const { return at<15>().as_bytes(); }
has_compat_frame()811 bool has_compat_frame() const { return at<16>().valid(); }
compat_frame()812 ::protozero::ConstBytes compat_frame() const { return at<16>().as_bytes(); }
813 };
814
815 class WindowFramesProto : public ::protozero::Message {
816 public:
817 using Decoder = WindowFramesProto_Decoder;
818 enum : int32_t {
819 kContainingFrameFieldNumber = 1,
820 kContentFrameFieldNumber = 2,
821 kDecorFrameFieldNumber = 3,
822 kDisplayFrameFieldNumber = 4,
823 kFrameFieldNumber = 5,
824 kOutsetFrameFieldNumber = 6,
825 kOverscanFrameFieldNumber = 7,
826 kParentFrameFieldNumber = 8,
827 kVisibleFrameFieldNumber = 9,
828 kCutoutFieldNumber = 10,
829 kContentInsetsFieldNumber = 11,
830 kOverscanInsetsFieldNumber = 12,
831 kVisibleInsetsFieldNumber = 13,
832 kStableInsetsFieldNumber = 14,
833 kOutsetsFieldNumber = 15,
834 kCompatFrameFieldNumber = 16,
835 };
GetName()836 static constexpr const char* GetName() { return ".perfetto.protos.WindowFramesProto"; }
837
838
839 using FieldMetadata_ContainingFrame =
840 ::protozero::proto_utils::FieldMetadata<
841 1,
842 ::protozero::proto_utils::RepetitionType::kNotRepeated,
843 ::protozero::proto_utils::ProtoSchemaType::kMessage,
844 RectProto,
845 WindowFramesProto>;
846
847 static constexpr FieldMetadata_ContainingFrame kContainingFrame{};
set_containing_frame()848 template <typename T = RectProto> T* set_containing_frame() {
849 return BeginNestedMessage<T>(1);
850 }
851
852
853 using FieldMetadata_ContentFrame =
854 ::protozero::proto_utils::FieldMetadata<
855 2,
856 ::protozero::proto_utils::RepetitionType::kNotRepeated,
857 ::protozero::proto_utils::ProtoSchemaType::kMessage,
858 RectProto,
859 WindowFramesProto>;
860
861 static constexpr FieldMetadata_ContentFrame kContentFrame{};
set_content_frame()862 template <typename T = RectProto> T* set_content_frame() {
863 return BeginNestedMessage<T>(2);
864 }
865
866
867 using FieldMetadata_DecorFrame =
868 ::protozero::proto_utils::FieldMetadata<
869 3,
870 ::protozero::proto_utils::RepetitionType::kNotRepeated,
871 ::protozero::proto_utils::ProtoSchemaType::kMessage,
872 RectProto,
873 WindowFramesProto>;
874
875 static constexpr FieldMetadata_DecorFrame kDecorFrame{};
set_decor_frame()876 template <typename T = RectProto> T* set_decor_frame() {
877 return BeginNestedMessage<T>(3);
878 }
879
880
881 using FieldMetadata_DisplayFrame =
882 ::protozero::proto_utils::FieldMetadata<
883 4,
884 ::protozero::proto_utils::RepetitionType::kNotRepeated,
885 ::protozero::proto_utils::ProtoSchemaType::kMessage,
886 RectProto,
887 WindowFramesProto>;
888
889 static constexpr FieldMetadata_DisplayFrame kDisplayFrame{};
set_display_frame()890 template <typename T = RectProto> T* set_display_frame() {
891 return BeginNestedMessage<T>(4);
892 }
893
894
895 using FieldMetadata_Frame =
896 ::protozero::proto_utils::FieldMetadata<
897 5,
898 ::protozero::proto_utils::RepetitionType::kNotRepeated,
899 ::protozero::proto_utils::ProtoSchemaType::kMessage,
900 RectProto,
901 WindowFramesProto>;
902
903 static constexpr FieldMetadata_Frame kFrame{};
set_frame()904 template <typename T = RectProto> T* set_frame() {
905 return BeginNestedMessage<T>(5);
906 }
907
908
909 using FieldMetadata_OutsetFrame =
910 ::protozero::proto_utils::FieldMetadata<
911 6,
912 ::protozero::proto_utils::RepetitionType::kNotRepeated,
913 ::protozero::proto_utils::ProtoSchemaType::kMessage,
914 RectProto,
915 WindowFramesProto>;
916
917 static constexpr FieldMetadata_OutsetFrame kOutsetFrame{};
set_outset_frame()918 template <typename T = RectProto> T* set_outset_frame() {
919 return BeginNestedMessage<T>(6);
920 }
921
922
923 using FieldMetadata_OverscanFrame =
924 ::protozero::proto_utils::FieldMetadata<
925 7,
926 ::protozero::proto_utils::RepetitionType::kNotRepeated,
927 ::protozero::proto_utils::ProtoSchemaType::kMessage,
928 RectProto,
929 WindowFramesProto>;
930
931 static constexpr FieldMetadata_OverscanFrame kOverscanFrame{};
set_overscan_frame()932 template <typename T = RectProto> T* set_overscan_frame() {
933 return BeginNestedMessage<T>(7);
934 }
935
936
937 using FieldMetadata_ParentFrame =
938 ::protozero::proto_utils::FieldMetadata<
939 8,
940 ::protozero::proto_utils::RepetitionType::kNotRepeated,
941 ::protozero::proto_utils::ProtoSchemaType::kMessage,
942 RectProto,
943 WindowFramesProto>;
944
945 static constexpr FieldMetadata_ParentFrame kParentFrame{};
set_parent_frame()946 template <typename T = RectProto> T* set_parent_frame() {
947 return BeginNestedMessage<T>(8);
948 }
949
950
951 using FieldMetadata_VisibleFrame =
952 ::protozero::proto_utils::FieldMetadata<
953 9,
954 ::protozero::proto_utils::RepetitionType::kNotRepeated,
955 ::protozero::proto_utils::ProtoSchemaType::kMessage,
956 RectProto,
957 WindowFramesProto>;
958
959 static constexpr FieldMetadata_VisibleFrame kVisibleFrame{};
set_visible_frame()960 template <typename T = RectProto> T* set_visible_frame() {
961 return BeginNestedMessage<T>(9);
962 }
963
964
965 using FieldMetadata_Cutout =
966 ::protozero::proto_utils::FieldMetadata<
967 10,
968 ::protozero::proto_utils::RepetitionType::kNotRepeated,
969 ::protozero::proto_utils::ProtoSchemaType::kMessage,
970 DisplayCutoutProto,
971 WindowFramesProto>;
972
973 static constexpr FieldMetadata_Cutout kCutout{};
set_cutout()974 template <typename T = DisplayCutoutProto> T* set_cutout() {
975 return BeginNestedMessage<T>(10);
976 }
977
978
979 using FieldMetadata_ContentInsets =
980 ::protozero::proto_utils::FieldMetadata<
981 11,
982 ::protozero::proto_utils::RepetitionType::kNotRepeated,
983 ::protozero::proto_utils::ProtoSchemaType::kMessage,
984 RectProto,
985 WindowFramesProto>;
986
987 static constexpr FieldMetadata_ContentInsets kContentInsets{};
set_content_insets()988 template <typename T = RectProto> T* set_content_insets() {
989 return BeginNestedMessage<T>(11);
990 }
991
992
993 using FieldMetadata_OverscanInsets =
994 ::protozero::proto_utils::FieldMetadata<
995 12,
996 ::protozero::proto_utils::RepetitionType::kNotRepeated,
997 ::protozero::proto_utils::ProtoSchemaType::kMessage,
998 RectProto,
999 WindowFramesProto>;
1000
1001 static constexpr FieldMetadata_OverscanInsets kOverscanInsets{};
set_overscan_insets()1002 template <typename T = RectProto> T* set_overscan_insets() {
1003 return BeginNestedMessage<T>(12);
1004 }
1005
1006
1007 using FieldMetadata_VisibleInsets =
1008 ::protozero::proto_utils::FieldMetadata<
1009 13,
1010 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1011 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1012 RectProto,
1013 WindowFramesProto>;
1014
1015 static constexpr FieldMetadata_VisibleInsets kVisibleInsets{};
set_visible_insets()1016 template <typename T = RectProto> T* set_visible_insets() {
1017 return BeginNestedMessage<T>(13);
1018 }
1019
1020
1021 using FieldMetadata_StableInsets =
1022 ::protozero::proto_utils::FieldMetadata<
1023 14,
1024 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1025 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1026 RectProto,
1027 WindowFramesProto>;
1028
1029 static constexpr FieldMetadata_StableInsets kStableInsets{};
set_stable_insets()1030 template <typename T = RectProto> T* set_stable_insets() {
1031 return BeginNestedMessage<T>(14);
1032 }
1033
1034
1035 using FieldMetadata_Outsets =
1036 ::protozero::proto_utils::FieldMetadata<
1037 15,
1038 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1039 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1040 RectProto,
1041 WindowFramesProto>;
1042
1043 static constexpr FieldMetadata_Outsets kOutsets{};
set_outsets()1044 template <typename T = RectProto> T* set_outsets() {
1045 return BeginNestedMessage<T>(15);
1046 }
1047
1048
1049 using FieldMetadata_CompatFrame =
1050 ::protozero::proto_utils::FieldMetadata<
1051 16,
1052 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1053 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1054 RectProto,
1055 WindowFramesProto>;
1056
1057 static constexpr FieldMetadata_CompatFrame kCompatFrame{};
set_compat_frame()1058 template <typename T = RectProto> T* set_compat_frame() {
1059 return BeginNestedMessage<T>(16);
1060 }
1061
1062 };
1063
1064 class ConfigurationContainerProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/3, /*HAS_NONPACKED_REPEATED_FIELDS=*/false> {
1065 public:
ConfigurationContainerProto_Decoder(const uint8_t * data,size_t len)1066 ConfigurationContainerProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
ConfigurationContainerProto_Decoder(const std::string & raw)1067 explicit ConfigurationContainerProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
ConfigurationContainerProto_Decoder(const::protozero::ConstBytes & raw)1068 explicit ConfigurationContainerProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_override_configuration()1069 bool has_override_configuration() const { return at<1>().valid(); }
override_configuration()1070 ::protozero::ConstBytes override_configuration() const { return at<1>().as_bytes(); }
has_full_configuration()1071 bool has_full_configuration() const { return at<2>().valid(); }
full_configuration()1072 ::protozero::ConstBytes full_configuration() const { return at<2>().as_bytes(); }
has_merged_override_configuration()1073 bool has_merged_override_configuration() const { return at<3>().valid(); }
merged_override_configuration()1074 ::protozero::ConstBytes merged_override_configuration() const { return at<3>().as_bytes(); }
1075 };
1076
1077 class ConfigurationContainerProto : public ::protozero::Message {
1078 public:
1079 using Decoder = ConfigurationContainerProto_Decoder;
1080 enum : int32_t {
1081 kOverrideConfigurationFieldNumber = 1,
1082 kFullConfigurationFieldNumber = 2,
1083 kMergedOverrideConfigurationFieldNumber = 3,
1084 };
GetName()1085 static constexpr const char* GetName() { return ".perfetto.protos.ConfigurationContainerProto"; }
1086
1087
1088 using FieldMetadata_OverrideConfiguration =
1089 ::protozero::proto_utils::FieldMetadata<
1090 1,
1091 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1092 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1093 ConfigurationProto,
1094 ConfigurationContainerProto>;
1095
1096 static constexpr FieldMetadata_OverrideConfiguration kOverrideConfiguration{};
set_override_configuration()1097 template <typename T = ConfigurationProto> T* set_override_configuration() {
1098 return BeginNestedMessage<T>(1);
1099 }
1100
1101
1102 using FieldMetadata_FullConfiguration =
1103 ::protozero::proto_utils::FieldMetadata<
1104 2,
1105 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1106 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1107 ConfigurationProto,
1108 ConfigurationContainerProto>;
1109
1110 static constexpr FieldMetadata_FullConfiguration kFullConfiguration{};
set_full_configuration()1111 template <typename T = ConfigurationProto> T* set_full_configuration() {
1112 return BeginNestedMessage<T>(2);
1113 }
1114
1115
1116 using FieldMetadata_MergedOverrideConfiguration =
1117 ::protozero::proto_utils::FieldMetadata<
1118 3,
1119 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1120 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1121 ConfigurationProto,
1122 ConfigurationContainerProto>;
1123
1124 static constexpr FieldMetadata_MergedOverrideConfiguration kMergedOverrideConfiguration{};
set_merged_override_configuration()1125 template <typename T = ConfigurationProto> T* set_merged_override_configuration() {
1126 return BeginNestedMessage<T>(3);
1127 }
1128
1129 };
1130
1131 class WindowContainerChildProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/9, /*HAS_NONPACKED_REPEATED_FIELDS=*/false> {
1132 public:
WindowContainerChildProto_Decoder(const uint8_t * data,size_t len)1133 WindowContainerChildProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
WindowContainerChildProto_Decoder(const std::string & raw)1134 explicit WindowContainerChildProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
WindowContainerChildProto_Decoder(const::protozero::ConstBytes & raw)1135 explicit WindowContainerChildProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_window_container()1136 bool has_window_container() const { return at<2>().valid(); }
window_container()1137 ::protozero::ConstBytes window_container() const { return at<2>().as_bytes(); }
has_display_content()1138 bool has_display_content() const { return at<3>().valid(); }
display_content()1139 ::protozero::ConstBytes display_content() const { return at<3>().as_bytes(); }
has_display_area()1140 bool has_display_area() const { return at<4>().valid(); }
display_area()1141 ::protozero::ConstBytes display_area() const { return at<4>().as_bytes(); }
has_task()1142 bool has_task() const { return at<5>().valid(); }
task()1143 ::protozero::ConstBytes task() const { return at<5>().as_bytes(); }
has_activity()1144 bool has_activity() const { return at<6>().valid(); }
activity()1145 ::protozero::ConstBytes activity() const { return at<6>().as_bytes(); }
has_window_token()1146 bool has_window_token() const { return at<7>().valid(); }
window_token()1147 ::protozero::ConstBytes window_token() const { return at<7>().as_bytes(); }
has_window()1148 bool has_window() const { return at<8>().valid(); }
window()1149 ::protozero::ConstBytes window() const { return at<8>().as_bytes(); }
has_task_fragment()1150 bool has_task_fragment() const { return at<9>().valid(); }
task_fragment()1151 ::protozero::ConstBytes task_fragment() const { return at<9>().as_bytes(); }
1152 };
1153
1154 class WindowContainerChildProto : public ::protozero::Message {
1155 public:
1156 using Decoder = WindowContainerChildProto_Decoder;
1157 enum : int32_t {
1158 kWindowContainerFieldNumber = 2,
1159 kDisplayContentFieldNumber = 3,
1160 kDisplayAreaFieldNumber = 4,
1161 kTaskFieldNumber = 5,
1162 kActivityFieldNumber = 6,
1163 kWindowTokenFieldNumber = 7,
1164 kWindowFieldNumber = 8,
1165 kTaskFragmentFieldNumber = 9,
1166 };
GetName()1167 static constexpr const char* GetName() { return ".perfetto.protos.WindowContainerChildProto"; }
1168
1169
1170 using FieldMetadata_WindowContainer =
1171 ::protozero::proto_utils::FieldMetadata<
1172 2,
1173 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1174 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1175 WindowContainerProto,
1176 WindowContainerChildProto>;
1177
1178 static constexpr FieldMetadata_WindowContainer kWindowContainer{};
set_window_container()1179 template <typename T = WindowContainerProto> T* set_window_container() {
1180 return BeginNestedMessage<T>(2);
1181 }
1182
1183
1184 using FieldMetadata_DisplayContent =
1185 ::protozero::proto_utils::FieldMetadata<
1186 3,
1187 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1188 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1189 DisplayContentProto,
1190 WindowContainerChildProto>;
1191
1192 static constexpr FieldMetadata_DisplayContent kDisplayContent{};
set_display_content()1193 template <typename T = DisplayContentProto> T* set_display_content() {
1194 return BeginNestedMessage<T>(3);
1195 }
1196
1197
1198 using FieldMetadata_DisplayArea =
1199 ::protozero::proto_utils::FieldMetadata<
1200 4,
1201 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1202 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1203 DisplayAreaProto,
1204 WindowContainerChildProto>;
1205
1206 static constexpr FieldMetadata_DisplayArea kDisplayArea{};
set_display_area()1207 template <typename T = DisplayAreaProto> T* set_display_area() {
1208 return BeginNestedMessage<T>(4);
1209 }
1210
1211
1212 using FieldMetadata_Task =
1213 ::protozero::proto_utils::FieldMetadata<
1214 5,
1215 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1216 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1217 TaskProto,
1218 WindowContainerChildProto>;
1219
1220 static constexpr FieldMetadata_Task kTask{};
set_task()1221 template <typename T = TaskProto> T* set_task() {
1222 return BeginNestedMessage<T>(5);
1223 }
1224
1225
1226 using FieldMetadata_Activity =
1227 ::protozero::proto_utils::FieldMetadata<
1228 6,
1229 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1230 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1231 ActivityRecordProto,
1232 WindowContainerChildProto>;
1233
1234 static constexpr FieldMetadata_Activity kActivity{};
set_activity()1235 template <typename T = ActivityRecordProto> T* set_activity() {
1236 return BeginNestedMessage<T>(6);
1237 }
1238
1239
1240 using FieldMetadata_WindowToken =
1241 ::protozero::proto_utils::FieldMetadata<
1242 7,
1243 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1244 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1245 WindowTokenProto,
1246 WindowContainerChildProto>;
1247
1248 static constexpr FieldMetadata_WindowToken kWindowToken{};
set_window_token()1249 template <typename T = WindowTokenProto> T* set_window_token() {
1250 return BeginNestedMessage<T>(7);
1251 }
1252
1253
1254 using FieldMetadata_Window =
1255 ::protozero::proto_utils::FieldMetadata<
1256 8,
1257 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1258 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1259 WindowStateProto,
1260 WindowContainerChildProto>;
1261
1262 static constexpr FieldMetadata_Window kWindow{};
set_window()1263 template <typename T = WindowStateProto> T* set_window() {
1264 return BeginNestedMessage<T>(8);
1265 }
1266
1267
1268 using FieldMetadata_TaskFragment =
1269 ::protozero::proto_utils::FieldMetadata<
1270 9,
1271 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1272 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1273 TaskFragmentProto,
1274 WindowContainerChildProto>;
1275
1276 static constexpr FieldMetadata_TaskFragment kTaskFragment{};
set_task_fragment()1277 template <typename T = TaskFragmentProto> T* set_task_fragment() {
1278 return BeginNestedMessage<T>(9);
1279 }
1280
1281 };
1282
1283 class WindowContainerProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/7, /*HAS_NONPACKED_REPEATED_FIELDS=*/true> {
1284 public:
WindowContainerProto_Decoder(const uint8_t * data,size_t len)1285 WindowContainerProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
WindowContainerProto_Decoder(const std::string & raw)1286 explicit WindowContainerProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
WindowContainerProto_Decoder(const::protozero::ConstBytes & raw)1287 explicit WindowContainerProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_configuration_container()1288 bool has_configuration_container() const { return at<1>().valid(); }
configuration_container()1289 ::protozero::ConstBytes configuration_container() const { return at<1>().as_bytes(); }
has_orientation()1290 bool has_orientation() const { return at<2>().valid(); }
orientation()1291 int32_t orientation() const { return at<2>().as_int32(); }
has_visible()1292 bool has_visible() const { return at<3>().valid(); }
visible()1293 bool visible() const { return at<3>().as_bool(); }
has_surface_animator()1294 bool has_surface_animator() const { return at<4>().valid(); }
surface_animator()1295 ::protozero::ConstBytes surface_animator() const { return at<4>().as_bytes(); }
has_children()1296 bool has_children() const { return at<5>().valid(); }
children()1297 ::protozero::RepeatedFieldIterator<::protozero::ConstBytes> children() const { return GetRepeated<::protozero::ConstBytes>(5); }
has_identifier()1298 bool has_identifier() const { return at<6>().valid(); }
identifier()1299 ::protozero::ConstBytes identifier() const { return at<6>().as_bytes(); }
has_surface_control()1300 bool has_surface_control() const { return at<7>().valid(); }
surface_control()1301 ::protozero::ConstBytes surface_control() const { return at<7>().as_bytes(); }
1302 };
1303
1304 class WindowContainerProto : public ::protozero::Message {
1305 public:
1306 using Decoder = WindowContainerProto_Decoder;
1307 enum : int32_t {
1308 kConfigurationContainerFieldNumber = 1,
1309 kOrientationFieldNumber = 2,
1310 kVisibleFieldNumber = 3,
1311 kSurfaceAnimatorFieldNumber = 4,
1312 kChildrenFieldNumber = 5,
1313 kIdentifierFieldNumber = 6,
1314 kSurfaceControlFieldNumber = 7,
1315 };
GetName()1316 static constexpr const char* GetName() { return ".perfetto.protos.WindowContainerProto"; }
1317
1318
1319 using FieldMetadata_ConfigurationContainer =
1320 ::protozero::proto_utils::FieldMetadata<
1321 1,
1322 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1323 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1324 ConfigurationContainerProto,
1325 WindowContainerProto>;
1326
1327 static constexpr FieldMetadata_ConfigurationContainer kConfigurationContainer{};
set_configuration_container()1328 template <typename T = ConfigurationContainerProto> T* set_configuration_container() {
1329 return BeginNestedMessage<T>(1);
1330 }
1331
1332
1333 using FieldMetadata_Orientation =
1334 ::protozero::proto_utils::FieldMetadata<
1335 2,
1336 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1337 ::protozero::proto_utils::ProtoSchemaType::kInt32,
1338 int32_t,
1339 WindowContainerProto>;
1340
1341 static constexpr FieldMetadata_Orientation kOrientation{};
set_orientation(int32_t value)1342 void set_orientation(int32_t value) {
1343 static constexpr uint32_t field_id = FieldMetadata_Orientation::kFieldId;
1344 // Call the appropriate protozero::Message::Append(field_id, ...)
1345 // method based on the type of the field.
1346 ::protozero::internal::FieldWriter<
1347 ::protozero::proto_utils::ProtoSchemaType::kInt32>
1348 ::Append(*this, field_id, value);
1349 }
1350
1351 using FieldMetadata_Visible =
1352 ::protozero::proto_utils::FieldMetadata<
1353 3,
1354 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1355 ::protozero::proto_utils::ProtoSchemaType::kBool,
1356 bool,
1357 WindowContainerProto>;
1358
1359 static constexpr FieldMetadata_Visible kVisible{};
set_visible(bool value)1360 void set_visible(bool value) {
1361 static constexpr uint32_t field_id = FieldMetadata_Visible::kFieldId;
1362 // Call the appropriate protozero::Message::Append(field_id, ...)
1363 // method based on the type of the field.
1364 ::protozero::internal::FieldWriter<
1365 ::protozero::proto_utils::ProtoSchemaType::kBool>
1366 ::Append(*this, field_id, value);
1367 }
1368
1369 using FieldMetadata_SurfaceAnimator =
1370 ::protozero::proto_utils::FieldMetadata<
1371 4,
1372 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1373 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1374 SurfaceAnimatorProto,
1375 WindowContainerProto>;
1376
1377 static constexpr FieldMetadata_SurfaceAnimator kSurfaceAnimator{};
set_surface_animator()1378 template <typename T = SurfaceAnimatorProto> T* set_surface_animator() {
1379 return BeginNestedMessage<T>(4);
1380 }
1381
1382
1383 using FieldMetadata_Children =
1384 ::protozero::proto_utils::FieldMetadata<
1385 5,
1386 ::protozero::proto_utils::RepetitionType::kRepeatedNotPacked,
1387 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1388 WindowContainerChildProto,
1389 WindowContainerProto>;
1390
1391 static constexpr FieldMetadata_Children kChildren{};
add_children()1392 template <typename T = WindowContainerChildProto> T* add_children() {
1393 return BeginNestedMessage<T>(5);
1394 }
1395
1396
1397 using FieldMetadata_Identifier =
1398 ::protozero::proto_utils::FieldMetadata<
1399 6,
1400 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1401 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1402 IdentifierProto,
1403 WindowContainerProto>;
1404
1405 static constexpr FieldMetadata_Identifier kIdentifier{};
set_identifier()1406 template <typename T = IdentifierProto> T* set_identifier() {
1407 return BeginNestedMessage<T>(6);
1408 }
1409
1410
1411 using FieldMetadata_SurfaceControl =
1412 ::protozero::proto_utils::FieldMetadata<
1413 7,
1414 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1415 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1416 SurfaceControlProto,
1417 WindowContainerProto>;
1418
1419 static constexpr FieldMetadata_SurfaceControl kSurfaceControl{};
set_surface_control()1420 template <typename T = SurfaceControlProto> T* set_surface_control() {
1421 return BeginNestedMessage<T>(7);
1422 }
1423
1424 };
1425
1426 class ScreenRotationAnimationProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/2, /*HAS_NONPACKED_REPEATED_FIELDS=*/false> {
1427 public:
ScreenRotationAnimationProto_Decoder(const uint8_t * data,size_t len)1428 ScreenRotationAnimationProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
ScreenRotationAnimationProto_Decoder(const std::string & raw)1429 explicit ScreenRotationAnimationProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
ScreenRotationAnimationProto_Decoder(const::protozero::ConstBytes & raw)1430 explicit ScreenRotationAnimationProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_started()1431 bool has_started() const { return at<1>().valid(); }
started()1432 bool started() const { return at<1>().as_bool(); }
has_animation_running()1433 bool has_animation_running() const { return at<2>().valid(); }
animation_running()1434 bool animation_running() const { return at<2>().as_bool(); }
1435 };
1436
1437 class ScreenRotationAnimationProto : public ::protozero::Message {
1438 public:
1439 using Decoder = ScreenRotationAnimationProto_Decoder;
1440 enum : int32_t {
1441 kStartedFieldNumber = 1,
1442 kAnimationRunningFieldNumber = 2,
1443 };
GetName()1444 static constexpr const char* GetName() { return ".perfetto.protos.ScreenRotationAnimationProto"; }
1445
1446
1447 using FieldMetadata_Started =
1448 ::protozero::proto_utils::FieldMetadata<
1449 1,
1450 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1451 ::protozero::proto_utils::ProtoSchemaType::kBool,
1452 bool,
1453 ScreenRotationAnimationProto>;
1454
1455 static constexpr FieldMetadata_Started kStarted{};
set_started(bool value)1456 void set_started(bool value) {
1457 static constexpr uint32_t field_id = FieldMetadata_Started::kFieldId;
1458 // Call the appropriate protozero::Message::Append(field_id, ...)
1459 // method based on the type of the field.
1460 ::protozero::internal::FieldWriter<
1461 ::protozero::proto_utils::ProtoSchemaType::kBool>
1462 ::Append(*this, field_id, value);
1463 }
1464
1465 using FieldMetadata_AnimationRunning =
1466 ::protozero::proto_utils::FieldMetadata<
1467 2,
1468 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1469 ::protozero::proto_utils::ProtoSchemaType::kBool,
1470 bool,
1471 ScreenRotationAnimationProto>;
1472
1473 static constexpr FieldMetadata_AnimationRunning kAnimationRunning{};
set_animation_running(bool value)1474 void set_animation_running(bool value) {
1475 static constexpr uint32_t field_id = FieldMetadata_AnimationRunning::kFieldId;
1476 // Call the appropriate protozero::Message::Append(field_id, ...)
1477 // method based on the type of the field.
1478 ::protozero::internal::FieldWriter<
1479 ::protozero::proto_utils::ProtoSchemaType::kBool>
1480 ::Append(*this, field_id, value);
1481 }
1482 };
1483
1484 class WindowSurfaceControllerProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/2, /*HAS_NONPACKED_REPEATED_FIELDS=*/false> {
1485 public:
WindowSurfaceControllerProto_Decoder(const uint8_t * data,size_t len)1486 WindowSurfaceControllerProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
WindowSurfaceControllerProto_Decoder(const std::string & raw)1487 explicit WindowSurfaceControllerProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
WindowSurfaceControllerProto_Decoder(const::protozero::ConstBytes & raw)1488 explicit WindowSurfaceControllerProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_shown()1489 bool has_shown() const { return at<1>().valid(); }
shown()1490 bool shown() const { return at<1>().as_bool(); }
has_layer()1491 bool has_layer() const { return at<2>().valid(); }
layer()1492 int32_t layer() const { return at<2>().as_int32(); }
1493 };
1494
1495 class WindowSurfaceControllerProto : public ::protozero::Message {
1496 public:
1497 using Decoder = WindowSurfaceControllerProto_Decoder;
1498 enum : int32_t {
1499 kShownFieldNumber = 1,
1500 kLayerFieldNumber = 2,
1501 };
GetName()1502 static constexpr const char* GetName() { return ".perfetto.protos.WindowSurfaceControllerProto"; }
1503
1504
1505 using FieldMetadata_Shown =
1506 ::protozero::proto_utils::FieldMetadata<
1507 1,
1508 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1509 ::protozero::proto_utils::ProtoSchemaType::kBool,
1510 bool,
1511 WindowSurfaceControllerProto>;
1512
1513 static constexpr FieldMetadata_Shown kShown{};
set_shown(bool value)1514 void set_shown(bool value) {
1515 static constexpr uint32_t field_id = FieldMetadata_Shown::kFieldId;
1516 // Call the appropriate protozero::Message::Append(field_id, ...)
1517 // method based on the type of the field.
1518 ::protozero::internal::FieldWriter<
1519 ::protozero::proto_utils::ProtoSchemaType::kBool>
1520 ::Append(*this, field_id, value);
1521 }
1522
1523 using FieldMetadata_Layer =
1524 ::protozero::proto_utils::FieldMetadata<
1525 2,
1526 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1527 ::protozero::proto_utils::ProtoSchemaType::kInt32,
1528 int32_t,
1529 WindowSurfaceControllerProto>;
1530
1531 static constexpr FieldMetadata_Layer kLayer{};
set_layer(int32_t value)1532 void set_layer(int32_t value) {
1533 static constexpr uint32_t field_id = FieldMetadata_Layer::kFieldId;
1534 // Call the appropriate protozero::Message::Append(field_id, ...)
1535 // method based on the type of the field.
1536 ::protozero::internal::FieldWriter<
1537 ::protozero::proto_utils::ProtoSchemaType::kInt32>
1538 ::Append(*this, field_id, value);
1539 }
1540 };
1541
1542 class WindowStateAnimatorProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/4, /*HAS_NONPACKED_REPEATED_FIELDS=*/false> {
1543 public:
WindowStateAnimatorProto_Decoder(const uint8_t * data,size_t len)1544 WindowStateAnimatorProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
WindowStateAnimatorProto_Decoder(const std::string & raw)1545 explicit WindowStateAnimatorProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
WindowStateAnimatorProto_Decoder(const::protozero::ConstBytes & raw)1546 explicit WindowStateAnimatorProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_last_clip_rect()1547 bool has_last_clip_rect() const { return at<1>().valid(); }
last_clip_rect()1548 ::protozero::ConstBytes last_clip_rect() const { return at<1>().as_bytes(); }
has_surface()1549 bool has_surface() const { return at<2>().valid(); }
surface()1550 ::protozero::ConstBytes surface() const { return at<2>().as_bytes(); }
has_draw_state()1551 bool has_draw_state() const { return at<3>().valid(); }
draw_state()1552 int32_t draw_state() const { return at<3>().as_int32(); }
has_system_decor_rect()1553 bool has_system_decor_rect() const { return at<4>().valid(); }
system_decor_rect()1554 ::protozero::ConstBytes system_decor_rect() const { return at<4>().as_bytes(); }
1555 };
1556
1557 class WindowStateAnimatorProto : public ::protozero::Message {
1558 public:
1559 using Decoder = WindowStateAnimatorProto_Decoder;
1560 enum : int32_t {
1561 kLastClipRectFieldNumber = 1,
1562 kSurfaceFieldNumber = 2,
1563 kDrawStateFieldNumber = 3,
1564 kSystemDecorRectFieldNumber = 4,
1565 };
GetName()1566 static constexpr const char* GetName() { return ".perfetto.protos.WindowStateAnimatorProto"; }
1567
1568
1569 using DrawState = ::perfetto::protos::pbzero::WindowStateAnimatorProto_DrawState;
DrawState_Name(DrawState value)1570 static inline const char* DrawState_Name(DrawState value) {
1571 return ::perfetto::protos::pbzero::WindowStateAnimatorProto_DrawState_Name(value);
1572 }
1573 static inline const DrawState NO_SURFACE = DrawState::NO_SURFACE;
1574 static inline const DrawState DRAW_PENDING = DrawState::DRAW_PENDING;
1575 static inline const DrawState COMMIT_DRAW_PENDING = DrawState::COMMIT_DRAW_PENDING;
1576 static inline const DrawState READY_TO_SHOW = DrawState::READY_TO_SHOW;
1577 static inline const DrawState HAS_DRAWN = DrawState::HAS_DRAWN;
1578
1579 using FieldMetadata_LastClipRect =
1580 ::protozero::proto_utils::FieldMetadata<
1581 1,
1582 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1583 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1584 RectProto,
1585 WindowStateAnimatorProto>;
1586
1587 static constexpr FieldMetadata_LastClipRect kLastClipRect{};
set_last_clip_rect()1588 template <typename T = RectProto> T* set_last_clip_rect() {
1589 return BeginNestedMessage<T>(1);
1590 }
1591
1592
1593 using FieldMetadata_Surface =
1594 ::protozero::proto_utils::FieldMetadata<
1595 2,
1596 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1597 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1598 WindowSurfaceControllerProto,
1599 WindowStateAnimatorProto>;
1600
1601 static constexpr FieldMetadata_Surface kSurface{};
set_surface()1602 template <typename T = WindowSurfaceControllerProto> T* set_surface() {
1603 return BeginNestedMessage<T>(2);
1604 }
1605
1606
1607 using FieldMetadata_DrawState =
1608 ::protozero::proto_utils::FieldMetadata<
1609 3,
1610 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1611 ::protozero::proto_utils::ProtoSchemaType::kEnum,
1612 WindowStateAnimatorProto_DrawState,
1613 WindowStateAnimatorProto>;
1614
1615 static constexpr FieldMetadata_DrawState kDrawState{};
set_draw_state(WindowStateAnimatorProto_DrawState value)1616 void set_draw_state(WindowStateAnimatorProto_DrawState value) {
1617 static constexpr uint32_t field_id = FieldMetadata_DrawState::kFieldId;
1618 // Call the appropriate protozero::Message::Append(field_id, ...)
1619 // method based on the type of the field.
1620 ::protozero::internal::FieldWriter<
1621 ::protozero::proto_utils::ProtoSchemaType::kEnum>
1622 ::Append(*this, field_id, value);
1623 }
1624
1625 using FieldMetadata_SystemDecorRect =
1626 ::protozero::proto_utils::FieldMetadata<
1627 4,
1628 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1629 ::protozero::proto_utils::ProtoSchemaType::kMessage,
1630 RectProto,
1631 WindowStateAnimatorProto>;
1632
1633 static constexpr FieldMetadata_SystemDecorRect kSystemDecorRect{};
set_system_decor_rect()1634 template <typename T = RectProto> T* set_system_decor_rect() {
1635 return BeginNestedMessage<T>(4);
1636 }
1637
1638 };
1639
1640 class IdentifierProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/3, /*HAS_NONPACKED_REPEATED_FIELDS=*/false> {
1641 public:
IdentifierProto_Decoder(const uint8_t * data,size_t len)1642 IdentifierProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
IdentifierProto_Decoder(const std::string & raw)1643 explicit IdentifierProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
IdentifierProto_Decoder(const::protozero::ConstBytes & raw)1644 explicit IdentifierProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_hash_code()1645 bool has_hash_code() const { return at<1>().valid(); }
hash_code()1646 int32_t hash_code() const { return at<1>().as_int32(); }
has_user_id()1647 bool has_user_id() const { return at<2>().valid(); }
user_id()1648 int32_t user_id() const { return at<2>().as_int32(); }
has_title()1649 bool has_title() const { return at<3>().valid(); }
title()1650 ::protozero::ConstChars title() const { return at<3>().as_string(); }
1651 };
1652
1653 class IdentifierProto : public ::protozero::Message {
1654 public:
1655 using Decoder = IdentifierProto_Decoder;
1656 enum : int32_t {
1657 kHashCodeFieldNumber = 1,
1658 kUserIdFieldNumber = 2,
1659 kTitleFieldNumber = 3,
1660 };
GetName()1661 static constexpr const char* GetName() { return ".perfetto.protos.IdentifierProto"; }
1662
1663
1664 using FieldMetadata_HashCode =
1665 ::protozero::proto_utils::FieldMetadata<
1666 1,
1667 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1668 ::protozero::proto_utils::ProtoSchemaType::kInt32,
1669 int32_t,
1670 IdentifierProto>;
1671
1672 static constexpr FieldMetadata_HashCode kHashCode{};
set_hash_code(int32_t value)1673 void set_hash_code(int32_t value) {
1674 static constexpr uint32_t field_id = FieldMetadata_HashCode::kFieldId;
1675 // Call the appropriate protozero::Message::Append(field_id, ...)
1676 // method based on the type of the field.
1677 ::protozero::internal::FieldWriter<
1678 ::protozero::proto_utils::ProtoSchemaType::kInt32>
1679 ::Append(*this, field_id, value);
1680 }
1681
1682 using FieldMetadata_UserId =
1683 ::protozero::proto_utils::FieldMetadata<
1684 2,
1685 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1686 ::protozero::proto_utils::ProtoSchemaType::kInt32,
1687 int32_t,
1688 IdentifierProto>;
1689
1690 static constexpr FieldMetadata_UserId kUserId{};
set_user_id(int32_t value)1691 void set_user_id(int32_t value) {
1692 static constexpr uint32_t field_id = FieldMetadata_UserId::kFieldId;
1693 // Call the appropriate protozero::Message::Append(field_id, ...)
1694 // method based on the type of the field.
1695 ::protozero::internal::FieldWriter<
1696 ::protozero::proto_utils::ProtoSchemaType::kInt32>
1697 ::Append(*this, field_id, value);
1698 }
1699
1700 using FieldMetadata_Title =
1701 ::protozero::proto_utils::FieldMetadata<
1702 3,
1703 ::protozero::proto_utils::RepetitionType::kNotRepeated,
1704 ::protozero::proto_utils::ProtoSchemaType::kString,
1705 std::string,
1706 IdentifierProto>;
1707
1708 static constexpr FieldMetadata_Title kTitle{};
set_title(const char * data,size_t size)1709 void set_title(const char* data, size_t size) {
1710 AppendBytes(FieldMetadata_Title::kFieldId, data, size);
1711 }
set_title(::protozero::ConstChars chars)1712 void set_title(::protozero::ConstChars chars) {
1713 AppendBytes(FieldMetadata_Title::kFieldId, chars.data, chars.size);
1714 }
set_title(std::string value)1715 void set_title(std::string value) {
1716 static constexpr uint32_t field_id = FieldMetadata_Title::kFieldId;
1717 // Call the appropriate protozero::Message::Append(field_id, ...)
1718 // method based on the type of the field.
1719 ::protozero::internal::FieldWriter<
1720 ::protozero::proto_utils::ProtoSchemaType::kString>
1721 ::Append(*this, field_id, value);
1722 }
1723 };
1724
1725 class WindowStateProto_Decoder : public ::protozero::TypedProtoDecoder</*MAX_FIELD_ID=*/49, /*HAS_NONPACKED_REPEATED_FIELDS=*/true> {
1726 public:
WindowStateProto_Decoder(const uint8_t * data,size_t len)1727 WindowStateProto_Decoder(const uint8_t* data, size_t len) : TypedProtoDecoder(data, len) {}
WindowStateProto_Decoder(const std::string & raw)1728 explicit WindowStateProto_Decoder(const std::string& raw) : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()), raw.size()) {}
WindowStateProto_Decoder(const::protozero::ConstBytes & raw)1729 explicit WindowStateProto_Decoder(const ::protozero::ConstBytes& raw) : TypedProtoDecoder(raw.data, raw.size) {}
has_window_container()1730 bool has_window_container() const { return at<1>().valid(); }
window_container()1731 ::protozero::ConstBytes window_container() const { return at<1>().as_bytes(); }
has_identifier()1732 bool has_identifier() const { return at<2>().valid(); }
identifier()1733 ::protozero::ConstBytes identifier() const { return at<2>().as_bytes(); }
has_display_id()1734 bool has_display_id() const { return at<3>().valid(); }
display_id()1735 int32_t display_id() const { return at<3>().as_int32(); }
has_stack_id()1736 bool has_stack_id() const { return at<4>().valid(); }
stack_id()1737 int32_t stack_id() const { return at<4>().as_int32(); }
has_attributes()1738 bool has_attributes() const { return at<5>().valid(); }
attributes()1739 ::protozero::ConstBytes attributes() const { return at<5>().as_bytes(); }
has_given_content_insets()1740 bool has_given_content_insets() const { return at<6>().valid(); }
given_content_insets()1741 ::protozero::ConstBytes given_content_insets() const { return at<6>().as_bytes(); }
has_frame()1742 bool has_frame() const { return at<7>().valid(); }
frame()1743 ::protozero::ConstBytes frame() const { return at<7>().as_bytes(); }
has_containing_frame()1744 bool has_containing_frame() const { return at<8>().valid(); }
containing_frame()1745 ::protozero::ConstBytes containing_frame() const { return at<8>().as_bytes(); }
has_parent_frame()1746 bool has_parent_frame() const { return at<9>().valid(); }
parent_frame()1747 ::protozero::ConstBytes parent_frame() const { return at<9>().as_bytes(); }
has_content_frame()1748 bool has_content_frame() const { return at<10>().valid(); }
content_frame()1749 ::protozero::ConstBytes content_frame() const { return at<10>().as_bytes(); }
has_content_insets()1750 bool has_content_insets() const { return at<11>().valid(); }
content_insets()1751 ::protozero::ConstBytes content_insets() const { return at<11>().as_bytes(); }
has_surface_insets()1752 bool has_surface_insets() const { return at<12>().valid(); }
surface_insets()1753 ::protozero::ConstBytes surface_insets() const { return at<12>().as_bytes(); }
has_animator()1754 bool has_animator() const { return at<13>().valid(); }
animator()1755 ::protozero::ConstBytes animator() const { return at<13>().as_bytes(); }
has_animating_exit()1756 bool has_animating_exit() const { return at<14>().valid(); }
animating_exit()1757 bool animating_exit() const { return at<14>().as_bool(); }
has_child_windows()1758 bool has_child_windows() const { return at<15>().valid(); }
child_windows()1759 ::protozero::RepeatedFieldIterator<::protozero::ConstBytes> child_windows() const { return GetRepeated<::protozero::ConstBytes>(15); }
has_surface_position()1760 bool has_surface_position() const { return at<16>().valid(); }
surface_position()1761 ::protozero::ConstBytes surface_position() const { return at<16>().as_bytes(); }
has_requested_width()1762 bool has_requested_width() const { return at<18>().valid(); }
requested_width()1763 int32_t requested_width() const { return at<18>().as_int32(); }
has_requested_height()1764 bool has_requested_height() const { return at<19>().valid(); }
requested_height()1765 int32_t requested_height() const { return at<19>().as_int32(); }
has_view_visibility()1766 bool has_view_visibility() const { return at<20>().valid(); }
view_visibility()1767 int32_t view_visibility() const { return at<20>().as_int32(); }
has_system_ui_visibility()1768 bool has_system_ui_visibility() const { return at<21>().valid(); }
system_ui_visibility()1769 int32_t system_ui_visibility() const { return at<21>().as_int32(); }
has_has_surface()1770 bool has_has_surface() const { return at<22>().valid(); }
has_surface()1771 bool has_surface() const { return at<22>().as_bool(); }
has_is_ready_for_display()1772 bool has_is_ready_for_display() const { return at<23>().valid(); }
is_ready_for_display()1773 bool is_ready_for_display() const { return at<23>().as_bool(); }
has_display_frame()1774 bool has_display_frame() const { return at<24>().valid(); }
display_frame()1775 ::protozero::ConstBytes display_frame() const { return at<24>().as_bytes(); }
has_overscan_frame()1776 bool has_overscan_frame() const { return at<25>().valid(); }
overscan_frame()1777 ::protozero::ConstBytes overscan_frame() const { return at<25>().as_bytes(); }
has_visible_frame()1778 bool has_visible_frame() const { return at<26>().valid(); }
visible_frame()1779 ::protozero::ConstBytes visible_frame() const { return at<26>().as_bytes(); }
has_decor_frame()1780 bool has_decor_frame() const { return at<27>().valid(); }
decor_frame()1781 ::protozero::ConstBytes decor_frame() const { return at<27>().as_bytes(); }
has_outset_frame()1782 bool has_outset_frame() const { return at<28>().valid(); }
outset_frame()1783 ::protozero::ConstBytes outset_frame() const { return at<28>().as_bytes(); }
has_overscan_insets()1784 bool has_overscan_insets() const { return at<29>().valid(); }
overscan_insets()1785 ::protozero::ConstBytes overscan_insets() const { return at<29>().as_bytes(); }
has_visible_insets()1786 bool has_visible_insets() const { return at<30>().valid(); }
visible_insets()1787 ::protozero::ConstBytes visible_insets() const { return at<30>().as_bytes(); }
has_stable_insets()1788 bool has_stable_insets() const { return at<31>().valid(); }
stable_insets()1789 ::protozero::ConstBytes stable_insets() const { return at<31>().as_bytes(); }
has_outsets()1790 bool has_outsets() const { return at<32>().valid(); }
outsets()1791 ::protozero::ConstBytes outsets() const { return at<32>().as_bytes(); }
has_cutout()1792 bool has_cutout() const { return at<33>().valid(); }
cutout()1793 ::protozero::ConstBytes cutout() const { return at<33>().as_bytes(); }
has_remove_on_exit()1794 bool has_remove_on_exit() const { return at<34>().valid(); }
remove_on_exit()1795 bool remove_on_exit() const { return at<34>().as_bool(); }
has_destroying()1796 bool has_destroying() const { return at<35>().valid(); }
destroying()1797 bool destroying() const { return at<35>().as_bool(); }
has_removed()1798 bool has_removed() const { return at<36>().valid(); }
removed()1799 bool removed() const { return at<36>().as_bool(); }
has_is_on_screen()1800 bool has_is_on_screen() const { return at<37>().valid(); }
is_on_screen()1801 bool is_on_screen() const { return at<37>().as_bool(); }
has_is_visible()1802 bool has_is_visible() const { return at<38>().valid(); }
is_visible()1803 bool is_visible() const { return at<38>().as_bool(); }
has_pending_seamless_rotation()1804 bool has_pending_seamless_rotation() const { return at<39>().valid(); }
pending_seamless_rotation()1805 bool pending_seamless_rotation() const { return at<39>().as_bool(); }
has_finished_seamless_rotation_frame()1806 bool has_finished_seamless_rotation_frame() const { return at<40>().valid(); }
finished_seamless_rotation_frame()1807 int64_t finished_seamless_rotation_frame() const { return at<40>().as_int64(); }
has_window_frames()1808 bool has_window_frames() const { return at<41>().valid(); }
window_frames()1809 ::protozero::ConstBytes window_frames() const { return at<41>().as_bytes(); }
has_force_seamless_rotation()1810 bool has_force_seamless_rotation() const { return at<42>().valid(); }
force_seamless_rotation()1811 bool force_seamless_rotation() const { return at<42>().as_bool(); }
has_has_compat_scale()1812