1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: frameworks/proto_logging/stats/atoms/sysui/sysui_extension_atoms.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto
6
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
35 #include "frameworks/proto_logging/stats/atoms.pb.h"
36 #include "frameworks/proto_logging/stats/atom_field_options.pb.h"
37 #include "frameworks/proto_logging/stats/enums/telephony/enums.pb.h"
38 #include "frameworks/proto_logging/stats/enums/os/enums.pb.h"
39 // @@protoc_insertion_point(includes)
40 #include <google/protobuf/port_def.inc>
41 #define PROTOBUF_INTERNAL_EXPORT_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto
42 PROTOBUF_NAMESPACE_OPEN
43 namespace internal {
44 class AnyMetadata;
45 } // namespace internal
46 PROTOBUF_NAMESPACE_CLOSE
47
48 // Internal implementation detail -- do not use these members.
49 struct TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto {
50 static const ::uint32_t offsets[];
51 };
52 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto;
53 namespace android {
54 namespace os {
55 namespace statsd {
56 namespace sysui {
57 class CommunalHubSnapshot;
58 struct CommunalHubSnapshotDefaultTypeInternal;
59 extern CommunalHubSnapshotDefaultTypeInternal _CommunalHubSnapshot_default_instance_;
60 class CommunalHubWidgetEventReported;
61 struct CommunalHubWidgetEventReportedDefaultTypeInternal;
62 extern CommunalHubWidgetEventReportedDefaultTypeInternal _CommunalHubWidgetEventReported_default_instance_;
63 class ContextualEducationTriggered;
64 struct ContextualEducationTriggeredDefaultTypeInternal;
65 extern ContextualEducationTriggeredDefaultTypeInternal _ContextualEducationTriggered_default_instance_;
66 class DisplaySwitchLatencyTracked;
67 struct DisplaySwitchLatencyTrackedDefaultTypeInternal;
68 extern DisplaySwitchLatencyTrackedDefaultTypeInternal _DisplaySwitchLatencyTracked_default_instance_;
69 class LauncherImpressionEventV2;
70 struct LauncherImpressionEventV2DefaultTypeInternal;
71 extern LauncherImpressionEventV2DefaultTypeInternal _LauncherImpressionEventV2_default_instance_;
72 class LockscreenShortcutSelected;
73 struct LockscreenShortcutSelectedDefaultTypeInternal;
74 extern LockscreenShortcutSelectedDefaultTypeInternal _LockscreenShortcutSelected_default_instance_;
75 class LockscreenShortcutTriggered;
76 struct LockscreenShortcutTriggeredDefaultTypeInternal;
77 extern LockscreenShortcutTriggeredDefaultTypeInternal _LockscreenShortcutTriggered_default_instance_;
78 class NavHandleTouchPoints;
79 struct NavHandleTouchPointsDefaultTypeInternal;
80 extern NavHandleTouchPointsDefaultTypeInternal _NavHandleTouchPoints_default_instance_;
81 class NotificationListenerService;
82 struct NotificationListenerServiceDefaultTypeInternal;
83 extern NotificationListenerServiceDefaultTypeInternal _NotificationListenerService_default_instance_;
84 class PeripheralTutorialLaunched;
85 struct PeripheralTutorialLaunchedDefaultTypeInternal;
86 extern PeripheralTutorialLaunchedDefaultTypeInternal _PeripheralTutorialLaunched_default_instance_;
87 } // namespace sysui
88 } // namespace statsd
89 } // namespace os
90 } // namespace android
91 PROTOBUF_NAMESPACE_OPEN
92 template<> ::android::os::statsd::sysui::CommunalHubSnapshot* Arena::CreateMaybeMessage<::android::os::statsd::sysui::CommunalHubSnapshot>(Arena*);
93 template<> ::android::os::statsd::sysui::CommunalHubWidgetEventReported* Arena::CreateMaybeMessage<::android::os::statsd::sysui::CommunalHubWidgetEventReported>(Arena*);
94 template<> ::android::os::statsd::sysui::ContextualEducationTriggered* Arena::CreateMaybeMessage<::android::os::statsd::sysui::ContextualEducationTriggered>(Arena*);
95 template<> ::android::os::statsd::sysui::DisplaySwitchLatencyTracked* Arena::CreateMaybeMessage<::android::os::statsd::sysui::DisplaySwitchLatencyTracked>(Arena*);
96 template<> ::android::os::statsd::sysui::LauncherImpressionEventV2* Arena::CreateMaybeMessage<::android::os::statsd::sysui::LauncherImpressionEventV2>(Arena*);
97 template<> ::android::os::statsd::sysui::LockscreenShortcutSelected* Arena::CreateMaybeMessage<::android::os::statsd::sysui::LockscreenShortcutSelected>(Arena*);
98 template<> ::android::os::statsd::sysui::LockscreenShortcutTriggered* Arena::CreateMaybeMessage<::android::os::statsd::sysui::LockscreenShortcutTriggered>(Arena*);
99 template<> ::android::os::statsd::sysui::NavHandleTouchPoints* Arena::CreateMaybeMessage<::android::os::statsd::sysui::NavHandleTouchPoints>(Arena*);
100 template<> ::android::os::statsd::sysui::NotificationListenerService* Arena::CreateMaybeMessage<::android::os::statsd::sysui::NotificationListenerService>(Arena*);
101 template<> ::android::os::statsd::sysui::PeripheralTutorialLaunched* Arena::CreateMaybeMessage<::android::os::statsd::sysui::PeripheralTutorialLaunched>(Arena*);
102 PROTOBUF_NAMESPACE_CLOSE
103 namespace android {
104 namespace os {
105 namespace statsd {
106 namespace sysui {
107
108 enum DisplaySwitchLatencyTracked_StateEnum : int {
109 DisplaySwitchLatencyTracked_StateEnum_UNKNOWN = 0,
110 DisplaySwitchLatencyTracked_StateEnum_AOD = 1,
111 DisplaySwitchLatencyTracked_StateEnum_LOCKSCREEN = 2,
112 DisplaySwitchLatencyTracked_StateEnum_NOTIFICATION_SHADE = 3,
113 DisplaySwitchLatencyTracked_StateEnum_FULL_SCREEN_APP = 4,
114 DisplaySwitchLatencyTracked_StateEnum_SPLIT_SCREEN_APPS = 5,
115 DisplaySwitchLatencyTracked_StateEnum_LAUNCHER = 6,
116 DisplaySwitchLatencyTracked_StateEnum_OVERVIEW = 7,
117 DisplaySwitchLatencyTracked_StateEnum_FREEFORM_APPS = 8,
118 DisplaySwitchLatencyTracked_StateEnum_SCREEN_OFF = 9
119 };
120 bool DisplaySwitchLatencyTracked_StateEnum_IsValid(int value);
121 constexpr DisplaySwitchLatencyTracked_StateEnum DisplaySwitchLatencyTracked_StateEnum_StateEnum_MIN = DisplaySwitchLatencyTracked_StateEnum_UNKNOWN;
122 constexpr DisplaySwitchLatencyTracked_StateEnum DisplaySwitchLatencyTracked_StateEnum_StateEnum_MAX = DisplaySwitchLatencyTracked_StateEnum_SCREEN_OFF;
123 constexpr int DisplaySwitchLatencyTracked_StateEnum_StateEnum_ARRAYSIZE = DisplaySwitchLatencyTracked_StateEnum_StateEnum_MAX + 1;
124
125 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* DisplaySwitchLatencyTracked_StateEnum_descriptor();
126 template<typename T>
DisplaySwitchLatencyTracked_StateEnum_Name(T enum_t_value)127 inline const std::string& DisplaySwitchLatencyTracked_StateEnum_Name(T enum_t_value) {
128 static_assert(::std::is_same<T, DisplaySwitchLatencyTracked_StateEnum>::value ||
129 ::std::is_integral<T>::value,
130 "Incorrect type passed to function DisplaySwitchLatencyTracked_StateEnum_Name.");
131 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
132 DisplaySwitchLatencyTracked_StateEnum_descriptor(), enum_t_value);
133 }
DisplaySwitchLatencyTracked_StateEnum_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,DisplaySwitchLatencyTracked_StateEnum * value)134 inline bool DisplaySwitchLatencyTracked_StateEnum_Parse(
135 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, DisplaySwitchLatencyTracked_StateEnum* value) {
136 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<DisplaySwitchLatencyTracked_StateEnum>(
137 DisplaySwitchLatencyTracked_StateEnum_descriptor(), name, value);
138 }
139 enum CommunalHubWidgetEventReported_Action : int {
140 CommunalHubWidgetEventReported_Action_UNKNOWN = 0,
141 CommunalHubWidgetEventReported_Action_ADD = 1,
142 CommunalHubWidgetEventReported_Action_REMOVE = 2,
143 CommunalHubWidgetEventReported_Action_TAP = 3,
144 CommunalHubWidgetEventReported_Action_RESIZE = 4
145 };
146 bool CommunalHubWidgetEventReported_Action_IsValid(int value);
147 constexpr CommunalHubWidgetEventReported_Action CommunalHubWidgetEventReported_Action_Action_MIN = CommunalHubWidgetEventReported_Action_UNKNOWN;
148 constexpr CommunalHubWidgetEventReported_Action CommunalHubWidgetEventReported_Action_Action_MAX = CommunalHubWidgetEventReported_Action_RESIZE;
149 constexpr int CommunalHubWidgetEventReported_Action_Action_ARRAYSIZE = CommunalHubWidgetEventReported_Action_Action_MAX + 1;
150
151 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* CommunalHubWidgetEventReported_Action_descriptor();
152 template<typename T>
CommunalHubWidgetEventReported_Action_Name(T enum_t_value)153 inline const std::string& CommunalHubWidgetEventReported_Action_Name(T enum_t_value) {
154 static_assert(::std::is_same<T, CommunalHubWidgetEventReported_Action>::value ||
155 ::std::is_integral<T>::value,
156 "Incorrect type passed to function CommunalHubWidgetEventReported_Action_Name.");
157 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
158 CommunalHubWidgetEventReported_Action_descriptor(), enum_t_value);
159 }
CommunalHubWidgetEventReported_Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,CommunalHubWidgetEventReported_Action * value)160 inline bool CommunalHubWidgetEventReported_Action_Parse(
161 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, CommunalHubWidgetEventReported_Action* value) {
162 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<CommunalHubWidgetEventReported_Action>(
163 CommunalHubWidgetEventReported_Action_descriptor(), name, value);
164 }
165 enum ContextualEducationTriggered_EducationType : int {
166 ContextualEducationTriggered_EducationType_EDU_TYPE_UNSPECIFIED = 0,
167 ContextualEducationTriggered_EducationType_TOAST = 1,
168 ContextualEducationTriggered_EducationType_NOTIFICATION = 2
169 };
170 bool ContextualEducationTriggered_EducationType_IsValid(int value);
171 constexpr ContextualEducationTriggered_EducationType ContextualEducationTriggered_EducationType_EducationType_MIN = ContextualEducationTriggered_EducationType_EDU_TYPE_UNSPECIFIED;
172 constexpr ContextualEducationTriggered_EducationType ContextualEducationTriggered_EducationType_EducationType_MAX = ContextualEducationTriggered_EducationType_NOTIFICATION;
173 constexpr int ContextualEducationTriggered_EducationType_EducationType_ARRAYSIZE = ContextualEducationTriggered_EducationType_EducationType_MAX + 1;
174
175 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContextualEducationTriggered_EducationType_descriptor();
176 template<typename T>
ContextualEducationTriggered_EducationType_Name(T enum_t_value)177 inline const std::string& ContextualEducationTriggered_EducationType_Name(T enum_t_value) {
178 static_assert(::std::is_same<T, ContextualEducationTriggered_EducationType>::value ||
179 ::std::is_integral<T>::value,
180 "Incorrect type passed to function ContextualEducationTriggered_EducationType_Name.");
181 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
182 ContextualEducationTriggered_EducationType_descriptor(), enum_t_value);
183 }
ContextualEducationTriggered_EducationType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,ContextualEducationTriggered_EducationType * value)184 inline bool ContextualEducationTriggered_EducationType_Parse(
185 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ContextualEducationTriggered_EducationType* value) {
186 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ContextualEducationTriggered_EducationType>(
187 ContextualEducationTriggered_EducationType_descriptor(), name, value);
188 }
189 enum ContextualEducationTriggered_GestureType : int {
190 ContextualEducationTriggered_GestureType_GESTURE_TYPE_UNSPECIFIED = 0,
191 ContextualEducationTriggered_GestureType_BACK = 1,
192 ContextualEducationTriggered_GestureType_HOME = 2,
193 ContextualEducationTriggered_GestureType_OVERVIEW = 3,
194 ContextualEducationTriggered_GestureType_ALL_APPS = 4
195 };
196 bool ContextualEducationTriggered_GestureType_IsValid(int value);
197 constexpr ContextualEducationTriggered_GestureType ContextualEducationTriggered_GestureType_GestureType_MIN = ContextualEducationTriggered_GestureType_GESTURE_TYPE_UNSPECIFIED;
198 constexpr ContextualEducationTriggered_GestureType ContextualEducationTriggered_GestureType_GestureType_MAX = ContextualEducationTriggered_GestureType_ALL_APPS;
199 constexpr int ContextualEducationTriggered_GestureType_GestureType_ARRAYSIZE = ContextualEducationTriggered_GestureType_GestureType_MAX + 1;
200
201 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* ContextualEducationTriggered_GestureType_descriptor();
202 template<typename T>
ContextualEducationTriggered_GestureType_Name(T enum_t_value)203 inline const std::string& ContextualEducationTriggered_GestureType_Name(T enum_t_value) {
204 static_assert(::std::is_same<T, ContextualEducationTriggered_GestureType>::value ||
205 ::std::is_integral<T>::value,
206 "Incorrect type passed to function ContextualEducationTriggered_GestureType_Name.");
207 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
208 ContextualEducationTriggered_GestureType_descriptor(), enum_t_value);
209 }
ContextualEducationTriggered_GestureType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,ContextualEducationTriggered_GestureType * value)210 inline bool ContextualEducationTriggered_GestureType_Parse(
211 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ContextualEducationTriggered_GestureType* value) {
212 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<ContextualEducationTriggered_GestureType>(
213 ContextualEducationTriggered_GestureType_descriptor(), name, value);
214 }
215 enum PeripheralTutorialLaunched_EntryPoint : int {
216 PeripheralTutorialLaunched_EntryPoint_UNSPECIFIED_ENTRY = 0,
217 PeripheralTutorialLaunched_EntryPoint_SETTINGS = 1,
218 PeripheralTutorialLaunched_EntryPoint_SCHEDULED = 2,
219 PeripheralTutorialLaunched_EntryPoint_CONTEXTUAL_EDU = 3,
220 PeripheralTutorialLaunched_EntryPoint_APP = 4
221 };
222 bool PeripheralTutorialLaunched_EntryPoint_IsValid(int value);
223 constexpr PeripheralTutorialLaunched_EntryPoint PeripheralTutorialLaunched_EntryPoint_EntryPoint_MIN = PeripheralTutorialLaunched_EntryPoint_UNSPECIFIED_ENTRY;
224 constexpr PeripheralTutorialLaunched_EntryPoint PeripheralTutorialLaunched_EntryPoint_EntryPoint_MAX = PeripheralTutorialLaunched_EntryPoint_APP;
225 constexpr int PeripheralTutorialLaunched_EntryPoint_EntryPoint_ARRAYSIZE = PeripheralTutorialLaunched_EntryPoint_EntryPoint_MAX + 1;
226
227 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PeripheralTutorialLaunched_EntryPoint_descriptor();
228 template<typename T>
PeripheralTutorialLaunched_EntryPoint_Name(T enum_t_value)229 inline const std::string& PeripheralTutorialLaunched_EntryPoint_Name(T enum_t_value) {
230 static_assert(::std::is_same<T, PeripheralTutorialLaunched_EntryPoint>::value ||
231 ::std::is_integral<T>::value,
232 "Incorrect type passed to function PeripheralTutorialLaunched_EntryPoint_Name.");
233 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
234 PeripheralTutorialLaunched_EntryPoint_descriptor(), enum_t_value);
235 }
PeripheralTutorialLaunched_EntryPoint_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,PeripheralTutorialLaunched_EntryPoint * value)236 inline bool PeripheralTutorialLaunched_EntryPoint_Parse(
237 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PeripheralTutorialLaunched_EntryPoint* value) {
238 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PeripheralTutorialLaunched_EntryPoint>(
239 PeripheralTutorialLaunched_EntryPoint_descriptor(), name, value);
240 }
241 enum PeripheralTutorialLaunched_TutorialType : int {
242 PeripheralTutorialLaunched_TutorialType_UNSPECIFIED_TYPE = 0,
243 PeripheralTutorialLaunched_TutorialType_KEYBOARD = 1,
244 PeripheralTutorialLaunched_TutorialType_TOUCHPAD = 2,
245 PeripheralTutorialLaunched_TutorialType_BOTH = 3
246 };
247 bool PeripheralTutorialLaunched_TutorialType_IsValid(int value);
248 constexpr PeripheralTutorialLaunched_TutorialType PeripheralTutorialLaunched_TutorialType_TutorialType_MIN = PeripheralTutorialLaunched_TutorialType_UNSPECIFIED_TYPE;
249 constexpr PeripheralTutorialLaunched_TutorialType PeripheralTutorialLaunched_TutorialType_TutorialType_MAX = PeripheralTutorialLaunched_TutorialType_BOTH;
250 constexpr int PeripheralTutorialLaunched_TutorialType_TutorialType_ARRAYSIZE = PeripheralTutorialLaunched_TutorialType_TutorialType_MAX + 1;
251
252 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* PeripheralTutorialLaunched_TutorialType_descriptor();
253 template<typename T>
PeripheralTutorialLaunched_TutorialType_Name(T enum_t_value)254 inline const std::string& PeripheralTutorialLaunched_TutorialType_Name(T enum_t_value) {
255 static_assert(::std::is_same<T, PeripheralTutorialLaunched_TutorialType>::value ||
256 ::std::is_integral<T>::value,
257 "Incorrect type passed to function PeripheralTutorialLaunched_TutorialType_Name.");
258 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
259 PeripheralTutorialLaunched_TutorialType_descriptor(), enum_t_value);
260 }
PeripheralTutorialLaunched_TutorialType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,PeripheralTutorialLaunched_TutorialType * value)261 inline bool PeripheralTutorialLaunched_TutorialType_Parse(
262 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, PeripheralTutorialLaunched_TutorialType* value) {
263 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<PeripheralTutorialLaunched_TutorialType>(
264 PeripheralTutorialLaunched_TutorialType_descriptor(), name, value);
265 }
266 // ===================================================================
267
268 class LockscreenShortcutSelected final :
269 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.sysui.LockscreenShortcutSelected) */ {
270 public:
LockscreenShortcutSelected()271 inline LockscreenShortcutSelected() : LockscreenShortcutSelected(nullptr) {}
272 ~LockscreenShortcutSelected() override;
273 explicit PROTOBUF_CONSTEXPR LockscreenShortcutSelected(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
274
275 LockscreenShortcutSelected(const LockscreenShortcutSelected& from);
LockscreenShortcutSelected(LockscreenShortcutSelected && from)276 LockscreenShortcutSelected(LockscreenShortcutSelected&& from) noexcept
277 : LockscreenShortcutSelected() {
278 *this = ::std::move(from);
279 }
280
281 inline LockscreenShortcutSelected& operator=(const LockscreenShortcutSelected& from) {
282 if (this == &from) return *this;
283 CopyFrom(from);
284 return *this;
285 }
286 inline LockscreenShortcutSelected& operator=(LockscreenShortcutSelected&& from) noexcept {
287 if (this == &from) return *this;
288 if (GetOwningArena() == from.GetOwningArena()
289 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
290 && GetOwningArena() != nullptr
291 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
292 ) {
293 InternalSwap(&from);
294 } else {
295 CopyFrom(from);
296 }
297 return *this;
298 }
299
unknown_fields()300 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
301 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
302 }
mutable_unknown_fields()303 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
304 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
305 }
306
descriptor()307 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
308 return GetDescriptor();
309 }
GetDescriptor()310 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
311 return default_instance().GetMetadata().descriptor;
312 }
GetReflection()313 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
314 return default_instance().GetMetadata().reflection;
315 }
default_instance()316 static const LockscreenShortcutSelected& default_instance() {
317 return *internal_default_instance();
318 }
internal_default_instance()319 static inline const LockscreenShortcutSelected* internal_default_instance() {
320 return reinterpret_cast<const LockscreenShortcutSelected*>(
321 &_LockscreenShortcutSelected_default_instance_);
322 }
323 static constexpr int kIndexInFileMessages =
324 0;
325
swap(LockscreenShortcutSelected & a,LockscreenShortcutSelected & b)326 friend void swap(LockscreenShortcutSelected& a, LockscreenShortcutSelected& b) {
327 a.Swap(&b);
328 }
Swap(LockscreenShortcutSelected * other)329 inline void Swap(LockscreenShortcutSelected* other) {
330 if (other == this) return;
331 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
332 if (GetOwningArena() != nullptr &&
333 GetOwningArena() == other->GetOwningArena()) {
334 #else // PROTOBUF_FORCE_COPY_IN_SWAP
335 if (GetOwningArena() == other->GetOwningArena()) {
336 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
337 InternalSwap(other);
338 } else {
339 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
340 }
341 }
342 void UnsafeArenaSwap(LockscreenShortcutSelected* other) {
343 if (other == this) return;
344 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
345 InternalSwap(other);
346 }
347
348 // implements Message ----------------------------------------------
349
350 LockscreenShortcutSelected* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
351 return CreateMaybeMessage<LockscreenShortcutSelected>(arena);
352 }
353 LockscreenShortcutSelected* New() const {
354 return New(nullptr);
355 }
356 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
357 void CopyFrom(const LockscreenShortcutSelected& from);
358 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
359 void MergeFrom( const LockscreenShortcutSelected& from) {
360 LockscreenShortcutSelected::MergeImpl(*this, from);
361 }
362 private:
363 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
364 public:
365 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
366 bool IsInitialized() const final;
367
368 size_t ByteSizeLong() const final;
369 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
370 ::uint8_t* _InternalSerialize(
371 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
372 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
373
374 private:
375 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
376 void SharedDtor();
377 void SetCachedSize(int size) const final;
378 void InternalSwap(LockscreenShortcutSelected* other);
379
380 private:
381 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
382 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
383 return "android.os.statsd.sysui.LockscreenShortcutSelected";
384 }
385 protected:
386 explicit LockscreenShortcutSelected(::PROTOBUF_NAMESPACE_ID::Arena* arena,
387 bool is_message_owned = false);
388 public:
389
390 static const ClassData _class_data_;
391 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
392
393 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
394
395 // nested types ----------------------------------------------------
396
397 // accessors -------------------------------------------------------
398
399 enum : int {
400 kSlotIdFieldNumber = 1,
401 kAffordanceIdFieldNumber = 2,
402 };
403 // optional string slot_id = 1;
404 bool has_slot_id() const;
405 private:
406 bool _internal_has_slot_id() const;
407 public:
408 void clear_slot_id();
409 const std::string& slot_id() const;
410 template <typename ArgT0 = const std::string&, typename... ArgT>
411 void set_slot_id(ArgT0&& arg0, ArgT... args);
412 std::string* mutable_slot_id();
413 PROTOBUF_NODISCARD std::string* release_slot_id();
414 void set_allocated_slot_id(std::string* slot_id);
415 private:
416 const std::string& _internal_slot_id() const;
417 inline PROTOBUF_ALWAYS_INLINE void _internal_set_slot_id(const std::string& value);
418 std::string* _internal_mutable_slot_id();
419 public:
420
421 // optional string affordance_id = 2;
422 bool has_affordance_id() const;
423 private:
424 bool _internal_has_affordance_id() const;
425 public:
426 void clear_affordance_id();
427 const std::string& affordance_id() const;
428 template <typename ArgT0 = const std::string&, typename... ArgT>
429 void set_affordance_id(ArgT0&& arg0, ArgT... args);
430 std::string* mutable_affordance_id();
431 PROTOBUF_NODISCARD std::string* release_affordance_id();
432 void set_allocated_affordance_id(std::string* affordance_id);
433 private:
434 const std::string& _internal_affordance_id() const;
435 inline PROTOBUF_ALWAYS_INLINE void _internal_set_affordance_id(const std::string& value);
436 std::string* _internal_mutable_affordance_id();
437 public:
438
439 // @@protoc_insertion_point(class_scope:android.os.statsd.sysui.LockscreenShortcutSelected)
440 private:
441 class _Internal;
442
443 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
444 typedef void InternalArenaConstructable_;
445 typedef void DestructorSkippable_;
446 struct Impl_ {
447 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
448 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
449 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr slot_id_;
450 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr affordance_id_;
451 };
452 union { Impl_ _impl_; };
453 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto;
454 };
455 // -------------------------------------------------------------------
456
457 class LockscreenShortcutTriggered final :
458 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.sysui.LockscreenShortcutTriggered) */ {
459 public:
LockscreenShortcutTriggered()460 inline LockscreenShortcutTriggered() : LockscreenShortcutTriggered(nullptr) {}
461 ~LockscreenShortcutTriggered() override;
462 explicit PROTOBUF_CONSTEXPR LockscreenShortcutTriggered(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
463
464 LockscreenShortcutTriggered(const LockscreenShortcutTriggered& from);
LockscreenShortcutTriggered(LockscreenShortcutTriggered && from)465 LockscreenShortcutTriggered(LockscreenShortcutTriggered&& from) noexcept
466 : LockscreenShortcutTriggered() {
467 *this = ::std::move(from);
468 }
469
470 inline LockscreenShortcutTriggered& operator=(const LockscreenShortcutTriggered& from) {
471 if (this == &from) return *this;
472 CopyFrom(from);
473 return *this;
474 }
475 inline LockscreenShortcutTriggered& operator=(LockscreenShortcutTriggered&& from) noexcept {
476 if (this == &from) return *this;
477 if (GetOwningArena() == from.GetOwningArena()
478 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
479 && GetOwningArena() != nullptr
480 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
481 ) {
482 InternalSwap(&from);
483 } else {
484 CopyFrom(from);
485 }
486 return *this;
487 }
488
unknown_fields()489 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
490 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
491 }
mutable_unknown_fields()492 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
493 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
494 }
495
descriptor()496 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
497 return GetDescriptor();
498 }
GetDescriptor()499 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
500 return default_instance().GetMetadata().descriptor;
501 }
GetReflection()502 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
503 return default_instance().GetMetadata().reflection;
504 }
default_instance()505 static const LockscreenShortcutTriggered& default_instance() {
506 return *internal_default_instance();
507 }
internal_default_instance()508 static inline const LockscreenShortcutTriggered* internal_default_instance() {
509 return reinterpret_cast<const LockscreenShortcutTriggered*>(
510 &_LockscreenShortcutTriggered_default_instance_);
511 }
512 static constexpr int kIndexInFileMessages =
513 1;
514
swap(LockscreenShortcutTriggered & a,LockscreenShortcutTriggered & b)515 friend void swap(LockscreenShortcutTriggered& a, LockscreenShortcutTriggered& b) {
516 a.Swap(&b);
517 }
Swap(LockscreenShortcutTriggered * other)518 inline void Swap(LockscreenShortcutTriggered* other) {
519 if (other == this) return;
520 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
521 if (GetOwningArena() != nullptr &&
522 GetOwningArena() == other->GetOwningArena()) {
523 #else // PROTOBUF_FORCE_COPY_IN_SWAP
524 if (GetOwningArena() == other->GetOwningArena()) {
525 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
526 InternalSwap(other);
527 } else {
528 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
529 }
530 }
531 void UnsafeArenaSwap(LockscreenShortcutTriggered* other) {
532 if (other == this) return;
533 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
534 InternalSwap(other);
535 }
536
537 // implements Message ----------------------------------------------
538
539 LockscreenShortcutTriggered* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
540 return CreateMaybeMessage<LockscreenShortcutTriggered>(arena);
541 }
542 LockscreenShortcutTriggered* New() const {
543 return New(nullptr);
544 }
545 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
546 void CopyFrom(const LockscreenShortcutTriggered& from);
547 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
548 void MergeFrom( const LockscreenShortcutTriggered& from) {
549 LockscreenShortcutTriggered::MergeImpl(*this, from);
550 }
551 private:
552 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
553 public:
554 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
555 bool IsInitialized() const final;
556
557 size_t ByteSizeLong() const final;
558 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
559 ::uint8_t* _InternalSerialize(
560 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
561 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
562
563 private:
564 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
565 void SharedDtor();
566 void SetCachedSize(int size) const final;
567 void InternalSwap(LockscreenShortcutTriggered* other);
568
569 private:
570 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
571 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
572 return "android.os.statsd.sysui.LockscreenShortcutTriggered";
573 }
574 protected:
575 explicit LockscreenShortcutTriggered(::PROTOBUF_NAMESPACE_ID::Arena* arena,
576 bool is_message_owned = false);
577 public:
578
579 static const ClassData _class_data_;
580 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
581
582 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
583
584 // nested types ----------------------------------------------------
585
586 // accessors -------------------------------------------------------
587
588 enum : int {
589 kSlotIdFieldNumber = 1,
590 kAffordanceIdFieldNumber = 2,
591 };
592 // optional string slot_id = 1;
593 bool has_slot_id() const;
594 private:
595 bool _internal_has_slot_id() const;
596 public:
597 void clear_slot_id();
598 const std::string& slot_id() const;
599 template <typename ArgT0 = const std::string&, typename... ArgT>
600 void set_slot_id(ArgT0&& arg0, ArgT... args);
601 std::string* mutable_slot_id();
602 PROTOBUF_NODISCARD std::string* release_slot_id();
603 void set_allocated_slot_id(std::string* slot_id);
604 private:
605 const std::string& _internal_slot_id() const;
606 inline PROTOBUF_ALWAYS_INLINE void _internal_set_slot_id(const std::string& value);
607 std::string* _internal_mutable_slot_id();
608 public:
609
610 // optional string affordance_id = 2;
611 bool has_affordance_id() const;
612 private:
613 bool _internal_has_affordance_id() const;
614 public:
615 void clear_affordance_id();
616 const std::string& affordance_id() const;
617 template <typename ArgT0 = const std::string&, typename... ArgT>
618 void set_affordance_id(ArgT0&& arg0, ArgT... args);
619 std::string* mutable_affordance_id();
620 PROTOBUF_NODISCARD std::string* release_affordance_id();
621 void set_allocated_affordance_id(std::string* affordance_id);
622 private:
623 const std::string& _internal_affordance_id() const;
624 inline PROTOBUF_ALWAYS_INLINE void _internal_set_affordance_id(const std::string& value);
625 std::string* _internal_mutable_affordance_id();
626 public:
627
628 // @@protoc_insertion_point(class_scope:android.os.statsd.sysui.LockscreenShortcutTriggered)
629 private:
630 class _Internal;
631
632 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
633 typedef void InternalArenaConstructable_;
634 typedef void DestructorSkippable_;
635 struct Impl_ {
636 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
637 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
638 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr slot_id_;
639 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr affordance_id_;
640 };
641 union { Impl_ _impl_; };
642 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto;
643 };
644 // -------------------------------------------------------------------
645
646 class LauncherImpressionEventV2 final :
647 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.sysui.LauncherImpressionEventV2) */ {
648 public:
LauncherImpressionEventV2()649 inline LauncherImpressionEventV2() : LauncherImpressionEventV2(nullptr) {}
650 ~LauncherImpressionEventV2() override;
651 explicit PROTOBUF_CONSTEXPR LauncherImpressionEventV2(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
652
653 LauncherImpressionEventV2(const LauncherImpressionEventV2& from);
LauncherImpressionEventV2(LauncherImpressionEventV2 && from)654 LauncherImpressionEventV2(LauncherImpressionEventV2&& from) noexcept
655 : LauncherImpressionEventV2() {
656 *this = ::std::move(from);
657 }
658
659 inline LauncherImpressionEventV2& operator=(const LauncherImpressionEventV2& from) {
660 if (this == &from) return *this;
661 CopyFrom(from);
662 return *this;
663 }
664 inline LauncherImpressionEventV2& operator=(LauncherImpressionEventV2&& from) noexcept {
665 if (this == &from) return *this;
666 if (GetOwningArena() == from.GetOwningArena()
667 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
668 && GetOwningArena() != nullptr
669 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
670 ) {
671 InternalSwap(&from);
672 } else {
673 CopyFrom(from);
674 }
675 return *this;
676 }
677
unknown_fields()678 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
679 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
680 }
mutable_unknown_fields()681 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
682 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
683 }
684
descriptor()685 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
686 return GetDescriptor();
687 }
GetDescriptor()688 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
689 return default_instance().GetMetadata().descriptor;
690 }
GetReflection()691 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
692 return default_instance().GetMetadata().reflection;
693 }
default_instance()694 static const LauncherImpressionEventV2& default_instance() {
695 return *internal_default_instance();
696 }
internal_default_instance()697 static inline const LauncherImpressionEventV2* internal_default_instance() {
698 return reinterpret_cast<const LauncherImpressionEventV2*>(
699 &_LauncherImpressionEventV2_default_instance_);
700 }
701 static constexpr int kIndexInFileMessages =
702 2;
703
swap(LauncherImpressionEventV2 & a,LauncherImpressionEventV2 & b)704 friend void swap(LauncherImpressionEventV2& a, LauncherImpressionEventV2& b) {
705 a.Swap(&b);
706 }
Swap(LauncherImpressionEventV2 * other)707 inline void Swap(LauncherImpressionEventV2* other) {
708 if (other == this) return;
709 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
710 if (GetOwningArena() != nullptr &&
711 GetOwningArena() == other->GetOwningArena()) {
712 #else // PROTOBUF_FORCE_COPY_IN_SWAP
713 if (GetOwningArena() == other->GetOwningArena()) {
714 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
715 InternalSwap(other);
716 } else {
717 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
718 }
719 }
720 void UnsafeArenaSwap(LauncherImpressionEventV2* other) {
721 if (other == this) return;
722 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
723 InternalSwap(other);
724 }
725
726 // implements Message ----------------------------------------------
727
728 LauncherImpressionEventV2* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
729 return CreateMaybeMessage<LauncherImpressionEventV2>(arena);
730 }
731 LauncherImpressionEventV2* New() const {
732 return New(nullptr);
733 }
734 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
735 void CopyFrom(const LauncherImpressionEventV2& from);
736 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
737 void MergeFrom( const LauncherImpressionEventV2& from) {
738 LauncherImpressionEventV2::MergeImpl(*this, from);
739 }
740 private:
741 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
742 public:
743 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
744 bool IsInitialized() const final;
745
746 size_t ByteSizeLong() const final;
747 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
748 ::uint8_t* _InternalSerialize(
749 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
750 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
751
752 private:
753 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
754 void SharedDtor();
755 void SetCachedSize(int size) const final;
756 void InternalSwap(LauncherImpressionEventV2* other);
757
758 private:
759 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
760 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
761 return "android.os.statsd.sysui.LauncherImpressionEventV2";
762 }
763 protected:
764 explicit LauncherImpressionEventV2(::PROTOBUF_NAMESPACE_ID::Arena* arena,
765 bool is_message_owned = false);
766 public:
767
768 static const ClassData _class_data_;
769 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
770
771 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
772
773 // nested types ----------------------------------------------------
774
775 // accessors -------------------------------------------------------
776
777 enum : int {
778 kEventIdFieldNumber = 1,
779 kInstanceIdFieldNumber = 2,
780 kStateFieldNumber = 3,
781 kResultTypeFieldNumber = 5,
782 kIsVisibleFieldNumber = 6,
783 kUidFieldNumber = 7,
784 kResultSourceFieldNumber = 8,
785 kQueryLengthFieldNumber = 4,
786 };
787 // optional int32 event_id = 1;
788 bool has_event_id() const;
789 private:
790 bool _internal_has_event_id() const;
791 public:
792 void clear_event_id();
793 ::int32_t event_id() const;
794 void set_event_id(::int32_t value);
795 private:
796 ::int32_t _internal_event_id() const;
797 void _internal_set_event_id(::int32_t value);
798 public:
799
800 // optional int32 instance_id = 2;
801 bool has_instance_id() const;
802 private:
803 bool _internal_has_instance_id() const;
804 public:
805 void clear_instance_id();
806 ::int32_t instance_id() const;
807 void set_instance_id(::int32_t value);
808 private:
809 ::int32_t _internal_instance_id() const;
810 void _internal_set_instance_id(::int32_t value);
811 public:
812
813 // optional int32 state = 3;
814 bool has_state() const;
815 private:
816 bool _internal_has_state() const;
817 public:
818 void clear_state();
819 ::int32_t state() const;
820 void set_state(::int32_t value);
821 private:
822 ::int32_t _internal_state() const;
823 void _internal_set_state(::int32_t value);
824 public:
825
826 // optional int32 result_type = 5;
827 bool has_result_type() const;
828 private:
829 bool _internal_has_result_type() const;
830 public:
831 void clear_result_type();
832 ::int32_t result_type() const;
833 void set_result_type(::int32_t value);
834 private:
835 ::int32_t _internal_result_type() const;
836 void _internal_set_result_type(::int32_t value);
837 public:
838
839 // optional bool is_visible = 6;
840 bool has_is_visible() const;
841 private:
842 bool _internal_has_is_visible() const;
843 public:
844 void clear_is_visible();
845 bool is_visible() const;
846 void set_is_visible(bool value);
847 private:
848 bool _internal_is_visible() const;
849 void _internal_set_is_visible(bool value);
850 public:
851
852 // optional int32 uid = 7 [(.android.os.statsd.is_uid) = true];
853 bool has_uid() const;
854 private:
855 bool _internal_has_uid() const;
856 public:
857 void clear_uid();
858 ::int32_t uid() const;
859 void set_uid(::int32_t value);
860 private:
861 ::int32_t _internal_uid() const;
862 void _internal_set_uid(::int32_t value);
863 public:
864
865 // optional int32 result_source = 8;
866 bool has_result_source() const;
867 private:
868 bool _internal_has_result_source() const;
869 public:
870 void clear_result_source();
871 ::int32_t result_source() const;
872 void set_result_source(::int32_t value);
873 private:
874 ::int32_t _internal_result_source() const;
875 void _internal_set_result_source(::int32_t value);
876 public:
877
878 // optional int32 query_length = 4 [default = -1];
879 bool has_query_length() const;
880 private:
881 bool _internal_has_query_length() const;
882 public:
883 void clear_query_length();
884 ::int32_t query_length() const;
885 void set_query_length(::int32_t value);
886 private:
887 ::int32_t _internal_query_length() const;
888 void _internal_set_query_length(::int32_t value);
889 public:
890
891 // @@protoc_insertion_point(class_scope:android.os.statsd.sysui.LauncherImpressionEventV2)
892 private:
893 class _Internal;
894
895 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
896 typedef void InternalArenaConstructable_;
897 typedef void DestructorSkippable_;
898 struct Impl_ {
899 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
900 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
901 ::int32_t event_id_;
902 ::int32_t instance_id_;
903 ::int32_t state_;
904 ::int32_t result_type_;
905 bool is_visible_;
906 ::int32_t uid_;
907 ::int32_t result_source_;
908 ::int32_t query_length_;
909 };
910 union { Impl_ _impl_; };
911 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto;
912 };
913 // -------------------------------------------------------------------
914
915 class DisplaySwitchLatencyTracked final :
916 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.sysui.DisplaySwitchLatencyTracked) */ {
917 public:
DisplaySwitchLatencyTracked()918 inline DisplaySwitchLatencyTracked() : DisplaySwitchLatencyTracked(nullptr) {}
919 ~DisplaySwitchLatencyTracked() override;
920 explicit PROTOBUF_CONSTEXPR DisplaySwitchLatencyTracked(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
921
922 DisplaySwitchLatencyTracked(const DisplaySwitchLatencyTracked& from);
DisplaySwitchLatencyTracked(DisplaySwitchLatencyTracked && from)923 DisplaySwitchLatencyTracked(DisplaySwitchLatencyTracked&& from) noexcept
924 : DisplaySwitchLatencyTracked() {
925 *this = ::std::move(from);
926 }
927
928 inline DisplaySwitchLatencyTracked& operator=(const DisplaySwitchLatencyTracked& from) {
929 if (this == &from) return *this;
930 CopyFrom(from);
931 return *this;
932 }
933 inline DisplaySwitchLatencyTracked& operator=(DisplaySwitchLatencyTracked&& from) noexcept {
934 if (this == &from) return *this;
935 if (GetOwningArena() == from.GetOwningArena()
936 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
937 && GetOwningArena() != nullptr
938 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
939 ) {
940 InternalSwap(&from);
941 } else {
942 CopyFrom(from);
943 }
944 return *this;
945 }
946
unknown_fields()947 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
948 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
949 }
mutable_unknown_fields()950 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
951 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
952 }
953
descriptor()954 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
955 return GetDescriptor();
956 }
GetDescriptor()957 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
958 return default_instance().GetMetadata().descriptor;
959 }
GetReflection()960 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
961 return default_instance().GetMetadata().reflection;
962 }
default_instance()963 static const DisplaySwitchLatencyTracked& default_instance() {
964 return *internal_default_instance();
965 }
internal_default_instance()966 static inline const DisplaySwitchLatencyTracked* internal_default_instance() {
967 return reinterpret_cast<const DisplaySwitchLatencyTracked*>(
968 &_DisplaySwitchLatencyTracked_default_instance_);
969 }
970 static constexpr int kIndexInFileMessages =
971 3;
972
swap(DisplaySwitchLatencyTracked & a,DisplaySwitchLatencyTracked & b)973 friend void swap(DisplaySwitchLatencyTracked& a, DisplaySwitchLatencyTracked& b) {
974 a.Swap(&b);
975 }
Swap(DisplaySwitchLatencyTracked * other)976 inline void Swap(DisplaySwitchLatencyTracked* other) {
977 if (other == this) return;
978 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
979 if (GetOwningArena() != nullptr &&
980 GetOwningArena() == other->GetOwningArena()) {
981 #else // PROTOBUF_FORCE_COPY_IN_SWAP
982 if (GetOwningArena() == other->GetOwningArena()) {
983 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
984 InternalSwap(other);
985 } else {
986 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
987 }
988 }
989 void UnsafeArenaSwap(DisplaySwitchLatencyTracked* other) {
990 if (other == this) return;
991 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
992 InternalSwap(other);
993 }
994
995 // implements Message ----------------------------------------------
996
997 DisplaySwitchLatencyTracked* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
998 return CreateMaybeMessage<DisplaySwitchLatencyTracked>(arena);
999 }
1000 DisplaySwitchLatencyTracked* New() const {
1001 return New(nullptr);
1002 }
1003 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1004 void CopyFrom(const DisplaySwitchLatencyTracked& from);
1005 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1006 void MergeFrom( const DisplaySwitchLatencyTracked& from) {
1007 DisplaySwitchLatencyTracked::MergeImpl(*this, from);
1008 }
1009 private:
1010 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1011 public:
1012 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1013 bool IsInitialized() const final;
1014
1015 size_t ByteSizeLong() const final;
1016 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1017 ::uint8_t* _InternalSerialize(
1018 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1019 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1020
1021 private:
1022 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1023 void SharedDtor();
1024 void SetCachedSize(int size) const final;
1025 void InternalSwap(DisplaySwitchLatencyTracked* other);
1026
1027 private:
1028 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1029 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1030 return "android.os.statsd.sysui.DisplaySwitchLatencyTracked";
1031 }
1032 protected:
1033 explicit DisplaySwitchLatencyTracked(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1034 bool is_message_owned = false);
1035 public:
1036
1037 static const ClassData _class_data_;
1038 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1039
1040 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1041
1042 // nested types ----------------------------------------------------
1043
1044 typedef DisplaySwitchLatencyTracked_StateEnum StateEnum;
1045 static constexpr StateEnum UNKNOWN =
1046 DisplaySwitchLatencyTracked_StateEnum_UNKNOWN;
1047 static constexpr StateEnum AOD =
1048 DisplaySwitchLatencyTracked_StateEnum_AOD;
1049 static constexpr StateEnum LOCKSCREEN =
1050 DisplaySwitchLatencyTracked_StateEnum_LOCKSCREEN;
1051 static constexpr StateEnum NOTIFICATION_SHADE =
1052 DisplaySwitchLatencyTracked_StateEnum_NOTIFICATION_SHADE;
1053 static constexpr StateEnum FULL_SCREEN_APP =
1054 DisplaySwitchLatencyTracked_StateEnum_FULL_SCREEN_APP;
1055 static constexpr StateEnum SPLIT_SCREEN_APPS =
1056 DisplaySwitchLatencyTracked_StateEnum_SPLIT_SCREEN_APPS;
1057 static constexpr StateEnum LAUNCHER =
1058 DisplaySwitchLatencyTracked_StateEnum_LAUNCHER;
1059 static constexpr StateEnum OVERVIEW =
1060 DisplaySwitchLatencyTracked_StateEnum_OVERVIEW;
1061 static constexpr StateEnum FREEFORM_APPS =
1062 DisplaySwitchLatencyTracked_StateEnum_FREEFORM_APPS;
1063 static constexpr StateEnum SCREEN_OFF =
1064 DisplaySwitchLatencyTracked_StateEnum_SCREEN_OFF;
1065 static inline bool StateEnum_IsValid(int value) {
1066 return DisplaySwitchLatencyTracked_StateEnum_IsValid(value);
1067 }
1068 static constexpr StateEnum StateEnum_MIN =
1069 DisplaySwitchLatencyTracked_StateEnum_StateEnum_MIN;
1070 static constexpr StateEnum StateEnum_MAX =
1071 DisplaySwitchLatencyTracked_StateEnum_StateEnum_MAX;
1072 static constexpr int StateEnum_ARRAYSIZE =
1073 DisplaySwitchLatencyTracked_StateEnum_StateEnum_ARRAYSIZE;
1074 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
1075 StateEnum_descriptor() {
1076 return DisplaySwitchLatencyTracked_StateEnum_descriptor();
1077 }
1078 template<typename T>
1079 static inline const std::string& StateEnum_Name(T enum_t_value) {
1080 static_assert(::std::is_same<T, StateEnum>::value ||
1081 ::std::is_integral<T>::value,
1082 "Incorrect type passed to function StateEnum_Name.");
1083 return DisplaySwitchLatencyTracked_StateEnum_Name(enum_t_value);
1084 }
1085 static inline bool StateEnum_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1086 StateEnum* value) {
1087 return DisplaySwitchLatencyTracked_StateEnum_Parse(name, value);
1088 }
1089
1090 // accessors -------------------------------------------------------
1091
1092 enum : int {
1093 kFromVisibleAppsUidFieldNumber = 6,
1094 kToVisibleAppsUidFieldNumber = 12,
1095 kLatencyMsFieldNumber = 1,
1096 kFromFoldableDeviceStateFieldNumber = 2,
1097 kFromStateFieldNumber = 3,
1098 kFromFocusedAppUidFieldNumber = 4,
1099 kFromPipAppUidFieldNumber = 5,
1100 kFromDensityDpiFieldNumber = 7,
1101 kToStateFieldNumber = 8,
1102 kToFoldableDeviceStateFieldNumber = 9,
1103 kToFocusedAppUidFieldNumber = 10,
1104 kToPipAppUidFieldNumber = 11,
1105 kToDensityDpiFieldNumber = 13,
1106 kNotificationCountFieldNumber = 14,
1107 kExternalDisplayCountFieldNumber = 15,
1108 kThrottlingLevelFieldNumber = 16,
1109 kVskinTemperatureCFieldNumber = 17,
1110 kHallSensorToFirstHingeAngleChangeMsFieldNumber = 18,
1111 kHallSensorToDeviceStateChangeMsFieldNumber = 19,
1112 kOnscreenturningonToOndrawnMsFieldNumber = 20,
1113 kOndrawnToOnscreenturnedonMsFieldNumber = 21,
1114 };
1115 // repeated int32 from_visible_apps_uid = 6 [(.android.os.statsd.is_uid) = true];
1116 int from_visible_apps_uid_size() const;
1117 private:
1118 int _internal_from_visible_apps_uid_size() const;
1119 public:
1120 void clear_from_visible_apps_uid();
1121 private:
1122 ::int32_t _internal_from_visible_apps_uid(int index) const;
1123 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1124 _internal_from_visible_apps_uid() const;
1125 void _internal_add_from_visible_apps_uid(::int32_t value);
1126 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1127 _internal_mutable_from_visible_apps_uid();
1128 public:
1129 ::int32_t from_visible_apps_uid(int index) const;
1130 void set_from_visible_apps_uid(int index, ::int32_t value);
1131 void add_from_visible_apps_uid(::int32_t value);
1132 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1133 from_visible_apps_uid() const;
1134 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1135 mutable_from_visible_apps_uid();
1136
1137 // repeated int32 to_visible_apps_uid = 12 [(.android.os.statsd.is_uid) = true];
1138 int to_visible_apps_uid_size() const;
1139 private:
1140 int _internal_to_visible_apps_uid_size() const;
1141 public:
1142 void clear_to_visible_apps_uid();
1143 private:
1144 ::int32_t _internal_to_visible_apps_uid(int index) const;
1145 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1146 _internal_to_visible_apps_uid() const;
1147 void _internal_add_to_visible_apps_uid(::int32_t value);
1148 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1149 _internal_mutable_to_visible_apps_uid();
1150 public:
1151 ::int32_t to_visible_apps_uid(int index) const;
1152 void set_to_visible_apps_uid(int index, ::int32_t value);
1153 void add_to_visible_apps_uid(::int32_t value);
1154 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1155 to_visible_apps_uid() const;
1156 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1157 mutable_to_visible_apps_uid();
1158
1159 // optional int32 latency_ms = 1;
1160 bool has_latency_ms() const;
1161 private:
1162 bool _internal_has_latency_ms() const;
1163 public:
1164 void clear_latency_ms();
1165 ::int32_t latency_ms() const;
1166 void set_latency_ms(::int32_t value);
1167 private:
1168 ::int32_t _internal_latency_ms() const;
1169 void _internal_set_latency_ms(::int32_t value);
1170 public:
1171
1172 // optional .android.telephony.FoldState from_foldable_device_state = 2;
1173 bool has_from_foldable_device_state() const;
1174 private:
1175 bool _internal_has_from_foldable_device_state() const;
1176 public:
1177 void clear_from_foldable_device_state();
1178 ::android::telephony::FoldState from_foldable_device_state() const;
1179 void set_from_foldable_device_state(::android::telephony::FoldState value);
1180 private:
1181 ::android::telephony::FoldState _internal_from_foldable_device_state() const;
1182 void _internal_set_from_foldable_device_state(::android::telephony::FoldState value);
1183 public:
1184
1185 // optional .android.os.statsd.sysui.DisplaySwitchLatencyTracked.StateEnum from_state = 3;
1186 bool has_from_state() const;
1187 private:
1188 bool _internal_has_from_state() const;
1189 public:
1190 void clear_from_state();
1191 ::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum from_state() const;
1192 void set_from_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value);
1193 private:
1194 ::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum _internal_from_state() const;
1195 void _internal_set_from_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value);
1196 public:
1197
1198 // optional int32 from_focused_app_uid = 4 [(.android.os.statsd.is_uid) = true];
1199 bool has_from_focused_app_uid() const;
1200 private:
1201 bool _internal_has_from_focused_app_uid() const;
1202 public:
1203 void clear_from_focused_app_uid();
1204 ::int32_t from_focused_app_uid() const;
1205 void set_from_focused_app_uid(::int32_t value);
1206 private:
1207 ::int32_t _internal_from_focused_app_uid() const;
1208 void _internal_set_from_focused_app_uid(::int32_t value);
1209 public:
1210
1211 // optional int32 from_pip_app_uid = 5 [(.android.os.statsd.is_uid) = true];
1212 bool has_from_pip_app_uid() const;
1213 private:
1214 bool _internal_has_from_pip_app_uid() const;
1215 public:
1216 void clear_from_pip_app_uid();
1217 ::int32_t from_pip_app_uid() const;
1218 void set_from_pip_app_uid(::int32_t value);
1219 private:
1220 ::int32_t _internal_from_pip_app_uid() const;
1221 void _internal_set_from_pip_app_uid(::int32_t value);
1222 public:
1223
1224 // optional int32 from_density_dpi = 7;
1225 bool has_from_density_dpi() const;
1226 private:
1227 bool _internal_has_from_density_dpi() const;
1228 public:
1229 void clear_from_density_dpi();
1230 ::int32_t from_density_dpi() const;
1231 void set_from_density_dpi(::int32_t value);
1232 private:
1233 ::int32_t _internal_from_density_dpi() const;
1234 void _internal_set_from_density_dpi(::int32_t value);
1235 public:
1236
1237 // optional .android.os.statsd.sysui.DisplaySwitchLatencyTracked.StateEnum to_state = 8;
1238 bool has_to_state() const;
1239 private:
1240 bool _internal_has_to_state() const;
1241 public:
1242 void clear_to_state();
1243 ::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum to_state() const;
1244 void set_to_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value);
1245 private:
1246 ::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum _internal_to_state() const;
1247 void _internal_set_to_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value);
1248 public:
1249
1250 // optional .android.telephony.FoldState to_foldable_device_state = 9;
1251 bool has_to_foldable_device_state() const;
1252 private:
1253 bool _internal_has_to_foldable_device_state() const;
1254 public:
1255 void clear_to_foldable_device_state();
1256 ::android::telephony::FoldState to_foldable_device_state() const;
1257 void set_to_foldable_device_state(::android::telephony::FoldState value);
1258 private:
1259 ::android::telephony::FoldState _internal_to_foldable_device_state() const;
1260 void _internal_set_to_foldable_device_state(::android::telephony::FoldState value);
1261 public:
1262
1263 // optional int32 to_focused_app_uid = 10 [(.android.os.statsd.is_uid) = true];
1264 bool has_to_focused_app_uid() const;
1265 private:
1266 bool _internal_has_to_focused_app_uid() const;
1267 public:
1268 void clear_to_focused_app_uid();
1269 ::int32_t to_focused_app_uid() const;
1270 void set_to_focused_app_uid(::int32_t value);
1271 private:
1272 ::int32_t _internal_to_focused_app_uid() const;
1273 void _internal_set_to_focused_app_uid(::int32_t value);
1274 public:
1275
1276 // optional int32 to_pip_app_uid = 11 [(.android.os.statsd.is_uid) = true];
1277 bool has_to_pip_app_uid() const;
1278 private:
1279 bool _internal_has_to_pip_app_uid() const;
1280 public:
1281 void clear_to_pip_app_uid();
1282 ::int32_t to_pip_app_uid() const;
1283 void set_to_pip_app_uid(::int32_t value);
1284 private:
1285 ::int32_t _internal_to_pip_app_uid() const;
1286 void _internal_set_to_pip_app_uid(::int32_t value);
1287 public:
1288
1289 // optional int32 to_density_dpi = 13;
1290 bool has_to_density_dpi() const;
1291 private:
1292 bool _internal_has_to_density_dpi() const;
1293 public:
1294 void clear_to_density_dpi();
1295 ::int32_t to_density_dpi() const;
1296 void set_to_density_dpi(::int32_t value);
1297 private:
1298 ::int32_t _internal_to_density_dpi() const;
1299 void _internal_set_to_density_dpi(::int32_t value);
1300 public:
1301
1302 // optional int32 notification_count = 14;
1303 bool has_notification_count() const;
1304 private:
1305 bool _internal_has_notification_count() const;
1306 public:
1307 void clear_notification_count();
1308 ::int32_t notification_count() const;
1309 void set_notification_count(::int32_t value);
1310 private:
1311 ::int32_t _internal_notification_count() const;
1312 void _internal_set_notification_count(::int32_t value);
1313 public:
1314
1315 // optional int32 external_display_count = 15;
1316 bool has_external_display_count() const;
1317 private:
1318 bool _internal_has_external_display_count() const;
1319 public:
1320 void clear_external_display_count();
1321 ::int32_t external_display_count() const;
1322 void set_external_display_count(::int32_t value);
1323 private:
1324 ::int32_t _internal_external_display_count() const;
1325 void _internal_set_external_display_count(::int32_t value);
1326 public:
1327
1328 // optional .android.os.ThrottlingSeverityEnum throttling_level = 16;
1329 bool has_throttling_level() const;
1330 private:
1331 bool _internal_has_throttling_level() const;
1332 public:
1333 void clear_throttling_level();
1334 ::android::os::ThrottlingSeverityEnum throttling_level() const;
1335 void set_throttling_level(::android::os::ThrottlingSeverityEnum value);
1336 private:
1337 ::android::os::ThrottlingSeverityEnum _internal_throttling_level() const;
1338 void _internal_set_throttling_level(::android::os::ThrottlingSeverityEnum value);
1339 public:
1340
1341 // optional int32 vskin_temperature_c = 17;
1342 bool has_vskin_temperature_c() const;
1343 private:
1344 bool _internal_has_vskin_temperature_c() const;
1345 public:
1346 void clear_vskin_temperature_c();
1347 ::int32_t vskin_temperature_c() const;
1348 void set_vskin_temperature_c(::int32_t value);
1349 private:
1350 ::int32_t _internal_vskin_temperature_c() const;
1351 void _internal_set_vskin_temperature_c(::int32_t value);
1352 public:
1353
1354 // optional int32 hall_sensor_to_first_hinge_angle_change_ms = 18;
1355 bool has_hall_sensor_to_first_hinge_angle_change_ms() const;
1356 private:
1357 bool _internal_has_hall_sensor_to_first_hinge_angle_change_ms() const;
1358 public:
1359 void clear_hall_sensor_to_first_hinge_angle_change_ms();
1360 ::int32_t hall_sensor_to_first_hinge_angle_change_ms() const;
1361 void set_hall_sensor_to_first_hinge_angle_change_ms(::int32_t value);
1362 private:
1363 ::int32_t _internal_hall_sensor_to_first_hinge_angle_change_ms() const;
1364 void _internal_set_hall_sensor_to_first_hinge_angle_change_ms(::int32_t value);
1365 public:
1366
1367 // optional int32 hall_sensor_to_device_state_change_ms = 19;
1368 bool has_hall_sensor_to_device_state_change_ms() const;
1369 private:
1370 bool _internal_has_hall_sensor_to_device_state_change_ms() const;
1371 public:
1372 void clear_hall_sensor_to_device_state_change_ms();
1373 ::int32_t hall_sensor_to_device_state_change_ms() const;
1374 void set_hall_sensor_to_device_state_change_ms(::int32_t value);
1375 private:
1376 ::int32_t _internal_hall_sensor_to_device_state_change_ms() const;
1377 void _internal_set_hall_sensor_to_device_state_change_ms(::int32_t value);
1378 public:
1379
1380 // optional int32 onscreenturningon_to_ondrawn_ms = 20;
1381 bool has_onscreenturningon_to_ondrawn_ms() const;
1382 private:
1383 bool _internal_has_onscreenturningon_to_ondrawn_ms() const;
1384 public:
1385 void clear_onscreenturningon_to_ondrawn_ms();
1386 ::int32_t onscreenturningon_to_ondrawn_ms() const;
1387 void set_onscreenturningon_to_ondrawn_ms(::int32_t value);
1388 private:
1389 ::int32_t _internal_onscreenturningon_to_ondrawn_ms() const;
1390 void _internal_set_onscreenturningon_to_ondrawn_ms(::int32_t value);
1391 public:
1392
1393 // optional int32 ondrawn_to_onscreenturnedon_ms = 21;
1394 bool has_ondrawn_to_onscreenturnedon_ms() const;
1395 private:
1396 bool _internal_has_ondrawn_to_onscreenturnedon_ms() const;
1397 public:
1398 void clear_ondrawn_to_onscreenturnedon_ms();
1399 ::int32_t ondrawn_to_onscreenturnedon_ms() const;
1400 void set_ondrawn_to_onscreenturnedon_ms(::int32_t value);
1401 private:
1402 ::int32_t _internal_ondrawn_to_onscreenturnedon_ms() const;
1403 void _internal_set_ondrawn_to_onscreenturnedon_ms(::int32_t value);
1404 public:
1405
1406 // @@protoc_insertion_point(class_scope:android.os.statsd.sysui.DisplaySwitchLatencyTracked)
1407 private:
1408 class _Internal;
1409
1410 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1411 typedef void InternalArenaConstructable_;
1412 typedef void DestructorSkippable_;
1413 struct Impl_ {
1414 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1415 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1416 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > from_visible_apps_uid_;
1417 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > to_visible_apps_uid_;
1418 ::int32_t latency_ms_;
1419 int from_foldable_device_state_;
1420 int from_state_;
1421 ::int32_t from_focused_app_uid_;
1422 ::int32_t from_pip_app_uid_;
1423 ::int32_t from_density_dpi_;
1424 int to_state_;
1425 int to_foldable_device_state_;
1426 ::int32_t to_focused_app_uid_;
1427 ::int32_t to_pip_app_uid_;
1428 ::int32_t to_density_dpi_;
1429 ::int32_t notification_count_;
1430 ::int32_t external_display_count_;
1431 int throttling_level_;
1432 ::int32_t vskin_temperature_c_;
1433 ::int32_t hall_sensor_to_first_hinge_angle_change_ms_;
1434 ::int32_t hall_sensor_to_device_state_change_ms_;
1435 ::int32_t onscreenturningon_to_ondrawn_ms_;
1436 ::int32_t ondrawn_to_onscreenturnedon_ms_;
1437 };
1438 union { Impl_ _impl_; };
1439 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto;
1440 };
1441 // -------------------------------------------------------------------
1442
1443 class NotificationListenerService final :
1444 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.sysui.NotificationListenerService) */ {
1445 public:
NotificationListenerService()1446 inline NotificationListenerService() : NotificationListenerService(nullptr) {}
1447 ~NotificationListenerService() override;
1448 explicit PROTOBUF_CONSTEXPR NotificationListenerService(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1449
1450 NotificationListenerService(const NotificationListenerService& from);
NotificationListenerService(NotificationListenerService && from)1451 NotificationListenerService(NotificationListenerService&& from) noexcept
1452 : NotificationListenerService() {
1453 *this = ::std::move(from);
1454 }
1455
1456 inline NotificationListenerService& operator=(const NotificationListenerService& from) {
1457 if (this == &from) return *this;
1458 CopyFrom(from);
1459 return *this;
1460 }
1461 inline NotificationListenerService& operator=(NotificationListenerService&& from) noexcept {
1462 if (this == &from) return *this;
1463 if (GetOwningArena() == from.GetOwningArena()
1464 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1465 && GetOwningArena() != nullptr
1466 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1467 ) {
1468 InternalSwap(&from);
1469 } else {
1470 CopyFrom(from);
1471 }
1472 return *this;
1473 }
1474
unknown_fields()1475 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1476 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1477 }
mutable_unknown_fields()1478 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1479 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1480 }
1481
descriptor()1482 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1483 return GetDescriptor();
1484 }
GetDescriptor()1485 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1486 return default_instance().GetMetadata().descriptor;
1487 }
GetReflection()1488 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1489 return default_instance().GetMetadata().reflection;
1490 }
default_instance()1491 static const NotificationListenerService& default_instance() {
1492 return *internal_default_instance();
1493 }
internal_default_instance()1494 static inline const NotificationListenerService* internal_default_instance() {
1495 return reinterpret_cast<const NotificationListenerService*>(
1496 &_NotificationListenerService_default_instance_);
1497 }
1498 static constexpr int kIndexInFileMessages =
1499 4;
1500
swap(NotificationListenerService & a,NotificationListenerService & b)1501 friend void swap(NotificationListenerService& a, NotificationListenerService& b) {
1502 a.Swap(&b);
1503 }
Swap(NotificationListenerService * other)1504 inline void Swap(NotificationListenerService* other) {
1505 if (other == this) return;
1506 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1507 if (GetOwningArena() != nullptr &&
1508 GetOwningArena() == other->GetOwningArena()) {
1509 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1510 if (GetOwningArena() == other->GetOwningArena()) {
1511 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1512 InternalSwap(other);
1513 } else {
1514 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1515 }
1516 }
1517 void UnsafeArenaSwap(NotificationListenerService* other) {
1518 if (other == this) return;
1519 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1520 InternalSwap(other);
1521 }
1522
1523 // implements Message ----------------------------------------------
1524
1525 NotificationListenerService* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1526 return CreateMaybeMessage<NotificationListenerService>(arena);
1527 }
1528 NotificationListenerService* New() const {
1529 return New(nullptr);
1530 }
1531 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1532 void CopyFrom(const NotificationListenerService& from);
1533 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1534 void MergeFrom( const NotificationListenerService& from) {
1535 NotificationListenerService::MergeImpl(*this, from);
1536 }
1537 private:
1538 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1539 public:
1540 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1541 bool IsInitialized() const final;
1542
1543 size_t ByteSizeLong() const final;
1544 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1545 ::uint8_t* _InternalSerialize(
1546 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1547 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1548
1549 private:
1550 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1551 void SharedDtor();
1552 void SetCachedSize(int size) const final;
1553 void InternalSwap(NotificationListenerService* other);
1554
1555 private:
1556 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1557 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1558 return "android.os.statsd.sysui.NotificationListenerService";
1559 }
1560 protected:
1561 explicit NotificationListenerService(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1562 bool is_message_owned = false);
1563 public:
1564
1565 static const ClassData _class_data_;
1566 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1567
1568 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1569
1570 // nested types ----------------------------------------------------
1571
1572 // accessors -------------------------------------------------------
1573
1574 enum : int {
1575 kUidFieldNumber = 1,
1576 kIsEnabledFieldNumber = 2,
1577 kIsPreinstalledFieldNumber = 3,
1578 kIsPregrantedFieldNumber = 4,
1579 };
1580 // optional int32 uid = 1 [(.android.os.statsd.is_uid) = true];
1581 bool has_uid() const;
1582 private:
1583 bool _internal_has_uid() const;
1584 public:
1585 void clear_uid();
1586 ::int32_t uid() const;
1587 void set_uid(::int32_t value);
1588 private:
1589 ::int32_t _internal_uid() const;
1590 void _internal_set_uid(::int32_t value);
1591 public:
1592
1593 // optional bool is_enabled = 2;
1594 bool has_is_enabled() const;
1595 private:
1596 bool _internal_has_is_enabled() const;
1597 public:
1598 void clear_is_enabled();
1599 bool is_enabled() const;
1600 void set_is_enabled(bool value);
1601 private:
1602 bool _internal_is_enabled() const;
1603 void _internal_set_is_enabled(bool value);
1604 public:
1605
1606 // optional bool is_preinstalled = 3;
1607 bool has_is_preinstalled() const;
1608 private:
1609 bool _internal_has_is_preinstalled() const;
1610 public:
1611 void clear_is_preinstalled();
1612 bool is_preinstalled() const;
1613 void set_is_preinstalled(bool value);
1614 private:
1615 bool _internal_is_preinstalled() const;
1616 void _internal_set_is_preinstalled(bool value);
1617 public:
1618
1619 // optional bool is_pregranted = 4;
1620 bool has_is_pregranted() const;
1621 private:
1622 bool _internal_has_is_pregranted() const;
1623 public:
1624 void clear_is_pregranted();
1625 bool is_pregranted() const;
1626 void set_is_pregranted(bool value);
1627 private:
1628 bool _internal_is_pregranted() const;
1629 void _internal_set_is_pregranted(bool value);
1630 public:
1631
1632 // @@protoc_insertion_point(class_scope:android.os.statsd.sysui.NotificationListenerService)
1633 private:
1634 class _Internal;
1635
1636 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1637 typedef void InternalArenaConstructable_;
1638 typedef void DestructorSkippable_;
1639 struct Impl_ {
1640 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1641 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1642 ::int32_t uid_;
1643 bool is_enabled_;
1644 bool is_preinstalled_;
1645 bool is_pregranted_;
1646 };
1647 union { Impl_ _impl_; };
1648 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto;
1649 };
1650 // -------------------------------------------------------------------
1651
1652 class NavHandleTouchPoints final :
1653 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.sysui.NavHandleTouchPoints) */ {
1654 public:
NavHandleTouchPoints()1655 inline NavHandleTouchPoints() : NavHandleTouchPoints(nullptr) {}
1656 ~NavHandleTouchPoints() override;
1657 explicit PROTOBUF_CONSTEXPR NavHandleTouchPoints(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1658
1659 NavHandleTouchPoints(const NavHandleTouchPoints& from);
NavHandleTouchPoints(NavHandleTouchPoints && from)1660 NavHandleTouchPoints(NavHandleTouchPoints&& from) noexcept
1661 : NavHandleTouchPoints() {
1662 *this = ::std::move(from);
1663 }
1664
1665 inline NavHandleTouchPoints& operator=(const NavHandleTouchPoints& from) {
1666 if (this == &from) return *this;
1667 CopyFrom(from);
1668 return *this;
1669 }
1670 inline NavHandleTouchPoints& operator=(NavHandleTouchPoints&& from) noexcept {
1671 if (this == &from) return *this;
1672 if (GetOwningArena() == from.GetOwningArena()
1673 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1674 && GetOwningArena() != nullptr
1675 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1676 ) {
1677 InternalSwap(&from);
1678 } else {
1679 CopyFrom(from);
1680 }
1681 return *this;
1682 }
1683
unknown_fields()1684 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1685 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1686 }
mutable_unknown_fields()1687 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1688 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1689 }
1690
descriptor()1691 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1692 return GetDescriptor();
1693 }
GetDescriptor()1694 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1695 return default_instance().GetMetadata().descriptor;
1696 }
GetReflection()1697 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1698 return default_instance().GetMetadata().reflection;
1699 }
default_instance()1700 static const NavHandleTouchPoints& default_instance() {
1701 return *internal_default_instance();
1702 }
internal_default_instance()1703 static inline const NavHandleTouchPoints* internal_default_instance() {
1704 return reinterpret_cast<const NavHandleTouchPoints*>(
1705 &_NavHandleTouchPoints_default_instance_);
1706 }
1707 static constexpr int kIndexInFileMessages =
1708 5;
1709
swap(NavHandleTouchPoints & a,NavHandleTouchPoints & b)1710 friend void swap(NavHandleTouchPoints& a, NavHandleTouchPoints& b) {
1711 a.Swap(&b);
1712 }
Swap(NavHandleTouchPoints * other)1713 inline void Swap(NavHandleTouchPoints* other) {
1714 if (other == this) return;
1715 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1716 if (GetOwningArena() != nullptr &&
1717 GetOwningArena() == other->GetOwningArena()) {
1718 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1719 if (GetOwningArena() == other->GetOwningArena()) {
1720 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1721 InternalSwap(other);
1722 } else {
1723 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1724 }
1725 }
1726 void UnsafeArenaSwap(NavHandleTouchPoints* other) {
1727 if (other == this) return;
1728 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1729 InternalSwap(other);
1730 }
1731
1732 // implements Message ----------------------------------------------
1733
1734 NavHandleTouchPoints* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1735 return CreateMaybeMessage<NavHandleTouchPoints>(arena);
1736 }
1737 NavHandleTouchPoints* New() const {
1738 return New(nullptr);
1739 }
1740 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1741 void CopyFrom(const NavHandleTouchPoints& from);
1742 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1743 void MergeFrom( const NavHandleTouchPoints& from) {
1744 NavHandleTouchPoints::MergeImpl(*this, from);
1745 }
1746 private:
1747 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1748 public:
1749 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1750 bool IsInitialized() const final;
1751
1752 size_t ByteSizeLong() const final;
1753 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1754 ::uint8_t* _InternalSerialize(
1755 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1756 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1757
1758 private:
1759 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1760 void SharedDtor();
1761 void SetCachedSize(int size) const final;
1762 void InternalSwap(NavHandleTouchPoints* other);
1763
1764 private:
1765 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1766 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1767 return "android.os.statsd.sysui.NavHandleTouchPoints";
1768 }
1769 protected:
1770 explicit NavHandleTouchPoints(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1771 bool is_message_owned = false);
1772 public:
1773
1774 static const ClassData _class_data_;
1775 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1776
1777 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1778
1779 // nested types ----------------------------------------------------
1780
1781 // accessors -------------------------------------------------------
1782
1783 enum : int {
1784 kXPointsFieldNumber = 3,
1785 kYPointsFieldNumber = 4,
1786 kDelayFieldNumber = 5,
1787 kActionFieldNumber = 6,
1788 kGestureEventIdFieldNumber = 1,
1789 kInstanceIdFieldNumber = 2,
1790 };
1791 // repeated int32 x_points = 3;
1792 int x_points_size() const;
1793 private:
1794 int _internal_x_points_size() const;
1795 public:
1796 void clear_x_points();
1797 private:
1798 ::int32_t _internal_x_points(int index) const;
1799 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1800 _internal_x_points() const;
1801 void _internal_add_x_points(::int32_t value);
1802 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1803 _internal_mutable_x_points();
1804 public:
1805 ::int32_t x_points(int index) const;
1806 void set_x_points(int index, ::int32_t value);
1807 void add_x_points(::int32_t value);
1808 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1809 x_points() const;
1810 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1811 mutable_x_points();
1812
1813 // repeated int32 y_points = 4;
1814 int y_points_size() const;
1815 private:
1816 int _internal_y_points_size() const;
1817 public:
1818 void clear_y_points();
1819 private:
1820 ::int32_t _internal_y_points(int index) const;
1821 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1822 _internal_y_points() const;
1823 void _internal_add_y_points(::int32_t value);
1824 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1825 _internal_mutable_y_points();
1826 public:
1827 ::int32_t y_points(int index) const;
1828 void set_y_points(int index, ::int32_t value);
1829 void add_y_points(::int32_t value);
1830 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1831 y_points() const;
1832 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1833 mutable_y_points();
1834
1835 // repeated int32 delay = 5;
1836 int delay_size() const;
1837 private:
1838 int _internal_delay_size() const;
1839 public:
1840 void clear_delay();
1841 private:
1842 ::int32_t _internal_delay(int index) const;
1843 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1844 _internal_delay() const;
1845 void _internal_add_delay(::int32_t value);
1846 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1847 _internal_mutable_delay();
1848 public:
1849 ::int32_t delay(int index) const;
1850 void set_delay(int index, ::int32_t value);
1851 void add_delay(::int32_t value);
1852 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1853 delay() const;
1854 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1855 mutable_delay();
1856
1857 // repeated int32 action = 6;
1858 int action_size() const;
1859 private:
1860 int _internal_action_size() const;
1861 public:
1862 void clear_action();
1863 private:
1864 ::int32_t _internal_action(int index) const;
1865 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1866 _internal_action() const;
1867 void _internal_add_action(::int32_t value);
1868 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1869 _internal_mutable_action();
1870 public:
1871 ::int32_t action(int index) const;
1872 void set_action(int index, ::int32_t value);
1873 void add_action(::int32_t value);
1874 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1875 action() const;
1876 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1877 mutable_action();
1878
1879 // optional int32 gesture_event_id = 1;
1880 bool has_gesture_event_id() const;
1881 private:
1882 bool _internal_has_gesture_event_id() const;
1883 public:
1884 void clear_gesture_event_id();
1885 ::int32_t gesture_event_id() const;
1886 void set_gesture_event_id(::int32_t value);
1887 private:
1888 ::int32_t _internal_gesture_event_id() const;
1889 void _internal_set_gesture_event_id(::int32_t value);
1890 public:
1891
1892 // optional int32 instance_id = 2;
1893 bool has_instance_id() const;
1894 private:
1895 bool _internal_has_instance_id() const;
1896 public:
1897 void clear_instance_id();
1898 ::int32_t instance_id() const;
1899 void set_instance_id(::int32_t value);
1900 private:
1901 ::int32_t _internal_instance_id() const;
1902 void _internal_set_instance_id(::int32_t value);
1903 public:
1904
1905 // @@protoc_insertion_point(class_scope:android.os.statsd.sysui.NavHandleTouchPoints)
1906 private:
1907 class _Internal;
1908
1909 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1910 typedef void InternalArenaConstructable_;
1911 typedef void DestructorSkippable_;
1912 struct Impl_ {
1913 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1914 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1915 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > x_points_;
1916 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > y_points_;
1917 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > delay_;
1918 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > action_;
1919 ::int32_t gesture_event_id_;
1920 ::int32_t instance_id_;
1921 };
1922 union { Impl_ _impl_; };
1923 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto;
1924 };
1925 // -------------------------------------------------------------------
1926
1927 class CommunalHubWidgetEventReported final :
1928 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.sysui.CommunalHubWidgetEventReported) */ {
1929 public:
CommunalHubWidgetEventReported()1930 inline CommunalHubWidgetEventReported() : CommunalHubWidgetEventReported(nullptr) {}
1931 ~CommunalHubWidgetEventReported() override;
1932 explicit PROTOBUF_CONSTEXPR CommunalHubWidgetEventReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1933
1934 CommunalHubWidgetEventReported(const CommunalHubWidgetEventReported& from);
CommunalHubWidgetEventReported(CommunalHubWidgetEventReported && from)1935 CommunalHubWidgetEventReported(CommunalHubWidgetEventReported&& from) noexcept
1936 : CommunalHubWidgetEventReported() {
1937 *this = ::std::move(from);
1938 }
1939
1940 inline CommunalHubWidgetEventReported& operator=(const CommunalHubWidgetEventReported& from) {
1941 if (this == &from) return *this;
1942 CopyFrom(from);
1943 return *this;
1944 }
1945 inline CommunalHubWidgetEventReported& operator=(CommunalHubWidgetEventReported&& from) noexcept {
1946 if (this == &from) return *this;
1947 if (GetOwningArena() == from.GetOwningArena()
1948 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1949 && GetOwningArena() != nullptr
1950 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1951 ) {
1952 InternalSwap(&from);
1953 } else {
1954 CopyFrom(from);
1955 }
1956 return *this;
1957 }
1958
unknown_fields()1959 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1960 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1961 }
mutable_unknown_fields()1962 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1963 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1964 }
1965
descriptor()1966 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1967 return GetDescriptor();
1968 }
GetDescriptor()1969 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1970 return default_instance().GetMetadata().descriptor;
1971 }
GetReflection()1972 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1973 return default_instance().GetMetadata().reflection;
1974 }
default_instance()1975 static const CommunalHubWidgetEventReported& default_instance() {
1976 return *internal_default_instance();
1977 }
internal_default_instance()1978 static inline const CommunalHubWidgetEventReported* internal_default_instance() {
1979 return reinterpret_cast<const CommunalHubWidgetEventReported*>(
1980 &_CommunalHubWidgetEventReported_default_instance_);
1981 }
1982 static constexpr int kIndexInFileMessages =
1983 6;
1984
swap(CommunalHubWidgetEventReported & a,CommunalHubWidgetEventReported & b)1985 friend void swap(CommunalHubWidgetEventReported& a, CommunalHubWidgetEventReported& b) {
1986 a.Swap(&b);
1987 }
Swap(CommunalHubWidgetEventReported * other)1988 inline void Swap(CommunalHubWidgetEventReported* other) {
1989 if (other == this) return;
1990 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1991 if (GetOwningArena() != nullptr &&
1992 GetOwningArena() == other->GetOwningArena()) {
1993 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1994 if (GetOwningArena() == other->GetOwningArena()) {
1995 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1996 InternalSwap(other);
1997 } else {
1998 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1999 }
2000 }
2001 void UnsafeArenaSwap(CommunalHubWidgetEventReported* other) {
2002 if (other == this) return;
2003 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2004 InternalSwap(other);
2005 }
2006
2007 // implements Message ----------------------------------------------
2008
2009 CommunalHubWidgetEventReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2010 return CreateMaybeMessage<CommunalHubWidgetEventReported>(arena);
2011 }
2012 CommunalHubWidgetEventReported* New() const {
2013 return New(nullptr);
2014 }
2015 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2016 void CopyFrom(const CommunalHubWidgetEventReported& from);
2017 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2018 void MergeFrom( const CommunalHubWidgetEventReported& from) {
2019 CommunalHubWidgetEventReported::MergeImpl(*this, from);
2020 }
2021 private:
2022 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2023 public:
2024 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2025 bool IsInitialized() const final;
2026
2027 size_t ByteSizeLong() const final;
2028 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2029 ::uint8_t* _InternalSerialize(
2030 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2031 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2032
2033 private:
2034 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2035 void SharedDtor();
2036 void SetCachedSize(int size) const final;
2037 void InternalSwap(CommunalHubWidgetEventReported* other);
2038
2039 private:
2040 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2041 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2042 return "android.os.statsd.sysui.CommunalHubWidgetEventReported";
2043 }
2044 protected:
2045 explicit CommunalHubWidgetEventReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2046 bool is_message_owned = false);
2047 public:
2048
2049 static const ClassData _class_data_;
2050 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2051
2052 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2053
2054 // nested types ----------------------------------------------------
2055
2056 typedef CommunalHubWidgetEventReported_Action Action;
2057 static constexpr Action UNKNOWN =
2058 CommunalHubWidgetEventReported_Action_UNKNOWN;
2059 static constexpr Action ADD =
2060 CommunalHubWidgetEventReported_Action_ADD;
2061 static constexpr Action REMOVE =
2062 CommunalHubWidgetEventReported_Action_REMOVE;
2063 static constexpr Action TAP =
2064 CommunalHubWidgetEventReported_Action_TAP;
2065 static constexpr Action RESIZE =
2066 CommunalHubWidgetEventReported_Action_RESIZE;
2067 static inline bool Action_IsValid(int value) {
2068 return CommunalHubWidgetEventReported_Action_IsValid(value);
2069 }
2070 static constexpr Action Action_MIN =
2071 CommunalHubWidgetEventReported_Action_Action_MIN;
2072 static constexpr Action Action_MAX =
2073 CommunalHubWidgetEventReported_Action_Action_MAX;
2074 static constexpr int Action_ARRAYSIZE =
2075 CommunalHubWidgetEventReported_Action_Action_ARRAYSIZE;
2076 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
2077 Action_descriptor() {
2078 return CommunalHubWidgetEventReported_Action_descriptor();
2079 }
2080 template<typename T>
2081 static inline const std::string& Action_Name(T enum_t_value) {
2082 static_assert(::std::is_same<T, Action>::value ||
2083 ::std::is_integral<T>::value,
2084 "Incorrect type passed to function Action_Name.");
2085 return CommunalHubWidgetEventReported_Action_Name(enum_t_value);
2086 }
2087 static inline bool Action_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2088 Action* value) {
2089 return CommunalHubWidgetEventReported_Action_Parse(name, value);
2090 }
2091
2092 // accessors -------------------------------------------------------
2093
2094 enum : int {
2095 kComponentNameFieldNumber = 2,
2096 kActionFieldNumber = 1,
2097 kRankFieldNumber = 3,
2098 kSpanYFieldNumber = 4,
2099 };
2100 // optional string component_name = 2;
2101 bool has_component_name() const;
2102 private:
2103 bool _internal_has_component_name() const;
2104 public:
2105 void clear_component_name();
2106 const std::string& component_name() const;
2107 template <typename ArgT0 = const std::string&, typename... ArgT>
2108 void set_component_name(ArgT0&& arg0, ArgT... args);
2109 std::string* mutable_component_name();
2110 PROTOBUF_NODISCARD std::string* release_component_name();
2111 void set_allocated_component_name(std::string* component_name);
2112 private:
2113 const std::string& _internal_component_name() const;
2114 inline PROTOBUF_ALWAYS_INLINE void _internal_set_component_name(const std::string& value);
2115 std::string* _internal_mutable_component_name();
2116 public:
2117
2118 // optional .android.os.statsd.sysui.CommunalHubWidgetEventReported.Action action = 1;
2119 bool has_action() const;
2120 private:
2121 bool _internal_has_action() const;
2122 public:
2123 void clear_action();
2124 ::android::os::statsd::sysui::CommunalHubWidgetEventReported_Action action() const;
2125 void set_action(::android::os::statsd::sysui::CommunalHubWidgetEventReported_Action value);
2126 private:
2127 ::android::os::statsd::sysui::CommunalHubWidgetEventReported_Action _internal_action() const;
2128 void _internal_set_action(::android::os::statsd::sysui::CommunalHubWidgetEventReported_Action value);
2129 public:
2130
2131 // optional int32 rank = 3;
2132 bool has_rank() const;
2133 private:
2134 bool _internal_has_rank() const;
2135 public:
2136 void clear_rank();
2137 ::int32_t rank() const;
2138 void set_rank(::int32_t value);
2139 private:
2140 ::int32_t _internal_rank() const;
2141 void _internal_set_rank(::int32_t value);
2142 public:
2143
2144 // optional int32 span_y = 4;
2145 bool has_span_y() const;
2146 private:
2147 bool _internal_has_span_y() const;
2148 public:
2149 void clear_span_y();
2150 ::int32_t span_y() const;
2151 void set_span_y(::int32_t value);
2152 private:
2153 ::int32_t _internal_span_y() const;
2154 void _internal_set_span_y(::int32_t value);
2155 public:
2156
2157 // @@protoc_insertion_point(class_scope:android.os.statsd.sysui.CommunalHubWidgetEventReported)
2158 private:
2159 class _Internal;
2160
2161 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2162 typedef void InternalArenaConstructable_;
2163 typedef void DestructorSkippable_;
2164 struct Impl_ {
2165 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2166 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2167 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr component_name_;
2168 int action_;
2169 ::int32_t rank_;
2170 ::int32_t span_y_;
2171 };
2172 union { Impl_ _impl_; };
2173 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto;
2174 };
2175 // -------------------------------------------------------------------
2176
2177 class ContextualEducationTriggered final :
2178 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.sysui.ContextualEducationTriggered) */ {
2179 public:
ContextualEducationTriggered()2180 inline ContextualEducationTriggered() : ContextualEducationTriggered(nullptr) {}
2181 ~ContextualEducationTriggered() override;
2182 explicit PROTOBUF_CONSTEXPR ContextualEducationTriggered(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2183
2184 ContextualEducationTriggered(const ContextualEducationTriggered& from);
ContextualEducationTriggered(ContextualEducationTriggered && from)2185 ContextualEducationTriggered(ContextualEducationTriggered&& from) noexcept
2186 : ContextualEducationTriggered() {
2187 *this = ::std::move(from);
2188 }
2189
2190 inline ContextualEducationTriggered& operator=(const ContextualEducationTriggered& from) {
2191 if (this == &from) return *this;
2192 CopyFrom(from);
2193 return *this;
2194 }
2195 inline ContextualEducationTriggered& operator=(ContextualEducationTriggered&& from) noexcept {
2196 if (this == &from) return *this;
2197 if (GetOwningArena() == from.GetOwningArena()
2198 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2199 && GetOwningArena() != nullptr
2200 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2201 ) {
2202 InternalSwap(&from);
2203 } else {
2204 CopyFrom(from);
2205 }
2206 return *this;
2207 }
2208
unknown_fields()2209 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2210 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2211 }
mutable_unknown_fields()2212 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2213 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2214 }
2215
descriptor()2216 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2217 return GetDescriptor();
2218 }
GetDescriptor()2219 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2220 return default_instance().GetMetadata().descriptor;
2221 }
GetReflection()2222 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2223 return default_instance().GetMetadata().reflection;
2224 }
default_instance()2225 static const ContextualEducationTriggered& default_instance() {
2226 return *internal_default_instance();
2227 }
internal_default_instance()2228 static inline const ContextualEducationTriggered* internal_default_instance() {
2229 return reinterpret_cast<const ContextualEducationTriggered*>(
2230 &_ContextualEducationTriggered_default_instance_);
2231 }
2232 static constexpr int kIndexInFileMessages =
2233 7;
2234
swap(ContextualEducationTriggered & a,ContextualEducationTriggered & b)2235 friend void swap(ContextualEducationTriggered& a, ContextualEducationTriggered& b) {
2236 a.Swap(&b);
2237 }
Swap(ContextualEducationTriggered * other)2238 inline void Swap(ContextualEducationTriggered* other) {
2239 if (other == this) return;
2240 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2241 if (GetOwningArena() != nullptr &&
2242 GetOwningArena() == other->GetOwningArena()) {
2243 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2244 if (GetOwningArena() == other->GetOwningArena()) {
2245 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2246 InternalSwap(other);
2247 } else {
2248 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2249 }
2250 }
2251 void UnsafeArenaSwap(ContextualEducationTriggered* other) {
2252 if (other == this) return;
2253 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2254 InternalSwap(other);
2255 }
2256
2257 // implements Message ----------------------------------------------
2258
2259 ContextualEducationTriggered* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2260 return CreateMaybeMessage<ContextualEducationTriggered>(arena);
2261 }
2262 ContextualEducationTriggered* New() const {
2263 return New(nullptr);
2264 }
2265 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2266 void CopyFrom(const ContextualEducationTriggered& from);
2267 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2268 void MergeFrom( const ContextualEducationTriggered& from) {
2269 ContextualEducationTriggered::MergeImpl(*this, from);
2270 }
2271 private:
2272 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2273 public:
2274 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2275 bool IsInitialized() const final;
2276
2277 size_t ByteSizeLong() const final;
2278 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2279 ::uint8_t* _InternalSerialize(
2280 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2281 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2282
2283 private:
2284 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2285 void SharedDtor();
2286 void SetCachedSize(int size) const final;
2287 void InternalSwap(ContextualEducationTriggered* other);
2288
2289 private:
2290 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2291 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2292 return "android.os.statsd.sysui.ContextualEducationTriggered";
2293 }
2294 protected:
2295 explicit ContextualEducationTriggered(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2296 bool is_message_owned = false);
2297 public:
2298
2299 static const ClassData _class_data_;
2300 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2301
2302 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2303
2304 // nested types ----------------------------------------------------
2305
2306 typedef ContextualEducationTriggered_EducationType EducationType;
2307 static constexpr EducationType EDU_TYPE_UNSPECIFIED =
2308 ContextualEducationTriggered_EducationType_EDU_TYPE_UNSPECIFIED;
2309 static constexpr EducationType TOAST =
2310 ContextualEducationTriggered_EducationType_TOAST;
2311 static constexpr EducationType NOTIFICATION =
2312 ContextualEducationTriggered_EducationType_NOTIFICATION;
2313 static inline bool EducationType_IsValid(int value) {
2314 return ContextualEducationTriggered_EducationType_IsValid(value);
2315 }
2316 static constexpr EducationType EducationType_MIN =
2317 ContextualEducationTriggered_EducationType_EducationType_MIN;
2318 static constexpr EducationType EducationType_MAX =
2319 ContextualEducationTriggered_EducationType_EducationType_MAX;
2320 static constexpr int EducationType_ARRAYSIZE =
2321 ContextualEducationTriggered_EducationType_EducationType_ARRAYSIZE;
2322 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
2323 EducationType_descriptor() {
2324 return ContextualEducationTriggered_EducationType_descriptor();
2325 }
2326 template<typename T>
2327 static inline const std::string& EducationType_Name(T enum_t_value) {
2328 static_assert(::std::is_same<T, EducationType>::value ||
2329 ::std::is_integral<T>::value,
2330 "Incorrect type passed to function EducationType_Name.");
2331 return ContextualEducationTriggered_EducationType_Name(enum_t_value);
2332 }
2333 static inline bool EducationType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2334 EducationType* value) {
2335 return ContextualEducationTriggered_EducationType_Parse(name, value);
2336 }
2337
2338 typedef ContextualEducationTriggered_GestureType GestureType;
2339 static constexpr GestureType GESTURE_TYPE_UNSPECIFIED =
2340 ContextualEducationTriggered_GestureType_GESTURE_TYPE_UNSPECIFIED;
2341 static constexpr GestureType BACK =
2342 ContextualEducationTriggered_GestureType_BACK;
2343 static constexpr GestureType HOME =
2344 ContextualEducationTriggered_GestureType_HOME;
2345 static constexpr GestureType OVERVIEW =
2346 ContextualEducationTriggered_GestureType_OVERVIEW;
2347 static constexpr GestureType ALL_APPS =
2348 ContextualEducationTriggered_GestureType_ALL_APPS;
2349 static inline bool GestureType_IsValid(int value) {
2350 return ContextualEducationTriggered_GestureType_IsValid(value);
2351 }
2352 static constexpr GestureType GestureType_MIN =
2353 ContextualEducationTriggered_GestureType_GestureType_MIN;
2354 static constexpr GestureType GestureType_MAX =
2355 ContextualEducationTriggered_GestureType_GestureType_MAX;
2356 static constexpr int GestureType_ARRAYSIZE =
2357 ContextualEducationTriggered_GestureType_GestureType_ARRAYSIZE;
2358 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
2359 GestureType_descriptor() {
2360 return ContextualEducationTriggered_GestureType_descriptor();
2361 }
2362 template<typename T>
2363 static inline const std::string& GestureType_Name(T enum_t_value) {
2364 static_assert(::std::is_same<T, GestureType>::value ||
2365 ::std::is_integral<T>::value,
2366 "Incorrect type passed to function GestureType_Name.");
2367 return ContextualEducationTriggered_GestureType_Name(enum_t_value);
2368 }
2369 static inline bool GestureType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2370 GestureType* value) {
2371 return ContextualEducationTriggered_GestureType_Parse(name, value);
2372 }
2373
2374 // accessors -------------------------------------------------------
2375
2376 enum : int {
2377 kEducationTypeFieldNumber = 1,
2378 kGestureTypeFieldNumber = 2,
2379 };
2380 // optional .android.os.statsd.sysui.ContextualEducationTriggered.EducationType education_type = 1;
2381 bool has_education_type() const;
2382 private:
2383 bool _internal_has_education_type() const;
2384 public:
2385 void clear_education_type();
2386 ::android::os::statsd::sysui::ContextualEducationTriggered_EducationType education_type() const;
2387 void set_education_type(::android::os::statsd::sysui::ContextualEducationTriggered_EducationType value);
2388 private:
2389 ::android::os::statsd::sysui::ContextualEducationTriggered_EducationType _internal_education_type() const;
2390 void _internal_set_education_type(::android::os::statsd::sysui::ContextualEducationTriggered_EducationType value);
2391 public:
2392
2393 // optional .android.os.statsd.sysui.ContextualEducationTriggered.GestureType gesture_type = 2;
2394 bool has_gesture_type() const;
2395 private:
2396 bool _internal_has_gesture_type() const;
2397 public:
2398 void clear_gesture_type();
2399 ::android::os::statsd::sysui::ContextualEducationTriggered_GestureType gesture_type() const;
2400 void set_gesture_type(::android::os::statsd::sysui::ContextualEducationTriggered_GestureType value);
2401 private:
2402 ::android::os::statsd::sysui::ContextualEducationTriggered_GestureType _internal_gesture_type() const;
2403 void _internal_set_gesture_type(::android::os::statsd::sysui::ContextualEducationTriggered_GestureType value);
2404 public:
2405
2406 // @@protoc_insertion_point(class_scope:android.os.statsd.sysui.ContextualEducationTriggered)
2407 private:
2408 class _Internal;
2409
2410 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2411 typedef void InternalArenaConstructable_;
2412 typedef void DestructorSkippable_;
2413 struct Impl_ {
2414 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2415 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2416 int education_type_;
2417 int gesture_type_;
2418 };
2419 union { Impl_ _impl_; };
2420 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto;
2421 };
2422 // -------------------------------------------------------------------
2423
2424 class PeripheralTutorialLaunched final :
2425 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.sysui.PeripheralTutorialLaunched) */ {
2426 public:
PeripheralTutorialLaunched()2427 inline PeripheralTutorialLaunched() : PeripheralTutorialLaunched(nullptr) {}
2428 ~PeripheralTutorialLaunched() override;
2429 explicit PROTOBUF_CONSTEXPR PeripheralTutorialLaunched(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2430
2431 PeripheralTutorialLaunched(const PeripheralTutorialLaunched& from);
PeripheralTutorialLaunched(PeripheralTutorialLaunched && from)2432 PeripheralTutorialLaunched(PeripheralTutorialLaunched&& from) noexcept
2433 : PeripheralTutorialLaunched() {
2434 *this = ::std::move(from);
2435 }
2436
2437 inline PeripheralTutorialLaunched& operator=(const PeripheralTutorialLaunched& from) {
2438 if (this == &from) return *this;
2439 CopyFrom(from);
2440 return *this;
2441 }
2442 inline PeripheralTutorialLaunched& operator=(PeripheralTutorialLaunched&& from) noexcept {
2443 if (this == &from) return *this;
2444 if (GetOwningArena() == from.GetOwningArena()
2445 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2446 && GetOwningArena() != nullptr
2447 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2448 ) {
2449 InternalSwap(&from);
2450 } else {
2451 CopyFrom(from);
2452 }
2453 return *this;
2454 }
2455
unknown_fields()2456 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2457 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2458 }
mutable_unknown_fields()2459 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2460 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2461 }
2462
descriptor()2463 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2464 return GetDescriptor();
2465 }
GetDescriptor()2466 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2467 return default_instance().GetMetadata().descriptor;
2468 }
GetReflection()2469 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2470 return default_instance().GetMetadata().reflection;
2471 }
default_instance()2472 static const PeripheralTutorialLaunched& default_instance() {
2473 return *internal_default_instance();
2474 }
internal_default_instance()2475 static inline const PeripheralTutorialLaunched* internal_default_instance() {
2476 return reinterpret_cast<const PeripheralTutorialLaunched*>(
2477 &_PeripheralTutorialLaunched_default_instance_);
2478 }
2479 static constexpr int kIndexInFileMessages =
2480 8;
2481
swap(PeripheralTutorialLaunched & a,PeripheralTutorialLaunched & b)2482 friend void swap(PeripheralTutorialLaunched& a, PeripheralTutorialLaunched& b) {
2483 a.Swap(&b);
2484 }
Swap(PeripheralTutorialLaunched * other)2485 inline void Swap(PeripheralTutorialLaunched* other) {
2486 if (other == this) return;
2487 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2488 if (GetOwningArena() != nullptr &&
2489 GetOwningArena() == other->GetOwningArena()) {
2490 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2491 if (GetOwningArena() == other->GetOwningArena()) {
2492 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2493 InternalSwap(other);
2494 } else {
2495 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2496 }
2497 }
2498 void UnsafeArenaSwap(PeripheralTutorialLaunched* other) {
2499 if (other == this) return;
2500 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2501 InternalSwap(other);
2502 }
2503
2504 // implements Message ----------------------------------------------
2505
2506 PeripheralTutorialLaunched* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2507 return CreateMaybeMessage<PeripheralTutorialLaunched>(arena);
2508 }
2509 PeripheralTutorialLaunched* New() const {
2510 return New(nullptr);
2511 }
2512 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2513 void CopyFrom(const PeripheralTutorialLaunched& from);
2514 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2515 void MergeFrom( const PeripheralTutorialLaunched& from) {
2516 PeripheralTutorialLaunched::MergeImpl(*this, from);
2517 }
2518 private:
2519 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2520 public:
2521 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2522 bool IsInitialized() const final;
2523
2524 size_t ByteSizeLong() const final;
2525 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2526 ::uint8_t* _InternalSerialize(
2527 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2528 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2529
2530 private:
2531 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2532 void SharedDtor();
2533 void SetCachedSize(int size) const final;
2534 void InternalSwap(PeripheralTutorialLaunched* other);
2535
2536 private:
2537 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2538 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2539 return "android.os.statsd.sysui.PeripheralTutorialLaunched";
2540 }
2541 protected:
2542 explicit PeripheralTutorialLaunched(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2543 bool is_message_owned = false);
2544 public:
2545
2546 static const ClassData _class_data_;
2547 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2548
2549 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2550
2551 // nested types ----------------------------------------------------
2552
2553 typedef PeripheralTutorialLaunched_EntryPoint EntryPoint;
2554 static constexpr EntryPoint UNSPECIFIED_ENTRY =
2555 PeripheralTutorialLaunched_EntryPoint_UNSPECIFIED_ENTRY;
2556 static constexpr EntryPoint SETTINGS =
2557 PeripheralTutorialLaunched_EntryPoint_SETTINGS;
2558 static constexpr EntryPoint SCHEDULED =
2559 PeripheralTutorialLaunched_EntryPoint_SCHEDULED;
2560 static constexpr EntryPoint CONTEXTUAL_EDU =
2561 PeripheralTutorialLaunched_EntryPoint_CONTEXTUAL_EDU;
2562 static constexpr EntryPoint APP =
2563 PeripheralTutorialLaunched_EntryPoint_APP;
2564 static inline bool EntryPoint_IsValid(int value) {
2565 return PeripheralTutorialLaunched_EntryPoint_IsValid(value);
2566 }
2567 static constexpr EntryPoint EntryPoint_MIN =
2568 PeripheralTutorialLaunched_EntryPoint_EntryPoint_MIN;
2569 static constexpr EntryPoint EntryPoint_MAX =
2570 PeripheralTutorialLaunched_EntryPoint_EntryPoint_MAX;
2571 static constexpr int EntryPoint_ARRAYSIZE =
2572 PeripheralTutorialLaunched_EntryPoint_EntryPoint_ARRAYSIZE;
2573 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
2574 EntryPoint_descriptor() {
2575 return PeripheralTutorialLaunched_EntryPoint_descriptor();
2576 }
2577 template<typename T>
2578 static inline const std::string& EntryPoint_Name(T enum_t_value) {
2579 static_assert(::std::is_same<T, EntryPoint>::value ||
2580 ::std::is_integral<T>::value,
2581 "Incorrect type passed to function EntryPoint_Name.");
2582 return PeripheralTutorialLaunched_EntryPoint_Name(enum_t_value);
2583 }
2584 static inline bool EntryPoint_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2585 EntryPoint* value) {
2586 return PeripheralTutorialLaunched_EntryPoint_Parse(name, value);
2587 }
2588
2589 typedef PeripheralTutorialLaunched_TutorialType TutorialType;
2590 static constexpr TutorialType UNSPECIFIED_TYPE =
2591 PeripheralTutorialLaunched_TutorialType_UNSPECIFIED_TYPE;
2592 static constexpr TutorialType KEYBOARD =
2593 PeripheralTutorialLaunched_TutorialType_KEYBOARD;
2594 static constexpr TutorialType TOUCHPAD =
2595 PeripheralTutorialLaunched_TutorialType_TOUCHPAD;
2596 static constexpr TutorialType BOTH =
2597 PeripheralTutorialLaunched_TutorialType_BOTH;
2598 static inline bool TutorialType_IsValid(int value) {
2599 return PeripheralTutorialLaunched_TutorialType_IsValid(value);
2600 }
2601 static constexpr TutorialType TutorialType_MIN =
2602 PeripheralTutorialLaunched_TutorialType_TutorialType_MIN;
2603 static constexpr TutorialType TutorialType_MAX =
2604 PeripheralTutorialLaunched_TutorialType_TutorialType_MAX;
2605 static constexpr int TutorialType_ARRAYSIZE =
2606 PeripheralTutorialLaunched_TutorialType_TutorialType_ARRAYSIZE;
2607 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
2608 TutorialType_descriptor() {
2609 return PeripheralTutorialLaunched_TutorialType_descriptor();
2610 }
2611 template<typename T>
2612 static inline const std::string& TutorialType_Name(T enum_t_value) {
2613 static_assert(::std::is_same<T, TutorialType>::value ||
2614 ::std::is_integral<T>::value,
2615 "Incorrect type passed to function TutorialType_Name.");
2616 return PeripheralTutorialLaunched_TutorialType_Name(enum_t_value);
2617 }
2618 static inline bool TutorialType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2619 TutorialType* value) {
2620 return PeripheralTutorialLaunched_TutorialType_Parse(name, value);
2621 }
2622
2623 // accessors -------------------------------------------------------
2624
2625 enum : int {
2626 kEntryPointFieldNumber = 1,
2627 kTutorialTypeFieldNumber = 2,
2628 };
2629 // optional .android.os.statsd.sysui.PeripheralTutorialLaunched.EntryPoint entry_point = 1;
2630 bool has_entry_point() const;
2631 private:
2632 bool _internal_has_entry_point() const;
2633 public:
2634 void clear_entry_point();
2635 ::android::os::statsd::sysui::PeripheralTutorialLaunched_EntryPoint entry_point() const;
2636 void set_entry_point(::android::os::statsd::sysui::PeripheralTutorialLaunched_EntryPoint value);
2637 private:
2638 ::android::os::statsd::sysui::PeripheralTutorialLaunched_EntryPoint _internal_entry_point() const;
2639 void _internal_set_entry_point(::android::os::statsd::sysui::PeripheralTutorialLaunched_EntryPoint value);
2640 public:
2641
2642 // optional .android.os.statsd.sysui.PeripheralTutorialLaunched.TutorialType tutorial_type = 2;
2643 bool has_tutorial_type() const;
2644 private:
2645 bool _internal_has_tutorial_type() const;
2646 public:
2647 void clear_tutorial_type();
2648 ::android::os::statsd::sysui::PeripheralTutorialLaunched_TutorialType tutorial_type() const;
2649 void set_tutorial_type(::android::os::statsd::sysui::PeripheralTutorialLaunched_TutorialType value);
2650 private:
2651 ::android::os::statsd::sysui::PeripheralTutorialLaunched_TutorialType _internal_tutorial_type() const;
2652 void _internal_set_tutorial_type(::android::os::statsd::sysui::PeripheralTutorialLaunched_TutorialType value);
2653 public:
2654
2655 // @@protoc_insertion_point(class_scope:android.os.statsd.sysui.PeripheralTutorialLaunched)
2656 private:
2657 class _Internal;
2658
2659 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2660 typedef void InternalArenaConstructable_;
2661 typedef void DestructorSkippable_;
2662 struct Impl_ {
2663 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2664 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2665 int entry_point_;
2666 int tutorial_type_;
2667 };
2668 union { Impl_ _impl_; };
2669 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto;
2670 };
2671 // -------------------------------------------------------------------
2672
2673 class CommunalHubSnapshot final :
2674 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.sysui.CommunalHubSnapshot) */ {
2675 public:
CommunalHubSnapshot()2676 inline CommunalHubSnapshot() : CommunalHubSnapshot(nullptr) {}
2677 ~CommunalHubSnapshot() override;
2678 explicit PROTOBUF_CONSTEXPR CommunalHubSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2679
2680 CommunalHubSnapshot(const CommunalHubSnapshot& from);
CommunalHubSnapshot(CommunalHubSnapshot && from)2681 CommunalHubSnapshot(CommunalHubSnapshot&& from) noexcept
2682 : CommunalHubSnapshot() {
2683 *this = ::std::move(from);
2684 }
2685
2686 inline CommunalHubSnapshot& operator=(const CommunalHubSnapshot& from) {
2687 if (this == &from) return *this;
2688 CopyFrom(from);
2689 return *this;
2690 }
2691 inline CommunalHubSnapshot& operator=(CommunalHubSnapshot&& from) noexcept {
2692 if (this == &from) return *this;
2693 if (GetOwningArena() == from.GetOwningArena()
2694 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2695 && GetOwningArena() != nullptr
2696 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2697 ) {
2698 InternalSwap(&from);
2699 } else {
2700 CopyFrom(from);
2701 }
2702 return *this;
2703 }
2704
unknown_fields()2705 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2706 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2707 }
mutable_unknown_fields()2708 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2709 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2710 }
2711
descriptor()2712 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2713 return GetDescriptor();
2714 }
GetDescriptor()2715 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2716 return default_instance().GetMetadata().descriptor;
2717 }
GetReflection()2718 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2719 return default_instance().GetMetadata().reflection;
2720 }
default_instance()2721 static const CommunalHubSnapshot& default_instance() {
2722 return *internal_default_instance();
2723 }
internal_default_instance()2724 static inline const CommunalHubSnapshot* internal_default_instance() {
2725 return reinterpret_cast<const CommunalHubSnapshot*>(
2726 &_CommunalHubSnapshot_default_instance_);
2727 }
2728 static constexpr int kIndexInFileMessages =
2729 9;
2730
swap(CommunalHubSnapshot & a,CommunalHubSnapshot & b)2731 friend void swap(CommunalHubSnapshot& a, CommunalHubSnapshot& b) {
2732 a.Swap(&b);
2733 }
Swap(CommunalHubSnapshot * other)2734 inline void Swap(CommunalHubSnapshot* other) {
2735 if (other == this) return;
2736 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2737 if (GetOwningArena() != nullptr &&
2738 GetOwningArena() == other->GetOwningArena()) {
2739 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2740 if (GetOwningArena() == other->GetOwningArena()) {
2741 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2742 InternalSwap(other);
2743 } else {
2744 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2745 }
2746 }
2747 void UnsafeArenaSwap(CommunalHubSnapshot* other) {
2748 if (other == this) return;
2749 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2750 InternalSwap(other);
2751 }
2752
2753 // implements Message ----------------------------------------------
2754
2755 CommunalHubSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2756 return CreateMaybeMessage<CommunalHubSnapshot>(arena);
2757 }
2758 CommunalHubSnapshot* New() const {
2759 return New(nullptr);
2760 }
2761 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2762 void CopyFrom(const CommunalHubSnapshot& from);
2763 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2764 void MergeFrom( const CommunalHubSnapshot& from) {
2765 CommunalHubSnapshot::MergeImpl(*this, from);
2766 }
2767 private:
2768 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2769 public:
2770 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2771 bool IsInitialized() const final;
2772
2773 size_t ByteSizeLong() const final;
2774 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2775 ::uint8_t* _InternalSerialize(
2776 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2777 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2778
2779 private:
2780 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2781 void SharedDtor();
2782 void SetCachedSize(int size) const final;
2783 void InternalSwap(CommunalHubSnapshot* other);
2784
2785 private:
2786 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2787 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2788 return "android.os.statsd.sysui.CommunalHubSnapshot";
2789 }
2790 protected:
2791 explicit CommunalHubSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2792 bool is_message_owned = false);
2793 public:
2794
2795 static const ClassData _class_data_;
2796 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2797
2798 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2799
2800 // nested types ----------------------------------------------------
2801
2802 // accessors -------------------------------------------------------
2803
2804 enum : int {
2805 kComponentNamesFieldNumber = 1,
2806 kWidgetCountFieldNumber = 2,
2807 };
2808 // repeated string component_names = 1;
2809 int component_names_size() const;
2810 private:
2811 int _internal_component_names_size() const;
2812 public:
2813 void clear_component_names();
2814 const std::string& component_names(int index) const;
2815 std::string* mutable_component_names(int index);
2816 void set_component_names(int index, const std::string& value);
2817 void set_component_names(int index, std::string&& value);
2818 void set_component_names(int index, const char* value);
2819 void set_component_names(int index, const char* value, size_t size);
2820 std::string* add_component_names();
2821 void add_component_names(const std::string& value);
2822 void add_component_names(std::string&& value);
2823 void add_component_names(const char* value);
2824 void add_component_names(const char* value, size_t size);
2825 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& component_names() const;
2826 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_component_names();
2827 private:
2828 const std::string& _internal_component_names(int index) const;
2829 std::string* _internal_add_component_names();
2830 public:
2831
2832 // optional int32 widget_count = 2;
2833 bool has_widget_count() const;
2834 private:
2835 bool _internal_has_widget_count() const;
2836 public:
2837 void clear_widget_count();
2838 ::int32_t widget_count() const;
2839 void set_widget_count(::int32_t value);
2840 private:
2841 ::int32_t _internal_widget_count() const;
2842 void _internal_set_widget_count(::int32_t value);
2843 public:
2844
2845 // @@protoc_insertion_point(class_scope:android.os.statsd.sysui.CommunalHubSnapshot)
2846 private:
2847 class _Internal;
2848
2849 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2850 typedef void InternalArenaConstructable_;
2851 typedef void DestructorSkippable_;
2852 struct Impl_ {
2853 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2854 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2855 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> component_names_;
2856 ::int32_t widget_count_;
2857 };
2858 union { Impl_ _impl_; };
2859 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fsysui_2fsysui_5fextension_5fatoms_2eproto;
2860 };
2861 // ===================================================================
2862
2863 static const int kLockscreenShortcutSelectedFieldNumber = 611;
2864 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
2865 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::sysui::LockscreenShortcutSelected >, 11, false >
2866 lockscreen_shortcut_selected;
2867 static const int kLockscreenShortcutTriggeredFieldNumber = 612;
2868 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
2869 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::sysui::LockscreenShortcutTriggered >, 11, false >
2870 lockscreen_shortcut_triggered;
2871 static const int kLauncherImpressionEventV2FieldNumber = 716;
2872 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
2873 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::sysui::LauncherImpressionEventV2 >, 11, false >
2874 launcher_impression_event_v2;
2875 static const int kDisplaySwitchLatencyTrackedFieldNumber = 753;
2876 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
2877 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::sysui::DisplaySwitchLatencyTracked >, 11, false >
2878 display_switch_latency_tracked;
2879 static const int kNotificationListenerServiceFieldNumber = 829;
2880 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
2881 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::sysui::NotificationListenerService >, 11, false >
2882 notification_listener_service;
2883 static const int kNavHandleTouchPointsFieldNumber = 869;
2884 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
2885 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::sysui::NavHandleTouchPoints >, 11, false >
2886 nav_handle_touch_points;
2887 static const int kCommunalHubWidgetEventReportedFieldNumber = 908;
2888 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
2889 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::sysui::CommunalHubWidgetEventReported >, 11, false >
2890 communal_hub_widget_event_reported;
2891 static const int kPeripheralTutorialLaunchedFieldNumber = 942;
2892 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
2893 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::sysui::PeripheralTutorialLaunched >, 11, false >
2894 peripheral_tutorial_launched;
2895 static const int kContextualEducationTriggeredFieldNumber = 971;
2896 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
2897 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::sysui::ContextualEducationTriggered >, 11, false >
2898 contextual_education_triggered;
2899 static const int kCommunalHubSnapshotFieldNumber = 10226;
2900 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
2901 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::sysui::CommunalHubSnapshot >, 11, false >
2902 communal_hub_snapshot;
2903
2904 // ===================================================================
2905
2906 #ifdef __GNUC__
2907 #pragma GCC diagnostic push
2908 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
2909 #endif // __GNUC__
2910 // LockscreenShortcutSelected
2911
2912 // optional string slot_id = 1;
_internal_has_slot_id()2913 inline bool LockscreenShortcutSelected::_internal_has_slot_id() const {
2914 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2915 return value;
2916 }
has_slot_id()2917 inline bool LockscreenShortcutSelected::has_slot_id() const {
2918 return _internal_has_slot_id();
2919 }
clear_slot_id()2920 inline void LockscreenShortcutSelected::clear_slot_id() {
2921 _impl_.slot_id_.ClearToEmpty();
2922 _impl_._has_bits_[0] &= ~0x00000001u;
2923 }
slot_id()2924 inline const std::string& LockscreenShortcutSelected::slot_id() const {
2925 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LockscreenShortcutSelected.slot_id)
2926 return _internal_slot_id();
2927 }
2928 template <typename ArgT0, typename... ArgT>
2929 inline PROTOBUF_ALWAYS_INLINE
set_slot_id(ArgT0 && arg0,ArgT...args)2930 void LockscreenShortcutSelected::set_slot_id(ArgT0&& arg0, ArgT... args) {
2931 _impl_._has_bits_[0] |= 0x00000001u;
2932 _impl_.slot_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2933 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LockscreenShortcutSelected.slot_id)
2934 }
mutable_slot_id()2935 inline std::string* LockscreenShortcutSelected::mutable_slot_id() {
2936 std::string* _s = _internal_mutable_slot_id();
2937 // @@protoc_insertion_point(field_mutable:android.os.statsd.sysui.LockscreenShortcutSelected.slot_id)
2938 return _s;
2939 }
_internal_slot_id()2940 inline const std::string& LockscreenShortcutSelected::_internal_slot_id() const {
2941 return _impl_.slot_id_.Get();
2942 }
_internal_set_slot_id(const std::string & value)2943 inline void LockscreenShortcutSelected::_internal_set_slot_id(const std::string& value) {
2944 _impl_._has_bits_[0] |= 0x00000001u;
2945 _impl_.slot_id_.Set(value, GetArenaForAllocation());
2946 }
_internal_mutable_slot_id()2947 inline std::string* LockscreenShortcutSelected::_internal_mutable_slot_id() {
2948 _impl_._has_bits_[0] |= 0x00000001u;
2949 return _impl_.slot_id_.Mutable(GetArenaForAllocation());
2950 }
release_slot_id()2951 inline std::string* LockscreenShortcutSelected::release_slot_id() {
2952 // @@protoc_insertion_point(field_release:android.os.statsd.sysui.LockscreenShortcutSelected.slot_id)
2953 if (!_internal_has_slot_id()) {
2954 return nullptr;
2955 }
2956 _impl_._has_bits_[0] &= ~0x00000001u;
2957 auto* p = _impl_.slot_id_.Release();
2958 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2959 if (_impl_.slot_id_.IsDefault()) {
2960 _impl_.slot_id_.Set("", GetArenaForAllocation());
2961 }
2962 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2963 return p;
2964 }
set_allocated_slot_id(std::string * slot_id)2965 inline void LockscreenShortcutSelected::set_allocated_slot_id(std::string* slot_id) {
2966 if (slot_id != nullptr) {
2967 _impl_._has_bits_[0] |= 0x00000001u;
2968 } else {
2969 _impl_._has_bits_[0] &= ~0x00000001u;
2970 }
2971 _impl_.slot_id_.SetAllocated(slot_id, GetArenaForAllocation());
2972 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2973 if (_impl_.slot_id_.IsDefault()) {
2974 _impl_.slot_id_.Set("", GetArenaForAllocation());
2975 }
2976 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2977 // @@protoc_insertion_point(field_set_allocated:android.os.statsd.sysui.LockscreenShortcutSelected.slot_id)
2978 }
2979
2980 // optional string affordance_id = 2;
_internal_has_affordance_id()2981 inline bool LockscreenShortcutSelected::_internal_has_affordance_id() const {
2982 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2983 return value;
2984 }
has_affordance_id()2985 inline bool LockscreenShortcutSelected::has_affordance_id() const {
2986 return _internal_has_affordance_id();
2987 }
clear_affordance_id()2988 inline void LockscreenShortcutSelected::clear_affordance_id() {
2989 _impl_.affordance_id_.ClearToEmpty();
2990 _impl_._has_bits_[0] &= ~0x00000002u;
2991 }
affordance_id()2992 inline const std::string& LockscreenShortcutSelected::affordance_id() const {
2993 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LockscreenShortcutSelected.affordance_id)
2994 return _internal_affordance_id();
2995 }
2996 template <typename ArgT0, typename... ArgT>
2997 inline PROTOBUF_ALWAYS_INLINE
set_affordance_id(ArgT0 && arg0,ArgT...args)2998 void LockscreenShortcutSelected::set_affordance_id(ArgT0&& arg0, ArgT... args) {
2999 _impl_._has_bits_[0] |= 0x00000002u;
3000 _impl_.affordance_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3001 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LockscreenShortcutSelected.affordance_id)
3002 }
mutable_affordance_id()3003 inline std::string* LockscreenShortcutSelected::mutable_affordance_id() {
3004 std::string* _s = _internal_mutable_affordance_id();
3005 // @@protoc_insertion_point(field_mutable:android.os.statsd.sysui.LockscreenShortcutSelected.affordance_id)
3006 return _s;
3007 }
_internal_affordance_id()3008 inline const std::string& LockscreenShortcutSelected::_internal_affordance_id() const {
3009 return _impl_.affordance_id_.Get();
3010 }
_internal_set_affordance_id(const std::string & value)3011 inline void LockscreenShortcutSelected::_internal_set_affordance_id(const std::string& value) {
3012 _impl_._has_bits_[0] |= 0x00000002u;
3013 _impl_.affordance_id_.Set(value, GetArenaForAllocation());
3014 }
_internal_mutable_affordance_id()3015 inline std::string* LockscreenShortcutSelected::_internal_mutable_affordance_id() {
3016 _impl_._has_bits_[0] |= 0x00000002u;
3017 return _impl_.affordance_id_.Mutable(GetArenaForAllocation());
3018 }
release_affordance_id()3019 inline std::string* LockscreenShortcutSelected::release_affordance_id() {
3020 // @@protoc_insertion_point(field_release:android.os.statsd.sysui.LockscreenShortcutSelected.affordance_id)
3021 if (!_internal_has_affordance_id()) {
3022 return nullptr;
3023 }
3024 _impl_._has_bits_[0] &= ~0x00000002u;
3025 auto* p = _impl_.affordance_id_.Release();
3026 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3027 if (_impl_.affordance_id_.IsDefault()) {
3028 _impl_.affordance_id_.Set("", GetArenaForAllocation());
3029 }
3030 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3031 return p;
3032 }
set_allocated_affordance_id(std::string * affordance_id)3033 inline void LockscreenShortcutSelected::set_allocated_affordance_id(std::string* affordance_id) {
3034 if (affordance_id != nullptr) {
3035 _impl_._has_bits_[0] |= 0x00000002u;
3036 } else {
3037 _impl_._has_bits_[0] &= ~0x00000002u;
3038 }
3039 _impl_.affordance_id_.SetAllocated(affordance_id, GetArenaForAllocation());
3040 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3041 if (_impl_.affordance_id_.IsDefault()) {
3042 _impl_.affordance_id_.Set("", GetArenaForAllocation());
3043 }
3044 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3045 // @@protoc_insertion_point(field_set_allocated:android.os.statsd.sysui.LockscreenShortcutSelected.affordance_id)
3046 }
3047
3048 // -------------------------------------------------------------------
3049
3050 // LockscreenShortcutTriggered
3051
3052 // optional string slot_id = 1;
_internal_has_slot_id()3053 inline bool LockscreenShortcutTriggered::_internal_has_slot_id() const {
3054 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3055 return value;
3056 }
has_slot_id()3057 inline bool LockscreenShortcutTriggered::has_slot_id() const {
3058 return _internal_has_slot_id();
3059 }
clear_slot_id()3060 inline void LockscreenShortcutTriggered::clear_slot_id() {
3061 _impl_.slot_id_.ClearToEmpty();
3062 _impl_._has_bits_[0] &= ~0x00000001u;
3063 }
slot_id()3064 inline const std::string& LockscreenShortcutTriggered::slot_id() const {
3065 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LockscreenShortcutTriggered.slot_id)
3066 return _internal_slot_id();
3067 }
3068 template <typename ArgT0, typename... ArgT>
3069 inline PROTOBUF_ALWAYS_INLINE
set_slot_id(ArgT0 && arg0,ArgT...args)3070 void LockscreenShortcutTriggered::set_slot_id(ArgT0&& arg0, ArgT... args) {
3071 _impl_._has_bits_[0] |= 0x00000001u;
3072 _impl_.slot_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3073 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LockscreenShortcutTriggered.slot_id)
3074 }
mutable_slot_id()3075 inline std::string* LockscreenShortcutTriggered::mutable_slot_id() {
3076 std::string* _s = _internal_mutable_slot_id();
3077 // @@protoc_insertion_point(field_mutable:android.os.statsd.sysui.LockscreenShortcutTriggered.slot_id)
3078 return _s;
3079 }
_internal_slot_id()3080 inline const std::string& LockscreenShortcutTriggered::_internal_slot_id() const {
3081 return _impl_.slot_id_.Get();
3082 }
_internal_set_slot_id(const std::string & value)3083 inline void LockscreenShortcutTriggered::_internal_set_slot_id(const std::string& value) {
3084 _impl_._has_bits_[0] |= 0x00000001u;
3085 _impl_.slot_id_.Set(value, GetArenaForAllocation());
3086 }
_internal_mutable_slot_id()3087 inline std::string* LockscreenShortcutTriggered::_internal_mutable_slot_id() {
3088 _impl_._has_bits_[0] |= 0x00000001u;
3089 return _impl_.slot_id_.Mutable(GetArenaForAllocation());
3090 }
release_slot_id()3091 inline std::string* LockscreenShortcutTriggered::release_slot_id() {
3092 // @@protoc_insertion_point(field_release:android.os.statsd.sysui.LockscreenShortcutTriggered.slot_id)
3093 if (!_internal_has_slot_id()) {
3094 return nullptr;
3095 }
3096 _impl_._has_bits_[0] &= ~0x00000001u;
3097 auto* p = _impl_.slot_id_.Release();
3098 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3099 if (_impl_.slot_id_.IsDefault()) {
3100 _impl_.slot_id_.Set("", GetArenaForAllocation());
3101 }
3102 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3103 return p;
3104 }
set_allocated_slot_id(std::string * slot_id)3105 inline void LockscreenShortcutTriggered::set_allocated_slot_id(std::string* slot_id) {
3106 if (slot_id != nullptr) {
3107 _impl_._has_bits_[0] |= 0x00000001u;
3108 } else {
3109 _impl_._has_bits_[0] &= ~0x00000001u;
3110 }
3111 _impl_.slot_id_.SetAllocated(slot_id, GetArenaForAllocation());
3112 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3113 if (_impl_.slot_id_.IsDefault()) {
3114 _impl_.slot_id_.Set("", GetArenaForAllocation());
3115 }
3116 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3117 // @@protoc_insertion_point(field_set_allocated:android.os.statsd.sysui.LockscreenShortcutTriggered.slot_id)
3118 }
3119
3120 // optional string affordance_id = 2;
_internal_has_affordance_id()3121 inline bool LockscreenShortcutTriggered::_internal_has_affordance_id() const {
3122 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3123 return value;
3124 }
has_affordance_id()3125 inline bool LockscreenShortcutTriggered::has_affordance_id() const {
3126 return _internal_has_affordance_id();
3127 }
clear_affordance_id()3128 inline void LockscreenShortcutTriggered::clear_affordance_id() {
3129 _impl_.affordance_id_.ClearToEmpty();
3130 _impl_._has_bits_[0] &= ~0x00000002u;
3131 }
affordance_id()3132 inline const std::string& LockscreenShortcutTriggered::affordance_id() const {
3133 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LockscreenShortcutTriggered.affordance_id)
3134 return _internal_affordance_id();
3135 }
3136 template <typename ArgT0, typename... ArgT>
3137 inline PROTOBUF_ALWAYS_INLINE
set_affordance_id(ArgT0 && arg0,ArgT...args)3138 void LockscreenShortcutTriggered::set_affordance_id(ArgT0&& arg0, ArgT... args) {
3139 _impl_._has_bits_[0] |= 0x00000002u;
3140 _impl_.affordance_id_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
3141 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LockscreenShortcutTriggered.affordance_id)
3142 }
mutable_affordance_id()3143 inline std::string* LockscreenShortcutTriggered::mutable_affordance_id() {
3144 std::string* _s = _internal_mutable_affordance_id();
3145 // @@protoc_insertion_point(field_mutable:android.os.statsd.sysui.LockscreenShortcutTriggered.affordance_id)
3146 return _s;
3147 }
_internal_affordance_id()3148 inline const std::string& LockscreenShortcutTriggered::_internal_affordance_id() const {
3149 return _impl_.affordance_id_.Get();
3150 }
_internal_set_affordance_id(const std::string & value)3151 inline void LockscreenShortcutTriggered::_internal_set_affordance_id(const std::string& value) {
3152 _impl_._has_bits_[0] |= 0x00000002u;
3153 _impl_.affordance_id_.Set(value, GetArenaForAllocation());
3154 }
_internal_mutable_affordance_id()3155 inline std::string* LockscreenShortcutTriggered::_internal_mutable_affordance_id() {
3156 _impl_._has_bits_[0] |= 0x00000002u;
3157 return _impl_.affordance_id_.Mutable(GetArenaForAllocation());
3158 }
release_affordance_id()3159 inline std::string* LockscreenShortcutTriggered::release_affordance_id() {
3160 // @@protoc_insertion_point(field_release:android.os.statsd.sysui.LockscreenShortcutTriggered.affordance_id)
3161 if (!_internal_has_affordance_id()) {
3162 return nullptr;
3163 }
3164 _impl_._has_bits_[0] &= ~0x00000002u;
3165 auto* p = _impl_.affordance_id_.Release();
3166 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3167 if (_impl_.affordance_id_.IsDefault()) {
3168 _impl_.affordance_id_.Set("", GetArenaForAllocation());
3169 }
3170 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3171 return p;
3172 }
set_allocated_affordance_id(std::string * affordance_id)3173 inline void LockscreenShortcutTriggered::set_allocated_affordance_id(std::string* affordance_id) {
3174 if (affordance_id != nullptr) {
3175 _impl_._has_bits_[0] |= 0x00000002u;
3176 } else {
3177 _impl_._has_bits_[0] &= ~0x00000002u;
3178 }
3179 _impl_.affordance_id_.SetAllocated(affordance_id, GetArenaForAllocation());
3180 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
3181 if (_impl_.affordance_id_.IsDefault()) {
3182 _impl_.affordance_id_.Set("", GetArenaForAllocation());
3183 }
3184 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
3185 // @@protoc_insertion_point(field_set_allocated:android.os.statsd.sysui.LockscreenShortcutTriggered.affordance_id)
3186 }
3187
3188 // -------------------------------------------------------------------
3189
3190 // LauncherImpressionEventV2
3191
3192 // optional int32 event_id = 1;
_internal_has_event_id()3193 inline bool LauncherImpressionEventV2::_internal_has_event_id() const {
3194 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3195 return value;
3196 }
has_event_id()3197 inline bool LauncherImpressionEventV2::has_event_id() const {
3198 return _internal_has_event_id();
3199 }
clear_event_id()3200 inline void LauncherImpressionEventV2::clear_event_id() {
3201 _impl_.event_id_ = 0;
3202 _impl_._has_bits_[0] &= ~0x00000001u;
3203 }
_internal_event_id()3204 inline ::int32_t LauncherImpressionEventV2::_internal_event_id() const {
3205 return _impl_.event_id_;
3206 }
event_id()3207 inline ::int32_t LauncherImpressionEventV2::event_id() const {
3208 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LauncherImpressionEventV2.event_id)
3209 return _internal_event_id();
3210 }
_internal_set_event_id(::int32_t value)3211 inline void LauncherImpressionEventV2::_internal_set_event_id(::int32_t value) {
3212 _impl_._has_bits_[0] |= 0x00000001u;
3213 _impl_.event_id_ = value;
3214 }
set_event_id(::int32_t value)3215 inline void LauncherImpressionEventV2::set_event_id(::int32_t value) {
3216 _internal_set_event_id(value);
3217 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LauncherImpressionEventV2.event_id)
3218 }
3219
3220 // optional int32 instance_id = 2;
_internal_has_instance_id()3221 inline bool LauncherImpressionEventV2::_internal_has_instance_id() const {
3222 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3223 return value;
3224 }
has_instance_id()3225 inline bool LauncherImpressionEventV2::has_instance_id() const {
3226 return _internal_has_instance_id();
3227 }
clear_instance_id()3228 inline void LauncherImpressionEventV2::clear_instance_id() {
3229 _impl_.instance_id_ = 0;
3230 _impl_._has_bits_[0] &= ~0x00000002u;
3231 }
_internal_instance_id()3232 inline ::int32_t LauncherImpressionEventV2::_internal_instance_id() const {
3233 return _impl_.instance_id_;
3234 }
instance_id()3235 inline ::int32_t LauncherImpressionEventV2::instance_id() const {
3236 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LauncherImpressionEventV2.instance_id)
3237 return _internal_instance_id();
3238 }
_internal_set_instance_id(::int32_t value)3239 inline void LauncherImpressionEventV2::_internal_set_instance_id(::int32_t value) {
3240 _impl_._has_bits_[0] |= 0x00000002u;
3241 _impl_.instance_id_ = value;
3242 }
set_instance_id(::int32_t value)3243 inline void LauncherImpressionEventV2::set_instance_id(::int32_t value) {
3244 _internal_set_instance_id(value);
3245 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LauncherImpressionEventV2.instance_id)
3246 }
3247
3248 // optional int32 state = 3;
_internal_has_state()3249 inline bool LauncherImpressionEventV2::_internal_has_state() const {
3250 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3251 return value;
3252 }
has_state()3253 inline bool LauncherImpressionEventV2::has_state() const {
3254 return _internal_has_state();
3255 }
clear_state()3256 inline void LauncherImpressionEventV2::clear_state() {
3257 _impl_.state_ = 0;
3258 _impl_._has_bits_[0] &= ~0x00000004u;
3259 }
_internal_state()3260 inline ::int32_t LauncherImpressionEventV2::_internal_state() const {
3261 return _impl_.state_;
3262 }
state()3263 inline ::int32_t LauncherImpressionEventV2::state() const {
3264 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LauncherImpressionEventV2.state)
3265 return _internal_state();
3266 }
_internal_set_state(::int32_t value)3267 inline void LauncherImpressionEventV2::_internal_set_state(::int32_t value) {
3268 _impl_._has_bits_[0] |= 0x00000004u;
3269 _impl_.state_ = value;
3270 }
set_state(::int32_t value)3271 inline void LauncherImpressionEventV2::set_state(::int32_t value) {
3272 _internal_set_state(value);
3273 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LauncherImpressionEventV2.state)
3274 }
3275
3276 // optional int32 query_length = 4 [default = -1];
_internal_has_query_length()3277 inline bool LauncherImpressionEventV2::_internal_has_query_length() const {
3278 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
3279 return value;
3280 }
has_query_length()3281 inline bool LauncherImpressionEventV2::has_query_length() const {
3282 return _internal_has_query_length();
3283 }
clear_query_length()3284 inline void LauncherImpressionEventV2::clear_query_length() {
3285 _impl_.query_length_ = -1;
3286 _impl_._has_bits_[0] &= ~0x00000080u;
3287 }
_internal_query_length()3288 inline ::int32_t LauncherImpressionEventV2::_internal_query_length() const {
3289 return _impl_.query_length_;
3290 }
query_length()3291 inline ::int32_t LauncherImpressionEventV2::query_length() const {
3292 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LauncherImpressionEventV2.query_length)
3293 return _internal_query_length();
3294 }
_internal_set_query_length(::int32_t value)3295 inline void LauncherImpressionEventV2::_internal_set_query_length(::int32_t value) {
3296 _impl_._has_bits_[0] |= 0x00000080u;
3297 _impl_.query_length_ = value;
3298 }
set_query_length(::int32_t value)3299 inline void LauncherImpressionEventV2::set_query_length(::int32_t value) {
3300 _internal_set_query_length(value);
3301 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LauncherImpressionEventV2.query_length)
3302 }
3303
3304 // optional int32 result_type = 5;
_internal_has_result_type()3305 inline bool LauncherImpressionEventV2::_internal_has_result_type() const {
3306 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
3307 return value;
3308 }
has_result_type()3309 inline bool LauncherImpressionEventV2::has_result_type() const {
3310 return _internal_has_result_type();
3311 }
clear_result_type()3312 inline void LauncherImpressionEventV2::clear_result_type() {
3313 _impl_.result_type_ = 0;
3314 _impl_._has_bits_[0] &= ~0x00000008u;
3315 }
_internal_result_type()3316 inline ::int32_t LauncherImpressionEventV2::_internal_result_type() const {
3317 return _impl_.result_type_;
3318 }
result_type()3319 inline ::int32_t LauncherImpressionEventV2::result_type() const {
3320 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LauncherImpressionEventV2.result_type)
3321 return _internal_result_type();
3322 }
_internal_set_result_type(::int32_t value)3323 inline void LauncherImpressionEventV2::_internal_set_result_type(::int32_t value) {
3324 _impl_._has_bits_[0] |= 0x00000008u;
3325 _impl_.result_type_ = value;
3326 }
set_result_type(::int32_t value)3327 inline void LauncherImpressionEventV2::set_result_type(::int32_t value) {
3328 _internal_set_result_type(value);
3329 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LauncherImpressionEventV2.result_type)
3330 }
3331
3332 // optional bool is_visible = 6;
_internal_has_is_visible()3333 inline bool LauncherImpressionEventV2::_internal_has_is_visible() const {
3334 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
3335 return value;
3336 }
has_is_visible()3337 inline bool LauncherImpressionEventV2::has_is_visible() const {
3338 return _internal_has_is_visible();
3339 }
clear_is_visible()3340 inline void LauncherImpressionEventV2::clear_is_visible() {
3341 _impl_.is_visible_ = false;
3342 _impl_._has_bits_[0] &= ~0x00000010u;
3343 }
_internal_is_visible()3344 inline bool LauncherImpressionEventV2::_internal_is_visible() const {
3345 return _impl_.is_visible_;
3346 }
is_visible()3347 inline bool LauncherImpressionEventV2::is_visible() const {
3348 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LauncherImpressionEventV2.is_visible)
3349 return _internal_is_visible();
3350 }
_internal_set_is_visible(bool value)3351 inline void LauncherImpressionEventV2::_internal_set_is_visible(bool value) {
3352 _impl_._has_bits_[0] |= 0x00000010u;
3353 _impl_.is_visible_ = value;
3354 }
set_is_visible(bool value)3355 inline void LauncherImpressionEventV2::set_is_visible(bool value) {
3356 _internal_set_is_visible(value);
3357 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LauncherImpressionEventV2.is_visible)
3358 }
3359
3360 // optional int32 uid = 7 [(.android.os.statsd.is_uid) = true];
_internal_has_uid()3361 inline bool LauncherImpressionEventV2::_internal_has_uid() const {
3362 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
3363 return value;
3364 }
has_uid()3365 inline bool LauncherImpressionEventV2::has_uid() const {
3366 return _internal_has_uid();
3367 }
clear_uid()3368 inline void LauncherImpressionEventV2::clear_uid() {
3369 _impl_.uid_ = 0;
3370 _impl_._has_bits_[0] &= ~0x00000020u;
3371 }
_internal_uid()3372 inline ::int32_t LauncherImpressionEventV2::_internal_uid() const {
3373 return _impl_.uid_;
3374 }
uid()3375 inline ::int32_t LauncherImpressionEventV2::uid() const {
3376 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LauncherImpressionEventV2.uid)
3377 return _internal_uid();
3378 }
_internal_set_uid(::int32_t value)3379 inline void LauncherImpressionEventV2::_internal_set_uid(::int32_t value) {
3380 _impl_._has_bits_[0] |= 0x00000020u;
3381 _impl_.uid_ = value;
3382 }
set_uid(::int32_t value)3383 inline void LauncherImpressionEventV2::set_uid(::int32_t value) {
3384 _internal_set_uid(value);
3385 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LauncherImpressionEventV2.uid)
3386 }
3387
3388 // optional int32 result_source = 8;
_internal_has_result_source()3389 inline bool LauncherImpressionEventV2::_internal_has_result_source() const {
3390 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
3391 return value;
3392 }
has_result_source()3393 inline bool LauncherImpressionEventV2::has_result_source() const {
3394 return _internal_has_result_source();
3395 }
clear_result_source()3396 inline void LauncherImpressionEventV2::clear_result_source() {
3397 _impl_.result_source_ = 0;
3398 _impl_._has_bits_[0] &= ~0x00000040u;
3399 }
_internal_result_source()3400 inline ::int32_t LauncherImpressionEventV2::_internal_result_source() const {
3401 return _impl_.result_source_;
3402 }
result_source()3403 inline ::int32_t LauncherImpressionEventV2::result_source() const {
3404 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.LauncherImpressionEventV2.result_source)
3405 return _internal_result_source();
3406 }
_internal_set_result_source(::int32_t value)3407 inline void LauncherImpressionEventV2::_internal_set_result_source(::int32_t value) {
3408 _impl_._has_bits_[0] |= 0x00000040u;
3409 _impl_.result_source_ = value;
3410 }
set_result_source(::int32_t value)3411 inline void LauncherImpressionEventV2::set_result_source(::int32_t value) {
3412 _internal_set_result_source(value);
3413 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.LauncherImpressionEventV2.result_source)
3414 }
3415
3416 // -------------------------------------------------------------------
3417
3418 // DisplaySwitchLatencyTracked
3419
3420 // optional int32 latency_ms = 1;
_internal_has_latency_ms()3421 inline bool DisplaySwitchLatencyTracked::_internal_has_latency_ms() const {
3422 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3423 return value;
3424 }
has_latency_ms()3425 inline bool DisplaySwitchLatencyTracked::has_latency_ms() const {
3426 return _internal_has_latency_ms();
3427 }
clear_latency_ms()3428 inline void DisplaySwitchLatencyTracked::clear_latency_ms() {
3429 _impl_.latency_ms_ = 0;
3430 _impl_._has_bits_[0] &= ~0x00000001u;
3431 }
_internal_latency_ms()3432 inline ::int32_t DisplaySwitchLatencyTracked::_internal_latency_ms() const {
3433 return _impl_.latency_ms_;
3434 }
latency_ms()3435 inline ::int32_t DisplaySwitchLatencyTracked::latency_ms() const {
3436 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.latency_ms)
3437 return _internal_latency_ms();
3438 }
_internal_set_latency_ms(::int32_t value)3439 inline void DisplaySwitchLatencyTracked::_internal_set_latency_ms(::int32_t value) {
3440 _impl_._has_bits_[0] |= 0x00000001u;
3441 _impl_.latency_ms_ = value;
3442 }
set_latency_ms(::int32_t value)3443 inline void DisplaySwitchLatencyTracked::set_latency_ms(::int32_t value) {
3444 _internal_set_latency_ms(value);
3445 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.latency_ms)
3446 }
3447
3448 // optional .android.telephony.FoldState from_foldable_device_state = 2;
_internal_has_from_foldable_device_state()3449 inline bool DisplaySwitchLatencyTracked::_internal_has_from_foldable_device_state() const {
3450 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3451 return value;
3452 }
has_from_foldable_device_state()3453 inline bool DisplaySwitchLatencyTracked::has_from_foldable_device_state() const {
3454 return _internal_has_from_foldable_device_state();
3455 }
clear_from_foldable_device_state()3456 inline void DisplaySwitchLatencyTracked::clear_from_foldable_device_state() {
3457 _impl_.from_foldable_device_state_ = 0;
3458 _impl_._has_bits_[0] &= ~0x00000002u;
3459 }
_internal_from_foldable_device_state()3460 inline ::android::telephony::FoldState DisplaySwitchLatencyTracked::_internal_from_foldable_device_state() const {
3461 return static_cast< ::android::telephony::FoldState >(_impl_.from_foldable_device_state_);
3462 }
from_foldable_device_state()3463 inline ::android::telephony::FoldState DisplaySwitchLatencyTracked::from_foldable_device_state() const {
3464 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_foldable_device_state)
3465 return _internal_from_foldable_device_state();
3466 }
_internal_set_from_foldable_device_state(::android::telephony::FoldState value)3467 inline void DisplaySwitchLatencyTracked::_internal_set_from_foldable_device_state(::android::telephony::FoldState value) {
3468 assert(::android::telephony::FoldState_IsValid(value));
3469 _impl_._has_bits_[0] |= 0x00000002u;
3470 _impl_.from_foldable_device_state_ = value;
3471 }
set_from_foldable_device_state(::android::telephony::FoldState value)3472 inline void DisplaySwitchLatencyTracked::set_from_foldable_device_state(::android::telephony::FoldState value) {
3473 _internal_set_from_foldable_device_state(value);
3474 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_foldable_device_state)
3475 }
3476
3477 // optional .android.os.statsd.sysui.DisplaySwitchLatencyTracked.StateEnum from_state = 3;
_internal_has_from_state()3478 inline bool DisplaySwitchLatencyTracked::_internal_has_from_state() const {
3479 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3480 return value;
3481 }
has_from_state()3482 inline bool DisplaySwitchLatencyTracked::has_from_state() const {
3483 return _internal_has_from_state();
3484 }
clear_from_state()3485 inline void DisplaySwitchLatencyTracked::clear_from_state() {
3486 _impl_.from_state_ = 0;
3487 _impl_._has_bits_[0] &= ~0x00000004u;
3488 }
_internal_from_state()3489 inline ::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum DisplaySwitchLatencyTracked::_internal_from_state() const {
3490 return static_cast< ::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum >(_impl_.from_state_);
3491 }
from_state()3492 inline ::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum DisplaySwitchLatencyTracked::from_state() const {
3493 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_state)
3494 return _internal_from_state();
3495 }
_internal_set_from_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value)3496 inline void DisplaySwitchLatencyTracked::_internal_set_from_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value) {
3497 assert(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum_IsValid(value));
3498 _impl_._has_bits_[0] |= 0x00000004u;
3499 _impl_.from_state_ = value;
3500 }
set_from_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value)3501 inline void DisplaySwitchLatencyTracked::set_from_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value) {
3502 _internal_set_from_state(value);
3503 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_state)
3504 }
3505
3506 // optional int32 from_focused_app_uid = 4 [(.android.os.statsd.is_uid) = true];
_internal_has_from_focused_app_uid()3507 inline bool DisplaySwitchLatencyTracked::_internal_has_from_focused_app_uid() const {
3508 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
3509 return value;
3510 }
has_from_focused_app_uid()3511 inline bool DisplaySwitchLatencyTracked::has_from_focused_app_uid() const {
3512 return _internal_has_from_focused_app_uid();
3513 }
clear_from_focused_app_uid()3514 inline void DisplaySwitchLatencyTracked::clear_from_focused_app_uid() {
3515 _impl_.from_focused_app_uid_ = 0;
3516 _impl_._has_bits_[0] &= ~0x00000008u;
3517 }
_internal_from_focused_app_uid()3518 inline ::int32_t DisplaySwitchLatencyTracked::_internal_from_focused_app_uid() const {
3519 return _impl_.from_focused_app_uid_;
3520 }
from_focused_app_uid()3521 inline ::int32_t DisplaySwitchLatencyTracked::from_focused_app_uid() const {
3522 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_focused_app_uid)
3523 return _internal_from_focused_app_uid();
3524 }
_internal_set_from_focused_app_uid(::int32_t value)3525 inline void DisplaySwitchLatencyTracked::_internal_set_from_focused_app_uid(::int32_t value) {
3526 _impl_._has_bits_[0] |= 0x00000008u;
3527 _impl_.from_focused_app_uid_ = value;
3528 }
set_from_focused_app_uid(::int32_t value)3529 inline void DisplaySwitchLatencyTracked::set_from_focused_app_uid(::int32_t value) {
3530 _internal_set_from_focused_app_uid(value);
3531 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_focused_app_uid)
3532 }
3533
3534 // optional int32 from_pip_app_uid = 5 [(.android.os.statsd.is_uid) = true];
_internal_has_from_pip_app_uid()3535 inline bool DisplaySwitchLatencyTracked::_internal_has_from_pip_app_uid() const {
3536 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
3537 return value;
3538 }
has_from_pip_app_uid()3539 inline bool DisplaySwitchLatencyTracked::has_from_pip_app_uid() const {
3540 return _internal_has_from_pip_app_uid();
3541 }
clear_from_pip_app_uid()3542 inline void DisplaySwitchLatencyTracked::clear_from_pip_app_uid() {
3543 _impl_.from_pip_app_uid_ = 0;
3544 _impl_._has_bits_[0] &= ~0x00000010u;
3545 }
_internal_from_pip_app_uid()3546 inline ::int32_t DisplaySwitchLatencyTracked::_internal_from_pip_app_uid() const {
3547 return _impl_.from_pip_app_uid_;
3548 }
from_pip_app_uid()3549 inline ::int32_t DisplaySwitchLatencyTracked::from_pip_app_uid() const {
3550 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_pip_app_uid)
3551 return _internal_from_pip_app_uid();
3552 }
_internal_set_from_pip_app_uid(::int32_t value)3553 inline void DisplaySwitchLatencyTracked::_internal_set_from_pip_app_uid(::int32_t value) {
3554 _impl_._has_bits_[0] |= 0x00000010u;
3555 _impl_.from_pip_app_uid_ = value;
3556 }
set_from_pip_app_uid(::int32_t value)3557 inline void DisplaySwitchLatencyTracked::set_from_pip_app_uid(::int32_t value) {
3558 _internal_set_from_pip_app_uid(value);
3559 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_pip_app_uid)
3560 }
3561
3562 // repeated int32 from_visible_apps_uid = 6 [(.android.os.statsd.is_uid) = true];
_internal_from_visible_apps_uid_size()3563 inline int DisplaySwitchLatencyTracked::_internal_from_visible_apps_uid_size() const {
3564 return _impl_.from_visible_apps_uid_.size();
3565 }
from_visible_apps_uid_size()3566 inline int DisplaySwitchLatencyTracked::from_visible_apps_uid_size() const {
3567 return _internal_from_visible_apps_uid_size();
3568 }
clear_from_visible_apps_uid()3569 inline void DisplaySwitchLatencyTracked::clear_from_visible_apps_uid() {
3570 _impl_.from_visible_apps_uid_.Clear();
3571 }
_internal_from_visible_apps_uid(int index)3572 inline ::int32_t DisplaySwitchLatencyTracked::_internal_from_visible_apps_uid(int index) const {
3573 return _impl_.from_visible_apps_uid_.Get(index);
3574 }
from_visible_apps_uid(int index)3575 inline ::int32_t DisplaySwitchLatencyTracked::from_visible_apps_uid(int index) const {
3576 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_visible_apps_uid)
3577 return _internal_from_visible_apps_uid(index);
3578 }
set_from_visible_apps_uid(int index,::int32_t value)3579 inline void DisplaySwitchLatencyTracked::set_from_visible_apps_uid(int index, ::int32_t value) {
3580 _impl_.from_visible_apps_uid_.Set(index, value);
3581 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_visible_apps_uid)
3582 }
_internal_add_from_visible_apps_uid(::int32_t value)3583 inline void DisplaySwitchLatencyTracked::_internal_add_from_visible_apps_uid(::int32_t value) {
3584 _impl_.from_visible_apps_uid_.Add(value);
3585 }
add_from_visible_apps_uid(::int32_t value)3586 inline void DisplaySwitchLatencyTracked::add_from_visible_apps_uid(::int32_t value) {
3587 _internal_add_from_visible_apps_uid(value);
3588 // @@protoc_insertion_point(field_add:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_visible_apps_uid)
3589 }
3590 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
_internal_from_visible_apps_uid()3591 DisplaySwitchLatencyTracked::_internal_from_visible_apps_uid() const {
3592 return _impl_.from_visible_apps_uid_;
3593 }
3594 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
from_visible_apps_uid()3595 DisplaySwitchLatencyTracked::from_visible_apps_uid() const {
3596 // @@protoc_insertion_point(field_list:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_visible_apps_uid)
3597 return _internal_from_visible_apps_uid();
3598 }
3599 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
_internal_mutable_from_visible_apps_uid()3600 DisplaySwitchLatencyTracked::_internal_mutable_from_visible_apps_uid() {
3601 return &_impl_.from_visible_apps_uid_;
3602 }
3603 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
mutable_from_visible_apps_uid()3604 DisplaySwitchLatencyTracked::mutable_from_visible_apps_uid() {
3605 // @@protoc_insertion_point(field_mutable_list:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_visible_apps_uid)
3606 return _internal_mutable_from_visible_apps_uid();
3607 }
3608
3609 // optional int32 from_density_dpi = 7;
_internal_has_from_density_dpi()3610 inline bool DisplaySwitchLatencyTracked::_internal_has_from_density_dpi() const {
3611 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
3612 return value;
3613 }
has_from_density_dpi()3614 inline bool DisplaySwitchLatencyTracked::has_from_density_dpi() const {
3615 return _internal_has_from_density_dpi();
3616 }
clear_from_density_dpi()3617 inline void DisplaySwitchLatencyTracked::clear_from_density_dpi() {
3618 _impl_.from_density_dpi_ = 0;
3619 _impl_._has_bits_[0] &= ~0x00000020u;
3620 }
_internal_from_density_dpi()3621 inline ::int32_t DisplaySwitchLatencyTracked::_internal_from_density_dpi() const {
3622 return _impl_.from_density_dpi_;
3623 }
from_density_dpi()3624 inline ::int32_t DisplaySwitchLatencyTracked::from_density_dpi() const {
3625 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_density_dpi)
3626 return _internal_from_density_dpi();
3627 }
_internal_set_from_density_dpi(::int32_t value)3628 inline void DisplaySwitchLatencyTracked::_internal_set_from_density_dpi(::int32_t value) {
3629 _impl_._has_bits_[0] |= 0x00000020u;
3630 _impl_.from_density_dpi_ = value;
3631 }
set_from_density_dpi(::int32_t value)3632 inline void DisplaySwitchLatencyTracked::set_from_density_dpi(::int32_t value) {
3633 _internal_set_from_density_dpi(value);
3634 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.from_density_dpi)
3635 }
3636
3637 // optional .android.os.statsd.sysui.DisplaySwitchLatencyTracked.StateEnum to_state = 8;
_internal_has_to_state()3638 inline bool DisplaySwitchLatencyTracked::_internal_has_to_state() const {
3639 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
3640 return value;
3641 }
has_to_state()3642 inline bool DisplaySwitchLatencyTracked::has_to_state() const {
3643 return _internal_has_to_state();
3644 }
clear_to_state()3645 inline void DisplaySwitchLatencyTracked::clear_to_state() {
3646 _impl_.to_state_ = 0;
3647 _impl_._has_bits_[0] &= ~0x00000040u;
3648 }
_internal_to_state()3649 inline ::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum DisplaySwitchLatencyTracked::_internal_to_state() const {
3650 return static_cast< ::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum >(_impl_.to_state_);
3651 }
to_state()3652 inline ::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum DisplaySwitchLatencyTracked::to_state() const {
3653 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_state)
3654 return _internal_to_state();
3655 }
_internal_set_to_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value)3656 inline void DisplaySwitchLatencyTracked::_internal_set_to_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value) {
3657 assert(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum_IsValid(value));
3658 _impl_._has_bits_[0] |= 0x00000040u;
3659 _impl_.to_state_ = value;
3660 }
set_to_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value)3661 inline void DisplaySwitchLatencyTracked::set_to_state(::android::os::statsd::sysui::DisplaySwitchLatencyTracked_StateEnum value) {
3662 _internal_set_to_state(value);
3663 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_state)
3664 }
3665
3666 // optional .android.telephony.FoldState to_foldable_device_state = 9;
_internal_has_to_foldable_device_state()3667 inline bool DisplaySwitchLatencyTracked::_internal_has_to_foldable_device_state() const {
3668 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
3669 return value;
3670 }
has_to_foldable_device_state()3671 inline bool DisplaySwitchLatencyTracked::has_to_foldable_device_state() const {
3672 return _internal_has_to_foldable_device_state();
3673 }
clear_to_foldable_device_state()3674 inline void DisplaySwitchLatencyTracked::clear_to_foldable_device_state() {
3675 _impl_.to_foldable_device_state_ = 0;
3676 _impl_._has_bits_[0] &= ~0x00000080u;
3677 }
_internal_to_foldable_device_state()3678 inline ::android::telephony::FoldState DisplaySwitchLatencyTracked::_internal_to_foldable_device_state() const {
3679 return static_cast< ::android::telephony::FoldState >(_impl_.to_foldable_device_state_);
3680 }
to_foldable_device_state()3681 inline ::android::telephony::FoldState DisplaySwitchLatencyTracked::to_foldable_device_state() const {
3682 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_foldable_device_state)
3683 return _internal_to_foldable_device_state();
3684 }
_internal_set_to_foldable_device_state(::android::telephony::FoldState value)3685 inline void DisplaySwitchLatencyTracked::_internal_set_to_foldable_device_state(::android::telephony::FoldState value) {
3686 assert(::android::telephony::FoldState_IsValid(value));
3687 _impl_._has_bits_[0] |= 0x00000080u;
3688 _impl_.to_foldable_device_state_ = value;
3689 }
set_to_foldable_device_state(::android::telephony::FoldState value)3690 inline void DisplaySwitchLatencyTracked::set_to_foldable_device_state(::android::telephony::FoldState value) {
3691 _internal_set_to_foldable_device_state(value);
3692 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_foldable_device_state)
3693 }
3694
3695 // optional int32 to_focused_app_uid = 10 [(.android.os.statsd.is_uid) = true];
_internal_has_to_focused_app_uid()3696 inline bool DisplaySwitchLatencyTracked::_internal_has_to_focused_app_uid() const {
3697 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
3698 return value;
3699 }
has_to_focused_app_uid()3700 inline bool DisplaySwitchLatencyTracked::has_to_focused_app_uid() const {
3701 return _internal_has_to_focused_app_uid();
3702 }
clear_to_focused_app_uid()3703 inline void DisplaySwitchLatencyTracked::clear_to_focused_app_uid() {
3704 _impl_.to_focused_app_uid_ = 0;
3705 _impl_._has_bits_[0] &= ~0x00000100u;
3706 }
_internal_to_focused_app_uid()3707 inline ::int32_t DisplaySwitchLatencyTracked::_internal_to_focused_app_uid() const {
3708 return _impl_.to_focused_app_uid_;
3709 }
to_focused_app_uid()3710 inline ::int32_t DisplaySwitchLatencyTracked::to_focused_app_uid() const {
3711 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_focused_app_uid)
3712 return _internal_to_focused_app_uid();
3713 }
_internal_set_to_focused_app_uid(::int32_t value)3714 inline void DisplaySwitchLatencyTracked::_internal_set_to_focused_app_uid(::int32_t value) {
3715 _impl_._has_bits_[0] |= 0x00000100u;
3716 _impl_.to_focused_app_uid_ = value;
3717 }
set_to_focused_app_uid(::int32_t value)3718 inline void DisplaySwitchLatencyTracked::set_to_focused_app_uid(::int32_t value) {
3719 _internal_set_to_focused_app_uid(value);
3720 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_focused_app_uid)
3721 }
3722
3723 // optional int32 to_pip_app_uid = 11 [(.android.os.statsd.is_uid) = true];
_internal_has_to_pip_app_uid()3724 inline bool DisplaySwitchLatencyTracked::_internal_has_to_pip_app_uid() const {
3725 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
3726 return value;
3727 }
has_to_pip_app_uid()3728 inline bool DisplaySwitchLatencyTracked::has_to_pip_app_uid() const {
3729 return _internal_has_to_pip_app_uid();
3730 }
clear_to_pip_app_uid()3731 inline void DisplaySwitchLatencyTracked::clear_to_pip_app_uid() {
3732 _impl_.to_pip_app_uid_ = 0;
3733 _impl_._has_bits_[0] &= ~0x00000200u;
3734 }
_internal_to_pip_app_uid()3735 inline ::int32_t DisplaySwitchLatencyTracked::_internal_to_pip_app_uid() const {
3736 return _impl_.to_pip_app_uid_;
3737 }
to_pip_app_uid()3738 inline ::int32_t DisplaySwitchLatencyTracked::to_pip_app_uid() const {
3739 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_pip_app_uid)
3740 return _internal_to_pip_app_uid();
3741 }
_internal_set_to_pip_app_uid(::int32_t value)3742 inline void DisplaySwitchLatencyTracked::_internal_set_to_pip_app_uid(::int32_t value) {
3743 _impl_._has_bits_[0] |= 0x00000200u;
3744 _impl_.to_pip_app_uid_ = value;
3745 }
set_to_pip_app_uid(::int32_t value)3746 inline void DisplaySwitchLatencyTracked::set_to_pip_app_uid(::int32_t value) {
3747 _internal_set_to_pip_app_uid(value);
3748 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_pip_app_uid)
3749 }
3750
3751 // repeated int32 to_visible_apps_uid = 12 [(.android.os.statsd.is_uid) = true];
_internal_to_visible_apps_uid_size()3752 inline int DisplaySwitchLatencyTracked::_internal_to_visible_apps_uid_size() const {
3753 return _impl_.to_visible_apps_uid_.size();
3754 }
to_visible_apps_uid_size()3755 inline int DisplaySwitchLatencyTracked::to_visible_apps_uid_size() const {
3756 return _internal_to_visible_apps_uid_size();
3757 }
clear_to_visible_apps_uid()3758 inline void DisplaySwitchLatencyTracked::clear_to_visible_apps_uid() {
3759 _impl_.to_visible_apps_uid_.Clear();
3760 }
_internal_to_visible_apps_uid(int index)3761 inline ::int32_t DisplaySwitchLatencyTracked::_internal_to_visible_apps_uid(int index) const {
3762 return _impl_.to_visible_apps_uid_.Get(index);
3763 }
to_visible_apps_uid(int index)3764 inline ::int32_t DisplaySwitchLatencyTracked::to_visible_apps_uid(int index) const {
3765 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_visible_apps_uid)
3766 return _internal_to_visible_apps_uid(index);
3767 }
set_to_visible_apps_uid(int index,::int32_t value)3768 inline void DisplaySwitchLatencyTracked::set_to_visible_apps_uid(int index, ::int32_t value) {
3769 _impl_.to_visible_apps_uid_.Set(index, value);
3770 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_visible_apps_uid)
3771 }
_internal_add_to_visible_apps_uid(::int32_t value)3772 inline void DisplaySwitchLatencyTracked::_internal_add_to_visible_apps_uid(::int32_t value) {
3773 _impl_.to_visible_apps_uid_.Add(value);
3774 }
add_to_visible_apps_uid(::int32_t value)3775 inline void DisplaySwitchLatencyTracked::add_to_visible_apps_uid(::int32_t value) {
3776 _internal_add_to_visible_apps_uid(value);
3777 // @@protoc_insertion_point(field_add:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_visible_apps_uid)
3778 }
3779 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
_internal_to_visible_apps_uid()3780 DisplaySwitchLatencyTracked::_internal_to_visible_apps_uid() const {
3781 return _impl_.to_visible_apps_uid_;
3782 }
3783 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
to_visible_apps_uid()3784 DisplaySwitchLatencyTracked::to_visible_apps_uid() const {
3785 // @@protoc_insertion_point(field_list:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_visible_apps_uid)
3786 return _internal_to_visible_apps_uid();
3787 }
3788 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
_internal_mutable_to_visible_apps_uid()3789 DisplaySwitchLatencyTracked::_internal_mutable_to_visible_apps_uid() {
3790 return &_impl_.to_visible_apps_uid_;
3791 }
3792 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
mutable_to_visible_apps_uid()3793 DisplaySwitchLatencyTracked::mutable_to_visible_apps_uid() {
3794 // @@protoc_insertion_point(field_mutable_list:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_visible_apps_uid)
3795 return _internal_mutable_to_visible_apps_uid();
3796 }
3797
3798 // optional int32 to_density_dpi = 13;
_internal_has_to_density_dpi()3799 inline bool DisplaySwitchLatencyTracked::_internal_has_to_density_dpi() const {
3800 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
3801 return value;
3802 }
has_to_density_dpi()3803 inline bool DisplaySwitchLatencyTracked::has_to_density_dpi() const {
3804 return _internal_has_to_density_dpi();
3805 }
clear_to_density_dpi()3806 inline void DisplaySwitchLatencyTracked::clear_to_density_dpi() {
3807 _impl_.to_density_dpi_ = 0;
3808 _impl_._has_bits_[0] &= ~0x00000400u;
3809 }
_internal_to_density_dpi()3810 inline ::int32_t DisplaySwitchLatencyTracked::_internal_to_density_dpi() const {
3811 return _impl_.to_density_dpi_;
3812 }
to_density_dpi()3813 inline ::int32_t DisplaySwitchLatencyTracked::to_density_dpi() const {
3814 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_density_dpi)
3815 return _internal_to_density_dpi();
3816 }
_internal_set_to_density_dpi(::int32_t value)3817 inline void DisplaySwitchLatencyTracked::_internal_set_to_density_dpi(::int32_t value) {
3818 _impl_._has_bits_[0] |= 0x00000400u;
3819 _impl_.to_density_dpi_ = value;
3820 }
set_to_density_dpi(::int32_t value)3821 inline void DisplaySwitchLatencyTracked::set_to_density_dpi(::int32_t value) {
3822 _internal_set_to_density_dpi(value);
3823 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.to_density_dpi)
3824 }
3825
3826 // optional int32 notification_count = 14;
_internal_has_notification_count()3827 inline bool DisplaySwitchLatencyTracked::_internal_has_notification_count() const {
3828 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
3829 return value;
3830 }
has_notification_count()3831 inline bool DisplaySwitchLatencyTracked::has_notification_count() const {
3832 return _internal_has_notification_count();
3833 }
clear_notification_count()3834 inline void DisplaySwitchLatencyTracked::clear_notification_count() {
3835 _impl_.notification_count_ = 0;
3836 _impl_._has_bits_[0] &= ~0x00000800u;
3837 }
_internal_notification_count()3838 inline ::int32_t DisplaySwitchLatencyTracked::_internal_notification_count() const {
3839 return _impl_.notification_count_;
3840 }
notification_count()3841 inline ::int32_t DisplaySwitchLatencyTracked::notification_count() const {
3842 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.notification_count)
3843 return _internal_notification_count();
3844 }
_internal_set_notification_count(::int32_t value)3845 inline void DisplaySwitchLatencyTracked::_internal_set_notification_count(::int32_t value) {
3846 _impl_._has_bits_[0] |= 0x00000800u;
3847 _impl_.notification_count_ = value;
3848 }
set_notification_count(::int32_t value)3849 inline void DisplaySwitchLatencyTracked::set_notification_count(::int32_t value) {
3850 _internal_set_notification_count(value);
3851 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.notification_count)
3852 }
3853
3854 // optional int32 external_display_count = 15;
_internal_has_external_display_count()3855 inline bool DisplaySwitchLatencyTracked::_internal_has_external_display_count() const {
3856 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
3857 return value;
3858 }
has_external_display_count()3859 inline bool DisplaySwitchLatencyTracked::has_external_display_count() const {
3860 return _internal_has_external_display_count();
3861 }
clear_external_display_count()3862 inline void DisplaySwitchLatencyTracked::clear_external_display_count() {
3863 _impl_.external_display_count_ = 0;
3864 _impl_._has_bits_[0] &= ~0x00001000u;
3865 }
_internal_external_display_count()3866 inline ::int32_t DisplaySwitchLatencyTracked::_internal_external_display_count() const {
3867 return _impl_.external_display_count_;
3868 }
external_display_count()3869 inline ::int32_t DisplaySwitchLatencyTracked::external_display_count() const {
3870 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.external_display_count)
3871 return _internal_external_display_count();
3872 }
_internal_set_external_display_count(::int32_t value)3873 inline void DisplaySwitchLatencyTracked::_internal_set_external_display_count(::int32_t value) {
3874 _impl_._has_bits_[0] |= 0x00001000u;
3875 _impl_.external_display_count_ = value;
3876 }
set_external_display_count(::int32_t value)3877 inline void DisplaySwitchLatencyTracked::set_external_display_count(::int32_t value) {
3878 _internal_set_external_display_count(value);
3879 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.external_display_count)
3880 }
3881
3882 // optional .android.os.ThrottlingSeverityEnum throttling_level = 16;
_internal_has_throttling_level()3883 inline bool DisplaySwitchLatencyTracked::_internal_has_throttling_level() const {
3884 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
3885 return value;
3886 }
has_throttling_level()3887 inline bool DisplaySwitchLatencyTracked::has_throttling_level() const {
3888 return _internal_has_throttling_level();
3889 }
clear_throttling_level()3890 inline void DisplaySwitchLatencyTracked::clear_throttling_level() {
3891 _impl_.throttling_level_ = 0;
3892 _impl_._has_bits_[0] &= ~0x00002000u;
3893 }
_internal_throttling_level()3894 inline ::android::os::ThrottlingSeverityEnum DisplaySwitchLatencyTracked::_internal_throttling_level() const {
3895 return static_cast< ::android::os::ThrottlingSeverityEnum >(_impl_.throttling_level_);
3896 }
throttling_level()3897 inline ::android::os::ThrottlingSeverityEnum DisplaySwitchLatencyTracked::throttling_level() const {
3898 // @@protoc_insertion_point(field_get:android.os.statsd.sysui.DisplaySwitchLatencyTracked.throttling_level)
3899 return _internal_throttling_level();
3900 }
_internal_set_throttling_level(::android::os::ThrottlingSeverityEnum value)3901 inline void DisplaySwitchLatencyTracked::_internal_set_throttling_level(::android::os::ThrottlingSeverityEnum value) {
3902 assert(::android::os::ThrottlingSeverityEnum_IsValid(value));
3903 _impl_._has_bits_[0] |= 0x00002000u;
3904 _impl_.throttling_level_ = value;
3905 }
set_throttling_level(::android::os::ThrottlingSeverityEnum value)3906 inline void DisplaySwitchLatencyTracked::set_throttling_level(::android::os::ThrottlingSeverityEnum value) {
3907 _internal_set_throttling_level(value);
3908 // @@protoc_insertion_point(field_set:android.os.statsd.sysui.DisplaySwitchLatencyTracked.throttling_level)
3909 }
3910
3911 // optional int32 vskin_temperature_c = 17;
_internal_has_vskin_temperature_c()3912 inline bool DisplaySwitchLatencyTracked::_internal_has_vskin_temperature_c() const {
3913 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
3914 return value;
3915 }
has_vskin_temperature_c()3916