1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: frameworks/base/cmds/am/proto/instrumentation_data.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2fcmds_2fam_2fproto_2finstrumentation_5fdata_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2fcmds_2fam_2fproto_2finstrumentation_5fdata_2eproto
6 
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10 
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22 
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
32 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
35 // @@protoc_insertion_point(includes)
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_frameworks_2fbase_2fcmds_2fam_2fproto_2finstrumentation_5fdata_2eproto
38 PROTOBUF_NAMESPACE_OPEN
39 namespace internal {
40 class AnyMetadata;
41 }  // namespace internal
42 PROTOBUF_NAMESPACE_CLOSE
43 
44 // Internal implementation detail -- do not use these members.
45 struct TableStruct_frameworks_2fbase_2fcmds_2fam_2fproto_2finstrumentation_5fdata_2eproto {
46   static const ::uint32_t offsets[];
47 };
48 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_frameworks_2fbase_2fcmds_2fam_2fproto_2finstrumentation_5fdata_2eproto;
49 namespace android {
50 namespace am {
51 class ResultsBundle;
52 struct ResultsBundleDefaultTypeInternal;
53 extern ResultsBundleDefaultTypeInternal _ResultsBundle_default_instance_;
54 class ResultsBundleEntry;
55 struct ResultsBundleEntryDefaultTypeInternal;
56 extern ResultsBundleEntryDefaultTypeInternal _ResultsBundleEntry_default_instance_;
57 class Session;
58 struct SessionDefaultTypeInternal;
59 extern SessionDefaultTypeInternal _Session_default_instance_;
60 class SessionStatus;
61 struct SessionStatusDefaultTypeInternal;
62 extern SessionStatusDefaultTypeInternal _SessionStatus_default_instance_;
63 class TestStatus;
64 struct TestStatusDefaultTypeInternal;
65 extern TestStatusDefaultTypeInternal _TestStatus_default_instance_;
66 }  // namespace am
67 }  // namespace android
68 PROTOBUF_NAMESPACE_OPEN
69 template<> ::android::am::ResultsBundle* Arena::CreateMaybeMessage<::android::am::ResultsBundle>(Arena*);
70 template<> ::android::am::ResultsBundleEntry* Arena::CreateMaybeMessage<::android::am::ResultsBundleEntry>(Arena*);
71 template<> ::android::am::Session* Arena::CreateMaybeMessage<::android::am::Session>(Arena*);
72 template<> ::android::am::SessionStatus* Arena::CreateMaybeMessage<::android::am::SessionStatus>(Arena*);
73 template<> ::android::am::TestStatus* Arena::CreateMaybeMessage<::android::am::TestStatus>(Arena*);
74 PROTOBUF_NAMESPACE_CLOSE
75 namespace android {
76 namespace am {
77 
78 enum SessionStatusCode : int {
79   SESSION_FINISHED = 0,
80   SESSION_ABORTED = 1
81 };
82 bool SessionStatusCode_IsValid(int value);
83 constexpr SessionStatusCode SessionStatusCode_MIN = SESSION_FINISHED;
84 constexpr SessionStatusCode SessionStatusCode_MAX = SESSION_ABORTED;
85 constexpr int SessionStatusCode_ARRAYSIZE = SessionStatusCode_MAX + 1;
86 
87 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* SessionStatusCode_descriptor();
88 template<typename T>
SessionStatusCode_Name(T enum_t_value)89 inline const std::string& SessionStatusCode_Name(T enum_t_value) {
90   static_assert(::std::is_same<T, SessionStatusCode>::value ||
91     ::std::is_integral<T>::value,
92     "Incorrect type passed to function SessionStatusCode_Name.");
93   return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
94     SessionStatusCode_descriptor(), enum_t_value);
95 }
SessionStatusCode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,SessionStatusCode * value)96 inline bool SessionStatusCode_Parse(
97     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SessionStatusCode* value) {
98   return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<SessionStatusCode>(
99     SessionStatusCode_descriptor(), name, value);
100 }
101 // ===================================================================
102 
103 class ResultsBundleEntry final :
104     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.am.ResultsBundleEntry) */ {
105  public:
ResultsBundleEntry()106   inline ResultsBundleEntry() : ResultsBundleEntry(nullptr) {}
107   ~ResultsBundleEntry() override;
108   explicit PROTOBUF_CONSTEXPR ResultsBundleEntry(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
109 
110   ResultsBundleEntry(const ResultsBundleEntry& from);
ResultsBundleEntry(ResultsBundleEntry && from)111   ResultsBundleEntry(ResultsBundleEntry&& from) noexcept
112     : ResultsBundleEntry() {
113     *this = ::std::move(from);
114   }
115 
116   inline ResultsBundleEntry& operator=(const ResultsBundleEntry& from) {
117     if (this == &from) return *this;
118     CopyFrom(from);
119     return *this;
120   }
121   inline ResultsBundleEntry& operator=(ResultsBundleEntry&& from) noexcept {
122     if (this == &from) return *this;
123     if (GetOwningArena() == from.GetOwningArena()
124   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
125         && GetOwningArena() != nullptr
126   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
127     ) {
128       InternalSwap(&from);
129     } else {
130       CopyFrom(from);
131     }
132     return *this;
133   }
134 
unknown_fields()135   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
136     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
137   }
mutable_unknown_fields()138   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
139     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
140   }
141 
descriptor()142   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
143     return GetDescriptor();
144   }
GetDescriptor()145   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
146     return default_instance().GetMetadata().descriptor;
147   }
GetReflection()148   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
149     return default_instance().GetMetadata().reflection;
150   }
default_instance()151   static const ResultsBundleEntry& default_instance() {
152     return *internal_default_instance();
153   }
internal_default_instance()154   static inline const ResultsBundleEntry* internal_default_instance() {
155     return reinterpret_cast<const ResultsBundleEntry*>(
156                &_ResultsBundleEntry_default_instance_);
157   }
158   static constexpr int kIndexInFileMessages =
159     0;
160 
swap(ResultsBundleEntry & a,ResultsBundleEntry & b)161   friend void swap(ResultsBundleEntry& a, ResultsBundleEntry& b) {
162     a.Swap(&b);
163   }
Swap(ResultsBundleEntry * other)164   inline void Swap(ResultsBundleEntry* other) {
165     if (other == this) return;
166   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
167     if (GetOwningArena() != nullptr &&
168         GetOwningArena() == other->GetOwningArena()) {
169    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
170     if (GetOwningArena() == other->GetOwningArena()) {
171   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
172       InternalSwap(other);
173     } else {
174       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
175     }
176   }
177   void UnsafeArenaSwap(ResultsBundleEntry* other) {
178     if (other == this) return;
179     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
180     InternalSwap(other);
181   }
182 
183   // implements Message ----------------------------------------------
184 
185   ResultsBundleEntry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
186     return CreateMaybeMessage<ResultsBundleEntry>(arena);
187   }
188   ResultsBundleEntry* New() const {
189     return New(nullptr);
190   }
191   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
192   void CopyFrom(const ResultsBundleEntry& from);
193   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
194   void MergeFrom( const ResultsBundleEntry& from) {
195     ResultsBundleEntry::MergeImpl(*this, from);
196   }
197   private:
198   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
199   public:
200   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
201   bool IsInitialized() const final;
202 
203   size_t ByteSizeLong() const final;
204   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
205   ::uint8_t* _InternalSerialize(
206       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
207   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
208 
209   private:
210   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
211   void SharedDtor();
212   void SetCachedSize(int size) const final;
213   void InternalSwap(ResultsBundleEntry* other);
214 
215   private:
216   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
217   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
218     return "android.am.ResultsBundleEntry";
219   }
220   protected:
221   explicit ResultsBundleEntry(::PROTOBUF_NAMESPACE_ID::Arena* arena,
222                        bool is_message_owned = false);
223   public:
224 
225   static const ClassData _class_data_;
226   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
227 
228   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
229 
230   // nested types ----------------------------------------------------
231 
232   // accessors -------------------------------------------------------
233 
234   enum : int {
235     kKeyFieldNumber = 1,
236     kValueStringFieldNumber = 2,
237     kValueBytesFieldNumber = 8,
238     kValueBundleFieldNumber = 7,
239     kValueIntFieldNumber = 3,
240     kValueFloatFieldNumber = 4,
241     kValueDoubleFieldNumber = 5,
242     kValueLongFieldNumber = 6,
243   };
244   // optional string key = 1;
245   bool has_key() const;
246   private:
247   bool _internal_has_key() const;
248   public:
249   void clear_key();
250   const std::string& key() const;
251   template <typename ArgT0 = const std::string&, typename... ArgT>
252   void set_key(ArgT0&& arg0, ArgT... args);
253   std::string* mutable_key();
254   PROTOBUF_NODISCARD std::string* release_key();
255   void set_allocated_key(std::string* key);
256   private:
257   const std::string& _internal_key() const;
258   inline PROTOBUF_ALWAYS_INLINE void _internal_set_key(const std::string& value);
259   std::string* _internal_mutable_key();
260   public:
261 
262   // optional string value_string = 2;
263   bool has_value_string() const;
264   private:
265   bool _internal_has_value_string() const;
266   public:
267   void clear_value_string();
268   const std::string& value_string() const;
269   template <typename ArgT0 = const std::string&, typename... ArgT>
270   void set_value_string(ArgT0&& arg0, ArgT... args);
271   std::string* mutable_value_string();
272   PROTOBUF_NODISCARD std::string* release_value_string();
273   void set_allocated_value_string(std::string* value_string);
274   private:
275   const std::string& _internal_value_string() const;
276   inline PROTOBUF_ALWAYS_INLINE void _internal_set_value_string(const std::string& value);
277   std::string* _internal_mutable_value_string();
278   public:
279 
280   // optional bytes value_bytes = 8;
281   bool has_value_bytes() const;
282   private:
283   bool _internal_has_value_bytes() const;
284   public:
285   void clear_value_bytes();
286   const std::string& value_bytes() const;
287   template <typename ArgT0 = const std::string&, typename... ArgT>
288   void set_value_bytes(ArgT0&& arg0, ArgT... args);
289   std::string* mutable_value_bytes();
290   PROTOBUF_NODISCARD std::string* release_value_bytes();
291   void set_allocated_value_bytes(std::string* value_bytes);
292   private:
293   const std::string& _internal_value_bytes() const;
294   inline PROTOBUF_ALWAYS_INLINE void _internal_set_value_bytes(const std::string& value);
295   std::string* _internal_mutable_value_bytes();
296   public:
297 
298   // optional .android.am.ResultsBundle value_bundle = 7;
299   bool has_value_bundle() const;
300   private:
301   bool _internal_has_value_bundle() const;
302   public:
303   void clear_value_bundle();
304   const ::android::am::ResultsBundle& value_bundle() const;
305   PROTOBUF_NODISCARD ::android::am::ResultsBundle* release_value_bundle();
306   ::android::am::ResultsBundle* mutable_value_bundle();
307   void set_allocated_value_bundle(::android::am::ResultsBundle* value_bundle);
308   private:
309   const ::android::am::ResultsBundle& _internal_value_bundle() const;
310   ::android::am::ResultsBundle* _internal_mutable_value_bundle();
311   public:
312   void unsafe_arena_set_allocated_value_bundle(
313       ::android::am::ResultsBundle* value_bundle);
314   ::android::am::ResultsBundle* unsafe_arena_release_value_bundle();
315 
316   // optional sint32 value_int = 3;
317   bool has_value_int() const;
318   private:
319   bool _internal_has_value_int() const;
320   public:
321   void clear_value_int();
322   ::int32_t value_int() const;
323   void set_value_int(::int32_t value);
324   private:
325   ::int32_t _internal_value_int() const;
326   void _internal_set_value_int(::int32_t value);
327   public:
328 
329   // optional float value_float = 4;
330   bool has_value_float() const;
331   private:
332   bool _internal_has_value_float() const;
333   public:
334   void clear_value_float();
335   float value_float() const;
336   void set_value_float(float value);
337   private:
338   float _internal_value_float() const;
339   void _internal_set_value_float(float value);
340   public:
341 
342   // optional double value_double = 5;
343   bool has_value_double() const;
344   private:
345   bool _internal_has_value_double() const;
346   public:
347   void clear_value_double();
348   double value_double() const;
349   void set_value_double(double value);
350   private:
351   double _internal_value_double() const;
352   void _internal_set_value_double(double value);
353   public:
354 
355   // optional sint64 value_long = 6;
356   bool has_value_long() const;
357   private:
358   bool _internal_has_value_long() const;
359   public:
360   void clear_value_long();
361   ::int64_t value_long() const;
362   void set_value_long(::int64_t value);
363   private:
364   ::int64_t _internal_value_long() const;
365   void _internal_set_value_long(::int64_t value);
366   public:
367 
368   // @@protoc_insertion_point(class_scope:android.am.ResultsBundleEntry)
369  private:
370   class _Internal;
371 
372   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
373   typedef void InternalArenaConstructable_;
374   typedef void DestructorSkippable_;
375   struct Impl_ {
376     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
377     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
378     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
379     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_string_;
380     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_bytes_;
381     ::android::am::ResultsBundle* value_bundle_;
382     ::int32_t value_int_;
383     float value_float_;
384     double value_double_;
385     ::int64_t value_long_;
386   };
387   union { Impl_ _impl_; };
388   friend struct ::TableStruct_frameworks_2fbase_2fcmds_2fam_2fproto_2finstrumentation_5fdata_2eproto;
389 };
390 // -------------------------------------------------------------------
391 
392 class ResultsBundle final :
393     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.am.ResultsBundle) */ {
394  public:
ResultsBundle()395   inline ResultsBundle() : ResultsBundle(nullptr) {}
396   ~ResultsBundle() override;
397   explicit PROTOBUF_CONSTEXPR ResultsBundle(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
398 
399   ResultsBundle(const ResultsBundle& from);
ResultsBundle(ResultsBundle && from)400   ResultsBundle(ResultsBundle&& from) noexcept
401     : ResultsBundle() {
402     *this = ::std::move(from);
403   }
404 
405   inline ResultsBundle& operator=(const ResultsBundle& from) {
406     if (this == &from) return *this;
407     CopyFrom(from);
408     return *this;
409   }
410   inline ResultsBundle& operator=(ResultsBundle&& from) noexcept {
411     if (this == &from) return *this;
412     if (GetOwningArena() == from.GetOwningArena()
413   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
414         && GetOwningArena() != nullptr
415   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
416     ) {
417       InternalSwap(&from);
418     } else {
419       CopyFrom(from);
420     }
421     return *this;
422   }
423 
unknown_fields()424   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
425     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
426   }
mutable_unknown_fields()427   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
428     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
429   }
430 
descriptor()431   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
432     return GetDescriptor();
433   }
GetDescriptor()434   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
435     return default_instance().GetMetadata().descriptor;
436   }
GetReflection()437   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
438     return default_instance().GetMetadata().reflection;
439   }
default_instance()440   static const ResultsBundle& default_instance() {
441     return *internal_default_instance();
442   }
internal_default_instance()443   static inline const ResultsBundle* internal_default_instance() {
444     return reinterpret_cast<const ResultsBundle*>(
445                &_ResultsBundle_default_instance_);
446   }
447   static constexpr int kIndexInFileMessages =
448     1;
449 
swap(ResultsBundle & a,ResultsBundle & b)450   friend void swap(ResultsBundle& a, ResultsBundle& b) {
451     a.Swap(&b);
452   }
Swap(ResultsBundle * other)453   inline void Swap(ResultsBundle* other) {
454     if (other == this) return;
455   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
456     if (GetOwningArena() != nullptr &&
457         GetOwningArena() == other->GetOwningArena()) {
458    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
459     if (GetOwningArena() == other->GetOwningArena()) {
460   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
461       InternalSwap(other);
462     } else {
463       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
464     }
465   }
466   void UnsafeArenaSwap(ResultsBundle* other) {
467     if (other == this) return;
468     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
469     InternalSwap(other);
470   }
471 
472   // implements Message ----------------------------------------------
473 
474   ResultsBundle* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
475     return CreateMaybeMessage<ResultsBundle>(arena);
476   }
477   ResultsBundle* New() const {
478     return New(nullptr);
479   }
480   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
481   void CopyFrom(const ResultsBundle& from);
482   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
483   void MergeFrom( const ResultsBundle& from) {
484     ResultsBundle::MergeImpl(*this, from);
485   }
486   private:
487   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
488   public:
489   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
490   bool IsInitialized() const final;
491 
492   size_t ByteSizeLong() const final;
493   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
494   ::uint8_t* _InternalSerialize(
495       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
496   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
497 
498   private:
499   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
500   void SharedDtor();
501   void SetCachedSize(int size) const final;
502   void InternalSwap(ResultsBundle* other);
503 
504   private:
505   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
506   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
507     return "android.am.ResultsBundle";
508   }
509   protected:
510   explicit ResultsBundle(::PROTOBUF_NAMESPACE_ID::Arena* arena,
511                        bool is_message_owned = false);
512   public:
513 
514   static const ClassData _class_data_;
515   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
516 
517   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
518 
519   // nested types ----------------------------------------------------
520 
521   // accessors -------------------------------------------------------
522 
523   enum : int {
524     kEntriesFieldNumber = 1,
525   };
526   // repeated .android.am.ResultsBundleEntry entries = 1;
527   int entries_size() const;
528   private:
529   int _internal_entries_size() const;
530   public:
531   void clear_entries();
532   ::android::am::ResultsBundleEntry* mutable_entries(int index);
533   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::am::ResultsBundleEntry >*
534       mutable_entries();
535   private:
536   const ::android::am::ResultsBundleEntry& _internal_entries(int index) const;
537   ::android::am::ResultsBundleEntry* _internal_add_entries();
538   public:
539   const ::android::am::ResultsBundleEntry& entries(int index) const;
540   ::android::am::ResultsBundleEntry* add_entries();
541   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::am::ResultsBundleEntry >&
542       entries() const;
543 
544   // @@protoc_insertion_point(class_scope:android.am.ResultsBundle)
545  private:
546   class _Internal;
547 
548   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
549   typedef void InternalArenaConstructable_;
550   typedef void DestructorSkippable_;
551   struct Impl_ {
552     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::am::ResultsBundleEntry > entries_;
553     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
554   };
555   union { Impl_ _impl_; };
556   friend struct ::TableStruct_frameworks_2fbase_2fcmds_2fam_2fproto_2finstrumentation_5fdata_2eproto;
557 };
558 // -------------------------------------------------------------------
559 
560 class TestStatus final :
561     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.am.TestStatus) */ {
562  public:
TestStatus()563   inline TestStatus() : TestStatus(nullptr) {}
564   ~TestStatus() override;
565   explicit PROTOBUF_CONSTEXPR TestStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
566 
567   TestStatus(const TestStatus& from);
TestStatus(TestStatus && from)568   TestStatus(TestStatus&& from) noexcept
569     : TestStatus() {
570     *this = ::std::move(from);
571   }
572 
573   inline TestStatus& operator=(const TestStatus& from) {
574     if (this == &from) return *this;
575     CopyFrom(from);
576     return *this;
577   }
578   inline TestStatus& operator=(TestStatus&& from) noexcept {
579     if (this == &from) return *this;
580     if (GetOwningArena() == from.GetOwningArena()
581   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
582         && GetOwningArena() != nullptr
583   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
584     ) {
585       InternalSwap(&from);
586     } else {
587       CopyFrom(from);
588     }
589     return *this;
590   }
591 
unknown_fields()592   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
593     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
594   }
mutable_unknown_fields()595   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
596     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
597   }
598 
descriptor()599   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
600     return GetDescriptor();
601   }
GetDescriptor()602   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
603     return default_instance().GetMetadata().descriptor;
604   }
GetReflection()605   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
606     return default_instance().GetMetadata().reflection;
607   }
default_instance()608   static const TestStatus& default_instance() {
609     return *internal_default_instance();
610   }
internal_default_instance()611   static inline const TestStatus* internal_default_instance() {
612     return reinterpret_cast<const TestStatus*>(
613                &_TestStatus_default_instance_);
614   }
615   static constexpr int kIndexInFileMessages =
616     2;
617 
swap(TestStatus & a,TestStatus & b)618   friend void swap(TestStatus& a, TestStatus& b) {
619     a.Swap(&b);
620   }
Swap(TestStatus * other)621   inline void Swap(TestStatus* other) {
622     if (other == this) return;
623   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
624     if (GetOwningArena() != nullptr &&
625         GetOwningArena() == other->GetOwningArena()) {
626    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
627     if (GetOwningArena() == other->GetOwningArena()) {
628   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
629       InternalSwap(other);
630     } else {
631       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
632     }
633   }
634   void UnsafeArenaSwap(TestStatus* other) {
635     if (other == this) return;
636     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
637     InternalSwap(other);
638   }
639 
640   // implements Message ----------------------------------------------
641 
642   TestStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
643     return CreateMaybeMessage<TestStatus>(arena);
644   }
645   TestStatus* New() const {
646     return New(nullptr);
647   }
648   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
649   void CopyFrom(const TestStatus& from);
650   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
651   void MergeFrom( const TestStatus& from) {
652     TestStatus::MergeImpl(*this, from);
653   }
654   private:
655   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
656   public:
657   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
658   bool IsInitialized() const final;
659 
660   size_t ByteSizeLong() const final;
661   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
662   ::uint8_t* _InternalSerialize(
663       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
664   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
665 
666   private:
667   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
668   void SharedDtor();
669   void SetCachedSize(int size) const final;
670   void InternalSwap(TestStatus* other);
671 
672   private:
673   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
674   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
675     return "android.am.TestStatus";
676   }
677   protected:
678   explicit TestStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena,
679                        bool is_message_owned = false);
680   public:
681 
682   static const ClassData _class_data_;
683   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
684 
685   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
686 
687   // nested types ----------------------------------------------------
688 
689   // accessors -------------------------------------------------------
690 
691   enum : int {
692     kLogcatFieldNumber = 5,
693     kResultsFieldNumber = 4,
694     kResultCodeFieldNumber = 3,
695   };
696   // optional string logcat = 5;
697   bool has_logcat() const;
698   private:
699   bool _internal_has_logcat() const;
700   public:
701   void clear_logcat();
702   const std::string& logcat() const;
703   template <typename ArgT0 = const std::string&, typename... ArgT>
704   void set_logcat(ArgT0&& arg0, ArgT... args);
705   std::string* mutable_logcat();
706   PROTOBUF_NODISCARD std::string* release_logcat();
707   void set_allocated_logcat(std::string* logcat);
708   private:
709   const std::string& _internal_logcat() const;
710   inline PROTOBUF_ALWAYS_INLINE void _internal_set_logcat(const std::string& value);
711   std::string* _internal_mutable_logcat();
712   public:
713 
714   // optional .android.am.ResultsBundle results = 4;
715   bool has_results() const;
716   private:
717   bool _internal_has_results() const;
718   public:
719   void clear_results();
720   const ::android::am::ResultsBundle& results() const;
721   PROTOBUF_NODISCARD ::android::am::ResultsBundle* release_results();
722   ::android::am::ResultsBundle* mutable_results();
723   void set_allocated_results(::android::am::ResultsBundle* results);
724   private:
725   const ::android::am::ResultsBundle& _internal_results() const;
726   ::android::am::ResultsBundle* _internal_mutable_results();
727   public:
728   void unsafe_arena_set_allocated_results(
729       ::android::am::ResultsBundle* results);
730   ::android::am::ResultsBundle* unsafe_arena_release_results();
731 
732   // optional sint32 result_code = 3;
733   bool has_result_code() const;
734   private:
735   bool _internal_has_result_code() const;
736   public:
737   void clear_result_code();
738   ::int32_t result_code() const;
739   void set_result_code(::int32_t value);
740   private:
741   ::int32_t _internal_result_code() const;
742   void _internal_set_result_code(::int32_t value);
743   public:
744 
745   // @@protoc_insertion_point(class_scope:android.am.TestStatus)
746  private:
747   class _Internal;
748 
749   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
750   typedef void InternalArenaConstructable_;
751   typedef void DestructorSkippable_;
752   struct Impl_ {
753     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
754     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
755     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr logcat_;
756     ::android::am::ResultsBundle* results_;
757     ::int32_t result_code_;
758   };
759   union { Impl_ _impl_; };
760   friend struct ::TableStruct_frameworks_2fbase_2fcmds_2fam_2fproto_2finstrumentation_5fdata_2eproto;
761 };
762 // -------------------------------------------------------------------
763 
764 class SessionStatus final :
765     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.am.SessionStatus) */ {
766  public:
SessionStatus()767   inline SessionStatus() : SessionStatus(nullptr) {}
768   ~SessionStatus() override;
769   explicit PROTOBUF_CONSTEXPR SessionStatus(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
770 
771   SessionStatus(const SessionStatus& from);
SessionStatus(SessionStatus && from)772   SessionStatus(SessionStatus&& from) noexcept
773     : SessionStatus() {
774     *this = ::std::move(from);
775   }
776 
777   inline SessionStatus& operator=(const SessionStatus& from) {
778     if (this == &from) return *this;
779     CopyFrom(from);
780     return *this;
781   }
782   inline SessionStatus& operator=(SessionStatus&& from) noexcept {
783     if (this == &from) return *this;
784     if (GetOwningArena() == from.GetOwningArena()
785   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
786         && GetOwningArena() != nullptr
787   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
788     ) {
789       InternalSwap(&from);
790     } else {
791       CopyFrom(from);
792     }
793     return *this;
794   }
795 
unknown_fields()796   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
797     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
798   }
mutable_unknown_fields()799   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
800     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
801   }
802 
descriptor()803   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
804     return GetDescriptor();
805   }
GetDescriptor()806   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
807     return default_instance().GetMetadata().descriptor;
808   }
GetReflection()809   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
810     return default_instance().GetMetadata().reflection;
811   }
default_instance()812   static const SessionStatus& default_instance() {
813     return *internal_default_instance();
814   }
internal_default_instance()815   static inline const SessionStatus* internal_default_instance() {
816     return reinterpret_cast<const SessionStatus*>(
817                &_SessionStatus_default_instance_);
818   }
819   static constexpr int kIndexInFileMessages =
820     3;
821 
swap(SessionStatus & a,SessionStatus & b)822   friend void swap(SessionStatus& a, SessionStatus& b) {
823     a.Swap(&b);
824   }
Swap(SessionStatus * other)825   inline void Swap(SessionStatus* other) {
826     if (other == this) return;
827   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
828     if (GetOwningArena() != nullptr &&
829         GetOwningArena() == other->GetOwningArena()) {
830    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
831     if (GetOwningArena() == other->GetOwningArena()) {
832   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
833       InternalSwap(other);
834     } else {
835       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
836     }
837   }
838   void UnsafeArenaSwap(SessionStatus* other) {
839     if (other == this) return;
840     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
841     InternalSwap(other);
842   }
843 
844   // implements Message ----------------------------------------------
845 
846   SessionStatus* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
847     return CreateMaybeMessage<SessionStatus>(arena);
848   }
849   SessionStatus* New() const {
850     return New(nullptr);
851   }
852   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
853   void CopyFrom(const SessionStatus& from);
854   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
855   void MergeFrom( const SessionStatus& from) {
856     SessionStatus::MergeImpl(*this, from);
857   }
858   private:
859   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
860   public:
861   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
862   bool IsInitialized() const final;
863 
864   size_t ByteSizeLong() const final;
865   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
866   ::uint8_t* _InternalSerialize(
867       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
868   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
869 
870   private:
871   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
872   void SharedDtor();
873   void SetCachedSize(int size) const final;
874   void InternalSwap(SessionStatus* other);
875 
876   private:
877   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
878   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
879     return "android.am.SessionStatus";
880   }
881   protected:
882   explicit SessionStatus(::PROTOBUF_NAMESPACE_ID::Arena* arena,
883                        bool is_message_owned = false);
884   public:
885 
886   static const ClassData _class_data_;
887   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
888 
889   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
890 
891   // nested types ----------------------------------------------------
892 
893   // accessors -------------------------------------------------------
894 
895   enum : int {
896     kErrorTextFieldNumber = 2,
897     kResultsFieldNumber = 4,
898     kStatusCodeFieldNumber = 1,
899     kResultCodeFieldNumber = 3,
900   };
901   // optional string error_text = 2;
902   bool has_error_text() const;
903   private:
904   bool _internal_has_error_text() const;
905   public:
906   void clear_error_text();
907   const std::string& error_text() const;
908   template <typename ArgT0 = const std::string&, typename... ArgT>
909   void set_error_text(ArgT0&& arg0, ArgT... args);
910   std::string* mutable_error_text();
911   PROTOBUF_NODISCARD std::string* release_error_text();
912   void set_allocated_error_text(std::string* error_text);
913   private:
914   const std::string& _internal_error_text() const;
915   inline PROTOBUF_ALWAYS_INLINE void _internal_set_error_text(const std::string& value);
916   std::string* _internal_mutable_error_text();
917   public:
918 
919   // optional .android.am.ResultsBundle results = 4;
920   bool has_results() const;
921   private:
922   bool _internal_has_results() const;
923   public:
924   void clear_results();
925   const ::android::am::ResultsBundle& results() const;
926   PROTOBUF_NODISCARD ::android::am::ResultsBundle* release_results();
927   ::android::am::ResultsBundle* mutable_results();
928   void set_allocated_results(::android::am::ResultsBundle* results);
929   private:
930   const ::android::am::ResultsBundle& _internal_results() const;
931   ::android::am::ResultsBundle* _internal_mutable_results();
932   public:
933   void unsafe_arena_set_allocated_results(
934       ::android::am::ResultsBundle* results);
935   ::android::am::ResultsBundle* unsafe_arena_release_results();
936 
937   // optional .android.am.SessionStatusCode status_code = 1;
938   bool has_status_code() const;
939   private:
940   bool _internal_has_status_code() const;
941   public:
942   void clear_status_code();
943   ::android::am::SessionStatusCode status_code() const;
944   void set_status_code(::android::am::SessionStatusCode value);
945   private:
946   ::android::am::SessionStatusCode _internal_status_code() const;
947   void _internal_set_status_code(::android::am::SessionStatusCode value);
948   public:
949 
950   // optional sint32 result_code = 3;
951   bool has_result_code() const;
952   private:
953   bool _internal_has_result_code() const;
954   public:
955   void clear_result_code();
956   ::int32_t result_code() const;
957   void set_result_code(::int32_t value);
958   private:
959   ::int32_t _internal_result_code() const;
960   void _internal_set_result_code(::int32_t value);
961   public:
962 
963   // @@protoc_insertion_point(class_scope:android.am.SessionStatus)
964  private:
965   class _Internal;
966 
967   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
968   typedef void InternalArenaConstructable_;
969   typedef void DestructorSkippable_;
970   struct Impl_ {
971     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
972     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
973     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_text_;
974     ::android::am::ResultsBundle* results_;
975     int status_code_;
976     ::int32_t result_code_;
977   };
978   union { Impl_ _impl_; };
979   friend struct ::TableStruct_frameworks_2fbase_2fcmds_2fam_2fproto_2finstrumentation_5fdata_2eproto;
980 };
981 // -------------------------------------------------------------------
982 
983 class Session final :
984     public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.am.Session) */ {
985  public:
Session()986   inline Session() : Session(nullptr) {}
987   ~Session() override;
988   explicit PROTOBUF_CONSTEXPR Session(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
989 
990   Session(const Session& from);
Session(Session && from)991   Session(Session&& from) noexcept
992     : Session() {
993     *this = ::std::move(from);
994   }
995 
996   inline Session& operator=(const Session& from) {
997     if (this == &from) return *this;
998     CopyFrom(from);
999     return *this;
1000   }
1001   inline Session& operator=(Session&& from) noexcept {
1002     if (this == &from) return *this;
1003     if (GetOwningArena() == from.GetOwningArena()
1004   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1005         && GetOwningArena() != nullptr
1006   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1007     ) {
1008       InternalSwap(&from);
1009     } else {
1010       CopyFrom(from);
1011     }
1012     return *this;
1013   }
1014 
unknown_fields()1015   inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1016     return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1017   }
mutable_unknown_fields()1018   inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1019     return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1020   }
1021 
descriptor()1022   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1023     return GetDescriptor();
1024   }
GetDescriptor()1025   static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1026     return default_instance().GetMetadata().descriptor;
1027   }
GetReflection()1028   static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1029     return default_instance().GetMetadata().reflection;
1030   }
default_instance()1031   static const Session& default_instance() {
1032     return *internal_default_instance();
1033   }
internal_default_instance()1034   static inline const Session* internal_default_instance() {
1035     return reinterpret_cast<const Session*>(
1036                &_Session_default_instance_);
1037   }
1038   static constexpr int kIndexInFileMessages =
1039     4;
1040 
swap(Session & a,Session & b)1041   friend void swap(Session& a, Session& b) {
1042     a.Swap(&b);
1043   }
Swap(Session * other)1044   inline void Swap(Session* other) {
1045     if (other == this) return;
1046   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1047     if (GetOwningArena() != nullptr &&
1048         GetOwningArena() == other->GetOwningArena()) {
1049    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1050     if (GetOwningArena() == other->GetOwningArena()) {
1051   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1052       InternalSwap(other);
1053     } else {
1054       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1055     }
1056   }
1057   void UnsafeArenaSwap(Session* other) {
1058     if (other == this) return;
1059     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1060     InternalSwap(other);
1061   }
1062 
1063   // implements Message ----------------------------------------------
1064 
1065   Session* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1066     return CreateMaybeMessage<Session>(arena);
1067   }
1068   Session* New() const {
1069     return New(nullptr);
1070   }
1071   using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1072   void CopyFrom(const Session& from);
1073   using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1074   void MergeFrom( const Session& from) {
1075     Session::MergeImpl(*this, from);
1076   }
1077   private:
1078   static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1079   public:
1080   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1081   bool IsInitialized() const final;
1082 
1083   size_t ByteSizeLong() const final;
1084   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1085   ::uint8_t* _InternalSerialize(
1086       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1087   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1088 
1089   private:
1090   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1091   void SharedDtor();
1092   void SetCachedSize(int size) const final;
1093   void InternalSwap(Session* other);
1094 
1095   private:
1096   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1097   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1098     return "android.am.Session";
1099   }
1100   protected:
1101   explicit Session(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1102                        bool is_message_owned = false);
1103   public:
1104 
1105   static const ClassData _class_data_;
1106   const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1107 
1108   ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1109 
1110   // nested types ----------------------------------------------------
1111 
1112   // accessors -------------------------------------------------------
1113 
1114   enum : int {
1115     kTestStatusFieldNumber = 1,
1116     kSessionStatusFieldNumber = 2,
1117   };
1118   // repeated .android.am.TestStatus test_status = 1;
1119   int test_status_size() const;
1120   private:
1121   int _internal_test_status_size() const;
1122   public:
1123   void clear_test_status();
1124   ::android::am::TestStatus* mutable_test_status(int index);
1125   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::am::TestStatus >*
1126       mutable_test_status();
1127   private:
1128   const ::android::am::TestStatus& _internal_test_status(int index) const;
1129   ::android::am::TestStatus* _internal_add_test_status();
1130   public:
1131   const ::android::am::TestStatus& test_status(int index) const;
1132   ::android::am::TestStatus* add_test_status();
1133   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::am::TestStatus >&
1134       test_status() const;
1135 
1136   // optional .android.am.SessionStatus session_status = 2;
1137   bool has_session_status() const;
1138   private:
1139   bool _internal_has_session_status() const;
1140   public:
1141   void clear_session_status();
1142   const ::android::am::SessionStatus& session_status() const;
1143   PROTOBUF_NODISCARD ::android::am::SessionStatus* release_session_status();
1144   ::android::am::SessionStatus* mutable_session_status();
1145   void set_allocated_session_status(::android::am::SessionStatus* session_status);
1146   private:
1147   const ::android::am::SessionStatus& _internal_session_status() const;
1148   ::android::am::SessionStatus* _internal_mutable_session_status();
1149   public:
1150   void unsafe_arena_set_allocated_session_status(
1151       ::android::am::SessionStatus* session_status);
1152   ::android::am::SessionStatus* unsafe_arena_release_session_status();
1153 
1154   // @@protoc_insertion_point(class_scope:android.am.Session)
1155  private:
1156   class _Internal;
1157 
1158   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1159   typedef void InternalArenaConstructable_;
1160   typedef void DestructorSkippable_;
1161   struct Impl_ {
1162     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1163     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1164     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::am::TestStatus > test_status_;
1165     ::android::am::SessionStatus* session_status_;
1166   };
1167   union { Impl_ _impl_; };
1168   friend struct ::TableStruct_frameworks_2fbase_2fcmds_2fam_2fproto_2finstrumentation_5fdata_2eproto;
1169 };
1170 // ===================================================================
1171 
1172 
1173 // ===================================================================
1174 
1175 #ifdef __GNUC__
1176   #pragma GCC diagnostic push
1177   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1178 #endif  // __GNUC__
1179 // ResultsBundleEntry
1180 
1181 // optional string key = 1;
_internal_has_key()1182 inline bool ResultsBundleEntry::_internal_has_key() const {
1183   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1184   return value;
1185 }
has_key()1186 inline bool ResultsBundleEntry::has_key() const {
1187   return _internal_has_key();
1188 }
clear_key()1189 inline void ResultsBundleEntry::clear_key() {
1190   _impl_.key_.ClearToEmpty();
1191   _impl_._has_bits_[0] &= ~0x00000001u;
1192 }
key()1193 inline const std::string& ResultsBundleEntry::key() const {
1194   // @@protoc_insertion_point(field_get:android.am.ResultsBundleEntry.key)
1195   return _internal_key();
1196 }
1197 template <typename ArgT0, typename... ArgT>
1198 inline PROTOBUF_ALWAYS_INLINE
set_key(ArgT0 && arg0,ArgT...args)1199 void ResultsBundleEntry::set_key(ArgT0&& arg0, ArgT... args) {
1200  _impl_._has_bits_[0] |= 0x00000001u;
1201  _impl_.key_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1202   // @@protoc_insertion_point(field_set:android.am.ResultsBundleEntry.key)
1203 }
mutable_key()1204 inline std::string* ResultsBundleEntry::mutable_key() {
1205   std::string* _s = _internal_mutable_key();
1206   // @@protoc_insertion_point(field_mutable:android.am.ResultsBundleEntry.key)
1207   return _s;
1208 }
_internal_key()1209 inline const std::string& ResultsBundleEntry::_internal_key() const {
1210   return _impl_.key_.Get();
1211 }
_internal_set_key(const std::string & value)1212 inline void ResultsBundleEntry::_internal_set_key(const std::string& value) {
1213   _impl_._has_bits_[0] |= 0x00000001u;
1214   _impl_.key_.Set(value, GetArenaForAllocation());
1215 }
_internal_mutable_key()1216 inline std::string* ResultsBundleEntry::_internal_mutable_key() {
1217   _impl_._has_bits_[0] |= 0x00000001u;
1218   return _impl_.key_.Mutable(GetArenaForAllocation());
1219 }
release_key()1220 inline std::string* ResultsBundleEntry::release_key() {
1221   // @@protoc_insertion_point(field_release:android.am.ResultsBundleEntry.key)
1222   if (!_internal_has_key()) {
1223     return nullptr;
1224   }
1225   _impl_._has_bits_[0] &= ~0x00000001u;
1226   auto* p = _impl_.key_.Release();
1227 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1228   if (_impl_.key_.IsDefault()) {
1229     _impl_.key_.Set("", GetArenaForAllocation());
1230   }
1231 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1232   return p;
1233 }
set_allocated_key(std::string * key)1234 inline void ResultsBundleEntry::set_allocated_key(std::string* key) {
1235   if (key != nullptr) {
1236     _impl_._has_bits_[0] |= 0x00000001u;
1237   } else {
1238     _impl_._has_bits_[0] &= ~0x00000001u;
1239   }
1240   _impl_.key_.SetAllocated(key, GetArenaForAllocation());
1241 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1242   if (_impl_.key_.IsDefault()) {
1243     _impl_.key_.Set("", GetArenaForAllocation());
1244   }
1245 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1246   // @@protoc_insertion_point(field_set_allocated:android.am.ResultsBundleEntry.key)
1247 }
1248 
1249 // optional string value_string = 2;
_internal_has_value_string()1250 inline bool ResultsBundleEntry::_internal_has_value_string() const {
1251   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1252   return value;
1253 }
has_value_string()1254 inline bool ResultsBundleEntry::has_value_string() const {
1255   return _internal_has_value_string();
1256 }
clear_value_string()1257 inline void ResultsBundleEntry::clear_value_string() {
1258   _impl_.value_string_.ClearToEmpty();
1259   _impl_._has_bits_[0] &= ~0x00000002u;
1260 }
value_string()1261 inline const std::string& ResultsBundleEntry::value_string() const {
1262   // @@protoc_insertion_point(field_get:android.am.ResultsBundleEntry.value_string)
1263   return _internal_value_string();
1264 }
1265 template <typename ArgT0, typename... ArgT>
1266 inline PROTOBUF_ALWAYS_INLINE
set_value_string(ArgT0 && arg0,ArgT...args)1267 void ResultsBundleEntry::set_value_string(ArgT0&& arg0, ArgT... args) {
1268  _impl_._has_bits_[0] |= 0x00000002u;
1269  _impl_.value_string_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1270   // @@protoc_insertion_point(field_set:android.am.ResultsBundleEntry.value_string)
1271 }
mutable_value_string()1272 inline std::string* ResultsBundleEntry::mutable_value_string() {
1273   std::string* _s = _internal_mutable_value_string();
1274   // @@protoc_insertion_point(field_mutable:android.am.ResultsBundleEntry.value_string)
1275   return _s;
1276 }
_internal_value_string()1277 inline const std::string& ResultsBundleEntry::_internal_value_string() const {
1278   return _impl_.value_string_.Get();
1279 }
_internal_set_value_string(const std::string & value)1280 inline void ResultsBundleEntry::_internal_set_value_string(const std::string& value) {
1281   _impl_._has_bits_[0] |= 0x00000002u;
1282   _impl_.value_string_.Set(value, GetArenaForAllocation());
1283 }
_internal_mutable_value_string()1284 inline std::string* ResultsBundleEntry::_internal_mutable_value_string() {
1285   _impl_._has_bits_[0] |= 0x00000002u;
1286   return _impl_.value_string_.Mutable(GetArenaForAllocation());
1287 }
release_value_string()1288 inline std::string* ResultsBundleEntry::release_value_string() {
1289   // @@protoc_insertion_point(field_release:android.am.ResultsBundleEntry.value_string)
1290   if (!_internal_has_value_string()) {
1291     return nullptr;
1292   }
1293   _impl_._has_bits_[0] &= ~0x00000002u;
1294   auto* p = _impl_.value_string_.Release();
1295 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1296   if (_impl_.value_string_.IsDefault()) {
1297     _impl_.value_string_.Set("", GetArenaForAllocation());
1298   }
1299 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1300   return p;
1301 }
set_allocated_value_string(std::string * value_string)1302 inline void ResultsBundleEntry::set_allocated_value_string(std::string* value_string) {
1303   if (value_string != nullptr) {
1304     _impl_._has_bits_[0] |= 0x00000002u;
1305   } else {
1306     _impl_._has_bits_[0] &= ~0x00000002u;
1307   }
1308   _impl_.value_string_.SetAllocated(value_string, GetArenaForAllocation());
1309 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1310   if (_impl_.value_string_.IsDefault()) {
1311     _impl_.value_string_.Set("", GetArenaForAllocation());
1312   }
1313 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1314   // @@protoc_insertion_point(field_set_allocated:android.am.ResultsBundleEntry.value_string)
1315 }
1316 
1317 // optional sint32 value_int = 3;
_internal_has_value_int()1318 inline bool ResultsBundleEntry::_internal_has_value_int() const {
1319   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1320   return value;
1321 }
has_value_int()1322 inline bool ResultsBundleEntry::has_value_int() const {
1323   return _internal_has_value_int();
1324 }
clear_value_int()1325 inline void ResultsBundleEntry::clear_value_int() {
1326   _impl_.value_int_ = 0;
1327   _impl_._has_bits_[0] &= ~0x00000010u;
1328 }
_internal_value_int()1329 inline ::int32_t ResultsBundleEntry::_internal_value_int() const {
1330   return _impl_.value_int_;
1331 }
value_int()1332 inline ::int32_t ResultsBundleEntry::value_int() const {
1333   // @@protoc_insertion_point(field_get:android.am.ResultsBundleEntry.value_int)
1334   return _internal_value_int();
1335 }
_internal_set_value_int(::int32_t value)1336 inline void ResultsBundleEntry::_internal_set_value_int(::int32_t value) {
1337   _impl_._has_bits_[0] |= 0x00000010u;
1338   _impl_.value_int_ = value;
1339 }
set_value_int(::int32_t value)1340 inline void ResultsBundleEntry::set_value_int(::int32_t value) {
1341   _internal_set_value_int(value);
1342   // @@protoc_insertion_point(field_set:android.am.ResultsBundleEntry.value_int)
1343 }
1344 
1345 // optional float value_float = 4;
_internal_has_value_float()1346 inline bool ResultsBundleEntry::_internal_has_value_float() const {
1347   bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1348   return value;
1349 }
has_value_float()1350 inline bool ResultsBundleEntry::has_value_float() const {
1351   return _internal_has_value_float();
1352 }
clear_value_float()1353 inline void ResultsBundleEntry::clear_value_float() {
1354   _impl_.value_float_ = 0;
1355   _impl_._has_bits_[0] &= ~0x00000020u;
1356 }
_internal_value_float()1357 inline float ResultsBundleEntry::_internal_value_float() const {
1358   return _impl_.value_float_;
1359 }
value_float()1360 inline float ResultsBundleEntry::value_float() const {
1361   // @@protoc_insertion_point(field_get:android.am.ResultsBundleEntry.value_float)
1362   return _internal_value_float();
1363 }
_internal_set_value_float(float value)1364 inline void ResultsBundleEntry::_internal_set_value_float(float value) {
1365   _impl_._has_bits_[0] |= 0x00000020u;
1366   _impl_.value_float_ = value;
1367 }
set_value_float(float value)1368 inline void ResultsBundleEntry::set_value_float(float value) {
1369   _internal_set_value_float(value);
1370   // @@protoc_insertion_point(field_set:android.am.ResultsBundleEntry.value_float)
1371 }
1372 
1373 // optional double value_double = 5;
_internal_has_value_double()1374 inline bool ResultsBundleEntry::_internal_has_value_double() const {
1375   bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1376   return value;
1377 }
has_value_double()1378 inline bool ResultsBundleEntry::has_value_double() const {
1379   return _internal_has_value_double();
1380 }
clear_value_double()1381 inline void ResultsBundleEntry::clear_value_double() {
1382   _impl_.value_double_ = 0;
1383   _impl_._has_bits_[0] &= ~0x00000040u;
1384 }
_internal_value_double()1385 inline double ResultsBundleEntry::_internal_value_double() const {
1386   return _impl_.value_double_;
1387 }
value_double()1388 inline double ResultsBundleEntry::value_double() const {
1389   // @@protoc_insertion_point(field_get:android.am.ResultsBundleEntry.value_double)
1390   return _internal_value_double();
1391 }
_internal_set_value_double(double value)1392 inline void ResultsBundleEntry::_internal_set_value_double(double value) {
1393   _impl_._has_bits_[0] |= 0x00000040u;
1394   _impl_.value_double_ = value;
1395 }
set_value_double(double value)1396 inline void ResultsBundleEntry::set_value_double(double value) {
1397   _internal_set_value_double(value);
1398   // @@protoc_insertion_point(field_set:android.am.ResultsBundleEntry.value_double)
1399 }
1400 
1401 // optional sint64 value_long = 6;
_internal_has_value_long()1402 inline bool ResultsBundleEntry::_internal_has_value_long() const {
1403   bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1404   return value;
1405 }
has_value_long()1406 inline bool ResultsBundleEntry::has_value_long() const {
1407   return _internal_has_value_long();
1408 }
clear_value_long()1409 inline void ResultsBundleEntry::clear_value_long() {
1410   _impl_.value_long_ = ::int64_t{0};
1411   _impl_._has_bits_[0] &= ~0x00000080u;
1412 }
_internal_value_long()1413 inline ::int64_t ResultsBundleEntry::_internal_value_long() const {
1414   return _impl_.value_long_;
1415 }
value_long()1416 inline ::int64_t ResultsBundleEntry::value_long() const {
1417   // @@protoc_insertion_point(field_get:android.am.ResultsBundleEntry.value_long)
1418   return _internal_value_long();
1419 }
_internal_set_value_long(::int64_t value)1420 inline void ResultsBundleEntry::_internal_set_value_long(::int64_t value) {
1421   _impl_._has_bits_[0] |= 0x00000080u;
1422   _impl_.value_long_ = value;
1423 }
set_value_long(::int64_t value)1424 inline void ResultsBundleEntry::set_value_long(::int64_t value) {
1425   _internal_set_value_long(value);
1426   // @@protoc_insertion_point(field_set:android.am.ResultsBundleEntry.value_long)
1427 }
1428 
1429 // optional .android.am.ResultsBundle value_bundle = 7;
_internal_has_value_bundle()1430 inline bool ResultsBundleEntry::_internal_has_value_bundle() const {
1431   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1432   PROTOBUF_ASSUME(!value || _impl_.value_bundle_ != nullptr);
1433   return value;
1434 }
has_value_bundle()1435 inline bool ResultsBundleEntry::has_value_bundle() const {
1436   return _internal_has_value_bundle();
1437 }
clear_value_bundle()1438 inline void ResultsBundleEntry::clear_value_bundle() {
1439   if (_impl_.value_bundle_ != nullptr) _impl_.value_bundle_->Clear();
1440   _impl_._has_bits_[0] &= ~0x00000008u;
1441 }
_internal_value_bundle()1442 inline const ::android::am::ResultsBundle& ResultsBundleEntry::_internal_value_bundle() const {
1443   const ::android::am::ResultsBundle* p = _impl_.value_bundle_;
1444   return p != nullptr ? *p : reinterpret_cast<const ::android::am::ResultsBundle&>(
1445       ::android::am::_ResultsBundle_default_instance_);
1446 }
value_bundle()1447 inline const ::android::am::ResultsBundle& ResultsBundleEntry::value_bundle() const {
1448   // @@protoc_insertion_point(field_get:android.am.ResultsBundleEntry.value_bundle)
1449   return _internal_value_bundle();
1450 }
unsafe_arena_set_allocated_value_bundle(::android::am::ResultsBundle * value_bundle)1451 inline void ResultsBundleEntry::unsafe_arena_set_allocated_value_bundle(
1452     ::android::am::ResultsBundle* value_bundle) {
1453   if (GetArenaForAllocation() == nullptr) {
1454     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.value_bundle_);
1455   }
1456   _impl_.value_bundle_ = value_bundle;
1457   if (value_bundle) {
1458     _impl_._has_bits_[0] |= 0x00000008u;
1459   } else {
1460     _impl_._has_bits_[0] &= ~0x00000008u;
1461   }
1462   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:android.am.ResultsBundleEntry.value_bundle)
1463 }
release_value_bundle()1464 inline ::android::am::ResultsBundle* ResultsBundleEntry::release_value_bundle() {
1465   _impl_._has_bits_[0] &= ~0x00000008u;
1466   ::android::am::ResultsBundle* temp = _impl_.value_bundle_;
1467   _impl_.value_bundle_ = nullptr;
1468 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1469   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1470   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1471   if (GetArenaForAllocation() == nullptr) { delete old; }
1472 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
1473   if (GetArenaForAllocation() != nullptr) {
1474     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1475   }
1476 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
1477   return temp;
1478 }
unsafe_arena_release_value_bundle()1479 inline ::android::am::ResultsBundle* ResultsBundleEntry::unsafe_arena_release_value_bundle() {
1480   // @@protoc_insertion_point(field_release:android.am.ResultsBundleEntry.value_bundle)
1481   _impl_._has_bits_[0] &= ~0x00000008u;
1482   ::android::am::ResultsBundle* temp = _impl_.value_bundle_;
1483   _impl_.value_bundle_ = nullptr;
1484   return temp;
1485 }
_internal_mutable_value_bundle()1486 inline ::android::am::ResultsBundle* ResultsBundleEntry::_internal_mutable_value_bundle() {
1487   _impl_._has_bits_[0] |= 0x00000008u;
1488   if (_impl_.value_bundle_ == nullptr) {
1489     auto* p = CreateMaybeMessage<::android::am::ResultsBundle>(GetArenaForAllocation());
1490     _impl_.value_bundle_ = p;
1491   }
1492   return _impl_.value_bundle_;
1493 }
mutable_value_bundle()1494 inline ::android::am::ResultsBundle* ResultsBundleEntry::mutable_value_bundle() {
1495   ::android::am::ResultsBundle* _msg = _internal_mutable_value_bundle();
1496   // @@protoc_insertion_point(field_mutable:android.am.ResultsBundleEntry.value_bundle)
1497   return _msg;
1498 }
set_allocated_value_bundle(::android::am::ResultsBundle * value_bundle)1499 inline void ResultsBundleEntry::set_allocated_value_bundle(::android::am::ResultsBundle* value_bundle) {
1500   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1501   if (message_arena == nullptr) {
1502     delete _impl_.value_bundle_;
1503   }
1504   if (value_bundle) {
1505     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1506         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(value_bundle);
1507     if (message_arena != submessage_arena) {
1508       value_bundle = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1509           message_arena, value_bundle, submessage_arena);
1510     }
1511     _impl_._has_bits_[0] |= 0x00000008u;
1512   } else {
1513     _impl_._has_bits_[0] &= ~0x00000008u;
1514   }
1515   _impl_.value_bundle_ = value_bundle;
1516   // @@protoc_insertion_point(field_set_allocated:android.am.ResultsBundleEntry.value_bundle)
1517 }
1518 
1519 // optional bytes value_bytes = 8;
_internal_has_value_bytes()1520 inline bool ResultsBundleEntry::_internal_has_value_bytes() const {
1521   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1522   return value;
1523 }
has_value_bytes()1524 inline bool ResultsBundleEntry::has_value_bytes() const {
1525   return _internal_has_value_bytes();
1526 }
clear_value_bytes()1527 inline void ResultsBundleEntry::clear_value_bytes() {
1528   _impl_.value_bytes_.ClearToEmpty();
1529   _impl_._has_bits_[0] &= ~0x00000004u;
1530 }
value_bytes()1531 inline const std::string& ResultsBundleEntry::value_bytes() const {
1532   // @@protoc_insertion_point(field_get:android.am.ResultsBundleEntry.value_bytes)
1533   return _internal_value_bytes();
1534 }
1535 template <typename ArgT0, typename... ArgT>
1536 inline PROTOBUF_ALWAYS_INLINE
set_value_bytes(ArgT0 && arg0,ArgT...args)1537 void ResultsBundleEntry::set_value_bytes(ArgT0&& arg0, ArgT... args) {
1538  _impl_._has_bits_[0] |= 0x00000004u;
1539  _impl_.value_bytes_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1540   // @@protoc_insertion_point(field_set:android.am.ResultsBundleEntry.value_bytes)
1541 }
mutable_value_bytes()1542 inline std::string* ResultsBundleEntry::mutable_value_bytes() {
1543   std::string* _s = _internal_mutable_value_bytes();
1544   // @@protoc_insertion_point(field_mutable:android.am.ResultsBundleEntry.value_bytes)
1545   return _s;
1546 }
_internal_value_bytes()1547 inline const std::string& ResultsBundleEntry::_internal_value_bytes() const {
1548   return _impl_.value_bytes_.Get();
1549 }
_internal_set_value_bytes(const std::string & value)1550 inline void ResultsBundleEntry::_internal_set_value_bytes(const std::string& value) {
1551   _impl_._has_bits_[0] |= 0x00000004u;
1552   _impl_.value_bytes_.Set(value, GetArenaForAllocation());
1553 }
_internal_mutable_value_bytes()1554 inline std::string* ResultsBundleEntry::_internal_mutable_value_bytes() {
1555   _impl_._has_bits_[0] |= 0x00000004u;
1556   return _impl_.value_bytes_.Mutable(GetArenaForAllocation());
1557 }
release_value_bytes()1558 inline std::string* ResultsBundleEntry::release_value_bytes() {
1559   // @@protoc_insertion_point(field_release:android.am.ResultsBundleEntry.value_bytes)
1560   if (!_internal_has_value_bytes()) {
1561     return nullptr;
1562   }
1563   _impl_._has_bits_[0] &= ~0x00000004u;
1564   auto* p = _impl_.value_bytes_.Release();
1565 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1566   if (_impl_.value_bytes_.IsDefault()) {
1567     _impl_.value_bytes_.Set("", GetArenaForAllocation());
1568   }
1569 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1570   return p;
1571 }
set_allocated_value_bytes(std::string * value_bytes)1572 inline void ResultsBundleEntry::set_allocated_value_bytes(std::string* value_bytes) {
1573   if (value_bytes != nullptr) {
1574     _impl_._has_bits_[0] |= 0x00000004u;
1575   } else {
1576     _impl_._has_bits_[0] &= ~0x00000004u;
1577   }
1578   _impl_.value_bytes_.SetAllocated(value_bytes, GetArenaForAllocation());
1579 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1580   if (_impl_.value_bytes_.IsDefault()) {
1581     _impl_.value_bytes_.Set("", GetArenaForAllocation());
1582   }
1583 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1584   // @@protoc_insertion_point(field_set_allocated:android.am.ResultsBundleEntry.value_bytes)
1585 }
1586 
1587 // -------------------------------------------------------------------
1588 
1589 // ResultsBundle
1590 
1591 // repeated .android.am.ResultsBundleEntry entries = 1;
_internal_entries_size()1592 inline int ResultsBundle::_internal_entries_size() const {
1593   return _impl_.entries_.size();
1594 }
entries_size()1595 inline int ResultsBundle::entries_size() const {
1596   return _internal_entries_size();
1597 }
clear_entries()1598 inline void ResultsBundle::clear_entries() {
1599   _impl_.entries_.Clear();
1600 }
mutable_entries(int index)1601 inline ::android::am::ResultsBundleEntry* ResultsBundle::mutable_entries(int index) {
1602   // @@protoc_insertion_point(field_mutable:android.am.ResultsBundle.entries)
1603   return _impl_.entries_.Mutable(index);
1604 }
1605 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::am::ResultsBundleEntry >*
mutable_entries()1606 ResultsBundle::mutable_entries() {
1607   // @@protoc_insertion_point(field_mutable_list:android.am.ResultsBundle.entries)
1608   return &_impl_.entries_;
1609 }
_internal_entries(int index)1610 inline const ::android::am::ResultsBundleEntry& ResultsBundle::_internal_entries(int index) const {
1611   return _impl_.entries_.Get(index);
1612 }
entries(int index)1613 inline const ::android::am::ResultsBundleEntry& ResultsBundle::entries(int index) const {
1614   // @@protoc_insertion_point(field_get:android.am.ResultsBundle.entries)
1615   return _internal_entries(index);
1616 }
_internal_add_entries()1617 inline ::android::am::ResultsBundleEntry* ResultsBundle::_internal_add_entries() {
1618   return _impl_.entries_.Add();
1619 }
add_entries()1620 inline ::android::am::ResultsBundleEntry* ResultsBundle::add_entries() {
1621   ::android::am::ResultsBundleEntry* _add = _internal_add_entries();
1622   // @@protoc_insertion_point(field_add:android.am.ResultsBundle.entries)
1623   return _add;
1624 }
1625 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::am::ResultsBundleEntry >&
entries()1626 ResultsBundle::entries() const {
1627   // @@protoc_insertion_point(field_list:android.am.ResultsBundle.entries)
1628   return _impl_.entries_;
1629 }
1630 
1631 // -------------------------------------------------------------------
1632 
1633 // TestStatus
1634 
1635 // optional sint32 result_code = 3;
_internal_has_result_code()1636 inline bool TestStatus::_internal_has_result_code() const {
1637   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1638   return value;
1639 }
has_result_code()1640 inline bool TestStatus::has_result_code() const {
1641   return _internal_has_result_code();
1642 }
clear_result_code()1643 inline void TestStatus::clear_result_code() {
1644   _impl_.result_code_ = 0;
1645   _impl_._has_bits_[0] &= ~0x00000004u;
1646 }
_internal_result_code()1647 inline ::int32_t TestStatus::_internal_result_code() const {
1648   return _impl_.result_code_;
1649 }
result_code()1650 inline ::int32_t TestStatus::result_code() const {
1651   // @@protoc_insertion_point(field_get:android.am.TestStatus.result_code)
1652   return _internal_result_code();
1653 }
_internal_set_result_code(::int32_t value)1654 inline void TestStatus::_internal_set_result_code(::int32_t value) {
1655   _impl_._has_bits_[0] |= 0x00000004u;
1656   _impl_.result_code_ = value;
1657 }
set_result_code(::int32_t value)1658 inline void TestStatus::set_result_code(::int32_t value) {
1659   _internal_set_result_code(value);
1660   // @@protoc_insertion_point(field_set:android.am.TestStatus.result_code)
1661 }
1662 
1663 // optional .android.am.ResultsBundle results = 4;
_internal_has_results()1664 inline bool TestStatus::_internal_has_results() const {
1665   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1666   PROTOBUF_ASSUME(!value || _impl_.results_ != nullptr);
1667   return value;
1668 }
has_results()1669 inline bool TestStatus::has_results() const {
1670   return _internal_has_results();
1671 }
clear_results()1672 inline void TestStatus::clear_results() {
1673   if (_impl_.results_ != nullptr) _impl_.results_->Clear();
1674   _impl_._has_bits_[0] &= ~0x00000002u;
1675 }
_internal_results()1676 inline const ::android::am::ResultsBundle& TestStatus::_internal_results() const {
1677   const ::android::am::ResultsBundle* p = _impl_.results_;
1678   return p != nullptr ? *p : reinterpret_cast<const ::android::am::ResultsBundle&>(
1679       ::android::am::_ResultsBundle_default_instance_);
1680 }
results()1681 inline const ::android::am::ResultsBundle& TestStatus::results() const {
1682   // @@protoc_insertion_point(field_get:android.am.TestStatus.results)
1683   return _internal_results();
1684 }
unsafe_arena_set_allocated_results(::android::am::ResultsBundle * results)1685 inline void TestStatus::unsafe_arena_set_allocated_results(
1686     ::android::am::ResultsBundle* results) {
1687   if (GetArenaForAllocation() == nullptr) {
1688     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.results_);
1689   }
1690   _impl_.results_ = results;
1691   if (results) {
1692     _impl_._has_bits_[0] |= 0x00000002u;
1693   } else {
1694     _impl_._has_bits_[0] &= ~0x00000002u;
1695   }
1696   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:android.am.TestStatus.results)
1697 }
release_results()1698 inline ::android::am::ResultsBundle* TestStatus::release_results() {
1699   _impl_._has_bits_[0] &= ~0x00000002u;
1700   ::android::am::ResultsBundle* temp = _impl_.results_;
1701   _impl_.results_ = nullptr;
1702 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1703   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1704   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1705   if (GetArenaForAllocation() == nullptr) { delete old; }
1706 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
1707   if (GetArenaForAllocation() != nullptr) {
1708     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1709   }
1710 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
1711   return temp;
1712 }
unsafe_arena_release_results()1713 inline ::android::am::ResultsBundle* TestStatus::unsafe_arena_release_results() {
1714   // @@protoc_insertion_point(field_release:android.am.TestStatus.results)
1715   _impl_._has_bits_[0] &= ~0x00000002u;
1716   ::android::am::ResultsBundle* temp = _impl_.results_;
1717   _impl_.results_ = nullptr;
1718   return temp;
1719 }
_internal_mutable_results()1720 inline ::android::am::ResultsBundle* TestStatus::_internal_mutable_results() {
1721   _impl_._has_bits_[0] |= 0x00000002u;
1722   if (_impl_.results_ == nullptr) {
1723     auto* p = CreateMaybeMessage<::android::am::ResultsBundle>(GetArenaForAllocation());
1724     _impl_.results_ = p;
1725   }
1726   return _impl_.results_;
1727 }
mutable_results()1728 inline ::android::am::ResultsBundle* TestStatus::mutable_results() {
1729   ::android::am::ResultsBundle* _msg = _internal_mutable_results();
1730   // @@protoc_insertion_point(field_mutable:android.am.TestStatus.results)
1731   return _msg;
1732 }
set_allocated_results(::android::am::ResultsBundle * results)1733 inline void TestStatus::set_allocated_results(::android::am::ResultsBundle* results) {
1734   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1735   if (message_arena == nullptr) {
1736     delete _impl_.results_;
1737   }
1738   if (results) {
1739     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1740         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(results);
1741     if (message_arena != submessage_arena) {
1742       results = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1743           message_arena, results, submessage_arena);
1744     }
1745     _impl_._has_bits_[0] |= 0x00000002u;
1746   } else {
1747     _impl_._has_bits_[0] &= ~0x00000002u;
1748   }
1749   _impl_.results_ = results;
1750   // @@protoc_insertion_point(field_set_allocated:android.am.TestStatus.results)
1751 }
1752 
1753 // optional string logcat = 5;
_internal_has_logcat()1754 inline bool TestStatus::_internal_has_logcat() const {
1755   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1756   return value;
1757 }
has_logcat()1758 inline bool TestStatus::has_logcat() const {
1759   return _internal_has_logcat();
1760 }
clear_logcat()1761 inline void TestStatus::clear_logcat() {
1762   _impl_.logcat_.ClearToEmpty();
1763   _impl_._has_bits_[0] &= ~0x00000001u;
1764 }
logcat()1765 inline const std::string& TestStatus::logcat() const {
1766   // @@protoc_insertion_point(field_get:android.am.TestStatus.logcat)
1767   return _internal_logcat();
1768 }
1769 template <typename ArgT0, typename... ArgT>
1770 inline PROTOBUF_ALWAYS_INLINE
set_logcat(ArgT0 && arg0,ArgT...args)1771 void TestStatus::set_logcat(ArgT0&& arg0, ArgT... args) {
1772  _impl_._has_bits_[0] |= 0x00000001u;
1773  _impl_.logcat_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1774   // @@protoc_insertion_point(field_set:android.am.TestStatus.logcat)
1775 }
mutable_logcat()1776 inline std::string* TestStatus::mutable_logcat() {
1777   std::string* _s = _internal_mutable_logcat();
1778   // @@protoc_insertion_point(field_mutable:android.am.TestStatus.logcat)
1779   return _s;
1780 }
_internal_logcat()1781 inline const std::string& TestStatus::_internal_logcat() const {
1782   return _impl_.logcat_.Get();
1783 }
_internal_set_logcat(const std::string & value)1784 inline void TestStatus::_internal_set_logcat(const std::string& value) {
1785   _impl_._has_bits_[0] |= 0x00000001u;
1786   _impl_.logcat_.Set(value, GetArenaForAllocation());
1787 }
_internal_mutable_logcat()1788 inline std::string* TestStatus::_internal_mutable_logcat() {
1789   _impl_._has_bits_[0] |= 0x00000001u;
1790   return _impl_.logcat_.Mutable(GetArenaForAllocation());
1791 }
release_logcat()1792 inline std::string* TestStatus::release_logcat() {
1793   // @@protoc_insertion_point(field_release:android.am.TestStatus.logcat)
1794   if (!_internal_has_logcat()) {
1795     return nullptr;
1796   }
1797   _impl_._has_bits_[0] &= ~0x00000001u;
1798   auto* p = _impl_.logcat_.Release();
1799 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1800   if (_impl_.logcat_.IsDefault()) {
1801     _impl_.logcat_.Set("", GetArenaForAllocation());
1802   }
1803 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1804   return p;
1805 }
set_allocated_logcat(std::string * logcat)1806 inline void TestStatus::set_allocated_logcat(std::string* logcat) {
1807   if (logcat != nullptr) {
1808     _impl_._has_bits_[0] |= 0x00000001u;
1809   } else {
1810     _impl_._has_bits_[0] &= ~0x00000001u;
1811   }
1812   _impl_.logcat_.SetAllocated(logcat, GetArenaForAllocation());
1813 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1814   if (_impl_.logcat_.IsDefault()) {
1815     _impl_.logcat_.Set("", GetArenaForAllocation());
1816   }
1817 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1818   // @@protoc_insertion_point(field_set_allocated:android.am.TestStatus.logcat)
1819 }
1820 
1821 // -------------------------------------------------------------------
1822 
1823 // SessionStatus
1824 
1825 // optional .android.am.SessionStatusCode status_code = 1;
_internal_has_status_code()1826 inline bool SessionStatus::_internal_has_status_code() const {
1827   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1828   return value;
1829 }
has_status_code()1830 inline bool SessionStatus::has_status_code() const {
1831   return _internal_has_status_code();
1832 }
clear_status_code()1833 inline void SessionStatus::clear_status_code() {
1834   _impl_.status_code_ = 0;
1835   _impl_._has_bits_[0] &= ~0x00000004u;
1836 }
_internal_status_code()1837 inline ::android::am::SessionStatusCode SessionStatus::_internal_status_code() const {
1838   return static_cast< ::android::am::SessionStatusCode >(_impl_.status_code_);
1839 }
status_code()1840 inline ::android::am::SessionStatusCode SessionStatus::status_code() const {
1841   // @@protoc_insertion_point(field_get:android.am.SessionStatus.status_code)
1842   return _internal_status_code();
1843 }
_internal_set_status_code(::android::am::SessionStatusCode value)1844 inline void SessionStatus::_internal_set_status_code(::android::am::SessionStatusCode value) {
1845   assert(::android::am::SessionStatusCode_IsValid(value));
1846   _impl_._has_bits_[0] |= 0x00000004u;
1847   _impl_.status_code_ = value;
1848 }
set_status_code(::android::am::SessionStatusCode value)1849 inline void SessionStatus::set_status_code(::android::am::SessionStatusCode value) {
1850   _internal_set_status_code(value);
1851   // @@protoc_insertion_point(field_set:android.am.SessionStatus.status_code)
1852 }
1853 
1854 // optional string error_text = 2;
_internal_has_error_text()1855 inline bool SessionStatus::_internal_has_error_text() const {
1856   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1857   return value;
1858 }
has_error_text()1859 inline bool SessionStatus::has_error_text() const {
1860   return _internal_has_error_text();
1861 }
clear_error_text()1862 inline void SessionStatus::clear_error_text() {
1863   _impl_.error_text_.ClearToEmpty();
1864   _impl_._has_bits_[0] &= ~0x00000001u;
1865 }
error_text()1866 inline const std::string& SessionStatus::error_text() const {
1867   // @@protoc_insertion_point(field_get:android.am.SessionStatus.error_text)
1868   return _internal_error_text();
1869 }
1870 template <typename ArgT0, typename... ArgT>
1871 inline PROTOBUF_ALWAYS_INLINE
set_error_text(ArgT0 && arg0,ArgT...args)1872 void SessionStatus::set_error_text(ArgT0&& arg0, ArgT... args) {
1873  _impl_._has_bits_[0] |= 0x00000001u;
1874  _impl_.error_text_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1875   // @@protoc_insertion_point(field_set:android.am.SessionStatus.error_text)
1876 }
mutable_error_text()1877 inline std::string* SessionStatus::mutable_error_text() {
1878   std::string* _s = _internal_mutable_error_text();
1879   // @@protoc_insertion_point(field_mutable:android.am.SessionStatus.error_text)
1880   return _s;
1881 }
_internal_error_text()1882 inline const std::string& SessionStatus::_internal_error_text() const {
1883   return _impl_.error_text_.Get();
1884 }
_internal_set_error_text(const std::string & value)1885 inline void SessionStatus::_internal_set_error_text(const std::string& value) {
1886   _impl_._has_bits_[0] |= 0x00000001u;
1887   _impl_.error_text_.Set(value, GetArenaForAllocation());
1888 }
_internal_mutable_error_text()1889 inline std::string* SessionStatus::_internal_mutable_error_text() {
1890   _impl_._has_bits_[0] |= 0x00000001u;
1891   return _impl_.error_text_.Mutable(GetArenaForAllocation());
1892 }
release_error_text()1893 inline std::string* SessionStatus::release_error_text() {
1894   // @@protoc_insertion_point(field_release:android.am.SessionStatus.error_text)
1895   if (!_internal_has_error_text()) {
1896     return nullptr;
1897   }
1898   _impl_._has_bits_[0] &= ~0x00000001u;
1899   auto* p = _impl_.error_text_.Release();
1900 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1901   if (_impl_.error_text_.IsDefault()) {
1902     _impl_.error_text_.Set("", GetArenaForAllocation());
1903   }
1904 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1905   return p;
1906 }
set_allocated_error_text(std::string * error_text)1907 inline void SessionStatus::set_allocated_error_text(std::string* error_text) {
1908   if (error_text != nullptr) {
1909     _impl_._has_bits_[0] |= 0x00000001u;
1910   } else {
1911     _impl_._has_bits_[0] &= ~0x00000001u;
1912   }
1913   _impl_.error_text_.SetAllocated(error_text, GetArenaForAllocation());
1914 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1915   if (_impl_.error_text_.IsDefault()) {
1916     _impl_.error_text_.Set("", GetArenaForAllocation());
1917   }
1918 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1919   // @@protoc_insertion_point(field_set_allocated:android.am.SessionStatus.error_text)
1920 }
1921 
1922 // optional sint32 result_code = 3;
_internal_has_result_code()1923 inline bool SessionStatus::_internal_has_result_code() const {
1924   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1925   return value;
1926 }
has_result_code()1927 inline bool SessionStatus::has_result_code() const {
1928   return _internal_has_result_code();
1929 }
clear_result_code()1930 inline void SessionStatus::clear_result_code() {
1931   _impl_.result_code_ = 0;
1932   _impl_._has_bits_[0] &= ~0x00000008u;
1933 }
_internal_result_code()1934 inline ::int32_t SessionStatus::_internal_result_code() const {
1935   return _impl_.result_code_;
1936 }
result_code()1937 inline ::int32_t SessionStatus::result_code() const {
1938   // @@protoc_insertion_point(field_get:android.am.SessionStatus.result_code)
1939   return _internal_result_code();
1940 }
_internal_set_result_code(::int32_t value)1941 inline void SessionStatus::_internal_set_result_code(::int32_t value) {
1942   _impl_._has_bits_[0] |= 0x00000008u;
1943   _impl_.result_code_ = value;
1944 }
set_result_code(::int32_t value)1945 inline void SessionStatus::set_result_code(::int32_t value) {
1946   _internal_set_result_code(value);
1947   // @@protoc_insertion_point(field_set:android.am.SessionStatus.result_code)
1948 }
1949 
1950 // optional .android.am.ResultsBundle results = 4;
_internal_has_results()1951 inline bool SessionStatus::_internal_has_results() const {
1952   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1953   PROTOBUF_ASSUME(!value || _impl_.results_ != nullptr);
1954   return value;
1955 }
has_results()1956 inline bool SessionStatus::has_results() const {
1957   return _internal_has_results();
1958 }
clear_results()1959 inline void SessionStatus::clear_results() {
1960   if (_impl_.results_ != nullptr) _impl_.results_->Clear();
1961   _impl_._has_bits_[0] &= ~0x00000002u;
1962 }
_internal_results()1963 inline const ::android::am::ResultsBundle& SessionStatus::_internal_results() const {
1964   const ::android::am::ResultsBundle* p = _impl_.results_;
1965   return p != nullptr ? *p : reinterpret_cast<const ::android::am::ResultsBundle&>(
1966       ::android::am::_ResultsBundle_default_instance_);
1967 }
results()1968 inline const ::android::am::ResultsBundle& SessionStatus::results() const {
1969   // @@protoc_insertion_point(field_get:android.am.SessionStatus.results)
1970   return _internal_results();
1971 }
unsafe_arena_set_allocated_results(::android::am::ResultsBundle * results)1972 inline void SessionStatus::unsafe_arena_set_allocated_results(
1973     ::android::am::ResultsBundle* results) {
1974   if (GetArenaForAllocation() == nullptr) {
1975     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.results_);
1976   }
1977   _impl_.results_ = results;
1978   if (results) {
1979     _impl_._has_bits_[0] |= 0x00000002u;
1980   } else {
1981     _impl_._has_bits_[0] &= ~0x00000002u;
1982   }
1983   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:android.am.SessionStatus.results)
1984 }
release_results()1985 inline ::android::am::ResultsBundle* SessionStatus::release_results() {
1986   _impl_._has_bits_[0] &= ~0x00000002u;
1987   ::android::am::ResultsBundle* temp = _impl_.results_;
1988   _impl_.results_ = nullptr;
1989 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1990   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1991   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1992   if (GetArenaForAllocation() == nullptr) { delete old; }
1993 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
1994   if (GetArenaForAllocation() != nullptr) {
1995     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1996   }
1997 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
1998   return temp;
1999 }
unsafe_arena_release_results()2000 inline ::android::am::ResultsBundle* SessionStatus::unsafe_arena_release_results() {
2001   // @@protoc_insertion_point(field_release:android.am.SessionStatus.results)
2002   _impl_._has_bits_[0] &= ~0x00000002u;
2003   ::android::am::ResultsBundle* temp = _impl_.results_;
2004   _impl_.results_ = nullptr;
2005   return temp;
2006 }
_internal_mutable_results()2007 inline ::android::am::ResultsBundle* SessionStatus::_internal_mutable_results() {
2008   _impl_._has_bits_[0] |= 0x00000002u;
2009   if (_impl_.results_ == nullptr) {
2010     auto* p = CreateMaybeMessage<::android::am::ResultsBundle>(GetArenaForAllocation());
2011     _impl_.results_ = p;
2012   }
2013   return _impl_.results_;
2014 }
mutable_results()2015 inline ::android::am::ResultsBundle* SessionStatus::mutable_results() {
2016   ::android::am::ResultsBundle* _msg = _internal_mutable_results();
2017   // @@protoc_insertion_point(field_mutable:android.am.SessionStatus.results)
2018   return _msg;
2019 }
set_allocated_results(::android::am::ResultsBundle * results)2020 inline void SessionStatus::set_allocated_results(::android::am::ResultsBundle* results) {
2021   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2022   if (message_arena == nullptr) {
2023     delete _impl_.results_;
2024   }
2025   if (results) {
2026     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2027         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(results);
2028     if (message_arena != submessage_arena) {
2029       results = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2030           message_arena, results, submessage_arena);
2031     }
2032     _impl_._has_bits_[0] |= 0x00000002u;
2033   } else {
2034     _impl_._has_bits_[0] &= ~0x00000002u;
2035   }
2036   _impl_.results_ = results;
2037   // @@protoc_insertion_point(field_set_allocated:android.am.SessionStatus.results)
2038 }
2039 
2040 // -------------------------------------------------------------------
2041 
2042 // Session
2043 
2044 // repeated .android.am.TestStatus test_status = 1;
_internal_test_status_size()2045 inline int Session::_internal_test_status_size() const {
2046   return _impl_.test_status_.size();
2047 }
test_status_size()2048 inline int Session::test_status_size() const {
2049   return _internal_test_status_size();
2050 }
clear_test_status()2051 inline void Session::clear_test_status() {
2052   _impl_.test_status_.Clear();
2053 }
mutable_test_status(int index)2054 inline ::android::am::TestStatus* Session::mutable_test_status(int index) {
2055   // @@protoc_insertion_point(field_mutable:android.am.Session.test_status)
2056   return _impl_.test_status_.Mutable(index);
2057 }
2058 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::am::TestStatus >*
mutable_test_status()2059 Session::mutable_test_status() {
2060   // @@protoc_insertion_point(field_mutable_list:android.am.Session.test_status)
2061   return &_impl_.test_status_;
2062 }
_internal_test_status(int index)2063 inline const ::android::am::TestStatus& Session::_internal_test_status(int index) const {
2064   return _impl_.test_status_.Get(index);
2065 }
test_status(int index)2066 inline const ::android::am::TestStatus& Session::test_status(int index) const {
2067   // @@protoc_insertion_point(field_get:android.am.Session.test_status)
2068   return _internal_test_status(index);
2069 }
_internal_add_test_status()2070 inline ::android::am::TestStatus* Session::_internal_add_test_status() {
2071   return _impl_.test_status_.Add();
2072 }
add_test_status()2073 inline ::android::am::TestStatus* Session::add_test_status() {
2074   ::android::am::TestStatus* _add = _internal_add_test_status();
2075   // @@protoc_insertion_point(field_add:android.am.Session.test_status)
2076   return _add;
2077 }
2078 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::android::am::TestStatus >&
test_status()2079 Session::test_status() const {
2080   // @@protoc_insertion_point(field_list:android.am.Session.test_status)
2081   return _impl_.test_status_;
2082 }
2083 
2084 // optional .android.am.SessionStatus session_status = 2;
_internal_has_session_status()2085 inline bool Session::_internal_has_session_status() const {
2086   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2087   PROTOBUF_ASSUME(!value || _impl_.session_status_ != nullptr);
2088   return value;
2089 }
has_session_status()2090 inline bool Session::has_session_status() const {
2091   return _internal_has_session_status();
2092 }
clear_session_status()2093 inline void Session::clear_session_status() {
2094   if (_impl_.session_status_ != nullptr) _impl_.session_status_->Clear();
2095   _impl_._has_bits_[0] &= ~0x00000001u;
2096 }
_internal_session_status()2097 inline const ::android::am::SessionStatus& Session::_internal_session_status() const {
2098   const ::android::am::SessionStatus* p = _impl_.session_status_;
2099   return p != nullptr ? *p : reinterpret_cast<const ::android::am::SessionStatus&>(
2100       ::android::am::_SessionStatus_default_instance_);
2101 }
session_status()2102 inline const ::android::am::SessionStatus& Session::session_status() const {
2103   // @@protoc_insertion_point(field_get:android.am.Session.session_status)
2104   return _internal_session_status();
2105 }
unsafe_arena_set_allocated_session_status(::android::am::SessionStatus * session_status)2106 inline void Session::unsafe_arena_set_allocated_session_status(
2107     ::android::am::SessionStatus* session_status) {
2108   if (GetArenaForAllocation() == nullptr) {
2109     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.session_status_);
2110   }
2111   _impl_.session_status_ = session_status;
2112   if (session_status) {
2113     _impl_._has_bits_[0] |= 0x00000001u;
2114   } else {
2115     _impl_._has_bits_[0] &= ~0x00000001u;
2116   }
2117   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:android.am.Session.session_status)
2118 }
release_session_status()2119 inline ::android::am::SessionStatus* Session::release_session_status() {
2120   _impl_._has_bits_[0] &= ~0x00000001u;
2121   ::android::am::SessionStatus* temp = _impl_.session_status_;
2122   _impl_.session_status_ = nullptr;
2123 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2124   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2125   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2126   if (GetArenaForAllocation() == nullptr) { delete old; }
2127 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2128   if (GetArenaForAllocation() != nullptr) {
2129     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2130   }
2131 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2132   return temp;
2133 }
unsafe_arena_release_session_status()2134 inline ::android::am::SessionStatus* Session::unsafe_arena_release_session_status() {
2135   // @@protoc_insertion_point(field_release:android.am.Session.session_status)
2136   _impl_._has_bits_[0] &= ~0x00000001u;
2137   ::android::am::SessionStatus* temp = _impl_.session_status_;
2138   _impl_.session_status_ = nullptr;
2139   return temp;
2140 }
_internal_mutable_session_status()2141 inline ::android::am::SessionStatus* Session::_internal_mutable_session_status() {
2142   _impl_._has_bits_[0] |= 0x00000001u;
2143   if (_impl_.session_status_ == nullptr) {
2144     auto* p = CreateMaybeMessage<::android::am::SessionStatus>(GetArenaForAllocation());
2145     _impl_.session_status_ = p;
2146   }
2147   return _impl_.session_status_;
2148 }
mutable_session_status()2149 inline ::android::am::SessionStatus* Session::mutable_session_status() {
2150   ::android::am::SessionStatus* _msg = _internal_mutable_session_status();
2151   // @@protoc_insertion_point(field_mutable:android.am.Session.session_status)
2152   return _msg;
2153 }
set_allocated_session_status(::android::am::SessionStatus * session_status)2154 inline void Session::set_allocated_session_status(::android::am::SessionStatus* session_status) {
2155   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2156   if (message_arena == nullptr) {
2157     delete _impl_.session_status_;
2158   }
2159   if (session_status) {
2160     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2161         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(session_status);
2162     if (message_arena != submessage_arena) {
2163       session_status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2164           message_arena, session_status, submessage_arena);
2165     }
2166     _impl_._has_bits_[0] |= 0x00000001u;
2167   } else {
2168     _impl_._has_bits_[0] &= ~0x00000001u;
2169   }
2170   _impl_.session_status_ = session_status;
2171   // @@protoc_insertion_point(field_set_allocated:android.am.Session.session_status)
2172 }
2173 
2174 #ifdef __GNUC__
2175   #pragma GCC diagnostic pop
2176 #endif  // __GNUC__
2177 // -------------------------------------------------------------------
2178 
2179 // -------------------------------------------------------------------
2180 
2181 // -------------------------------------------------------------------
2182 
2183 // -------------------------------------------------------------------
2184 
2185 
2186 // @@protoc_insertion_point(namespace_scope)
2187 
2188 }  // namespace am
2189 }  // namespace android
2190 
2191 PROTOBUF_NAMESPACE_OPEN
2192 
2193 template <> struct is_proto_enum< ::android::am::SessionStatusCode> : ::std::true_type {};
2194 template <>
2195 inline const EnumDescriptor* GetEnumDescriptor< ::android::am::SessionStatusCode>() {
2196   return ::android::am::SessionStatusCode_descriptor();
2197 }
2198 
2199 PROTOBUF_NAMESPACE_CLOSE
2200 
2201 // @@protoc_insertion_point(global_scope)
2202 
2203 #include <google/protobuf/port_undef.inc>
2204 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_frameworks_2fbase_2fcmds_2fam_2fproto_2finstrumentation_5fdata_2eproto
2205