1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: frameworks/proto_logging/stats/atoms/input/input_extension_atoms.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_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/unknown_field_set.h>
34 #include "frameworks/proto_logging/stats/atoms.pb.h"
35 #include "frameworks/proto_logging/stats/atom_field_options.pb.h"
36 #include "frameworks/proto_logging/stats/enums/input/enums.pb.h"
37 // @@protoc_insertion_point(includes)
38 #include <google/protobuf/port_def.inc>
39 #define PROTOBUF_INTERNAL_EXPORT_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto
40 PROTOBUF_NAMESPACE_OPEN
41 namespace internal {
42 class AnyMetadata;
43 }  // namespace internal
44 PROTOBUF_NAMESPACE_CLOSE
45 
46 // Internal implementation detail -- do not use these members.
47 struct TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto {
48   static const ::uint32_t offsets[];
49 };
50 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto;
51 namespace android {
52 namespace os {
53 namespace statsd {
54 namespace input {
55 class InputDeviceUsageReported;
56 struct InputDeviceUsageReportedDefaultTypeInternal;
57 extern InputDeviceUsageReportedDefaultTypeInternal _InputDeviceUsageReported_default_instance_;
58 class InputEventLatencyReported;
59 struct InputEventLatencyReportedDefaultTypeInternal;
60 extern InputEventLatencyReportedDefaultTypeInternal _InputEventLatencyReported_default_instance_;
61 class KeyboardConfigured;
62 struct KeyboardConfiguredDefaultTypeInternal;
63 extern KeyboardConfiguredDefaultTypeInternal _KeyboardConfigured_default_instance_;
64 class KeyboardLayoutConfig;
65 struct KeyboardLayoutConfigDefaultTypeInternal;
66 extern KeyboardLayoutConfigDefaultTypeInternal _KeyboardLayoutConfig_default_instance_;
67 class KeyboardSystemsEventReported;
68 struct KeyboardSystemsEventReportedDefaultTypeInternal;
69 extern KeyboardSystemsEventReportedDefaultTypeInternal _KeyboardSystemsEventReported_default_instance_;
70 class RepeatedKeyboardLayoutConfig;
71 struct RepeatedKeyboardLayoutConfigDefaultTypeInternal;
72 extern RepeatedKeyboardLayoutConfigDefaultTypeInternal _RepeatedKeyboardLayoutConfig_default_instance_;
73 class TouchpadUsage;
74 struct TouchpadUsageDefaultTypeInternal;
75 extern TouchpadUsageDefaultTypeInternal _TouchpadUsage_default_instance_;
76 }  // namespace input
77 }  // namespace statsd
78 }  // namespace os
79 }  // namespace android
80 PROTOBUF_NAMESPACE_OPEN
81 template<> ::android::os::statsd::input::InputDeviceUsageReported* Arena::CreateMaybeMessage<::android::os::statsd::input::InputDeviceUsageReported>(Arena*);
82 template<> ::android::os::statsd::input::InputEventLatencyReported* Arena::CreateMaybeMessage<::android::os::statsd::input::InputEventLatencyReported>(Arena*);
83 template<> ::android::os::statsd::input::KeyboardConfigured* Arena::CreateMaybeMessage<::android::os::statsd::input::KeyboardConfigured>(Arena*);
84 template<> ::android::os::statsd::input::KeyboardLayoutConfig* Arena::CreateMaybeMessage<::android::os::statsd::input::KeyboardLayoutConfig>(Arena*);
85 template<> ::android::os::statsd::input::KeyboardSystemsEventReported* Arena::CreateMaybeMessage<::android::os::statsd::input::KeyboardSystemsEventReported>(Arena*);
86 template<> ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* Arena::CreateMaybeMessage<::android::os::statsd::input::RepeatedKeyboardLayoutConfig>(Arena*);
87 template<> ::android::os::statsd::input::TouchpadUsage* Arena::CreateMaybeMessage<::android::os::statsd::input::TouchpadUsage>(Arena*);
88 PROTOBUF_NAMESPACE_CLOSE
89 namespace android {
90 namespace os {
91 namespace statsd {
92 namespace input {
93 
94 // ===================================================================
95 
96 class KeyboardLayoutConfig final :
97     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.input.KeyboardLayoutConfig) */ {
98  public:
KeyboardLayoutConfig()99   inline KeyboardLayoutConfig() : KeyboardLayoutConfig(nullptr) {}
100   ~KeyboardLayoutConfig() override;
101   explicit PROTOBUF_CONSTEXPR KeyboardLayoutConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
102 
103   KeyboardLayoutConfig(const KeyboardLayoutConfig& from);
KeyboardLayoutConfig(KeyboardLayoutConfig && from)104   KeyboardLayoutConfig(KeyboardLayoutConfig&& from) noexcept
105     : KeyboardLayoutConfig() {
106     *this = ::std::move(from);
107   }
108 
109   inline KeyboardLayoutConfig& operator=(const KeyboardLayoutConfig& from) {
110     if (this == &from) return *this;
111     CopyFrom(from);
112     return *this;
113   }
114   inline KeyboardLayoutConfig& operator=(KeyboardLayoutConfig&& from) noexcept {
115     if (this == &from) return *this;
116     if (GetOwningArena() == from.GetOwningArena()
117   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
118         && GetOwningArena() != nullptr
119   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
120     ) {
121       InternalSwap(&from);
122     } else {
123       CopyFrom(from);
124     }
125     return *this;
126   }
127 
unknown_fields()128   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
129     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
130   }
mutable_unknown_fields()131   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
132     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
133   }
134 
descriptor()135   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
136     return GetDescriptor();
137   }
GetDescriptor()138   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
139     return default_instance().GetMetadata().descriptor;
140   }
GetReflection()141   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
142     return default_instance().GetMetadata().reflection;
143   }
default_instance()144   static const KeyboardLayoutConfig& default_instance() {
145     return *internal_default_instance();
146   }
internal_default_instance()147   static inline const KeyboardLayoutConfig* internal_default_instance() {
148     return reinterpret_cast<const KeyboardLayoutConfig*>(
149                &_KeyboardLayoutConfig_default_instance_);
150   }
151   static constexpr int kIndexInFileMessages =
152     0;
153 
swap(KeyboardLayoutConfig & a,KeyboardLayoutConfig & b)154   friend void swap(KeyboardLayoutConfig& a, KeyboardLayoutConfig& b) {
155     a.Swap(&b);
156   }
Swap(KeyboardLayoutConfig * other)157   inline void Swap(KeyboardLayoutConfig* other) {
158     if (other == this) return;
159   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
160     if (GetOwningArena() != nullptr &&
161         GetOwningArena() == other->GetOwningArena()) {
162    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
163     if (GetOwningArena() == other->GetOwningArena()) {
164   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
165       InternalSwap(other);
166     } else {
167       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
168     }
169   }
170   void UnsafeArenaSwap(KeyboardLayoutConfig* other) {
171     if (other == this) return;
172     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
173     InternalSwap(other);
174   }
175 
176   // implements Message ----------------------------------------------
177 
178   KeyboardLayoutConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
179     return CreateMaybeMessage<KeyboardLayoutConfig>(arena);
180   }
181   KeyboardLayoutConfig* New() const {
182     return New(nullptr);
183   }
184   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
185   void CopyFrom(const KeyboardLayoutConfig& from);
186   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
187   void MergeFrom( const KeyboardLayoutConfig& from) {
188     KeyboardLayoutConfig::MergeImpl(*this, from);
189   }
190   private:
191   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
192   public:
193   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
194   bool IsInitialized() const final;
195 
196   size_t ByteSizeLong() const final;
197   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
198   ::uint8_t* _InternalSerialize(
199       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
200   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
201 
202   private:
203   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
204   void SharedDtor();
205   void SetCachedSize(int size) const final;
206   void InternalSwap(KeyboardLayoutConfig* other);
207 
208   private:
209   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
210   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
211     return "android.os.statsd.input.KeyboardLayoutConfig";
212   }
213   protected:
214   explicit KeyboardLayoutConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
215                        bool is_message_owned = false);
216   public:
217 
218   static const ClassData _class_data_;
219   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
220 
221   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
222 
223   // nested types ----------------------------------------------------
224 
225   // accessors -------------------------------------------------------
226 
227   enum : int {
228     kKeyboardLanguageTagFieldNumber = 2,
229     kKeyboardLayoutNameFieldNumber = 3,
230     kImeLanguageTagFieldNumber = 6,
231     kKeyboardLayoutTypeFieldNumber = 1,
232     kLayoutSelectionCriteriaFieldNumber = 4,
233     kImeLayoutTypeFieldNumber = 5,
234   };
235   // optional string keyboard_language_tag = 2;
236   bool has_keyboard_language_tag() const;
237   private:
238   bool _internal_has_keyboard_language_tag() const;
239   public:
240   void clear_keyboard_language_tag();
241   const std::string& keyboard_language_tag() const;
242   template <typename ArgT0 = const std::string&, typename... ArgT>
243   void set_keyboard_language_tag(ArgT0&& arg0, ArgT... args);
244   std::string* mutable_keyboard_language_tag();
245   PROTOBUF_NODISCARD std::string* release_keyboard_language_tag();
246   void set_allocated_keyboard_language_tag(std::string* keyboard_language_tag);
247   private:
248   const std::string& _internal_keyboard_language_tag() const;
249   inline PROTOBUF_ALWAYS_INLINE void _internal_set_keyboard_language_tag(const std::string& value);
250   std::string* _internal_mutable_keyboard_language_tag();
251   public:
252 
253   // optional string keyboard_layout_name = 3;
254   bool has_keyboard_layout_name() const;
255   private:
256   bool _internal_has_keyboard_layout_name() const;
257   public:
258   void clear_keyboard_layout_name();
259   const std::string& keyboard_layout_name() const;
260   template <typename ArgT0 = const std::string&, typename... ArgT>
261   void set_keyboard_layout_name(ArgT0&& arg0, ArgT... args);
262   std::string* mutable_keyboard_layout_name();
263   PROTOBUF_NODISCARD std::string* release_keyboard_layout_name();
264   void set_allocated_keyboard_layout_name(std::string* keyboard_layout_name);
265   private:
266   const std::string& _internal_keyboard_layout_name() const;
267   inline PROTOBUF_ALWAYS_INLINE void _internal_set_keyboard_layout_name(const std::string& value);
268   std::string* _internal_mutable_keyboard_layout_name();
269   public:
270 
271   // optional string ime_language_tag = 6;
272   bool has_ime_language_tag() const;
273   private:
274   bool _internal_has_ime_language_tag() const;
275   public:
276   void clear_ime_language_tag();
277   const std::string& ime_language_tag() const;
278   template <typename ArgT0 = const std::string&, typename... ArgT>
279   void set_ime_language_tag(ArgT0&& arg0, ArgT... args);
280   std::string* mutable_ime_language_tag();
281   PROTOBUF_NODISCARD std::string* release_ime_language_tag();
282   void set_allocated_ime_language_tag(std::string* ime_language_tag);
283   private:
284   const std::string& _internal_ime_language_tag() const;
285   inline PROTOBUF_ALWAYS_INLINE void _internal_set_ime_language_tag(const std::string& value);
286   std::string* _internal_mutable_ime_language_tag();
287   public:
288 
289   // optional int32 keyboard_layout_type = 1;
290   bool has_keyboard_layout_type() const;
291   private:
292   bool _internal_has_keyboard_layout_type() const;
293   public:
294   void clear_keyboard_layout_type();
295   ::int32_t keyboard_layout_type() const;
296   void set_keyboard_layout_type(::int32_t value);
297   private:
298   ::int32_t _internal_keyboard_layout_type() const;
299   void _internal_set_keyboard_layout_type(::int32_t value);
300   public:
301 
302   // optional int32 layout_selection_criteria = 4;
303   bool has_layout_selection_criteria() const;
304   private:
305   bool _internal_has_layout_selection_criteria() const;
306   public:
307   void clear_layout_selection_criteria();
308   ::int32_t layout_selection_criteria() const;
309   void set_layout_selection_criteria(::int32_t value);
310   private:
311   ::int32_t _internal_layout_selection_criteria() const;
312   void _internal_set_layout_selection_criteria(::int32_t value);
313   public:
314 
315   // optional int32 ime_layout_type = 5;
316   bool has_ime_layout_type() const;
317   private:
318   bool _internal_has_ime_layout_type() const;
319   public:
320   void clear_ime_layout_type();
321   ::int32_t ime_layout_type() const;
322   void set_ime_layout_type(::int32_t value);
323   private:
324   ::int32_t _internal_ime_layout_type() const;
325   void _internal_set_ime_layout_type(::int32_t value);
326   public:
327 
328   // @@protoc_insertion_point(class_scope:android.os.statsd.input.KeyboardLayoutConfig)
329  private:
330   class _Internal;
331 
332   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
333   typedef void InternalArenaConstructable_;
334   typedef void DestructorSkippable_;
335   struct Impl_ {
336     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
337     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
338     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr keyboard_language_tag_;
339     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr keyboard_layout_name_;
340     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ime_language_tag_;
341     ::int32_t keyboard_layout_type_;
342     ::int32_t layout_selection_criteria_;
343     ::int32_t ime_layout_type_;
344   };
345   union { Impl_ _impl_; };
346   friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto;
347 };
348 // -------------------------------------------------------------------
349 
350 class RepeatedKeyboardLayoutConfig final :
351     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.input.RepeatedKeyboardLayoutConfig) */ {
352  public:
RepeatedKeyboardLayoutConfig()353   inline RepeatedKeyboardLayoutConfig() : RepeatedKeyboardLayoutConfig(nullptr) {}
354   ~RepeatedKeyboardLayoutConfig() override;
355   explicit PROTOBUF_CONSTEXPR RepeatedKeyboardLayoutConfig(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
356 
357   RepeatedKeyboardLayoutConfig(const RepeatedKeyboardLayoutConfig& from);
RepeatedKeyboardLayoutConfig(RepeatedKeyboardLayoutConfig && from)358   RepeatedKeyboardLayoutConfig(RepeatedKeyboardLayoutConfig&& from) noexcept
359     : RepeatedKeyboardLayoutConfig() {
360     *this = ::std::move(from);
361   }
362 
363   inline RepeatedKeyboardLayoutConfig& operator=(const RepeatedKeyboardLayoutConfig& from) {
364     if (this == &from) return *this;
365     CopyFrom(from);
366     return *this;
367   }
368   inline RepeatedKeyboardLayoutConfig& operator=(RepeatedKeyboardLayoutConfig&& from) noexcept {
369     if (this == &from) return *this;
370     if (GetOwningArena() == from.GetOwningArena()
371   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
372         && GetOwningArena() != nullptr
373   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
374     ) {
375       InternalSwap(&from);
376     } else {
377       CopyFrom(from);
378     }
379     return *this;
380   }
381 
unknown_fields()382   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
383     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
384   }
mutable_unknown_fields()385   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
386     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
387   }
388 
descriptor()389   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
390     return GetDescriptor();
391   }
GetDescriptor()392   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
393     return default_instance().GetMetadata().descriptor;
394   }
GetReflection()395   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
396     return default_instance().GetMetadata().reflection;
397   }
default_instance()398   static const RepeatedKeyboardLayoutConfig& default_instance() {
399     return *internal_default_instance();
400   }
internal_default_instance()401   static inline const RepeatedKeyboardLayoutConfig* internal_default_instance() {
402     return reinterpret_cast<const RepeatedKeyboardLayoutConfig*>(
403                &_RepeatedKeyboardLayoutConfig_default_instance_);
404   }
405   static constexpr int kIndexInFileMessages =
406     1;
407 
swap(RepeatedKeyboardLayoutConfig & a,RepeatedKeyboardLayoutConfig & b)408   friend void swap(RepeatedKeyboardLayoutConfig& a, RepeatedKeyboardLayoutConfig& b) {
409     a.Swap(&b);
410   }
Swap(RepeatedKeyboardLayoutConfig * other)411   inline void Swap(RepeatedKeyboardLayoutConfig* other) {
412     if (other == this) return;
413   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
414     if (GetOwningArena() != nullptr &&
415         GetOwningArena() == other->GetOwningArena()) {
416    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
417     if (GetOwningArena() == other->GetOwningArena()) {
418   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
419       InternalSwap(other);
420     } else {
421       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
422     }
423   }
424   void UnsafeArenaSwap(RepeatedKeyboardLayoutConfig* other) {
425     if (other == this) return;
426     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
427     InternalSwap(other);
428   }
429 
430   // implements Message ----------------------------------------------
431 
432   RepeatedKeyboardLayoutConfig* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
433     return CreateMaybeMessage<RepeatedKeyboardLayoutConfig>(arena);
434   }
435   RepeatedKeyboardLayoutConfig* New() const {
436     return New(nullptr);
437   }
438   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
439   void CopyFrom(const RepeatedKeyboardLayoutConfig& from);
440   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
441   void MergeFrom( const RepeatedKeyboardLayoutConfig& from) {
442     RepeatedKeyboardLayoutConfig::MergeImpl(*this, from);
443   }
444   private:
445   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
446   public:
447   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
448   bool IsInitialized() const final;
449 
450   size_t ByteSizeLong() const final;
451   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
452   ::uint8_t* _InternalSerialize(
453       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
454   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
455 
456   private:
457   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
458   void SharedDtor();
459   void SetCachedSize(int size) const final;
460   void InternalSwap(RepeatedKeyboardLayoutConfig* other);
461 
462   private:
463   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
464   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
465     return "android.os.statsd.input.RepeatedKeyboardLayoutConfig";
466   }
467   protected:
468   explicit RepeatedKeyboardLayoutConfig(::PROTOBUF_NAMESPACE_ID::Arena* arena,
469                        bool is_message_owned = false);
470   public:
471 
472   static const ClassData _class_data_;
473   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
474 
475   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
476 
477   // nested types ----------------------------------------------------
478 
479   // accessors -------------------------------------------------------
480 
481   enum : int {
482     kKeyboardLayoutConfigFieldNumber = 1,
483   };
484   // repeated .android.os.statsd.input.KeyboardLayoutConfig keyboard_layout_config = 1;
485   int keyboard_layout_config_size() const;
486   private:
487   int _internal_keyboard_layout_config_size() const;
488   public:
489   void clear_keyboard_layout_config();
490   ::android::os::statsd::input::KeyboardLayoutConfig* mutable_keyboard_layout_config(int index);
491   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::os::statsd::input::KeyboardLayoutConfig >*
492       mutable_keyboard_layout_config();
493   private:
494   const ::android::os::statsd::input::KeyboardLayoutConfig& _internal_keyboard_layout_config(int index) const;
495   ::android::os::statsd::input::KeyboardLayoutConfig* _internal_add_keyboard_layout_config();
496   public:
497   const ::android::os::statsd::input::KeyboardLayoutConfig& keyboard_layout_config(int index) const;
498   ::android::os::statsd::input::KeyboardLayoutConfig* add_keyboard_layout_config();
499   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::os::statsd::input::KeyboardLayoutConfig >&
500       keyboard_layout_config() const;
501 
502   // @@protoc_insertion_point(class_scope:android.os.statsd.input.RepeatedKeyboardLayoutConfig)
503  private:
504   class _Internal;
505 
506   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
507   typedef void InternalArenaConstructable_;
508   typedef void DestructorSkippable_;
509   struct Impl_ {
510     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::os::statsd::input::KeyboardLayoutConfig > keyboard_layout_config_;
511     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
512   };
513   union { Impl_ _impl_; };
514   friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto;
515 };
516 // -------------------------------------------------------------------
517 
518 class KeyboardConfigured final :
519     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.input.KeyboardConfigured) */ {
520  public:
KeyboardConfigured()521   inline KeyboardConfigured() : KeyboardConfigured(nullptr) {}
522   ~KeyboardConfigured() override;
523   explicit PROTOBUF_CONSTEXPR KeyboardConfigured(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
524 
525   KeyboardConfigured(const KeyboardConfigured& from);
KeyboardConfigured(KeyboardConfigured && from)526   KeyboardConfigured(KeyboardConfigured&& from) noexcept
527     : KeyboardConfigured() {
528     *this = ::std::move(from);
529   }
530 
531   inline KeyboardConfigured& operator=(const KeyboardConfigured& from) {
532     if (this == &from) return *this;
533     CopyFrom(from);
534     return *this;
535   }
536   inline KeyboardConfigured& operator=(KeyboardConfigured&& from) noexcept {
537     if (this == &from) return *this;
538     if (GetOwningArena() == from.GetOwningArena()
539   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
540         && GetOwningArena() != nullptr
541   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
542     ) {
543       InternalSwap(&from);
544     } else {
545       CopyFrom(from);
546     }
547     return *this;
548   }
549 
unknown_fields()550   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
551     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
552   }
mutable_unknown_fields()553   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
554     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
555   }
556 
descriptor()557   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
558     return GetDescriptor();
559   }
GetDescriptor()560   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
561     return default_instance().GetMetadata().descriptor;
562   }
GetReflection()563   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
564     return default_instance().GetMetadata().reflection;
565   }
default_instance()566   static const KeyboardConfigured& default_instance() {
567     return *internal_default_instance();
568   }
internal_default_instance()569   static inline const KeyboardConfigured* internal_default_instance() {
570     return reinterpret_cast<const KeyboardConfigured*>(
571                &_KeyboardConfigured_default_instance_);
572   }
573   static constexpr int kIndexInFileMessages =
574     2;
575 
swap(KeyboardConfigured & a,KeyboardConfigured & b)576   friend void swap(KeyboardConfigured& a, KeyboardConfigured& b) {
577     a.Swap(&b);
578   }
Swap(KeyboardConfigured * other)579   inline void Swap(KeyboardConfigured* other) {
580     if (other == this) return;
581   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
582     if (GetOwningArena() != nullptr &&
583         GetOwningArena() == other->GetOwningArena()) {
584    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
585     if (GetOwningArena() == other->GetOwningArena()) {
586   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
587       InternalSwap(other);
588     } else {
589       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
590     }
591   }
592   void UnsafeArenaSwap(KeyboardConfigured* other) {
593     if (other == this) return;
594     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
595     InternalSwap(other);
596   }
597 
598   // implements Message ----------------------------------------------
599 
600   KeyboardConfigured* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
601     return CreateMaybeMessage<KeyboardConfigured>(arena);
602   }
603   KeyboardConfigured* New() const {
604     return New(nullptr);
605   }
606   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
607   void CopyFrom(const KeyboardConfigured& from);
608   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
609   void MergeFrom( const KeyboardConfigured& from) {
610     KeyboardConfigured::MergeImpl(*this, from);
611   }
612   private:
613   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
614   public:
615   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
616   bool IsInitialized() const final;
617 
618   size_t ByteSizeLong() const final;
619   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
620   ::uint8_t* _InternalSerialize(
621       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
622   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
623 
624   private:
625   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
626   void SharedDtor();
627   void SetCachedSize(int size) const final;
628   void InternalSwap(KeyboardConfigured* other);
629 
630   private:
631   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
632   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
633     return "android.os.statsd.input.KeyboardConfigured";
634   }
635   protected:
636   explicit KeyboardConfigured(::PROTOBUF_NAMESPACE_ID::Arena* arena,
637                        bool is_message_owned = false);
638   public:
639 
640   static const ClassData _class_data_;
641   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
642 
643   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
644 
645   // nested types ----------------------------------------------------
646 
647   // accessors -------------------------------------------------------
648 
649   enum : int {
650     kRepeatedKeyboardLayoutConfigFieldNumber = 4,
651     kIsFirstTimeConfigurationFieldNumber = 1,
652     kVendorIdFieldNumber = 2,
653     kProductIdFieldNumber = 3,
654     kDeviceBusFieldNumber = 5,
655   };
656   // optional .android.os.statsd.input.RepeatedKeyboardLayoutConfig repeated_keyboard_layout_config = 4 [(.android.os.statsd.log_mode) = MODE_BYTES];
657   bool has_repeated_keyboard_layout_config() const;
658   private:
659   bool _internal_has_repeated_keyboard_layout_config() const;
660   public:
661   void clear_repeated_keyboard_layout_config();
662   const ::android::os::statsd::input::RepeatedKeyboardLayoutConfig& repeated_keyboard_layout_config() const;
663   PROTOBUF_NODISCARD ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* release_repeated_keyboard_layout_config();
664   ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* mutable_repeated_keyboard_layout_config();
665   void set_allocated_repeated_keyboard_layout_config(::android::os::statsd::input::RepeatedKeyboardLayoutConfig* repeated_keyboard_layout_config);
666   private:
667   const ::android::os::statsd::input::RepeatedKeyboardLayoutConfig& _internal_repeated_keyboard_layout_config() const;
668   ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* _internal_mutable_repeated_keyboard_layout_config();
669   public:
670   void unsafe_arena_set_allocated_repeated_keyboard_layout_config(
671       ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* repeated_keyboard_layout_config);
672   ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* unsafe_arena_release_repeated_keyboard_layout_config();
673 
674   // optional bool is_first_time_configuration = 1;
675   bool has_is_first_time_configuration() const;
676   private:
677   bool _internal_has_is_first_time_configuration() const;
678   public:
679   void clear_is_first_time_configuration();
680   bool is_first_time_configuration() const;
681   void set_is_first_time_configuration(bool value);
682   private:
683   bool _internal_is_first_time_configuration() const;
684   void _internal_set_is_first_time_configuration(bool value);
685   public:
686 
687   // optional int32 vendor_id = 2;
688   bool has_vendor_id() const;
689   private:
690   bool _internal_has_vendor_id() const;
691   public:
692   void clear_vendor_id();
693   ::int32_t vendor_id() const;
694   void set_vendor_id(::int32_t value);
695   private:
696   ::int32_t _internal_vendor_id() const;
697   void _internal_set_vendor_id(::int32_t value);
698   public:
699 
700   // optional int32 product_id = 3;
701   bool has_product_id() const;
702   private:
703   bool _internal_has_product_id() const;
704   public:
705   void clear_product_id();
706   ::int32_t product_id() const;
707   void set_product_id(::int32_t value);
708   private:
709   ::int32_t _internal_product_id() const;
710   void _internal_set_product_id(::int32_t value);
711   public:
712 
713   // optional .android.input.InputDeviceBus device_bus = 5;
714   bool has_device_bus() const;
715   private:
716   bool _internal_has_device_bus() const;
717   public:
718   void clear_device_bus();
719   ::android::input::InputDeviceBus device_bus() const;
720   void set_device_bus(::android::input::InputDeviceBus value);
721   private:
722   ::android::input::InputDeviceBus _internal_device_bus() const;
723   void _internal_set_device_bus(::android::input::InputDeviceBus value);
724   public:
725 
726   // @@protoc_insertion_point(class_scope:android.os.statsd.input.KeyboardConfigured)
727  private:
728   class _Internal;
729 
730   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
731   typedef void InternalArenaConstructable_;
732   typedef void DestructorSkippable_;
733   struct Impl_ {
734     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
735     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
736     ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* repeated_keyboard_layout_config_;
737     bool is_first_time_configuration_;
738     ::int32_t vendor_id_;
739     ::int32_t product_id_;
740     int device_bus_;
741   };
742   union { Impl_ _impl_; };
743   friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto;
744 };
745 // -------------------------------------------------------------------
746 
747 class KeyboardSystemsEventReported final :
748     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.input.KeyboardSystemsEventReported) */ {
749  public:
KeyboardSystemsEventReported()750   inline KeyboardSystemsEventReported() : KeyboardSystemsEventReported(nullptr) {}
751   ~KeyboardSystemsEventReported() override;
752   explicit PROTOBUF_CONSTEXPR KeyboardSystemsEventReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
753 
754   KeyboardSystemsEventReported(const KeyboardSystemsEventReported& from);
KeyboardSystemsEventReported(KeyboardSystemsEventReported && from)755   KeyboardSystemsEventReported(KeyboardSystemsEventReported&& from) noexcept
756     : KeyboardSystemsEventReported() {
757     *this = ::std::move(from);
758   }
759 
760   inline KeyboardSystemsEventReported& operator=(const KeyboardSystemsEventReported& from) {
761     if (this == &from) return *this;
762     CopyFrom(from);
763     return *this;
764   }
765   inline KeyboardSystemsEventReported& operator=(KeyboardSystemsEventReported&& from) noexcept {
766     if (this == &from) return *this;
767     if (GetOwningArena() == from.GetOwningArena()
768   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
769         && GetOwningArena() != nullptr
770   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
771     ) {
772       InternalSwap(&from);
773     } else {
774       CopyFrom(from);
775     }
776     return *this;
777   }
778 
unknown_fields()779   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
780     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
781   }
mutable_unknown_fields()782   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
783     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
784   }
785 
descriptor()786   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
787     return GetDescriptor();
788   }
GetDescriptor()789   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
790     return default_instance().GetMetadata().descriptor;
791   }
GetReflection()792   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
793     return default_instance().GetMetadata().reflection;
794   }
default_instance()795   static const KeyboardSystemsEventReported& default_instance() {
796     return *internal_default_instance();
797   }
internal_default_instance()798   static inline const KeyboardSystemsEventReported* internal_default_instance() {
799     return reinterpret_cast<const KeyboardSystemsEventReported*>(
800                &_KeyboardSystemsEventReported_default_instance_);
801   }
802   static constexpr int kIndexInFileMessages =
803     3;
804 
swap(KeyboardSystemsEventReported & a,KeyboardSystemsEventReported & b)805   friend void swap(KeyboardSystemsEventReported& a, KeyboardSystemsEventReported& b) {
806     a.Swap(&b);
807   }
Swap(KeyboardSystemsEventReported * other)808   inline void Swap(KeyboardSystemsEventReported* other) {
809     if (other == this) return;
810   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
811     if (GetOwningArena() != nullptr &&
812         GetOwningArena() == other->GetOwningArena()) {
813    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
814     if (GetOwningArena() == other->GetOwningArena()) {
815   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
816       InternalSwap(other);
817     } else {
818       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
819     }
820   }
821   void UnsafeArenaSwap(KeyboardSystemsEventReported* other) {
822     if (other == this) return;
823     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
824     InternalSwap(other);
825   }
826 
827   // implements Message ----------------------------------------------
828 
829   KeyboardSystemsEventReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
830     return CreateMaybeMessage<KeyboardSystemsEventReported>(arena);
831   }
832   KeyboardSystemsEventReported* New() const {
833     return New(nullptr);
834   }
835   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
836   void CopyFrom(const KeyboardSystemsEventReported& from);
837   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
838   void MergeFrom( const KeyboardSystemsEventReported& from) {
839     KeyboardSystemsEventReported::MergeImpl(*this, from);
840   }
841   private:
842   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
843   public:
844   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
845   bool IsInitialized() const final;
846 
847   size_t ByteSizeLong() const final;
848   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
849   ::uint8_t* _InternalSerialize(
850       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
851   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
852 
853   private:
854   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
855   void SharedDtor();
856   void SetCachedSize(int size) const final;
857   void InternalSwap(KeyboardSystemsEventReported* other);
858 
859   private:
860   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
861   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
862     return "android.os.statsd.input.KeyboardSystemsEventReported";
863   }
864   protected:
865   explicit KeyboardSystemsEventReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
866                        bool is_message_owned = false);
867   public:
868 
869   static const ClassData _class_data_;
870   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
871 
872   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
873 
874   // nested types ----------------------------------------------------
875 
876   // accessors -------------------------------------------------------
877 
878   enum : int {
879     kKeyCodeFieldNumber = 4,
880     kVendorIdFieldNumber = 1,
881     kProductIdFieldNumber = 2,
882     kKeyboardSystemEventFieldNumber = 3,
883     kModifierStateFieldNumber = 5,
884     kDeviceBusFieldNumber = 6,
885   };
886   // repeated int32 key_code = 4;
887   int key_code_size() const;
888   private:
889   int _internal_key_code_size() const;
890   public:
891   void clear_key_code();
892   private:
893   ::int32_t _internal_key_code(int index) const;
894   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
895       _internal_key_code() const;
896   void _internal_add_key_code(::int32_t value);
897   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
898       _internal_mutable_key_code();
899   public:
900   ::int32_t key_code(int index) const;
901   void set_key_code(int index, ::int32_t value);
902   void add_key_code(::int32_t value);
903   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
904       key_code() const;
905   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
906       mutable_key_code();
907 
908   // optional int32 vendor_id = 1;
909   bool has_vendor_id() const;
910   private:
911   bool _internal_has_vendor_id() const;
912   public:
913   void clear_vendor_id();
914   ::int32_t vendor_id() const;
915   void set_vendor_id(::int32_t value);
916   private:
917   ::int32_t _internal_vendor_id() const;
918   void _internal_set_vendor_id(::int32_t value);
919   public:
920 
921   // optional int32 product_id = 2;
922   bool has_product_id() const;
923   private:
924   bool _internal_has_product_id() const;
925   public:
926   void clear_product_id();
927   ::int32_t product_id() const;
928   void set_product_id(::int32_t value);
929   private:
930   ::int32_t _internal_product_id() const;
931   void _internal_set_product_id(::int32_t value);
932   public:
933 
934   // optional .android.input.KeyboardSystemEvent keyboard_system_event = 3;
935   bool has_keyboard_system_event() const;
936   private:
937   bool _internal_has_keyboard_system_event() const;
938   public:
939   void clear_keyboard_system_event();
940   ::android::input::KeyboardSystemEvent keyboard_system_event() const;
941   void set_keyboard_system_event(::android::input::KeyboardSystemEvent value);
942   private:
943   ::android::input::KeyboardSystemEvent _internal_keyboard_system_event() const;
944   void _internal_set_keyboard_system_event(::android::input::KeyboardSystemEvent value);
945   public:
946 
947   // optional int32 modifier_state = 5;
948   bool has_modifier_state() const;
949   private:
950   bool _internal_has_modifier_state() const;
951   public:
952   void clear_modifier_state();
953   ::int32_t modifier_state() const;
954   void set_modifier_state(::int32_t value);
955   private:
956   ::int32_t _internal_modifier_state() const;
957   void _internal_set_modifier_state(::int32_t value);
958   public:
959 
960   // optional .android.input.InputDeviceBus device_bus = 6;
961   bool has_device_bus() const;
962   private:
963   bool _internal_has_device_bus() const;
964   public:
965   void clear_device_bus();
966   ::android::input::InputDeviceBus device_bus() const;
967   void set_device_bus(::android::input::InputDeviceBus value);
968   private:
969   ::android::input::InputDeviceBus _internal_device_bus() const;
970   void _internal_set_device_bus(::android::input::InputDeviceBus value);
971   public:
972 
973   // @@protoc_insertion_point(class_scope:android.os.statsd.input.KeyboardSystemsEventReported)
974  private:
975   class _Internal;
976 
977   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
978   typedef void InternalArenaConstructable_;
979   typedef void DestructorSkippable_;
980   struct Impl_ {
981     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
982     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
983     ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > key_code_;
984     ::int32_t vendor_id_;
985     ::int32_t product_id_;
986     int keyboard_system_event_;
987     ::int32_t modifier_state_;
988     int device_bus_;
989   };
990   union { Impl_ _impl_; };
991   friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto;
992 };
993 // -------------------------------------------------------------------
994 
995 class InputDeviceUsageReported final :
996     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.input.InputDeviceUsageReported) */ {
997  public:
InputDeviceUsageReported()998   inline InputDeviceUsageReported() : InputDeviceUsageReported(nullptr) {}
999   ~InputDeviceUsageReported() override;
1000   explicit PROTOBUF_CONSTEXPR InputDeviceUsageReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1001 
1002   InputDeviceUsageReported(const InputDeviceUsageReported& from);
InputDeviceUsageReported(InputDeviceUsageReported && from)1003   InputDeviceUsageReported(InputDeviceUsageReported&& from) noexcept
1004     : InputDeviceUsageReported() {
1005     *this = ::std::move(from);
1006   }
1007 
1008   inline InputDeviceUsageReported& operator=(const InputDeviceUsageReported& from) {
1009     if (this == &from) return *this;
1010     CopyFrom(from);
1011     return *this;
1012   }
1013   inline InputDeviceUsageReported& operator=(InputDeviceUsageReported&& from) noexcept {
1014     if (this == &from) return *this;
1015     if (GetOwningArena() == from.GetOwningArena()
1016   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1017         && GetOwningArena() != nullptr
1018   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1019     ) {
1020       InternalSwap(&from);
1021     } else {
1022       CopyFrom(from);
1023     }
1024     return *this;
1025   }
1026 
unknown_fields()1027   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1028     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1029   }
mutable_unknown_fields()1030   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1031     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1032   }
1033 
descriptor()1034   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1035     return GetDescriptor();
1036   }
GetDescriptor()1037   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1038     return default_instance().GetMetadata().descriptor;
1039   }
GetReflection()1040   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1041     return default_instance().GetMetadata().reflection;
1042   }
default_instance()1043   static const InputDeviceUsageReported& default_instance() {
1044     return *internal_default_instance();
1045   }
internal_default_instance()1046   static inline const InputDeviceUsageReported* internal_default_instance() {
1047     return reinterpret_cast<const InputDeviceUsageReported*>(
1048                &_InputDeviceUsageReported_default_instance_);
1049   }
1050   static constexpr int kIndexInFileMessages =
1051     4;
1052 
swap(InputDeviceUsageReported & a,InputDeviceUsageReported & b)1053   friend void swap(InputDeviceUsageReported& a, InputDeviceUsageReported& b) {
1054     a.Swap(&b);
1055   }
Swap(InputDeviceUsageReported * other)1056   inline void Swap(InputDeviceUsageReported* other) {
1057     if (other == this) return;
1058   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1059     if (GetOwningArena() != nullptr &&
1060         GetOwningArena() == other->GetOwningArena()) {
1061    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1062     if (GetOwningArena() == other->GetOwningArena()) {
1063   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1064       InternalSwap(other);
1065     } else {
1066       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1067     }
1068   }
1069   void UnsafeArenaSwap(InputDeviceUsageReported* other) {
1070     if (other == this) return;
1071     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1072     InternalSwap(other);
1073   }
1074 
1075   // implements Message ----------------------------------------------
1076 
1077   InputDeviceUsageReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1078     return CreateMaybeMessage<InputDeviceUsageReported>(arena);
1079   }
1080   InputDeviceUsageReported* New() const {
1081     return New(nullptr);
1082   }
1083   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1084   void CopyFrom(const InputDeviceUsageReported& from);
1085   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1086   void MergeFrom( const InputDeviceUsageReported& from) {
1087     InputDeviceUsageReported::MergeImpl(*this, from);
1088   }
1089   private:
1090   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1091   public:
1092   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1093   bool IsInitialized() const final;
1094 
1095   size_t ByteSizeLong() const final;
1096   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1097   ::uint8_t* _InternalSerialize(
1098       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1099   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1100 
1101   private:
1102   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1103   void SharedDtor();
1104   void SetCachedSize(int size) const final;
1105   void InternalSwap(InputDeviceUsageReported* other);
1106 
1107   private:
1108   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1109   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1110     return "android.os.statsd.input.InputDeviceUsageReported";
1111   }
1112   protected:
1113   explicit InputDeviceUsageReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1114                        bool is_message_owned = false);
1115   public:
1116 
1117   static const ClassData _class_data_;
1118   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1119 
1120   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1121 
1122   // nested types ----------------------------------------------------
1123 
1124   // accessors -------------------------------------------------------
1125 
1126   enum : int {
1127     kUsageSourcesFieldNumber = 6,
1128     kUsageDurationsPerSourceFieldNumber = 7,
1129     kUidsFieldNumber = 8,
1130     kUsageDurationsPerUidFieldNumber = 9,
1131     kVendorIdFieldNumber = 1,
1132     kProductIdFieldNumber = 2,
1133     kVersionIdFieldNumber = 3,
1134     kDeviceBusFieldNumber = 4,
1135     kUsageDurationMillisFieldNumber = 5,
1136   };
1137   // repeated .android.input.InputDeviceUsageType usage_sources = 6;
1138   int usage_sources_size() const;
1139   private:
1140   int _internal_usage_sources_size() const;
1141   public:
1142   void clear_usage_sources();
1143   private:
1144   ::android::input::InputDeviceUsageType _internal_usage_sources(int index) const;
1145   void _internal_add_usage_sources(::android::input::InputDeviceUsageType value);
1146   ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_usage_sources();
1147   public:
1148   ::android::input::InputDeviceUsageType usage_sources(int index) const;
1149   void set_usage_sources(int index, ::android::input::InputDeviceUsageType value);
1150   void add_usage_sources(::android::input::InputDeviceUsageType value);
1151   const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& usage_sources() const;
1152   ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_usage_sources();
1153 
1154   // repeated int32 usage_durations_per_source = 7;
1155   int usage_durations_per_source_size() const;
1156   private:
1157   int _internal_usage_durations_per_source_size() const;
1158   public:
1159   void clear_usage_durations_per_source();
1160   private:
1161   ::int32_t _internal_usage_durations_per_source(int index) const;
1162   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1163       _internal_usage_durations_per_source() const;
1164   void _internal_add_usage_durations_per_source(::int32_t value);
1165   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1166       _internal_mutable_usage_durations_per_source();
1167   public:
1168   ::int32_t usage_durations_per_source(int index) const;
1169   void set_usage_durations_per_source(int index, ::int32_t value);
1170   void add_usage_durations_per_source(::int32_t value);
1171   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1172       usage_durations_per_source() const;
1173   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1174       mutable_usage_durations_per_source();
1175 
1176   // repeated int32 uids = 8 [(.android.os.statsd.is_uid) = true];
1177   int uids_size() const;
1178   private:
1179   int _internal_uids_size() const;
1180   public:
1181   void clear_uids();
1182   private:
1183   ::int32_t _internal_uids(int index) const;
1184   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1185       _internal_uids() const;
1186   void _internal_add_uids(::int32_t value);
1187   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1188       _internal_mutable_uids();
1189   public:
1190   ::int32_t uids(int index) const;
1191   void set_uids(int index, ::int32_t value);
1192   void add_uids(::int32_t value);
1193   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1194       uids() const;
1195   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1196       mutable_uids();
1197 
1198   // repeated int32 usage_durations_per_uid = 9;
1199   int usage_durations_per_uid_size() const;
1200   private:
1201   int _internal_usage_durations_per_uid_size() const;
1202   public:
1203   void clear_usage_durations_per_uid();
1204   private:
1205   ::int32_t _internal_usage_durations_per_uid(int index) const;
1206   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1207       _internal_usage_durations_per_uid() const;
1208   void _internal_add_usage_durations_per_uid(::int32_t value);
1209   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1210       _internal_mutable_usage_durations_per_uid();
1211   public:
1212   ::int32_t usage_durations_per_uid(int index) const;
1213   void set_usage_durations_per_uid(int index, ::int32_t value);
1214   void add_usage_durations_per_uid(::int32_t value);
1215   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1216       usage_durations_per_uid() const;
1217   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1218       mutable_usage_durations_per_uid();
1219 
1220   // optional int32 vendor_id = 1;
1221   bool has_vendor_id() const;
1222   private:
1223   bool _internal_has_vendor_id() const;
1224   public:
1225   void clear_vendor_id();
1226   ::int32_t vendor_id() const;
1227   void set_vendor_id(::int32_t value);
1228   private:
1229   ::int32_t _internal_vendor_id() const;
1230   void _internal_set_vendor_id(::int32_t value);
1231   public:
1232 
1233   // optional int32 product_id = 2;
1234   bool has_product_id() const;
1235   private:
1236   bool _internal_has_product_id() const;
1237   public:
1238   void clear_product_id();
1239   ::int32_t product_id() const;
1240   void set_product_id(::int32_t value);
1241   private:
1242   ::int32_t _internal_product_id() const;
1243   void _internal_set_product_id(::int32_t value);
1244   public:
1245 
1246   // optional int32 version_id = 3;
1247   bool has_version_id() const;
1248   private:
1249   bool _internal_has_version_id() const;
1250   public:
1251   void clear_version_id();
1252   ::int32_t version_id() const;
1253   void set_version_id(::int32_t value);
1254   private:
1255   ::int32_t _internal_version_id() const;
1256   void _internal_set_version_id(::int32_t value);
1257   public:
1258 
1259   // optional .android.input.InputDeviceBus device_bus = 4;
1260   bool has_device_bus() const;
1261   private:
1262   bool _internal_has_device_bus() const;
1263   public:
1264   void clear_device_bus();
1265   ::android::input::InputDeviceBus device_bus() const;
1266   void set_device_bus(::android::input::InputDeviceBus value);
1267   private:
1268   ::android::input::InputDeviceBus _internal_device_bus() const;
1269   void _internal_set_device_bus(::android::input::InputDeviceBus value);
1270   public:
1271 
1272   // optional int32 usage_duration_millis = 5;
1273   bool has_usage_duration_millis() const;
1274   private:
1275   bool _internal_has_usage_duration_millis() const;
1276   public:
1277   void clear_usage_duration_millis();
1278   ::int32_t usage_duration_millis() const;
1279   void set_usage_duration_millis(::int32_t value);
1280   private:
1281   ::int32_t _internal_usage_duration_millis() const;
1282   void _internal_set_usage_duration_millis(::int32_t value);
1283   public:
1284 
1285   // @@protoc_insertion_point(class_scope:android.os.statsd.input.InputDeviceUsageReported)
1286  private:
1287   class _Internal;
1288 
1289   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1290   typedef void InternalArenaConstructable_;
1291   typedef void DestructorSkippable_;
1292   struct Impl_ {
1293     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1294     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1295     ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> usage_sources_;
1296     ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > usage_durations_per_source_;
1297     ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > uids_;
1298     ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > usage_durations_per_uid_;
1299     ::int32_t vendor_id_;
1300     ::int32_t product_id_;
1301     ::int32_t version_id_;
1302     int device_bus_;
1303     ::int32_t usage_duration_millis_;
1304   };
1305   union { Impl_ _impl_; };
1306   friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto;
1307 };
1308 // -------------------------------------------------------------------
1309 
1310 class TouchpadUsage final :
1311     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.input.TouchpadUsage) */ {
1312  public:
TouchpadUsage()1313   inline TouchpadUsage() : TouchpadUsage(nullptr) {}
1314   ~TouchpadUsage() override;
1315   explicit PROTOBUF_CONSTEXPR TouchpadUsage(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1316 
1317   TouchpadUsage(const TouchpadUsage& from);
TouchpadUsage(TouchpadUsage && from)1318   TouchpadUsage(TouchpadUsage&& from) noexcept
1319     : TouchpadUsage() {
1320     *this = ::std::move(from);
1321   }
1322 
1323   inline TouchpadUsage& operator=(const TouchpadUsage& from) {
1324     if (this == &from) return *this;
1325     CopyFrom(from);
1326     return *this;
1327   }
1328   inline TouchpadUsage& operator=(TouchpadUsage&& from) noexcept {
1329     if (this == &from) return *this;
1330     if (GetOwningArena() == from.GetOwningArena()
1331   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1332         && GetOwningArena() != nullptr
1333   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1334     ) {
1335       InternalSwap(&from);
1336     } else {
1337       CopyFrom(from);
1338     }
1339     return *this;
1340   }
1341 
unknown_fields()1342   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1343     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1344   }
mutable_unknown_fields()1345   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1346     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1347   }
1348 
descriptor()1349   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1350     return GetDescriptor();
1351   }
GetDescriptor()1352   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1353     return default_instance().GetMetadata().descriptor;
1354   }
GetReflection()1355   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1356     return default_instance().GetMetadata().reflection;
1357   }
default_instance()1358   static const TouchpadUsage& default_instance() {
1359     return *internal_default_instance();
1360   }
internal_default_instance()1361   static inline const TouchpadUsage* internal_default_instance() {
1362     return reinterpret_cast<const TouchpadUsage*>(
1363                &_TouchpadUsage_default_instance_);
1364   }
1365   static constexpr int kIndexInFileMessages =
1366     5;
1367 
swap(TouchpadUsage & a,TouchpadUsage & b)1368   friend void swap(TouchpadUsage& a, TouchpadUsage& b) {
1369     a.Swap(&b);
1370   }
Swap(TouchpadUsage * other)1371   inline void Swap(TouchpadUsage* other) {
1372     if (other == this) return;
1373   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1374     if (GetOwningArena() != nullptr &&
1375         GetOwningArena() == other->GetOwningArena()) {
1376    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1377     if (GetOwningArena() == other->GetOwningArena()) {
1378   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1379       InternalSwap(other);
1380     } else {
1381       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1382     }
1383   }
1384   void UnsafeArenaSwap(TouchpadUsage* other) {
1385     if (other == this) return;
1386     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1387     InternalSwap(other);
1388   }
1389 
1390   // implements Message ----------------------------------------------
1391 
1392   TouchpadUsage* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1393     return CreateMaybeMessage<TouchpadUsage>(arena);
1394   }
1395   TouchpadUsage* New() const {
1396     return New(nullptr);
1397   }
1398   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1399   void CopyFrom(const TouchpadUsage& from);
1400   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1401   void MergeFrom( const TouchpadUsage& from) {
1402     TouchpadUsage::MergeImpl(*this, from);
1403   }
1404   private:
1405   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1406   public:
1407   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1408   bool IsInitialized() const final;
1409 
1410   size_t ByteSizeLong() const final;
1411   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1412   ::uint8_t* _InternalSerialize(
1413       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1414   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1415 
1416   private:
1417   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1418   void SharedDtor();
1419   void SetCachedSize(int size) const final;
1420   void InternalSwap(TouchpadUsage* other);
1421 
1422   private:
1423   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1424   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1425     return "android.os.statsd.input.TouchpadUsage";
1426   }
1427   protected:
1428   explicit TouchpadUsage(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1429                        bool is_message_owned = false);
1430   public:
1431 
1432   static const ClassData _class_data_;
1433   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1434 
1435   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1436 
1437   // nested types ----------------------------------------------------
1438 
1439   // accessors -------------------------------------------------------
1440 
1441   enum : int {
1442     kVendorIdFieldNumber = 1,
1443     kProductIdFieldNumber = 2,
1444     kVersionIdFieldNumber = 3,
1445     kDeviceBusFieldNumber = 4,
1446     kFingerCountFieldNumber = 5,
1447     kPalmCountFieldNumber = 6,
1448     kTwoFingerSwipeGestureCountFieldNumber = 7,
1449     kThreeFingerSwipeGestureCountFieldNumber = 8,
1450     kFourFingerSwipeGestureCountFieldNumber = 9,
1451     kPinchGestureCountFieldNumber = 10,
1452   };
1453   // optional int32 vendor_id = 1;
1454   bool has_vendor_id() const;
1455   private:
1456   bool _internal_has_vendor_id() const;
1457   public:
1458   void clear_vendor_id();
1459   ::int32_t vendor_id() const;
1460   void set_vendor_id(::int32_t value);
1461   private:
1462   ::int32_t _internal_vendor_id() const;
1463   void _internal_set_vendor_id(::int32_t value);
1464   public:
1465 
1466   // optional int32 product_id = 2;
1467   bool has_product_id() const;
1468   private:
1469   bool _internal_has_product_id() const;
1470   public:
1471   void clear_product_id();
1472   ::int32_t product_id() const;
1473   void set_product_id(::int32_t value);
1474   private:
1475   ::int32_t _internal_product_id() const;
1476   void _internal_set_product_id(::int32_t value);
1477   public:
1478 
1479   // optional int32 version_id = 3;
1480   bool has_version_id() const;
1481   private:
1482   bool _internal_has_version_id() const;
1483   public:
1484   void clear_version_id();
1485   ::int32_t version_id() const;
1486   void set_version_id(::int32_t value);
1487   private:
1488   ::int32_t _internal_version_id() const;
1489   void _internal_set_version_id(::int32_t value);
1490   public:
1491 
1492   // optional .android.input.InputDeviceBus device_bus = 4;
1493   bool has_device_bus() const;
1494   private:
1495   bool _internal_has_device_bus() const;
1496   public:
1497   void clear_device_bus();
1498   ::android::input::InputDeviceBus device_bus() const;
1499   void set_device_bus(::android::input::InputDeviceBus value);
1500   private:
1501   ::android::input::InputDeviceBus _internal_device_bus() const;
1502   void _internal_set_device_bus(::android::input::InputDeviceBus value);
1503   public:
1504 
1505   // optional int32 finger_count = 5;
1506   bool has_finger_count() const;
1507   private:
1508   bool _internal_has_finger_count() const;
1509   public:
1510   void clear_finger_count();
1511   ::int32_t finger_count() const;
1512   void set_finger_count(::int32_t value);
1513   private:
1514   ::int32_t _internal_finger_count() const;
1515   void _internal_set_finger_count(::int32_t value);
1516   public:
1517 
1518   // optional int32 palm_count = 6;
1519   bool has_palm_count() const;
1520   private:
1521   bool _internal_has_palm_count() const;
1522   public:
1523   void clear_palm_count();
1524   ::int32_t palm_count() const;
1525   void set_palm_count(::int32_t value);
1526   private:
1527   ::int32_t _internal_palm_count() const;
1528   void _internal_set_palm_count(::int32_t value);
1529   public:
1530 
1531   // optional int32 two_finger_swipe_gesture_count = 7;
1532   bool has_two_finger_swipe_gesture_count() const;
1533   private:
1534   bool _internal_has_two_finger_swipe_gesture_count() const;
1535   public:
1536   void clear_two_finger_swipe_gesture_count();
1537   ::int32_t two_finger_swipe_gesture_count() const;
1538   void set_two_finger_swipe_gesture_count(::int32_t value);
1539   private:
1540   ::int32_t _internal_two_finger_swipe_gesture_count() const;
1541   void _internal_set_two_finger_swipe_gesture_count(::int32_t value);
1542   public:
1543 
1544   // optional int32 three_finger_swipe_gesture_count = 8;
1545   bool has_three_finger_swipe_gesture_count() const;
1546   private:
1547   bool _internal_has_three_finger_swipe_gesture_count() const;
1548   public:
1549   void clear_three_finger_swipe_gesture_count();
1550   ::int32_t three_finger_swipe_gesture_count() const;
1551   void set_three_finger_swipe_gesture_count(::int32_t value);
1552   private:
1553   ::int32_t _internal_three_finger_swipe_gesture_count() const;
1554   void _internal_set_three_finger_swipe_gesture_count(::int32_t value);
1555   public:
1556 
1557   // optional int32 four_finger_swipe_gesture_count = 9;
1558   bool has_four_finger_swipe_gesture_count() const;
1559   private:
1560   bool _internal_has_four_finger_swipe_gesture_count() const;
1561   public:
1562   void clear_four_finger_swipe_gesture_count();
1563   ::int32_t four_finger_swipe_gesture_count() const;
1564   void set_four_finger_swipe_gesture_count(::int32_t value);
1565   private:
1566   ::int32_t _internal_four_finger_swipe_gesture_count() const;
1567   void _internal_set_four_finger_swipe_gesture_count(::int32_t value);
1568   public:
1569 
1570   // optional int32 pinch_gesture_count = 10;
1571   bool has_pinch_gesture_count() const;
1572   private:
1573   bool _internal_has_pinch_gesture_count() const;
1574   public:
1575   void clear_pinch_gesture_count();
1576   ::int32_t pinch_gesture_count() const;
1577   void set_pinch_gesture_count(::int32_t value);
1578   private:
1579   ::int32_t _internal_pinch_gesture_count() const;
1580   void _internal_set_pinch_gesture_count(::int32_t value);
1581   public:
1582 
1583   // @@protoc_insertion_point(class_scope:android.os.statsd.input.TouchpadUsage)
1584  private:
1585   class _Internal;
1586 
1587   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1588   typedef void InternalArenaConstructable_;
1589   typedef void DestructorSkippable_;
1590   struct Impl_ {
1591     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1592     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1593     ::int32_t vendor_id_;
1594     ::int32_t product_id_;
1595     ::int32_t version_id_;
1596     int device_bus_;
1597     ::int32_t finger_count_;
1598     ::int32_t palm_count_;
1599     ::int32_t two_finger_swipe_gesture_count_;
1600     ::int32_t three_finger_swipe_gesture_count_;
1601     ::int32_t four_finger_swipe_gesture_count_;
1602     ::int32_t pinch_gesture_count_;
1603   };
1604   union { Impl_ _impl_; };
1605   friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto;
1606 };
1607 // -------------------------------------------------------------------
1608 
1609 class InputEventLatencyReported final :
1610     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.input.InputEventLatencyReported) */ {
1611  public:
InputEventLatencyReported()1612   inline InputEventLatencyReported() : InputEventLatencyReported(nullptr) {}
1613   ~InputEventLatencyReported() override;
1614   explicit PROTOBUF_CONSTEXPR InputEventLatencyReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1615 
1616   InputEventLatencyReported(const InputEventLatencyReported& from);
InputEventLatencyReported(InputEventLatencyReported && from)1617   InputEventLatencyReported(InputEventLatencyReported&& from) noexcept
1618     : InputEventLatencyReported() {
1619     *this = ::std::move(from);
1620   }
1621 
1622   inline InputEventLatencyReported& operator=(const InputEventLatencyReported& from) {
1623     if (this == &from) return *this;
1624     CopyFrom(from);
1625     return *this;
1626   }
1627   inline InputEventLatencyReported& operator=(InputEventLatencyReported&& from) noexcept {
1628     if (this == &from) return *this;
1629     if (GetOwningArena() == from.GetOwningArena()
1630   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1631         && GetOwningArena() != nullptr
1632   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1633     ) {
1634       InternalSwap(&from);
1635     } else {
1636       CopyFrom(from);
1637     }
1638     return *this;
1639   }
1640 
unknown_fields()1641   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1642     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1643   }
mutable_unknown_fields()1644   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1645     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1646   }
1647 
descriptor()1648   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1649     return GetDescriptor();
1650   }
GetDescriptor()1651   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1652     return default_instance().GetMetadata().descriptor;
1653   }
GetReflection()1654   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1655     return default_instance().GetMetadata().reflection;
1656   }
default_instance()1657   static const InputEventLatencyReported& default_instance() {
1658     return *internal_default_instance();
1659   }
internal_default_instance()1660   static inline const InputEventLatencyReported* internal_default_instance() {
1661     return reinterpret_cast<const InputEventLatencyReported*>(
1662                &_InputEventLatencyReported_default_instance_);
1663   }
1664   static constexpr int kIndexInFileMessages =
1665     6;
1666 
swap(InputEventLatencyReported & a,InputEventLatencyReported & b)1667   friend void swap(InputEventLatencyReported& a, InputEventLatencyReported& b) {
1668     a.Swap(&b);
1669   }
Swap(InputEventLatencyReported * other)1670   inline void Swap(InputEventLatencyReported* other) {
1671     if (other == this) return;
1672   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1673     if (GetOwningArena() != nullptr &&
1674         GetOwningArena() == other->GetOwningArena()) {
1675    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1676     if (GetOwningArena() == other->GetOwningArena()) {
1677   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1678       InternalSwap(other);
1679     } else {
1680       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1681     }
1682   }
1683   void UnsafeArenaSwap(InputEventLatencyReported* other) {
1684     if (other == this) return;
1685     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1686     InternalSwap(other);
1687   }
1688 
1689   // implements Message ----------------------------------------------
1690 
1691   InputEventLatencyReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1692     return CreateMaybeMessage<InputEventLatencyReported>(arena);
1693   }
1694   InputEventLatencyReported* New() const {
1695     return New(nullptr);
1696   }
1697   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1698   void CopyFrom(const InputEventLatencyReported& from);
1699   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1700   void MergeFrom( const InputEventLatencyReported& from) {
1701     InputEventLatencyReported::MergeImpl(*this, from);
1702   }
1703   private:
1704   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1705   public:
1706   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1707   bool IsInitialized() const final;
1708 
1709   size_t ByteSizeLong() const final;
1710   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1711   ::uint8_t* _InternalSerialize(
1712       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1713   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1714 
1715   private:
1716   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1717   void SharedDtor();
1718   void SetCachedSize(int size) const final;
1719   void InternalSwap(InputEventLatencyReported* other);
1720 
1721   private:
1722   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1723   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1724     return "android.os.statsd.input.InputEventLatencyReported";
1725   }
1726   protected:
1727   explicit InputEventLatencyReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1728                        bool is_message_owned = false);
1729   public:
1730 
1731   static const ClassData _class_data_;
1732   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1733 
1734   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1735 
1736   // nested types ----------------------------------------------------
1737 
1738   // accessors -------------------------------------------------------
1739 
1740   enum : int {
1741     kSourcesFieldNumber = 3,
1742     kHistogramCountsFieldNumber = 7,
1743     kVendorIdFieldNumber = 1,
1744     kProductIdFieldNumber = 2,
1745     kInputEventTypeFieldNumber = 4,
1746     kLatencyStageFieldNumber = 5,
1747     kHistogramVersionFieldNumber = 6,
1748   };
1749   // repeated .android.input.InputDeviceUsageType sources = 3;
1750   int sources_size() const;
1751   private:
1752   int _internal_sources_size() const;
1753   public:
1754   void clear_sources();
1755   private:
1756   ::android::input::InputDeviceUsageType _internal_sources(int index) const;
1757   void _internal_add_sources(::android::input::InputDeviceUsageType value);
1758   ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_sources();
1759   public:
1760   ::android::input::InputDeviceUsageType sources(int index) const;
1761   void set_sources(int index, ::android::input::InputDeviceUsageType value);
1762   void add_sources(::android::input::InputDeviceUsageType value);
1763   const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& sources() const;
1764   ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_sources();
1765 
1766   // repeated int32 histogram_counts = 7;
1767   int histogram_counts_size() const;
1768   private:
1769   int _internal_histogram_counts_size() const;
1770   public:
1771   void clear_histogram_counts();
1772   private:
1773   ::int32_t _internal_histogram_counts(int index) const;
1774   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1775       _internal_histogram_counts() const;
1776   void _internal_add_histogram_counts(::int32_t value);
1777   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1778       _internal_mutable_histogram_counts();
1779   public:
1780   ::int32_t histogram_counts(int index) const;
1781   void set_histogram_counts(int index, ::int32_t value);
1782   void add_histogram_counts(::int32_t value);
1783   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1784       histogram_counts() const;
1785   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1786       mutable_histogram_counts();
1787 
1788   // optional int32 vendor_id = 1;
1789   bool has_vendor_id() const;
1790   private:
1791   bool _internal_has_vendor_id() const;
1792   public:
1793   void clear_vendor_id();
1794   ::int32_t vendor_id() const;
1795   void set_vendor_id(::int32_t value);
1796   private:
1797   ::int32_t _internal_vendor_id() const;
1798   void _internal_set_vendor_id(::int32_t value);
1799   public:
1800 
1801   // optional int32 product_id = 2;
1802   bool has_product_id() const;
1803   private:
1804   bool _internal_has_product_id() const;
1805   public:
1806   void clear_product_id();
1807   ::int32_t product_id() const;
1808   void set_product_id(::int32_t value);
1809   private:
1810   ::int32_t _internal_product_id() const;
1811   void _internal_set_product_id(::int32_t value);
1812   public:
1813 
1814   // optional .android.input.InputEventType input_event_type = 4;
1815   bool has_input_event_type() const;
1816   private:
1817   bool _internal_has_input_event_type() const;
1818   public:
1819   void clear_input_event_type();
1820   ::android::input::InputEventType input_event_type() const;
1821   void set_input_event_type(::android::input::InputEventType value);
1822   private:
1823   ::android::input::InputEventType _internal_input_event_type() const;
1824   void _internal_set_input_event_type(::android::input::InputEventType value);
1825   public:
1826 
1827   // optional .android.input.LatencyStage latency_stage = 5;
1828   bool has_latency_stage() const;
1829   private:
1830   bool _internal_has_latency_stage() const;
1831   public:
1832   void clear_latency_stage();
1833   ::android::input::LatencyStage latency_stage() const;
1834   void set_latency_stage(::android::input::LatencyStage value);
1835   private:
1836   ::android::input::LatencyStage _internal_latency_stage() const;
1837   void _internal_set_latency_stage(::android::input::LatencyStage value);
1838   public:
1839 
1840   // optional int32 histogram_version = 6;
1841   bool has_histogram_version() const;
1842   private:
1843   bool _internal_has_histogram_version() const;
1844   public:
1845   void clear_histogram_version();
1846   ::int32_t histogram_version() const;
1847   void set_histogram_version(::int32_t value);
1848   private:
1849   ::int32_t _internal_histogram_version() const;
1850   void _internal_set_histogram_version(::int32_t value);
1851   public:
1852 
1853   // @@protoc_insertion_point(class_scope:android.os.statsd.input.InputEventLatencyReported)
1854  private:
1855   class _Internal;
1856 
1857   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1858   typedef void InternalArenaConstructable_;
1859   typedef void DestructorSkippable_;
1860   struct Impl_ {
1861     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1862     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1863     ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> sources_;
1864     ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > histogram_counts_;
1865     ::int32_t vendor_id_;
1866     ::int32_t product_id_;
1867     int input_event_type_;
1868     int latency_stage_;
1869     ::int32_t histogram_version_;
1870   };
1871   union { Impl_ _impl_; };
1872   friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto;
1873 };
1874 // ===================================================================
1875 
1876 static const int kKeyboardConfiguredFieldNumber = 682;
1877 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
1878     ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::input::KeyboardConfigured >, 11, false >
1879   keyboard_configured;
1880 static const int kKeyboardSystemsEventReportedFieldNumber = 683;
1881 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
1882     ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::input::KeyboardSystemsEventReported >, 11, false >
1883   keyboard_systems_event_reported;
1884 static const int kInputdeviceUsageReportedFieldNumber = 686;
1885 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
1886     ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::input::InputDeviceUsageReported >, 11, false >
1887   inputdevice_usage_reported;
1888 static const int kInputEventLatencyReportedFieldNumber = 932;
1889 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
1890     ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::input::InputEventLatencyReported >, 11, false >
1891   input_event_latency_reported;
1892 static const int kTouchpadUsageFieldNumber = 10191;
1893 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
1894     ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::input::TouchpadUsage >, 11, false >
1895   touchpad_usage;
1896 
1897 // ===================================================================
1898 
1899 #ifdef __GNUC__
1900   #pragma GCC diagnostic push
1901   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1902 #endif  // __GNUC__
1903 // KeyboardLayoutConfig
1904 
1905 // optional int32 keyboard_layout_type = 1;
_internal_has_keyboard_layout_type()1906 inline bool KeyboardLayoutConfig::_internal_has_keyboard_layout_type() const {
1907   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1908   return value;
1909 }
has_keyboard_layout_type()1910 inline bool KeyboardLayoutConfig::has_keyboard_layout_type() const {
1911   return _internal_has_keyboard_layout_type();
1912 }
clear_keyboard_layout_type()1913 inline void KeyboardLayoutConfig::clear_keyboard_layout_type() {
1914   _impl_.keyboard_layout_type_ = 0;
1915   _impl_._has_bits_[0] &= ~0x00000008u;
1916 }
_internal_keyboard_layout_type()1917 inline ::int32_t KeyboardLayoutConfig::_internal_keyboard_layout_type() const {
1918   return _impl_.keyboard_layout_type_;
1919 }
keyboard_layout_type()1920 inline ::int32_t KeyboardLayoutConfig::keyboard_layout_type() const {
1921   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardLayoutConfig.keyboard_layout_type)
1922   return _internal_keyboard_layout_type();
1923 }
_internal_set_keyboard_layout_type(::int32_t value)1924 inline void KeyboardLayoutConfig::_internal_set_keyboard_layout_type(::int32_t value) {
1925   _impl_._has_bits_[0] |= 0x00000008u;
1926   _impl_.keyboard_layout_type_ = value;
1927 }
set_keyboard_layout_type(::int32_t value)1928 inline void KeyboardLayoutConfig::set_keyboard_layout_type(::int32_t value) {
1929   _internal_set_keyboard_layout_type(value);
1930   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardLayoutConfig.keyboard_layout_type)
1931 }
1932 
1933 // optional string keyboard_language_tag = 2;
_internal_has_keyboard_language_tag()1934 inline bool KeyboardLayoutConfig::_internal_has_keyboard_language_tag() const {
1935   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1936   return value;
1937 }
has_keyboard_language_tag()1938 inline bool KeyboardLayoutConfig::has_keyboard_language_tag() const {
1939   return _internal_has_keyboard_language_tag();
1940 }
clear_keyboard_language_tag()1941 inline void KeyboardLayoutConfig::clear_keyboard_language_tag() {
1942   _impl_.keyboard_language_tag_.ClearToEmpty();
1943   _impl_._has_bits_[0] &= ~0x00000001u;
1944 }
keyboard_language_tag()1945 inline const std::string& KeyboardLayoutConfig::keyboard_language_tag() const {
1946   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardLayoutConfig.keyboard_language_tag)
1947   return _internal_keyboard_language_tag();
1948 }
1949 template <typename ArgT0, typename... ArgT>
1950 inline PROTOBUF_ALWAYS_INLINE
set_keyboard_language_tag(ArgT0 && arg0,ArgT...args)1951 void KeyboardLayoutConfig::set_keyboard_language_tag(ArgT0&& arg0, ArgT... args) {
1952  _impl_._has_bits_[0] |= 0x00000001u;
1953  _impl_.keyboard_language_tag_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1954   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardLayoutConfig.keyboard_language_tag)
1955 }
mutable_keyboard_language_tag()1956 inline std::string* KeyboardLayoutConfig::mutable_keyboard_language_tag() {
1957   std::string* _s = _internal_mutable_keyboard_language_tag();
1958   // @@protoc_insertion_point(field_mutable:android.os.statsd.input.KeyboardLayoutConfig.keyboard_language_tag)
1959   return _s;
1960 }
_internal_keyboard_language_tag()1961 inline const std::string& KeyboardLayoutConfig::_internal_keyboard_language_tag() const {
1962   return _impl_.keyboard_language_tag_.Get();
1963 }
_internal_set_keyboard_language_tag(const std::string & value)1964 inline void KeyboardLayoutConfig::_internal_set_keyboard_language_tag(const std::string& value) {
1965   _impl_._has_bits_[0] |= 0x00000001u;
1966   _impl_.keyboard_language_tag_.Set(value, GetArenaForAllocation());
1967 }
_internal_mutable_keyboard_language_tag()1968 inline std::string* KeyboardLayoutConfig::_internal_mutable_keyboard_language_tag() {
1969   _impl_._has_bits_[0] |= 0x00000001u;
1970   return _impl_.keyboard_language_tag_.Mutable(GetArenaForAllocation());
1971 }
release_keyboard_language_tag()1972 inline std::string* KeyboardLayoutConfig::release_keyboard_language_tag() {
1973   // @@protoc_insertion_point(field_release:android.os.statsd.input.KeyboardLayoutConfig.keyboard_language_tag)
1974   if (!_internal_has_keyboard_language_tag()) {
1975     return nullptr;
1976   }
1977   _impl_._has_bits_[0] &= ~0x00000001u;
1978   auto* p = _impl_.keyboard_language_tag_.Release();
1979 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1980   if (_impl_.keyboard_language_tag_.IsDefault()) {
1981     _impl_.keyboard_language_tag_.Set("", GetArenaForAllocation());
1982   }
1983 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1984   return p;
1985 }
set_allocated_keyboard_language_tag(std::string * keyboard_language_tag)1986 inline void KeyboardLayoutConfig::set_allocated_keyboard_language_tag(std::string* keyboard_language_tag) {
1987   if (keyboard_language_tag != nullptr) {
1988     _impl_._has_bits_[0] |= 0x00000001u;
1989   } else {
1990     _impl_._has_bits_[0] &= ~0x00000001u;
1991   }
1992   _impl_.keyboard_language_tag_.SetAllocated(keyboard_language_tag, GetArenaForAllocation());
1993 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1994   if (_impl_.keyboard_language_tag_.IsDefault()) {
1995     _impl_.keyboard_language_tag_.Set("", GetArenaForAllocation());
1996   }
1997 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1998   // @@protoc_insertion_point(field_set_allocated:android.os.statsd.input.KeyboardLayoutConfig.keyboard_language_tag)
1999 }
2000 
2001 // optional string keyboard_layout_name = 3;
_internal_has_keyboard_layout_name()2002 inline bool KeyboardLayoutConfig::_internal_has_keyboard_layout_name() const {
2003   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2004   return value;
2005 }
has_keyboard_layout_name()2006 inline bool KeyboardLayoutConfig::has_keyboard_layout_name() const {
2007   return _internal_has_keyboard_layout_name();
2008 }
clear_keyboard_layout_name()2009 inline void KeyboardLayoutConfig::clear_keyboard_layout_name() {
2010   _impl_.keyboard_layout_name_.ClearToEmpty();
2011   _impl_._has_bits_[0] &= ~0x00000002u;
2012 }
keyboard_layout_name()2013 inline const std::string& KeyboardLayoutConfig::keyboard_layout_name() const {
2014   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardLayoutConfig.keyboard_layout_name)
2015   return _internal_keyboard_layout_name();
2016 }
2017 template <typename ArgT0, typename... ArgT>
2018 inline PROTOBUF_ALWAYS_INLINE
set_keyboard_layout_name(ArgT0 && arg0,ArgT...args)2019 void KeyboardLayoutConfig::set_keyboard_layout_name(ArgT0&& arg0, ArgT... args) {
2020  _impl_._has_bits_[0] |= 0x00000002u;
2021  _impl_.keyboard_layout_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2022   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardLayoutConfig.keyboard_layout_name)
2023 }
mutable_keyboard_layout_name()2024 inline std::string* KeyboardLayoutConfig::mutable_keyboard_layout_name() {
2025   std::string* _s = _internal_mutable_keyboard_layout_name();
2026   // @@protoc_insertion_point(field_mutable:android.os.statsd.input.KeyboardLayoutConfig.keyboard_layout_name)
2027   return _s;
2028 }
_internal_keyboard_layout_name()2029 inline const std::string& KeyboardLayoutConfig::_internal_keyboard_layout_name() const {
2030   return _impl_.keyboard_layout_name_.Get();
2031 }
_internal_set_keyboard_layout_name(const std::string & value)2032 inline void KeyboardLayoutConfig::_internal_set_keyboard_layout_name(const std::string& value) {
2033   _impl_._has_bits_[0] |= 0x00000002u;
2034   _impl_.keyboard_layout_name_.Set(value, GetArenaForAllocation());
2035 }
_internal_mutable_keyboard_layout_name()2036 inline std::string* KeyboardLayoutConfig::_internal_mutable_keyboard_layout_name() {
2037   _impl_._has_bits_[0] |= 0x00000002u;
2038   return _impl_.keyboard_layout_name_.Mutable(GetArenaForAllocation());
2039 }
release_keyboard_layout_name()2040 inline std::string* KeyboardLayoutConfig::release_keyboard_layout_name() {
2041   // @@protoc_insertion_point(field_release:android.os.statsd.input.KeyboardLayoutConfig.keyboard_layout_name)
2042   if (!_internal_has_keyboard_layout_name()) {
2043     return nullptr;
2044   }
2045   _impl_._has_bits_[0] &= ~0x00000002u;
2046   auto* p = _impl_.keyboard_layout_name_.Release();
2047 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2048   if (_impl_.keyboard_layout_name_.IsDefault()) {
2049     _impl_.keyboard_layout_name_.Set("", GetArenaForAllocation());
2050   }
2051 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2052   return p;
2053 }
set_allocated_keyboard_layout_name(std::string * keyboard_layout_name)2054 inline void KeyboardLayoutConfig::set_allocated_keyboard_layout_name(std::string* keyboard_layout_name) {
2055   if (keyboard_layout_name != nullptr) {
2056     _impl_._has_bits_[0] |= 0x00000002u;
2057   } else {
2058     _impl_._has_bits_[0] &= ~0x00000002u;
2059   }
2060   _impl_.keyboard_layout_name_.SetAllocated(keyboard_layout_name, GetArenaForAllocation());
2061 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2062   if (_impl_.keyboard_layout_name_.IsDefault()) {
2063     _impl_.keyboard_layout_name_.Set("", GetArenaForAllocation());
2064   }
2065 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2066   // @@protoc_insertion_point(field_set_allocated:android.os.statsd.input.KeyboardLayoutConfig.keyboard_layout_name)
2067 }
2068 
2069 // optional int32 layout_selection_criteria = 4;
_internal_has_layout_selection_criteria()2070 inline bool KeyboardLayoutConfig::_internal_has_layout_selection_criteria() const {
2071   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2072   return value;
2073 }
has_layout_selection_criteria()2074 inline bool KeyboardLayoutConfig::has_layout_selection_criteria() const {
2075   return _internal_has_layout_selection_criteria();
2076 }
clear_layout_selection_criteria()2077 inline void KeyboardLayoutConfig::clear_layout_selection_criteria() {
2078   _impl_.layout_selection_criteria_ = 0;
2079   _impl_._has_bits_[0] &= ~0x00000010u;
2080 }
_internal_layout_selection_criteria()2081 inline ::int32_t KeyboardLayoutConfig::_internal_layout_selection_criteria() const {
2082   return _impl_.layout_selection_criteria_;
2083 }
layout_selection_criteria()2084 inline ::int32_t KeyboardLayoutConfig::layout_selection_criteria() const {
2085   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardLayoutConfig.layout_selection_criteria)
2086   return _internal_layout_selection_criteria();
2087 }
_internal_set_layout_selection_criteria(::int32_t value)2088 inline void KeyboardLayoutConfig::_internal_set_layout_selection_criteria(::int32_t value) {
2089   _impl_._has_bits_[0] |= 0x00000010u;
2090   _impl_.layout_selection_criteria_ = value;
2091 }
set_layout_selection_criteria(::int32_t value)2092 inline void KeyboardLayoutConfig::set_layout_selection_criteria(::int32_t value) {
2093   _internal_set_layout_selection_criteria(value);
2094   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardLayoutConfig.layout_selection_criteria)
2095 }
2096 
2097 // optional int32 ime_layout_type = 5;
_internal_has_ime_layout_type()2098 inline bool KeyboardLayoutConfig::_internal_has_ime_layout_type() const {
2099   bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
2100   return value;
2101 }
has_ime_layout_type()2102 inline bool KeyboardLayoutConfig::has_ime_layout_type() const {
2103   return _internal_has_ime_layout_type();
2104 }
clear_ime_layout_type()2105 inline void KeyboardLayoutConfig::clear_ime_layout_type() {
2106   _impl_.ime_layout_type_ = 0;
2107   _impl_._has_bits_[0] &= ~0x00000020u;
2108 }
_internal_ime_layout_type()2109 inline ::int32_t KeyboardLayoutConfig::_internal_ime_layout_type() const {
2110   return _impl_.ime_layout_type_;
2111 }
ime_layout_type()2112 inline ::int32_t KeyboardLayoutConfig::ime_layout_type() const {
2113   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardLayoutConfig.ime_layout_type)
2114   return _internal_ime_layout_type();
2115 }
_internal_set_ime_layout_type(::int32_t value)2116 inline void KeyboardLayoutConfig::_internal_set_ime_layout_type(::int32_t value) {
2117   _impl_._has_bits_[0] |= 0x00000020u;
2118   _impl_.ime_layout_type_ = value;
2119 }
set_ime_layout_type(::int32_t value)2120 inline void KeyboardLayoutConfig::set_ime_layout_type(::int32_t value) {
2121   _internal_set_ime_layout_type(value);
2122   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardLayoutConfig.ime_layout_type)
2123 }
2124 
2125 // optional string ime_language_tag = 6;
_internal_has_ime_language_tag()2126 inline bool KeyboardLayoutConfig::_internal_has_ime_language_tag() const {
2127   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2128   return value;
2129 }
has_ime_language_tag()2130 inline bool KeyboardLayoutConfig::has_ime_language_tag() const {
2131   return _internal_has_ime_language_tag();
2132 }
clear_ime_language_tag()2133 inline void KeyboardLayoutConfig::clear_ime_language_tag() {
2134   _impl_.ime_language_tag_.ClearToEmpty();
2135   _impl_._has_bits_[0] &= ~0x00000004u;
2136 }
ime_language_tag()2137 inline const std::string& KeyboardLayoutConfig::ime_language_tag() const {
2138   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardLayoutConfig.ime_language_tag)
2139   return _internal_ime_language_tag();
2140 }
2141 template <typename ArgT0, typename... ArgT>
2142 inline PROTOBUF_ALWAYS_INLINE
set_ime_language_tag(ArgT0 && arg0,ArgT...args)2143 void KeyboardLayoutConfig::set_ime_language_tag(ArgT0&& arg0, ArgT... args) {
2144  _impl_._has_bits_[0] |= 0x00000004u;
2145  _impl_.ime_language_tag_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
2146   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardLayoutConfig.ime_language_tag)
2147 }
mutable_ime_language_tag()2148 inline std::string* KeyboardLayoutConfig::mutable_ime_language_tag() {
2149   std::string* _s = _internal_mutable_ime_language_tag();
2150   // @@protoc_insertion_point(field_mutable:android.os.statsd.input.KeyboardLayoutConfig.ime_language_tag)
2151   return _s;
2152 }
_internal_ime_language_tag()2153 inline const std::string& KeyboardLayoutConfig::_internal_ime_language_tag() const {
2154   return _impl_.ime_language_tag_.Get();
2155 }
_internal_set_ime_language_tag(const std::string & value)2156 inline void KeyboardLayoutConfig::_internal_set_ime_language_tag(const std::string& value) {
2157   _impl_._has_bits_[0] |= 0x00000004u;
2158   _impl_.ime_language_tag_.Set(value, GetArenaForAllocation());
2159 }
_internal_mutable_ime_language_tag()2160 inline std::string* KeyboardLayoutConfig::_internal_mutable_ime_language_tag() {
2161   _impl_._has_bits_[0] |= 0x00000004u;
2162   return _impl_.ime_language_tag_.Mutable(GetArenaForAllocation());
2163 }
release_ime_language_tag()2164 inline std::string* KeyboardLayoutConfig::release_ime_language_tag() {
2165   // @@protoc_insertion_point(field_release:android.os.statsd.input.KeyboardLayoutConfig.ime_language_tag)
2166   if (!_internal_has_ime_language_tag()) {
2167     return nullptr;
2168   }
2169   _impl_._has_bits_[0] &= ~0x00000004u;
2170   auto* p = _impl_.ime_language_tag_.Release();
2171 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2172   if (_impl_.ime_language_tag_.IsDefault()) {
2173     _impl_.ime_language_tag_.Set("", GetArenaForAllocation());
2174   }
2175 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2176   return p;
2177 }
set_allocated_ime_language_tag(std::string * ime_language_tag)2178 inline void KeyboardLayoutConfig::set_allocated_ime_language_tag(std::string* ime_language_tag) {
2179   if (ime_language_tag != nullptr) {
2180     _impl_._has_bits_[0] |= 0x00000004u;
2181   } else {
2182     _impl_._has_bits_[0] &= ~0x00000004u;
2183   }
2184   _impl_.ime_language_tag_.SetAllocated(ime_language_tag, GetArenaForAllocation());
2185 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
2186   if (_impl_.ime_language_tag_.IsDefault()) {
2187     _impl_.ime_language_tag_.Set("", GetArenaForAllocation());
2188   }
2189 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
2190   // @@protoc_insertion_point(field_set_allocated:android.os.statsd.input.KeyboardLayoutConfig.ime_language_tag)
2191 }
2192 
2193 // -------------------------------------------------------------------
2194 
2195 // RepeatedKeyboardLayoutConfig
2196 
2197 // repeated .android.os.statsd.input.KeyboardLayoutConfig keyboard_layout_config = 1;
_internal_keyboard_layout_config_size()2198 inline int RepeatedKeyboardLayoutConfig::_internal_keyboard_layout_config_size() const {
2199   return _impl_.keyboard_layout_config_.size();
2200 }
keyboard_layout_config_size()2201 inline int RepeatedKeyboardLayoutConfig::keyboard_layout_config_size() const {
2202   return _internal_keyboard_layout_config_size();
2203 }
clear_keyboard_layout_config()2204 inline void RepeatedKeyboardLayoutConfig::clear_keyboard_layout_config() {
2205   _impl_.keyboard_layout_config_.Clear();
2206 }
mutable_keyboard_layout_config(int index)2207 inline ::android::os::statsd::input::KeyboardLayoutConfig* RepeatedKeyboardLayoutConfig::mutable_keyboard_layout_config(int index) {
2208   // @@protoc_insertion_point(field_mutable:android.os.statsd.input.RepeatedKeyboardLayoutConfig.keyboard_layout_config)
2209   return _impl_.keyboard_layout_config_.Mutable(index);
2210 }
2211 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::os::statsd::input::KeyboardLayoutConfig >*
mutable_keyboard_layout_config()2212 RepeatedKeyboardLayoutConfig::mutable_keyboard_layout_config() {
2213   // @@protoc_insertion_point(field_mutable_list:android.os.statsd.input.RepeatedKeyboardLayoutConfig.keyboard_layout_config)
2214   return &_impl_.keyboard_layout_config_;
2215 }
_internal_keyboard_layout_config(int index)2216 inline const ::android::os::statsd::input::KeyboardLayoutConfig& RepeatedKeyboardLayoutConfig::_internal_keyboard_layout_config(int index) const {
2217   return _impl_.keyboard_layout_config_.Get(index);
2218 }
keyboard_layout_config(int index)2219 inline const ::android::os::statsd::input::KeyboardLayoutConfig& RepeatedKeyboardLayoutConfig::keyboard_layout_config(int index) const {
2220   // @@protoc_insertion_point(field_get:android.os.statsd.input.RepeatedKeyboardLayoutConfig.keyboard_layout_config)
2221   return _internal_keyboard_layout_config(index);
2222 }
_internal_add_keyboard_layout_config()2223 inline ::android::os::statsd::input::KeyboardLayoutConfig* RepeatedKeyboardLayoutConfig::_internal_add_keyboard_layout_config() {
2224   return _impl_.keyboard_layout_config_.Add();
2225 }
add_keyboard_layout_config()2226 inline ::android::os::statsd::input::KeyboardLayoutConfig* RepeatedKeyboardLayoutConfig::add_keyboard_layout_config() {
2227   ::android::os::statsd::input::KeyboardLayoutConfig* _add = _internal_add_keyboard_layout_config();
2228   // @@protoc_insertion_point(field_add:android.os.statsd.input.RepeatedKeyboardLayoutConfig.keyboard_layout_config)
2229   return _add;
2230 }
2231 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::os::statsd::input::KeyboardLayoutConfig >&
keyboard_layout_config()2232 RepeatedKeyboardLayoutConfig::keyboard_layout_config() const {
2233   // @@protoc_insertion_point(field_list:android.os.statsd.input.RepeatedKeyboardLayoutConfig.keyboard_layout_config)
2234   return _impl_.keyboard_layout_config_;
2235 }
2236 
2237 // -------------------------------------------------------------------
2238 
2239 // KeyboardConfigured
2240 
2241 // optional bool is_first_time_configuration = 1;
_internal_has_is_first_time_configuration()2242 inline bool KeyboardConfigured::_internal_has_is_first_time_configuration() const {
2243   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2244   return value;
2245 }
has_is_first_time_configuration()2246 inline bool KeyboardConfigured::has_is_first_time_configuration() const {
2247   return _internal_has_is_first_time_configuration();
2248 }
clear_is_first_time_configuration()2249 inline void KeyboardConfigured::clear_is_first_time_configuration() {
2250   _impl_.is_first_time_configuration_ = false;
2251   _impl_._has_bits_[0] &= ~0x00000002u;
2252 }
_internal_is_first_time_configuration()2253 inline bool KeyboardConfigured::_internal_is_first_time_configuration() const {
2254   return _impl_.is_first_time_configuration_;
2255 }
is_first_time_configuration()2256 inline bool KeyboardConfigured::is_first_time_configuration() const {
2257   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardConfigured.is_first_time_configuration)
2258   return _internal_is_first_time_configuration();
2259 }
_internal_set_is_first_time_configuration(bool value)2260 inline void KeyboardConfigured::_internal_set_is_first_time_configuration(bool value) {
2261   _impl_._has_bits_[0] |= 0x00000002u;
2262   _impl_.is_first_time_configuration_ = value;
2263 }
set_is_first_time_configuration(bool value)2264 inline void KeyboardConfigured::set_is_first_time_configuration(bool value) {
2265   _internal_set_is_first_time_configuration(value);
2266   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardConfigured.is_first_time_configuration)
2267 }
2268 
2269 // optional int32 vendor_id = 2;
_internal_has_vendor_id()2270 inline bool KeyboardConfigured::_internal_has_vendor_id() const {
2271   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2272   return value;
2273 }
has_vendor_id()2274 inline bool KeyboardConfigured::has_vendor_id() const {
2275   return _internal_has_vendor_id();
2276 }
clear_vendor_id()2277 inline void KeyboardConfigured::clear_vendor_id() {
2278   _impl_.vendor_id_ = 0;
2279   _impl_._has_bits_[0] &= ~0x00000004u;
2280 }
_internal_vendor_id()2281 inline ::int32_t KeyboardConfigured::_internal_vendor_id() const {
2282   return _impl_.vendor_id_;
2283 }
vendor_id()2284 inline ::int32_t KeyboardConfigured::vendor_id() const {
2285   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardConfigured.vendor_id)
2286   return _internal_vendor_id();
2287 }
_internal_set_vendor_id(::int32_t value)2288 inline void KeyboardConfigured::_internal_set_vendor_id(::int32_t value) {
2289   _impl_._has_bits_[0] |= 0x00000004u;
2290   _impl_.vendor_id_ = value;
2291 }
set_vendor_id(::int32_t value)2292 inline void KeyboardConfigured::set_vendor_id(::int32_t value) {
2293   _internal_set_vendor_id(value);
2294   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardConfigured.vendor_id)
2295 }
2296 
2297 // optional int32 product_id = 3;
_internal_has_product_id()2298 inline bool KeyboardConfigured::_internal_has_product_id() const {
2299   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2300   return value;
2301 }
has_product_id()2302 inline bool KeyboardConfigured::has_product_id() const {
2303   return _internal_has_product_id();
2304 }
clear_product_id()2305 inline void KeyboardConfigured::clear_product_id() {
2306   _impl_.product_id_ = 0;
2307   _impl_._has_bits_[0] &= ~0x00000008u;
2308 }
_internal_product_id()2309 inline ::int32_t KeyboardConfigured::_internal_product_id() const {
2310   return _impl_.product_id_;
2311 }
product_id()2312 inline ::int32_t KeyboardConfigured::product_id() const {
2313   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardConfigured.product_id)
2314   return _internal_product_id();
2315 }
_internal_set_product_id(::int32_t value)2316 inline void KeyboardConfigured::_internal_set_product_id(::int32_t value) {
2317   _impl_._has_bits_[0] |= 0x00000008u;
2318   _impl_.product_id_ = value;
2319 }
set_product_id(::int32_t value)2320 inline void KeyboardConfigured::set_product_id(::int32_t value) {
2321   _internal_set_product_id(value);
2322   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardConfigured.product_id)
2323 }
2324 
2325 // optional .android.os.statsd.input.RepeatedKeyboardLayoutConfig repeated_keyboard_layout_config = 4 [(.android.os.statsd.log_mode) = MODE_BYTES];
_internal_has_repeated_keyboard_layout_config()2326 inline bool KeyboardConfigured::_internal_has_repeated_keyboard_layout_config() const {
2327   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2328   PROTOBUF_ASSUME(!value || _impl_.repeated_keyboard_layout_config_ != nullptr);
2329   return value;
2330 }
has_repeated_keyboard_layout_config()2331 inline bool KeyboardConfigured::has_repeated_keyboard_layout_config() const {
2332   return _internal_has_repeated_keyboard_layout_config();
2333 }
clear_repeated_keyboard_layout_config()2334 inline void KeyboardConfigured::clear_repeated_keyboard_layout_config() {
2335   if (_impl_.repeated_keyboard_layout_config_ != nullptr) _impl_.repeated_keyboard_layout_config_->Clear();
2336   _impl_._has_bits_[0] &= ~0x00000001u;
2337 }
_internal_repeated_keyboard_layout_config()2338 inline const ::android::os::statsd::input::RepeatedKeyboardLayoutConfig& KeyboardConfigured::_internal_repeated_keyboard_layout_config() const {
2339   const ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* p = _impl_.repeated_keyboard_layout_config_;
2340   return p != nullptr ? *p : reinterpret_cast<const ::android::os::statsd::input::RepeatedKeyboardLayoutConfig&>(
2341       ::android::os::statsd::input::_RepeatedKeyboardLayoutConfig_default_instance_);
2342 }
repeated_keyboard_layout_config()2343 inline const ::android::os::statsd::input::RepeatedKeyboardLayoutConfig& KeyboardConfigured::repeated_keyboard_layout_config() const {
2344   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardConfigured.repeated_keyboard_layout_config)
2345   return _internal_repeated_keyboard_layout_config();
2346 }
unsafe_arena_set_allocated_repeated_keyboard_layout_config(::android::os::statsd::input::RepeatedKeyboardLayoutConfig * repeated_keyboard_layout_config)2347 inline void KeyboardConfigured::unsafe_arena_set_allocated_repeated_keyboard_layout_config(
2348     ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* repeated_keyboard_layout_config) {
2349   if (GetArenaForAllocation() == nullptr) {
2350     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.repeated_keyboard_layout_config_);
2351   }
2352   _impl_.repeated_keyboard_layout_config_ = repeated_keyboard_layout_config;
2353   if (repeated_keyboard_layout_config) {
2354     _impl_._has_bits_[0] |= 0x00000001u;
2355   } else {
2356     _impl_._has_bits_[0] &= ~0x00000001u;
2357   }
2358   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:android.os.statsd.input.KeyboardConfigured.repeated_keyboard_layout_config)
2359 }
release_repeated_keyboard_layout_config()2360 inline ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* KeyboardConfigured::release_repeated_keyboard_layout_config() {
2361   _impl_._has_bits_[0] &= ~0x00000001u;
2362   ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* temp = _impl_.repeated_keyboard_layout_config_;
2363   _impl_.repeated_keyboard_layout_config_ = nullptr;
2364 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2365   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2366   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2367   if (GetArenaForAllocation() == nullptr) { delete old; }
2368 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2369   if (GetArenaForAllocation() != nullptr) {
2370     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2371   }
2372 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2373   return temp;
2374 }
unsafe_arena_release_repeated_keyboard_layout_config()2375 inline ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* KeyboardConfigured::unsafe_arena_release_repeated_keyboard_layout_config() {
2376   // @@protoc_insertion_point(field_release:android.os.statsd.input.KeyboardConfigured.repeated_keyboard_layout_config)
2377   _impl_._has_bits_[0] &= ~0x00000001u;
2378   ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* temp = _impl_.repeated_keyboard_layout_config_;
2379   _impl_.repeated_keyboard_layout_config_ = nullptr;
2380   return temp;
2381 }
_internal_mutable_repeated_keyboard_layout_config()2382 inline ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* KeyboardConfigured::_internal_mutable_repeated_keyboard_layout_config() {
2383   _impl_._has_bits_[0] |= 0x00000001u;
2384   if (_impl_.repeated_keyboard_layout_config_ == nullptr) {
2385     auto* p = CreateMaybeMessage<::android::os::statsd::input::RepeatedKeyboardLayoutConfig>(GetArenaForAllocation());
2386     _impl_.repeated_keyboard_layout_config_ = p;
2387   }
2388   return _impl_.repeated_keyboard_layout_config_;
2389 }
mutable_repeated_keyboard_layout_config()2390 inline ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* KeyboardConfigured::mutable_repeated_keyboard_layout_config() {
2391   ::android::os::statsd::input::RepeatedKeyboardLayoutConfig* _msg = _internal_mutable_repeated_keyboard_layout_config();
2392   // @@protoc_insertion_point(field_mutable:android.os.statsd.input.KeyboardConfigured.repeated_keyboard_layout_config)
2393   return _msg;
2394 }
set_allocated_repeated_keyboard_layout_config(::android::os::statsd::input::RepeatedKeyboardLayoutConfig * repeated_keyboard_layout_config)2395 inline void KeyboardConfigured::set_allocated_repeated_keyboard_layout_config(::android::os::statsd::input::RepeatedKeyboardLayoutConfig* repeated_keyboard_layout_config) {
2396   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2397   if (message_arena == nullptr) {
2398     delete _impl_.repeated_keyboard_layout_config_;
2399   }
2400   if (repeated_keyboard_layout_config) {
2401     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2402         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(repeated_keyboard_layout_config);
2403     if (message_arena != submessage_arena) {
2404       repeated_keyboard_layout_config = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2405           message_arena, repeated_keyboard_layout_config, submessage_arena);
2406     }
2407     _impl_._has_bits_[0] |= 0x00000001u;
2408   } else {
2409     _impl_._has_bits_[0] &= ~0x00000001u;
2410   }
2411   _impl_.repeated_keyboard_layout_config_ = repeated_keyboard_layout_config;
2412   // @@protoc_insertion_point(field_set_allocated:android.os.statsd.input.KeyboardConfigured.repeated_keyboard_layout_config)
2413 }
2414 
2415 // optional .android.input.InputDeviceBus device_bus = 5;
_internal_has_device_bus()2416 inline bool KeyboardConfigured::_internal_has_device_bus() const {
2417   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2418   return value;
2419 }
has_device_bus()2420 inline bool KeyboardConfigured::has_device_bus() const {
2421   return _internal_has_device_bus();
2422 }
clear_device_bus()2423 inline void KeyboardConfigured::clear_device_bus() {
2424   _impl_.device_bus_ = 0;
2425   _impl_._has_bits_[0] &= ~0x00000010u;
2426 }
_internal_device_bus()2427 inline ::android::input::InputDeviceBus KeyboardConfigured::_internal_device_bus() const {
2428   return static_cast< ::android::input::InputDeviceBus >(_impl_.device_bus_);
2429 }
device_bus()2430 inline ::android::input::InputDeviceBus KeyboardConfigured::device_bus() const {
2431   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardConfigured.device_bus)
2432   return _internal_device_bus();
2433 }
_internal_set_device_bus(::android::input::InputDeviceBus value)2434 inline void KeyboardConfigured::_internal_set_device_bus(::android::input::InputDeviceBus value) {
2435   assert(::android::input::InputDeviceBus_IsValid(value));
2436   _impl_._has_bits_[0] |= 0x00000010u;
2437   _impl_.device_bus_ = value;
2438 }
set_device_bus(::android::input::InputDeviceBus value)2439 inline void KeyboardConfigured::set_device_bus(::android::input::InputDeviceBus value) {
2440   _internal_set_device_bus(value);
2441   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardConfigured.device_bus)
2442 }
2443 
2444 // -------------------------------------------------------------------
2445 
2446 // KeyboardSystemsEventReported
2447 
2448 // optional int32 vendor_id = 1;
_internal_has_vendor_id()2449 inline bool KeyboardSystemsEventReported::_internal_has_vendor_id() const {
2450   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2451   return value;
2452 }
has_vendor_id()2453 inline bool KeyboardSystemsEventReported::has_vendor_id() const {
2454   return _internal_has_vendor_id();
2455 }
clear_vendor_id()2456 inline void KeyboardSystemsEventReported::clear_vendor_id() {
2457   _impl_.vendor_id_ = 0;
2458   _impl_._has_bits_[0] &= ~0x00000001u;
2459 }
_internal_vendor_id()2460 inline ::int32_t KeyboardSystemsEventReported::_internal_vendor_id() const {
2461   return _impl_.vendor_id_;
2462 }
vendor_id()2463 inline ::int32_t KeyboardSystemsEventReported::vendor_id() const {
2464   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardSystemsEventReported.vendor_id)
2465   return _internal_vendor_id();
2466 }
_internal_set_vendor_id(::int32_t value)2467 inline void KeyboardSystemsEventReported::_internal_set_vendor_id(::int32_t value) {
2468   _impl_._has_bits_[0] |= 0x00000001u;
2469   _impl_.vendor_id_ = value;
2470 }
set_vendor_id(::int32_t value)2471 inline void KeyboardSystemsEventReported::set_vendor_id(::int32_t value) {
2472   _internal_set_vendor_id(value);
2473   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardSystemsEventReported.vendor_id)
2474 }
2475 
2476 // optional int32 product_id = 2;
_internal_has_product_id()2477 inline bool KeyboardSystemsEventReported::_internal_has_product_id() const {
2478   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2479   return value;
2480 }
has_product_id()2481 inline bool KeyboardSystemsEventReported::has_product_id() const {
2482   return _internal_has_product_id();
2483 }
clear_product_id()2484 inline void KeyboardSystemsEventReported::clear_product_id() {
2485   _impl_.product_id_ = 0;
2486   _impl_._has_bits_[0] &= ~0x00000002u;
2487 }
_internal_product_id()2488 inline ::int32_t KeyboardSystemsEventReported::_internal_product_id() const {
2489   return _impl_.product_id_;
2490 }
product_id()2491 inline ::int32_t KeyboardSystemsEventReported::product_id() const {
2492   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardSystemsEventReported.product_id)
2493   return _internal_product_id();
2494 }
_internal_set_product_id(::int32_t value)2495 inline void KeyboardSystemsEventReported::_internal_set_product_id(::int32_t value) {
2496   _impl_._has_bits_[0] |= 0x00000002u;
2497   _impl_.product_id_ = value;
2498 }
set_product_id(::int32_t value)2499 inline void KeyboardSystemsEventReported::set_product_id(::int32_t value) {
2500   _internal_set_product_id(value);
2501   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardSystemsEventReported.product_id)
2502 }
2503 
2504 // optional .android.input.KeyboardSystemEvent keyboard_system_event = 3;
_internal_has_keyboard_system_event()2505 inline bool KeyboardSystemsEventReported::_internal_has_keyboard_system_event() const {
2506   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2507   return value;
2508 }
has_keyboard_system_event()2509 inline bool KeyboardSystemsEventReported::has_keyboard_system_event() const {
2510   return _internal_has_keyboard_system_event();
2511 }
clear_keyboard_system_event()2512 inline void KeyboardSystemsEventReported::clear_keyboard_system_event() {
2513   _impl_.keyboard_system_event_ = 0;
2514   _impl_._has_bits_[0] &= ~0x00000004u;
2515 }
_internal_keyboard_system_event()2516 inline ::android::input::KeyboardSystemEvent KeyboardSystemsEventReported::_internal_keyboard_system_event() const {
2517   return static_cast< ::android::input::KeyboardSystemEvent >(_impl_.keyboard_system_event_);
2518 }
keyboard_system_event()2519 inline ::android::input::KeyboardSystemEvent KeyboardSystemsEventReported::keyboard_system_event() const {
2520   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardSystemsEventReported.keyboard_system_event)
2521   return _internal_keyboard_system_event();
2522 }
_internal_set_keyboard_system_event(::android::input::KeyboardSystemEvent value)2523 inline void KeyboardSystemsEventReported::_internal_set_keyboard_system_event(::android::input::KeyboardSystemEvent value) {
2524   assert(::android::input::KeyboardSystemEvent_IsValid(value));
2525   _impl_._has_bits_[0] |= 0x00000004u;
2526   _impl_.keyboard_system_event_ = value;
2527 }
set_keyboard_system_event(::android::input::KeyboardSystemEvent value)2528 inline void KeyboardSystemsEventReported::set_keyboard_system_event(::android::input::KeyboardSystemEvent value) {
2529   _internal_set_keyboard_system_event(value);
2530   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardSystemsEventReported.keyboard_system_event)
2531 }
2532 
2533 // repeated int32 key_code = 4;
_internal_key_code_size()2534 inline int KeyboardSystemsEventReported::_internal_key_code_size() const {
2535   return _impl_.key_code_.size();
2536 }
key_code_size()2537 inline int KeyboardSystemsEventReported::key_code_size() const {
2538   return _internal_key_code_size();
2539 }
clear_key_code()2540 inline void KeyboardSystemsEventReported::clear_key_code() {
2541   _impl_.key_code_.Clear();
2542 }
_internal_key_code(int index)2543 inline ::int32_t KeyboardSystemsEventReported::_internal_key_code(int index) const {
2544   return _impl_.key_code_.Get(index);
2545 }
key_code(int index)2546 inline ::int32_t KeyboardSystemsEventReported::key_code(int index) const {
2547   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardSystemsEventReported.key_code)
2548   return _internal_key_code(index);
2549 }
set_key_code(int index,::int32_t value)2550 inline void KeyboardSystemsEventReported::set_key_code(int index, ::int32_t value) {
2551   _impl_.key_code_.Set(index, value);
2552   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardSystemsEventReported.key_code)
2553 }
_internal_add_key_code(::int32_t value)2554 inline void KeyboardSystemsEventReported::_internal_add_key_code(::int32_t value) {
2555   _impl_.key_code_.Add(value);
2556 }
add_key_code(::int32_t value)2557 inline void KeyboardSystemsEventReported::add_key_code(::int32_t value) {
2558   _internal_add_key_code(value);
2559   // @@protoc_insertion_point(field_add:android.os.statsd.input.KeyboardSystemsEventReported.key_code)
2560 }
2561 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
_internal_key_code()2562 KeyboardSystemsEventReported::_internal_key_code() const {
2563   return _impl_.key_code_;
2564 }
2565 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
key_code()2566 KeyboardSystemsEventReported::key_code() const {
2567   // @@protoc_insertion_point(field_list:android.os.statsd.input.KeyboardSystemsEventReported.key_code)
2568   return _internal_key_code();
2569 }
2570 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
_internal_mutable_key_code()2571 KeyboardSystemsEventReported::_internal_mutable_key_code() {
2572   return &_impl_.key_code_;
2573 }
2574 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
mutable_key_code()2575 KeyboardSystemsEventReported::mutable_key_code() {
2576   // @@protoc_insertion_point(field_mutable_list:android.os.statsd.input.KeyboardSystemsEventReported.key_code)
2577   return _internal_mutable_key_code();
2578 }
2579 
2580 // optional int32 modifier_state = 5;
_internal_has_modifier_state()2581 inline bool KeyboardSystemsEventReported::_internal_has_modifier_state() const {
2582   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2583   return value;
2584 }
has_modifier_state()2585 inline bool KeyboardSystemsEventReported::has_modifier_state() const {
2586   return _internal_has_modifier_state();
2587 }
clear_modifier_state()2588 inline void KeyboardSystemsEventReported::clear_modifier_state() {
2589   _impl_.modifier_state_ = 0;
2590   _impl_._has_bits_[0] &= ~0x00000008u;
2591 }
_internal_modifier_state()2592 inline ::int32_t KeyboardSystemsEventReported::_internal_modifier_state() const {
2593   return _impl_.modifier_state_;
2594 }
modifier_state()2595 inline ::int32_t KeyboardSystemsEventReported::modifier_state() const {
2596   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardSystemsEventReported.modifier_state)
2597   return _internal_modifier_state();
2598 }
_internal_set_modifier_state(::int32_t value)2599 inline void KeyboardSystemsEventReported::_internal_set_modifier_state(::int32_t value) {
2600   _impl_._has_bits_[0] |= 0x00000008u;
2601   _impl_.modifier_state_ = value;
2602 }
set_modifier_state(::int32_t value)2603 inline void KeyboardSystemsEventReported::set_modifier_state(::int32_t value) {
2604   _internal_set_modifier_state(value);
2605   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardSystemsEventReported.modifier_state)
2606 }
2607 
2608 // optional .android.input.InputDeviceBus device_bus = 6;
_internal_has_device_bus()2609 inline bool KeyboardSystemsEventReported::_internal_has_device_bus() const {
2610   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2611   return value;
2612 }
has_device_bus()2613 inline bool KeyboardSystemsEventReported::has_device_bus() const {
2614   return _internal_has_device_bus();
2615 }
clear_device_bus()2616 inline void KeyboardSystemsEventReported::clear_device_bus() {
2617   _impl_.device_bus_ = 0;
2618   _impl_._has_bits_[0] &= ~0x00000010u;
2619 }
_internal_device_bus()2620 inline ::android::input::InputDeviceBus KeyboardSystemsEventReported::_internal_device_bus() const {
2621   return static_cast< ::android::input::InputDeviceBus >(_impl_.device_bus_);
2622 }
device_bus()2623 inline ::android::input::InputDeviceBus KeyboardSystemsEventReported::device_bus() const {
2624   // @@protoc_insertion_point(field_get:android.os.statsd.input.KeyboardSystemsEventReported.device_bus)
2625   return _internal_device_bus();
2626 }
_internal_set_device_bus(::android::input::InputDeviceBus value)2627 inline void KeyboardSystemsEventReported::_internal_set_device_bus(::android::input::InputDeviceBus value) {
2628   assert(::android::input::InputDeviceBus_IsValid(value));
2629   _impl_._has_bits_[0] |= 0x00000010u;
2630   _impl_.device_bus_ = value;
2631 }
set_device_bus(::android::input::InputDeviceBus value)2632 inline void KeyboardSystemsEventReported::set_device_bus(::android::input::InputDeviceBus value) {
2633   _internal_set_device_bus(value);
2634   // @@protoc_insertion_point(field_set:android.os.statsd.input.KeyboardSystemsEventReported.device_bus)
2635 }
2636 
2637 // -------------------------------------------------------------------
2638 
2639 // InputDeviceUsageReported
2640 
2641 // optional int32 vendor_id = 1;
_internal_has_vendor_id()2642 inline bool InputDeviceUsageReported::_internal_has_vendor_id() const {
2643   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2644   return value;
2645 }
has_vendor_id()2646 inline bool InputDeviceUsageReported::has_vendor_id() const {
2647   return _internal_has_vendor_id();
2648 }
clear_vendor_id()2649 inline void InputDeviceUsageReported::clear_vendor_id() {
2650   _impl_.vendor_id_ = 0;
2651   _impl_._has_bits_[0] &= ~0x00000001u;
2652 }
_internal_vendor_id()2653 inline ::int32_t InputDeviceUsageReported::_internal_vendor_id() const {
2654   return _impl_.vendor_id_;
2655 }
vendor_id()2656 inline ::int32_t InputDeviceUsageReported::vendor_id() const {
2657   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputDeviceUsageReported.vendor_id)
2658   return _internal_vendor_id();
2659 }
_internal_set_vendor_id(::int32_t value)2660 inline void InputDeviceUsageReported::_internal_set_vendor_id(::int32_t value) {
2661   _impl_._has_bits_[0] |= 0x00000001u;
2662   _impl_.vendor_id_ = value;
2663 }
set_vendor_id(::int32_t value)2664 inline void InputDeviceUsageReported::set_vendor_id(::int32_t value) {
2665   _internal_set_vendor_id(value);
2666   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputDeviceUsageReported.vendor_id)
2667 }
2668 
2669 // optional int32 product_id = 2;
_internal_has_product_id()2670 inline bool InputDeviceUsageReported::_internal_has_product_id() const {
2671   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2672   return value;
2673 }
has_product_id()2674 inline bool InputDeviceUsageReported::has_product_id() const {
2675   return _internal_has_product_id();
2676 }
clear_product_id()2677 inline void InputDeviceUsageReported::clear_product_id() {
2678   _impl_.product_id_ = 0;
2679   _impl_._has_bits_[0] &= ~0x00000002u;
2680 }
_internal_product_id()2681 inline ::int32_t InputDeviceUsageReported::_internal_product_id() const {
2682   return _impl_.product_id_;
2683 }
product_id()2684 inline ::int32_t InputDeviceUsageReported::product_id() const {
2685   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputDeviceUsageReported.product_id)
2686   return _internal_product_id();
2687 }
_internal_set_product_id(::int32_t value)2688 inline void InputDeviceUsageReported::_internal_set_product_id(::int32_t value) {
2689   _impl_._has_bits_[0] |= 0x00000002u;
2690   _impl_.product_id_ = value;
2691 }
set_product_id(::int32_t value)2692 inline void InputDeviceUsageReported::set_product_id(::int32_t value) {
2693   _internal_set_product_id(value);
2694   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputDeviceUsageReported.product_id)
2695 }
2696 
2697 // optional int32 version_id = 3;
_internal_has_version_id()2698 inline bool InputDeviceUsageReported::_internal_has_version_id() const {
2699   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
2700   return value;
2701 }
has_version_id()2702 inline bool InputDeviceUsageReported::has_version_id() const {
2703   return _internal_has_version_id();
2704 }
clear_version_id()2705 inline void InputDeviceUsageReported::clear_version_id() {
2706   _impl_.version_id_ = 0;
2707   _impl_._has_bits_[0] &= ~0x00000004u;
2708 }
_internal_version_id()2709 inline ::int32_t InputDeviceUsageReported::_internal_version_id() const {
2710   return _impl_.version_id_;
2711 }
version_id()2712 inline ::int32_t InputDeviceUsageReported::version_id() const {
2713   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputDeviceUsageReported.version_id)
2714   return _internal_version_id();
2715 }
_internal_set_version_id(::int32_t value)2716 inline void InputDeviceUsageReported::_internal_set_version_id(::int32_t value) {
2717   _impl_._has_bits_[0] |= 0x00000004u;
2718   _impl_.version_id_ = value;
2719 }
set_version_id(::int32_t value)2720 inline void InputDeviceUsageReported::set_version_id(::int32_t value) {
2721   _internal_set_version_id(value);
2722   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputDeviceUsageReported.version_id)
2723 }
2724 
2725 // optional .android.input.InputDeviceBus device_bus = 4;
_internal_has_device_bus()2726 inline bool InputDeviceUsageReported::_internal_has_device_bus() const {
2727   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
2728   return value;
2729 }
has_device_bus()2730 inline bool InputDeviceUsageReported::has_device_bus() const {
2731   return _internal_has_device_bus();
2732 }
clear_device_bus()2733 inline void InputDeviceUsageReported::clear_device_bus() {
2734   _impl_.device_bus_ = 0;
2735   _impl_._has_bits_[0] &= ~0x00000008u;
2736 }
_internal_device_bus()2737 inline ::android::input::InputDeviceBus InputDeviceUsageReported::_internal_device_bus() const {
2738   return static_cast< ::android::input::InputDeviceBus >(_impl_.device_bus_);
2739 }
device_bus()2740 inline ::android::input::InputDeviceBus InputDeviceUsageReported::device_bus() const {
2741   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputDeviceUsageReported.device_bus)
2742   return _internal_device_bus();
2743 }
_internal_set_device_bus(::android::input::InputDeviceBus value)2744 inline void InputDeviceUsageReported::_internal_set_device_bus(::android::input::InputDeviceBus value) {
2745   assert(::android::input::InputDeviceBus_IsValid(value));
2746   _impl_._has_bits_[0] |= 0x00000008u;
2747   _impl_.device_bus_ = value;
2748 }
set_device_bus(::android::input::InputDeviceBus value)2749 inline void InputDeviceUsageReported::set_device_bus(::android::input::InputDeviceBus value) {
2750   _internal_set_device_bus(value);
2751   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputDeviceUsageReported.device_bus)
2752 }
2753 
2754 // optional int32 usage_duration_millis = 5;
_internal_has_usage_duration_millis()2755 inline bool InputDeviceUsageReported::_internal_has_usage_duration_millis() const {
2756   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
2757   return value;
2758 }
has_usage_duration_millis()2759 inline bool InputDeviceUsageReported::has_usage_duration_millis() const {
2760   return _internal_has_usage_duration_millis();
2761 }
clear_usage_duration_millis()2762 inline void InputDeviceUsageReported::clear_usage_duration_millis() {
2763   _impl_.usage_duration_millis_ = 0;
2764   _impl_._has_bits_[0] &= ~0x00000010u;
2765 }
_internal_usage_duration_millis()2766 inline ::int32_t InputDeviceUsageReported::_internal_usage_duration_millis() const {
2767   return _impl_.usage_duration_millis_;
2768 }
usage_duration_millis()2769 inline ::int32_t InputDeviceUsageReported::usage_duration_millis() const {
2770   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputDeviceUsageReported.usage_duration_millis)
2771   return _internal_usage_duration_millis();
2772 }
_internal_set_usage_duration_millis(::int32_t value)2773 inline void InputDeviceUsageReported::_internal_set_usage_duration_millis(::int32_t value) {
2774   _impl_._has_bits_[0] |= 0x00000010u;
2775   _impl_.usage_duration_millis_ = value;
2776 }
set_usage_duration_millis(::int32_t value)2777 inline void InputDeviceUsageReported::set_usage_duration_millis(::int32_t value) {
2778   _internal_set_usage_duration_millis(value);
2779   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputDeviceUsageReported.usage_duration_millis)
2780 }
2781 
2782 // repeated .android.input.InputDeviceUsageType usage_sources = 6;
_internal_usage_sources_size()2783 inline int InputDeviceUsageReported::_internal_usage_sources_size() const {
2784   return _impl_.usage_sources_.size();
2785 }
usage_sources_size()2786 inline int InputDeviceUsageReported::usage_sources_size() const {
2787   return _internal_usage_sources_size();
2788 }
clear_usage_sources()2789 inline void InputDeviceUsageReported::clear_usage_sources() {
2790   _impl_.usage_sources_.Clear();
2791 }
_internal_usage_sources(int index)2792 inline ::android::input::InputDeviceUsageType InputDeviceUsageReported::_internal_usage_sources(int index) const {
2793   return static_cast< ::android::input::InputDeviceUsageType >(_impl_.usage_sources_.Get(index));
2794 }
usage_sources(int index)2795 inline ::android::input::InputDeviceUsageType InputDeviceUsageReported::usage_sources(int index) const {
2796   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputDeviceUsageReported.usage_sources)
2797   return _internal_usage_sources(index);
2798 }
set_usage_sources(int index,::android::input::InputDeviceUsageType value)2799 inline void InputDeviceUsageReported::set_usage_sources(int index, ::android::input::InputDeviceUsageType value) {
2800   assert(::android::input::InputDeviceUsageType_IsValid(value));
2801   _impl_.usage_sources_.Set(index, value);
2802   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputDeviceUsageReported.usage_sources)
2803 }
_internal_add_usage_sources(::android::input::InputDeviceUsageType value)2804 inline void InputDeviceUsageReported::_internal_add_usage_sources(::android::input::InputDeviceUsageType value) {
2805   assert(::android::input::InputDeviceUsageType_IsValid(value));
2806   _impl_.usage_sources_.Add(value);
2807 }
add_usage_sources(::android::input::InputDeviceUsageType value)2808 inline void InputDeviceUsageReported::add_usage_sources(::android::input::InputDeviceUsageType value) {
2809   _internal_add_usage_sources(value);
2810   // @@protoc_insertion_point(field_add:android.os.statsd.input.InputDeviceUsageReported.usage_sources)
2811 }
2812 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
usage_sources()2813 InputDeviceUsageReported::usage_sources() const {
2814   // @@protoc_insertion_point(field_list:android.os.statsd.input.InputDeviceUsageReported.usage_sources)
2815   return _impl_.usage_sources_;
2816 }
2817 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
_internal_mutable_usage_sources()2818 InputDeviceUsageReported::_internal_mutable_usage_sources() {
2819   return &_impl_.usage_sources_;
2820 }
2821 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
mutable_usage_sources()2822 InputDeviceUsageReported::mutable_usage_sources() {
2823   // @@protoc_insertion_point(field_mutable_list:android.os.statsd.input.InputDeviceUsageReported.usage_sources)
2824   return _internal_mutable_usage_sources();
2825 }
2826 
2827 // repeated int32 usage_durations_per_source = 7;
_internal_usage_durations_per_source_size()2828 inline int InputDeviceUsageReported::_internal_usage_durations_per_source_size() const {
2829   return _impl_.usage_durations_per_source_.size();
2830 }
usage_durations_per_source_size()2831 inline int InputDeviceUsageReported::usage_durations_per_source_size() const {
2832   return _internal_usage_durations_per_source_size();
2833 }
clear_usage_durations_per_source()2834 inline void InputDeviceUsageReported::clear_usage_durations_per_source() {
2835   _impl_.usage_durations_per_source_.Clear();
2836 }
_internal_usage_durations_per_source(int index)2837 inline ::int32_t InputDeviceUsageReported::_internal_usage_durations_per_source(int index) const {
2838   return _impl_.usage_durations_per_source_.Get(index);
2839 }
usage_durations_per_source(int index)2840 inline ::int32_t InputDeviceUsageReported::usage_durations_per_source(int index) const {
2841   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputDeviceUsageReported.usage_durations_per_source)
2842   return _internal_usage_durations_per_source(index);
2843 }
set_usage_durations_per_source(int index,::int32_t value)2844 inline void InputDeviceUsageReported::set_usage_durations_per_source(int index, ::int32_t value) {
2845   _impl_.usage_durations_per_source_.Set(index, value);
2846   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputDeviceUsageReported.usage_durations_per_source)
2847 }
_internal_add_usage_durations_per_source(::int32_t value)2848 inline void InputDeviceUsageReported::_internal_add_usage_durations_per_source(::int32_t value) {
2849   _impl_.usage_durations_per_source_.Add(value);
2850 }
add_usage_durations_per_source(::int32_t value)2851 inline void InputDeviceUsageReported::add_usage_durations_per_source(::int32_t value) {
2852   _internal_add_usage_durations_per_source(value);
2853   // @@protoc_insertion_point(field_add:android.os.statsd.input.InputDeviceUsageReported.usage_durations_per_source)
2854 }
2855 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
_internal_usage_durations_per_source()2856 InputDeviceUsageReported::_internal_usage_durations_per_source() const {
2857   return _impl_.usage_durations_per_source_;
2858 }
2859 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
usage_durations_per_source()2860 InputDeviceUsageReported::usage_durations_per_source() const {
2861   // @@protoc_insertion_point(field_list:android.os.statsd.input.InputDeviceUsageReported.usage_durations_per_source)
2862   return _internal_usage_durations_per_source();
2863 }
2864 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
_internal_mutable_usage_durations_per_source()2865 InputDeviceUsageReported::_internal_mutable_usage_durations_per_source() {
2866   return &_impl_.usage_durations_per_source_;
2867 }
2868 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
mutable_usage_durations_per_source()2869 InputDeviceUsageReported::mutable_usage_durations_per_source() {
2870   // @@protoc_insertion_point(field_mutable_list:android.os.statsd.input.InputDeviceUsageReported.usage_durations_per_source)
2871   return _internal_mutable_usage_durations_per_source();
2872 }
2873 
2874 // repeated int32 uids = 8 [(.android.os.statsd.is_uid) = true];
_internal_uids_size()2875 inline int InputDeviceUsageReported::_internal_uids_size() const {
2876   return _impl_.uids_.size();
2877 }
uids_size()2878 inline int InputDeviceUsageReported::uids_size() const {
2879   return _internal_uids_size();
2880 }
clear_uids()2881 inline void InputDeviceUsageReported::clear_uids() {
2882   _impl_.uids_.Clear();
2883 }
_internal_uids(int index)2884 inline ::int32_t InputDeviceUsageReported::_internal_uids(int index) const {
2885   return _impl_.uids_.Get(index);
2886 }
uids(int index)2887 inline ::int32_t InputDeviceUsageReported::uids(int index) const {
2888   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputDeviceUsageReported.uids)
2889   return _internal_uids(index);
2890 }
set_uids(int index,::int32_t value)2891 inline void InputDeviceUsageReported::set_uids(int index, ::int32_t value) {
2892   _impl_.uids_.Set(index, value);
2893   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputDeviceUsageReported.uids)
2894 }
_internal_add_uids(::int32_t value)2895 inline void InputDeviceUsageReported::_internal_add_uids(::int32_t value) {
2896   _impl_.uids_.Add(value);
2897 }
add_uids(::int32_t value)2898 inline void InputDeviceUsageReported::add_uids(::int32_t value) {
2899   _internal_add_uids(value);
2900   // @@protoc_insertion_point(field_add:android.os.statsd.input.InputDeviceUsageReported.uids)
2901 }
2902 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
_internal_uids()2903 InputDeviceUsageReported::_internal_uids() const {
2904   return _impl_.uids_;
2905 }
2906 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
uids()2907 InputDeviceUsageReported::uids() const {
2908   // @@protoc_insertion_point(field_list:android.os.statsd.input.InputDeviceUsageReported.uids)
2909   return _internal_uids();
2910 }
2911 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
_internal_mutable_uids()2912 InputDeviceUsageReported::_internal_mutable_uids() {
2913   return &_impl_.uids_;
2914 }
2915 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
mutable_uids()2916 InputDeviceUsageReported::mutable_uids() {
2917   // @@protoc_insertion_point(field_mutable_list:android.os.statsd.input.InputDeviceUsageReported.uids)
2918   return _internal_mutable_uids();
2919 }
2920 
2921 // repeated int32 usage_durations_per_uid = 9;
_internal_usage_durations_per_uid_size()2922 inline int InputDeviceUsageReported::_internal_usage_durations_per_uid_size() const {
2923   return _impl_.usage_durations_per_uid_.size();
2924 }
usage_durations_per_uid_size()2925 inline int InputDeviceUsageReported::usage_durations_per_uid_size() const {
2926   return _internal_usage_durations_per_uid_size();
2927 }
clear_usage_durations_per_uid()2928 inline void InputDeviceUsageReported::clear_usage_durations_per_uid() {
2929   _impl_.usage_durations_per_uid_.Clear();
2930 }
_internal_usage_durations_per_uid(int index)2931 inline ::int32_t InputDeviceUsageReported::_internal_usage_durations_per_uid(int index) const {
2932   return _impl_.usage_durations_per_uid_.Get(index);
2933 }
usage_durations_per_uid(int index)2934 inline ::int32_t InputDeviceUsageReported::usage_durations_per_uid(int index) const {
2935   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputDeviceUsageReported.usage_durations_per_uid)
2936   return _internal_usage_durations_per_uid(index);
2937 }
set_usage_durations_per_uid(int index,::int32_t value)2938 inline void InputDeviceUsageReported::set_usage_durations_per_uid(int index, ::int32_t value) {
2939   _impl_.usage_durations_per_uid_.Set(index, value);
2940   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputDeviceUsageReported.usage_durations_per_uid)
2941 }
_internal_add_usage_durations_per_uid(::int32_t value)2942 inline void InputDeviceUsageReported::_internal_add_usage_durations_per_uid(::int32_t value) {
2943   _impl_.usage_durations_per_uid_.Add(value);
2944 }
add_usage_durations_per_uid(::int32_t value)2945 inline void InputDeviceUsageReported::add_usage_durations_per_uid(::int32_t value) {
2946   _internal_add_usage_durations_per_uid(value);
2947   // @@protoc_insertion_point(field_add:android.os.statsd.input.InputDeviceUsageReported.usage_durations_per_uid)
2948 }
2949 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
_internal_usage_durations_per_uid()2950 InputDeviceUsageReported::_internal_usage_durations_per_uid() const {
2951   return _impl_.usage_durations_per_uid_;
2952 }
2953 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
usage_durations_per_uid()2954 InputDeviceUsageReported::usage_durations_per_uid() const {
2955   // @@protoc_insertion_point(field_list:android.os.statsd.input.InputDeviceUsageReported.usage_durations_per_uid)
2956   return _internal_usage_durations_per_uid();
2957 }
2958 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
_internal_mutable_usage_durations_per_uid()2959 InputDeviceUsageReported::_internal_mutable_usage_durations_per_uid() {
2960   return &_impl_.usage_durations_per_uid_;
2961 }
2962 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
mutable_usage_durations_per_uid()2963 InputDeviceUsageReported::mutable_usage_durations_per_uid() {
2964   // @@protoc_insertion_point(field_mutable_list:android.os.statsd.input.InputDeviceUsageReported.usage_durations_per_uid)
2965   return _internal_mutable_usage_durations_per_uid();
2966 }
2967 
2968 // -------------------------------------------------------------------
2969 
2970 // TouchpadUsage
2971 
2972 // optional int32 vendor_id = 1;
_internal_has_vendor_id()2973 inline bool TouchpadUsage::_internal_has_vendor_id() const {
2974   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2975   return value;
2976 }
has_vendor_id()2977 inline bool TouchpadUsage::has_vendor_id() const {
2978   return _internal_has_vendor_id();
2979 }
clear_vendor_id()2980 inline void TouchpadUsage::clear_vendor_id() {
2981   _impl_.vendor_id_ = 0;
2982   _impl_._has_bits_[0] &= ~0x00000001u;
2983 }
_internal_vendor_id()2984 inline ::int32_t TouchpadUsage::_internal_vendor_id() const {
2985   return _impl_.vendor_id_;
2986 }
vendor_id()2987 inline ::int32_t TouchpadUsage::vendor_id() const {
2988   // @@protoc_insertion_point(field_get:android.os.statsd.input.TouchpadUsage.vendor_id)
2989   return _internal_vendor_id();
2990 }
_internal_set_vendor_id(::int32_t value)2991 inline void TouchpadUsage::_internal_set_vendor_id(::int32_t value) {
2992   _impl_._has_bits_[0] |= 0x00000001u;
2993   _impl_.vendor_id_ = value;
2994 }
set_vendor_id(::int32_t value)2995 inline void TouchpadUsage::set_vendor_id(::int32_t value) {
2996   _internal_set_vendor_id(value);
2997   // @@protoc_insertion_point(field_set:android.os.statsd.input.TouchpadUsage.vendor_id)
2998 }
2999 
3000 // optional int32 product_id = 2;
_internal_has_product_id()3001 inline bool TouchpadUsage::_internal_has_product_id() const {
3002   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3003   return value;
3004 }
has_product_id()3005 inline bool TouchpadUsage::has_product_id() const {
3006   return _internal_has_product_id();
3007 }
clear_product_id()3008 inline void TouchpadUsage::clear_product_id() {
3009   _impl_.product_id_ = 0;
3010   _impl_._has_bits_[0] &= ~0x00000002u;
3011 }
_internal_product_id()3012 inline ::int32_t TouchpadUsage::_internal_product_id() const {
3013   return _impl_.product_id_;
3014 }
product_id()3015 inline ::int32_t TouchpadUsage::product_id() const {
3016   // @@protoc_insertion_point(field_get:android.os.statsd.input.TouchpadUsage.product_id)
3017   return _internal_product_id();
3018 }
_internal_set_product_id(::int32_t value)3019 inline void TouchpadUsage::_internal_set_product_id(::int32_t value) {
3020   _impl_._has_bits_[0] |= 0x00000002u;
3021   _impl_.product_id_ = value;
3022 }
set_product_id(::int32_t value)3023 inline void TouchpadUsage::set_product_id(::int32_t value) {
3024   _internal_set_product_id(value);
3025   // @@protoc_insertion_point(field_set:android.os.statsd.input.TouchpadUsage.product_id)
3026 }
3027 
3028 // optional int32 version_id = 3;
_internal_has_version_id()3029 inline bool TouchpadUsage::_internal_has_version_id() const {
3030   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3031   return value;
3032 }
has_version_id()3033 inline bool TouchpadUsage::has_version_id() const {
3034   return _internal_has_version_id();
3035 }
clear_version_id()3036 inline void TouchpadUsage::clear_version_id() {
3037   _impl_.version_id_ = 0;
3038   _impl_._has_bits_[0] &= ~0x00000004u;
3039 }
_internal_version_id()3040 inline ::int32_t TouchpadUsage::_internal_version_id() const {
3041   return _impl_.version_id_;
3042 }
version_id()3043 inline ::int32_t TouchpadUsage::version_id() const {
3044   // @@protoc_insertion_point(field_get:android.os.statsd.input.TouchpadUsage.version_id)
3045   return _internal_version_id();
3046 }
_internal_set_version_id(::int32_t value)3047 inline void TouchpadUsage::_internal_set_version_id(::int32_t value) {
3048   _impl_._has_bits_[0] |= 0x00000004u;
3049   _impl_.version_id_ = value;
3050 }
set_version_id(::int32_t value)3051 inline void TouchpadUsage::set_version_id(::int32_t value) {
3052   _internal_set_version_id(value);
3053   // @@protoc_insertion_point(field_set:android.os.statsd.input.TouchpadUsage.version_id)
3054 }
3055 
3056 // optional .android.input.InputDeviceBus device_bus = 4;
_internal_has_device_bus()3057 inline bool TouchpadUsage::_internal_has_device_bus() const {
3058   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
3059   return value;
3060 }
has_device_bus()3061 inline bool TouchpadUsage::has_device_bus() const {
3062   return _internal_has_device_bus();
3063 }
clear_device_bus()3064 inline void TouchpadUsage::clear_device_bus() {
3065   _impl_.device_bus_ = 0;
3066   _impl_._has_bits_[0] &= ~0x00000008u;
3067 }
_internal_device_bus()3068 inline ::android::input::InputDeviceBus TouchpadUsage::_internal_device_bus() const {
3069   return static_cast< ::android::input::InputDeviceBus >(_impl_.device_bus_);
3070 }
device_bus()3071 inline ::android::input::InputDeviceBus TouchpadUsage::device_bus() const {
3072   // @@protoc_insertion_point(field_get:android.os.statsd.input.TouchpadUsage.device_bus)
3073   return _internal_device_bus();
3074 }
_internal_set_device_bus(::android::input::InputDeviceBus value)3075 inline void TouchpadUsage::_internal_set_device_bus(::android::input::InputDeviceBus value) {
3076   assert(::android::input::InputDeviceBus_IsValid(value));
3077   _impl_._has_bits_[0] |= 0x00000008u;
3078   _impl_.device_bus_ = value;
3079 }
set_device_bus(::android::input::InputDeviceBus value)3080 inline void TouchpadUsage::set_device_bus(::android::input::InputDeviceBus value) {
3081   _internal_set_device_bus(value);
3082   // @@protoc_insertion_point(field_set:android.os.statsd.input.TouchpadUsage.device_bus)
3083 }
3084 
3085 // optional int32 finger_count = 5;
_internal_has_finger_count()3086 inline bool TouchpadUsage::_internal_has_finger_count() const {
3087   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
3088   return value;
3089 }
has_finger_count()3090 inline bool TouchpadUsage::has_finger_count() const {
3091   return _internal_has_finger_count();
3092 }
clear_finger_count()3093 inline void TouchpadUsage::clear_finger_count() {
3094   _impl_.finger_count_ = 0;
3095   _impl_._has_bits_[0] &= ~0x00000010u;
3096 }
_internal_finger_count()3097 inline ::int32_t TouchpadUsage::_internal_finger_count() const {
3098   return _impl_.finger_count_;
3099 }
finger_count()3100 inline ::int32_t TouchpadUsage::finger_count() const {
3101   // @@protoc_insertion_point(field_get:android.os.statsd.input.TouchpadUsage.finger_count)
3102   return _internal_finger_count();
3103 }
_internal_set_finger_count(::int32_t value)3104 inline void TouchpadUsage::_internal_set_finger_count(::int32_t value) {
3105   _impl_._has_bits_[0] |= 0x00000010u;
3106   _impl_.finger_count_ = value;
3107 }
set_finger_count(::int32_t value)3108 inline void TouchpadUsage::set_finger_count(::int32_t value) {
3109   _internal_set_finger_count(value);
3110   // @@protoc_insertion_point(field_set:android.os.statsd.input.TouchpadUsage.finger_count)
3111 }
3112 
3113 // optional int32 palm_count = 6;
_internal_has_palm_count()3114 inline bool TouchpadUsage::_internal_has_palm_count() const {
3115   bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
3116   return value;
3117 }
has_palm_count()3118 inline bool TouchpadUsage::has_palm_count() const {
3119   return _internal_has_palm_count();
3120 }
clear_palm_count()3121 inline void TouchpadUsage::clear_palm_count() {
3122   _impl_.palm_count_ = 0;
3123   _impl_._has_bits_[0] &= ~0x00000020u;
3124 }
_internal_palm_count()3125 inline ::int32_t TouchpadUsage::_internal_palm_count() const {
3126   return _impl_.palm_count_;
3127 }
palm_count()3128 inline ::int32_t TouchpadUsage::palm_count() const {
3129   // @@protoc_insertion_point(field_get:android.os.statsd.input.TouchpadUsage.palm_count)
3130   return _internal_palm_count();
3131 }
_internal_set_palm_count(::int32_t value)3132 inline void TouchpadUsage::_internal_set_palm_count(::int32_t value) {
3133   _impl_._has_bits_[0] |= 0x00000020u;
3134   _impl_.palm_count_ = value;
3135 }
set_palm_count(::int32_t value)3136 inline void TouchpadUsage::set_palm_count(::int32_t value) {
3137   _internal_set_palm_count(value);
3138   // @@protoc_insertion_point(field_set:android.os.statsd.input.TouchpadUsage.palm_count)
3139 }
3140 
3141 // optional int32 two_finger_swipe_gesture_count = 7;
_internal_has_two_finger_swipe_gesture_count()3142 inline bool TouchpadUsage::_internal_has_two_finger_swipe_gesture_count() const {
3143   bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
3144   return value;
3145 }
has_two_finger_swipe_gesture_count()3146 inline bool TouchpadUsage::has_two_finger_swipe_gesture_count() const {
3147   return _internal_has_two_finger_swipe_gesture_count();
3148 }
clear_two_finger_swipe_gesture_count()3149 inline void TouchpadUsage::clear_two_finger_swipe_gesture_count() {
3150   _impl_.two_finger_swipe_gesture_count_ = 0;
3151   _impl_._has_bits_[0] &= ~0x00000040u;
3152 }
_internal_two_finger_swipe_gesture_count()3153 inline ::int32_t TouchpadUsage::_internal_two_finger_swipe_gesture_count() const {
3154   return _impl_.two_finger_swipe_gesture_count_;
3155 }
two_finger_swipe_gesture_count()3156 inline ::int32_t TouchpadUsage::two_finger_swipe_gesture_count() const {
3157   // @@protoc_insertion_point(field_get:android.os.statsd.input.TouchpadUsage.two_finger_swipe_gesture_count)
3158   return _internal_two_finger_swipe_gesture_count();
3159 }
_internal_set_two_finger_swipe_gesture_count(::int32_t value)3160 inline void TouchpadUsage::_internal_set_two_finger_swipe_gesture_count(::int32_t value) {
3161   _impl_._has_bits_[0] |= 0x00000040u;
3162   _impl_.two_finger_swipe_gesture_count_ = value;
3163 }
set_two_finger_swipe_gesture_count(::int32_t value)3164 inline void TouchpadUsage::set_two_finger_swipe_gesture_count(::int32_t value) {
3165   _internal_set_two_finger_swipe_gesture_count(value);
3166   // @@protoc_insertion_point(field_set:android.os.statsd.input.TouchpadUsage.two_finger_swipe_gesture_count)
3167 }
3168 
3169 // optional int32 three_finger_swipe_gesture_count = 8;
_internal_has_three_finger_swipe_gesture_count()3170 inline bool TouchpadUsage::_internal_has_three_finger_swipe_gesture_count() const {
3171   bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
3172   return value;
3173 }
has_three_finger_swipe_gesture_count()3174 inline bool TouchpadUsage::has_three_finger_swipe_gesture_count() const {
3175   return _internal_has_three_finger_swipe_gesture_count();
3176 }
clear_three_finger_swipe_gesture_count()3177 inline void TouchpadUsage::clear_three_finger_swipe_gesture_count() {
3178   _impl_.three_finger_swipe_gesture_count_ = 0;
3179   _impl_._has_bits_[0] &= ~0x00000080u;
3180 }
_internal_three_finger_swipe_gesture_count()3181 inline ::int32_t TouchpadUsage::_internal_three_finger_swipe_gesture_count() const {
3182   return _impl_.three_finger_swipe_gesture_count_;
3183 }
three_finger_swipe_gesture_count()3184 inline ::int32_t TouchpadUsage::three_finger_swipe_gesture_count() const {
3185   // @@protoc_insertion_point(field_get:android.os.statsd.input.TouchpadUsage.three_finger_swipe_gesture_count)
3186   return _internal_three_finger_swipe_gesture_count();
3187 }
_internal_set_three_finger_swipe_gesture_count(::int32_t value)3188 inline void TouchpadUsage::_internal_set_three_finger_swipe_gesture_count(::int32_t value) {
3189   _impl_._has_bits_[0] |= 0x00000080u;
3190   _impl_.three_finger_swipe_gesture_count_ = value;
3191 }
set_three_finger_swipe_gesture_count(::int32_t value)3192 inline void TouchpadUsage::set_three_finger_swipe_gesture_count(::int32_t value) {
3193   _internal_set_three_finger_swipe_gesture_count(value);
3194   // @@protoc_insertion_point(field_set:android.os.statsd.input.TouchpadUsage.three_finger_swipe_gesture_count)
3195 }
3196 
3197 // optional int32 four_finger_swipe_gesture_count = 9;
_internal_has_four_finger_swipe_gesture_count()3198 inline bool TouchpadUsage::_internal_has_four_finger_swipe_gesture_count() const {
3199   bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
3200   return value;
3201 }
has_four_finger_swipe_gesture_count()3202 inline bool TouchpadUsage::has_four_finger_swipe_gesture_count() const {
3203   return _internal_has_four_finger_swipe_gesture_count();
3204 }
clear_four_finger_swipe_gesture_count()3205 inline void TouchpadUsage::clear_four_finger_swipe_gesture_count() {
3206   _impl_.four_finger_swipe_gesture_count_ = 0;
3207   _impl_._has_bits_[0] &= ~0x00000100u;
3208 }
_internal_four_finger_swipe_gesture_count()3209 inline ::int32_t TouchpadUsage::_internal_four_finger_swipe_gesture_count() const {
3210   return _impl_.four_finger_swipe_gesture_count_;
3211 }
four_finger_swipe_gesture_count()3212 inline ::int32_t TouchpadUsage::four_finger_swipe_gesture_count() const {
3213   // @@protoc_insertion_point(field_get:android.os.statsd.input.TouchpadUsage.four_finger_swipe_gesture_count)
3214   return _internal_four_finger_swipe_gesture_count();
3215 }
_internal_set_four_finger_swipe_gesture_count(::int32_t value)3216 inline void TouchpadUsage::_internal_set_four_finger_swipe_gesture_count(::int32_t value) {
3217   _impl_._has_bits_[0] |= 0x00000100u;
3218   _impl_.four_finger_swipe_gesture_count_ = value;
3219 }
set_four_finger_swipe_gesture_count(::int32_t value)3220 inline void TouchpadUsage::set_four_finger_swipe_gesture_count(::int32_t value) {
3221   _internal_set_four_finger_swipe_gesture_count(value);
3222   // @@protoc_insertion_point(field_set:android.os.statsd.input.TouchpadUsage.four_finger_swipe_gesture_count)
3223 }
3224 
3225 // optional int32 pinch_gesture_count = 10;
_internal_has_pinch_gesture_count()3226 inline bool TouchpadUsage::_internal_has_pinch_gesture_count() const {
3227   bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
3228   return value;
3229 }
has_pinch_gesture_count()3230 inline bool TouchpadUsage::has_pinch_gesture_count() const {
3231   return _internal_has_pinch_gesture_count();
3232 }
clear_pinch_gesture_count()3233 inline void TouchpadUsage::clear_pinch_gesture_count() {
3234   _impl_.pinch_gesture_count_ = 0;
3235   _impl_._has_bits_[0] &= ~0x00000200u;
3236 }
_internal_pinch_gesture_count()3237 inline ::int32_t TouchpadUsage::_internal_pinch_gesture_count() const {
3238   return _impl_.pinch_gesture_count_;
3239 }
pinch_gesture_count()3240 inline ::int32_t TouchpadUsage::pinch_gesture_count() const {
3241   // @@protoc_insertion_point(field_get:android.os.statsd.input.TouchpadUsage.pinch_gesture_count)
3242   return _internal_pinch_gesture_count();
3243 }
_internal_set_pinch_gesture_count(::int32_t value)3244 inline void TouchpadUsage::_internal_set_pinch_gesture_count(::int32_t value) {
3245   _impl_._has_bits_[0] |= 0x00000200u;
3246   _impl_.pinch_gesture_count_ = value;
3247 }
set_pinch_gesture_count(::int32_t value)3248 inline void TouchpadUsage::set_pinch_gesture_count(::int32_t value) {
3249   _internal_set_pinch_gesture_count(value);
3250   // @@protoc_insertion_point(field_set:android.os.statsd.input.TouchpadUsage.pinch_gesture_count)
3251 }
3252 
3253 // -------------------------------------------------------------------
3254 
3255 // InputEventLatencyReported
3256 
3257 // optional int32 vendor_id = 1;
_internal_has_vendor_id()3258 inline bool InputEventLatencyReported::_internal_has_vendor_id() const {
3259   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3260   return value;
3261 }
has_vendor_id()3262 inline bool InputEventLatencyReported::has_vendor_id() const {
3263   return _internal_has_vendor_id();
3264 }
clear_vendor_id()3265 inline void InputEventLatencyReported::clear_vendor_id() {
3266   _impl_.vendor_id_ = 0;
3267   _impl_._has_bits_[0] &= ~0x00000001u;
3268 }
_internal_vendor_id()3269 inline ::int32_t InputEventLatencyReported::_internal_vendor_id() const {
3270   return _impl_.vendor_id_;
3271 }
vendor_id()3272 inline ::int32_t InputEventLatencyReported::vendor_id() const {
3273   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputEventLatencyReported.vendor_id)
3274   return _internal_vendor_id();
3275 }
_internal_set_vendor_id(::int32_t value)3276 inline void InputEventLatencyReported::_internal_set_vendor_id(::int32_t value) {
3277   _impl_._has_bits_[0] |= 0x00000001u;
3278   _impl_.vendor_id_ = value;
3279 }
set_vendor_id(::int32_t value)3280 inline void InputEventLatencyReported::set_vendor_id(::int32_t value) {
3281   _internal_set_vendor_id(value);
3282   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputEventLatencyReported.vendor_id)
3283 }
3284 
3285 // optional int32 product_id = 2;
_internal_has_product_id()3286 inline bool InputEventLatencyReported::_internal_has_product_id() const {
3287   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3288   return value;
3289 }
has_product_id()3290 inline bool InputEventLatencyReported::has_product_id() const {
3291   return _internal_has_product_id();
3292 }
clear_product_id()3293 inline void InputEventLatencyReported::clear_product_id() {
3294   _impl_.product_id_ = 0;
3295   _impl_._has_bits_[0] &= ~0x00000002u;
3296 }
_internal_product_id()3297 inline ::int32_t InputEventLatencyReported::_internal_product_id() const {
3298   return _impl_.product_id_;
3299 }
product_id()3300 inline ::int32_t InputEventLatencyReported::product_id() const {
3301   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputEventLatencyReported.product_id)
3302   return _internal_product_id();
3303 }
_internal_set_product_id(::int32_t value)3304 inline void InputEventLatencyReported::_internal_set_product_id(::int32_t value) {
3305   _impl_._has_bits_[0] |= 0x00000002u;
3306   _impl_.product_id_ = value;
3307 }
set_product_id(::int32_t value)3308 inline void InputEventLatencyReported::set_product_id(::int32_t value) {
3309   _internal_set_product_id(value);
3310   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputEventLatencyReported.product_id)
3311 }
3312 
3313 // repeated .android.input.InputDeviceUsageType sources = 3;
_internal_sources_size()3314 inline int InputEventLatencyReported::_internal_sources_size() const {
3315   return _impl_.sources_.size();
3316 }
sources_size()3317 inline int InputEventLatencyReported::sources_size() const {
3318   return _internal_sources_size();
3319 }
clear_sources()3320 inline void InputEventLatencyReported::clear_sources() {
3321   _impl_.sources_.Clear();
3322 }
_internal_sources(int index)3323 inline ::android::input::InputDeviceUsageType InputEventLatencyReported::_internal_sources(int index) const {
3324   return static_cast< ::android::input::InputDeviceUsageType >(_impl_.sources_.Get(index));
3325 }
sources(int index)3326 inline ::android::input::InputDeviceUsageType InputEventLatencyReported::sources(int index) const {
3327   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputEventLatencyReported.sources)
3328   return _internal_sources(index);
3329 }
set_sources(int index,::android::input::InputDeviceUsageType value)3330 inline void InputEventLatencyReported::set_sources(int index, ::android::input::InputDeviceUsageType value) {
3331   assert(::android::input::InputDeviceUsageType_IsValid(value));
3332   _impl_.sources_.Set(index, value);
3333   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputEventLatencyReported.sources)
3334 }
_internal_add_sources(::android::input::InputDeviceUsageType value)3335 inline void InputEventLatencyReported::_internal_add_sources(::android::input::InputDeviceUsageType value) {
3336   assert(::android::input::InputDeviceUsageType_IsValid(value));
3337   _impl_.sources_.Add(value);
3338 }
add_sources(::android::input::InputDeviceUsageType value)3339 inline void InputEventLatencyReported::add_sources(::android::input::InputDeviceUsageType value) {
3340   _internal_add_sources(value);
3341   // @@protoc_insertion_point(field_add:android.os.statsd.input.InputEventLatencyReported.sources)
3342 }
3343 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
sources()3344 InputEventLatencyReported::sources() const {
3345   // @@protoc_insertion_point(field_list:android.os.statsd.input.InputEventLatencyReported.sources)
3346   return _impl_.sources_;
3347 }
3348 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
_internal_mutable_sources()3349 InputEventLatencyReported::_internal_mutable_sources() {
3350   return &_impl_.sources_;
3351 }
3352 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
mutable_sources()3353 InputEventLatencyReported::mutable_sources() {
3354   // @@protoc_insertion_point(field_mutable_list:android.os.statsd.input.InputEventLatencyReported.sources)
3355   return _internal_mutable_sources();
3356 }
3357 
3358 // optional .android.input.InputEventType input_event_type = 4;
_internal_has_input_event_type()3359 inline bool InputEventLatencyReported::_internal_has_input_event_type() const {
3360   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3361   return value;
3362 }
has_input_event_type()3363 inline bool InputEventLatencyReported::has_input_event_type() const {
3364   return _internal_has_input_event_type();
3365 }
clear_input_event_type()3366 inline void InputEventLatencyReported::clear_input_event_type() {
3367   _impl_.input_event_type_ = 0;
3368   _impl_._has_bits_[0] &= ~0x00000004u;
3369 }
_internal_input_event_type()3370 inline ::android::input::InputEventType InputEventLatencyReported::_internal_input_event_type() const {
3371   return static_cast< ::android::input::InputEventType >(_impl_.input_event_type_);
3372 }
input_event_type()3373 inline ::android::input::InputEventType InputEventLatencyReported::input_event_type() const {
3374   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputEventLatencyReported.input_event_type)
3375   return _internal_input_event_type();
3376 }
_internal_set_input_event_type(::android::input::InputEventType value)3377 inline void InputEventLatencyReported::_internal_set_input_event_type(::android::input::InputEventType value) {
3378   assert(::android::input::InputEventType_IsValid(value));
3379   _impl_._has_bits_[0] |= 0x00000004u;
3380   _impl_.input_event_type_ = value;
3381 }
set_input_event_type(::android::input::InputEventType value)3382 inline void InputEventLatencyReported::set_input_event_type(::android::input::InputEventType value) {
3383   _internal_set_input_event_type(value);
3384   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputEventLatencyReported.input_event_type)
3385 }
3386 
3387 // optional .android.input.LatencyStage latency_stage = 5;
_internal_has_latency_stage()3388 inline bool InputEventLatencyReported::_internal_has_latency_stage() const {
3389   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
3390   return value;
3391 }
has_latency_stage()3392 inline bool InputEventLatencyReported::has_latency_stage() const {
3393   return _internal_has_latency_stage();
3394 }
clear_latency_stage()3395 inline void InputEventLatencyReported::clear_latency_stage() {
3396   _impl_.latency_stage_ = 0;
3397   _impl_._has_bits_[0] &= ~0x00000008u;
3398 }
_internal_latency_stage()3399 inline ::android::input::LatencyStage InputEventLatencyReported::_internal_latency_stage() const {
3400   return static_cast< ::android::input::LatencyStage >(_impl_.latency_stage_);
3401 }
latency_stage()3402 inline ::android::input::LatencyStage InputEventLatencyReported::latency_stage() const {
3403   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputEventLatencyReported.latency_stage)
3404   return _internal_latency_stage();
3405 }
_internal_set_latency_stage(::android::input::LatencyStage value)3406 inline void InputEventLatencyReported::_internal_set_latency_stage(::android::input::LatencyStage value) {
3407   assert(::android::input::LatencyStage_IsValid(value));
3408   _impl_._has_bits_[0] |= 0x00000008u;
3409   _impl_.latency_stage_ = value;
3410 }
set_latency_stage(::android::input::LatencyStage value)3411 inline void InputEventLatencyReported::set_latency_stage(::android::input::LatencyStage value) {
3412   _internal_set_latency_stage(value);
3413   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputEventLatencyReported.latency_stage)
3414 }
3415 
3416 // optional int32 histogram_version = 6;
_internal_has_histogram_version()3417 inline bool InputEventLatencyReported::_internal_has_histogram_version() const {
3418   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
3419   return value;
3420 }
has_histogram_version()3421 inline bool InputEventLatencyReported::has_histogram_version() const {
3422   return _internal_has_histogram_version();
3423 }
clear_histogram_version()3424 inline void InputEventLatencyReported::clear_histogram_version() {
3425   _impl_.histogram_version_ = 0;
3426   _impl_._has_bits_[0] &= ~0x00000010u;
3427 }
_internal_histogram_version()3428 inline ::int32_t InputEventLatencyReported::_internal_histogram_version() const {
3429   return _impl_.histogram_version_;
3430 }
histogram_version()3431 inline ::int32_t InputEventLatencyReported::histogram_version() const {
3432   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputEventLatencyReported.histogram_version)
3433   return _internal_histogram_version();
3434 }
_internal_set_histogram_version(::int32_t value)3435 inline void InputEventLatencyReported::_internal_set_histogram_version(::int32_t value) {
3436   _impl_._has_bits_[0] |= 0x00000010u;
3437   _impl_.histogram_version_ = value;
3438 }
set_histogram_version(::int32_t value)3439 inline void InputEventLatencyReported::set_histogram_version(::int32_t value) {
3440   _internal_set_histogram_version(value);
3441   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputEventLatencyReported.histogram_version)
3442 }
3443 
3444 // repeated int32 histogram_counts = 7;
_internal_histogram_counts_size()3445 inline int InputEventLatencyReported::_internal_histogram_counts_size() const {
3446   return _impl_.histogram_counts_.size();
3447 }
histogram_counts_size()3448 inline int InputEventLatencyReported::histogram_counts_size() const {
3449   return _internal_histogram_counts_size();
3450 }
clear_histogram_counts()3451 inline void InputEventLatencyReported::clear_histogram_counts() {
3452   _impl_.histogram_counts_.Clear();
3453 }
_internal_histogram_counts(int index)3454 inline ::int32_t InputEventLatencyReported::_internal_histogram_counts(int index) const {
3455   return _impl_.histogram_counts_.Get(index);
3456 }
histogram_counts(int index)3457 inline ::int32_t InputEventLatencyReported::histogram_counts(int index) const {
3458   // @@protoc_insertion_point(field_get:android.os.statsd.input.InputEventLatencyReported.histogram_counts)
3459   return _internal_histogram_counts(index);
3460 }
set_histogram_counts(int index,::int32_t value)3461 inline void InputEventLatencyReported::set_histogram_counts(int index, ::int32_t value) {
3462   _impl_.histogram_counts_.Set(index, value);
3463   // @@protoc_insertion_point(field_set:android.os.statsd.input.InputEventLatencyReported.histogram_counts)
3464 }
_internal_add_histogram_counts(::int32_t value)3465 inline void InputEventLatencyReported::_internal_add_histogram_counts(::int32_t value) {
3466   _impl_.histogram_counts_.Add(value);
3467 }
add_histogram_counts(::int32_t value)3468 inline void InputEventLatencyReported::add_histogram_counts(::int32_t value) {
3469   _internal_add_histogram_counts(value);
3470   // @@protoc_insertion_point(field_add:android.os.statsd.input.InputEventLatencyReported.histogram_counts)
3471 }
3472 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
_internal_histogram_counts()3473 InputEventLatencyReported::_internal_histogram_counts() const {
3474   return _impl_.histogram_counts_;
3475 }
3476 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
histogram_counts()3477 InputEventLatencyReported::histogram_counts() const {
3478   // @@protoc_insertion_point(field_list:android.os.statsd.input.InputEventLatencyReported.histogram_counts)
3479   return _internal_histogram_counts();
3480 }
3481 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
_internal_mutable_histogram_counts()3482 InputEventLatencyReported::_internal_mutable_histogram_counts() {
3483   return &_impl_.histogram_counts_;
3484 }
3485 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
mutable_histogram_counts()3486 InputEventLatencyReported::mutable_histogram_counts() {
3487   // @@protoc_insertion_point(field_mutable_list:android.os.statsd.input.InputEventLatencyReported.histogram_counts)
3488   return _internal_mutable_histogram_counts();
3489 }
3490 
3491 #ifdef __GNUC__
3492   #pragma GCC diagnostic pop
3493 #endif  // __GNUC__
3494 // -------------------------------------------------------------------
3495 
3496 // -------------------------------------------------------------------
3497 
3498 // -------------------------------------------------------------------
3499 
3500 // -------------------------------------------------------------------
3501 
3502 // -------------------------------------------------------------------
3503 
3504 // -------------------------------------------------------------------
3505 
3506 
3507 // @@protoc_insertion_point(namespace_scope)
3508 
3509 }  // namespace input
3510 }  // namespace statsd
3511 }  // namespace os
3512 }  // namespace android
3513 
3514 // @@protoc_insertion_point(global_scope)
3515 
3516 #include <google/protobuf/port_undef.inc>
3517 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_frameworks_2fproto_5flogging_2fstats_2fatoms_2finput_2finput_5fextension_5fatoms_2eproto
3518