1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: frameworks/proto_logging/stats/atoms/wearservices/wearservices_extension_atoms.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto
6
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/generated_enum_reflection.h>
34 #include <google/protobuf/unknown_field_set.h>
35 #include "frameworks/proto_logging/stats/atoms.pb.h"
36 #include "frameworks/proto_logging/stats/atom_field_options.pb.h"
37 #include "frameworks/proto_logging/stats/enums/app/wearservices/wearservices_enums.pb.h"
38 // @@protoc_insertion_point(includes)
39 #include <google/protobuf/port_def.inc>
40 #define PROTOBUF_INTERNAL_EXPORT_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto
41 PROTOBUF_NAMESPACE_OPEN
42 namespace internal {
43 class AnyMetadata;
44 } // namespace internal
45 PROTOBUF_NAMESPACE_CLOSE
46
47 // Internal implementation detail -- do not use these members.
48 struct TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto {
49 static const ::uint32_t offsets[];
50 };
51 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
52 namespace android {
53 namespace os {
54 namespace statsd {
55 namespace wearservices {
56 class WsBugreportEventReported;
57 struct WsBugreportEventReportedDefaultTypeInternal;
58 extern WsBugreportEventReportedDefaultTypeInternal _WsBugreportEventReported_default_instance_;
59 class WsCallDisconnectionReported;
60 struct WsCallDisconnectionReportedDefaultTypeInternal;
61 extern WsCallDisconnectionReportedDefaultTypeInternal _WsCallDisconnectionReported_default_instance_;
62 class WsCallDurationReported;
63 struct WsCallDurationReportedDefaultTypeInternal;
64 extern WsCallDurationReportedDefaultTypeInternal _WsCallDurationReported_default_instance_;
65 class WsCallInteractionReported;
66 struct WsCallInteractionReportedDefaultTypeInternal;
67 extern WsCallInteractionReportedDefaultTypeInternal _WsCallInteractionReported_default_instance_;
68 class WsCallUserExperienceLatencyReported;
69 struct WsCallUserExperienceLatencyReportedDefaultTypeInternal;
70 extern WsCallUserExperienceLatencyReportedDefaultTypeInternal _WsCallUserExperienceLatencyReported_default_instance_;
71 class WsComplicationsImpactedNotificationEventReported;
72 struct WsComplicationsImpactedNotificationEventReportedDefaultTypeInternal;
73 extern WsComplicationsImpactedNotificationEventReportedDefaultTypeInternal _WsComplicationsImpactedNotificationEventReported_default_instance_;
74 class WsFavouriteWatchFaceSnapshot;
75 struct WsFavouriteWatchFaceSnapshotDefaultTypeInternal;
76 extern WsFavouriteWatchFaceSnapshotDefaultTypeInternal _WsFavouriteWatchFaceSnapshot_default_instance_;
77 class WsIncomingCallActionReported;
78 struct WsIncomingCallActionReportedDefaultTypeInternal;
79 extern WsIncomingCallActionReportedDefaultTypeInternal _WsIncomingCallActionReported_default_instance_;
80 class WsNotificationManagedDismissalSync;
81 struct WsNotificationManagedDismissalSyncDefaultTypeInternal;
82 extern WsNotificationManagedDismissalSyncDefaultTypeInternal _WsNotificationManagedDismissalSync_default_instance_;
83 class WsOnBodyStateChanged;
84 struct WsOnBodyStateChangedDefaultTypeInternal;
85 extern WsOnBodyStateChangedDefaultTypeInternal _WsOnBodyStateChanged_default_instance_;
86 class WsPhotosWatchFaceFeatureSnapshot;
87 struct WsPhotosWatchFaceFeatureSnapshotDefaultTypeInternal;
88 extern WsPhotosWatchFaceFeatureSnapshotDefaultTypeInternal _WsPhotosWatchFaceFeatureSnapshot_default_instance_;
89 class WsRemoteEventUsageReported;
90 struct WsRemoteEventUsageReportedDefaultTypeInternal;
91 extern WsRemoteEventUsageReportedDefaultTypeInternal _WsRemoteEventUsageReported_default_instance_;
92 class WsStandaloneModeSnapshot;
93 struct WsStandaloneModeSnapshotDefaultTypeInternal;
94 extern WsStandaloneModeSnapshotDefaultTypeInternal _WsStandaloneModeSnapshot_default_instance_;
95 class WsWatchFaceCustomizationSnapshot;
96 struct WsWatchFaceCustomizationSnapshotDefaultTypeInternal;
97 extern WsWatchFaceCustomizationSnapshotDefaultTypeInternal _WsWatchFaceCustomizationSnapshot_default_instance_;
98 class WsWatchFaceDefaultRestrictedComplicationsRemoved;
99 struct WsWatchFaceDefaultRestrictedComplicationsRemovedDefaultTypeInternal;
100 extern WsWatchFaceDefaultRestrictedComplicationsRemovedDefaultTypeInternal _WsWatchFaceDefaultRestrictedComplicationsRemoved_default_instance_;
101 class WsWatchFaceRestrictedComplicationsImpacted;
102 struct WsWatchFaceRestrictedComplicationsImpactedDefaultTypeInternal;
103 extern WsWatchFaceRestrictedComplicationsImpactedDefaultTypeInternal _WsWatchFaceRestrictedComplicationsImpacted_default_instance_;
104 class WsWearTimeSession;
105 struct WsWearTimeSessionDefaultTypeInternal;
106 extern WsWearTimeSessionDefaultTypeInternal _WsWearTimeSession_default_instance_;
107 } // namespace wearservices
108 } // namespace statsd
109 } // namespace os
110 } // namespace android
111 PROTOBUF_NAMESPACE_OPEN
112 template<> ::android::os::statsd::wearservices::WsBugreportEventReported* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsBugreportEventReported>(Arena*);
113 template<> ::android::os::statsd::wearservices::WsCallDisconnectionReported* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsCallDisconnectionReported>(Arena*);
114 template<> ::android::os::statsd::wearservices::WsCallDurationReported* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsCallDurationReported>(Arena*);
115 template<> ::android::os::statsd::wearservices::WsCallInteractionReported* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsCallInteractionReported>(Arena*);
116 template<> ::android::os::statsd::wearservices::WsCallUserExperienceLatencyReported* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsCallUserExperienceLatencyReported>(Arena*);
117 template<> ::android::os::statsd::wearservices::WsComplicationsImpactedNotificationEventReported* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsComplicationsImpactedNotificationEventReported>(Arena*);
118 template<> ::android::os::statsd::wearservices::WsFavouriteWatchFaceSnapshot* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsFavouriteWatchFaceSnapshot>(Arena*);
119 template<> ::android::os::statsd::wearservices::WsIncomingCallActionReported* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsIncomingCallActionReported>(Arena*);
120 template<> ::android::os::statsd::wearservices::WsNotificationManagedDismissalSync* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsNotificationManagedDismissalSync>(Arena*);
121 template<> ::android::os::statsd::wearservices::WsOnBodyStateChanged* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsOnBodyStateChanged>(Arena*);
122 template<> ::android::os::statsd::wearservices::WsPhotosWatchFaceFeatureSnapshot* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsPhotosWatchFaceFeatureSnapshot>(Arena*);
123 template<> ::android::os::statsd::wearservices::WsRemoteEventUsageReported* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsRemoteEventUsageReported>(Arena*);
124 template<> ::android::os::statsd::wearservices::WsStandaloneModeSnapshot* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsStandaloneModeSnapshot>(Arena*);
125 template<> ::android::os::statsd::wearservices::WsWatchFaceCustomizationSnapshot* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsWatchFaceCustomizationSnapshot>(Arena*);
126 template<> ::android::os::statsd::wearservices::WsWatchFaceDefaultRestrictedComplicationsRemoved* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsWatchFaceDefaultRestrictedComplicationsRemoved>(Arena*);
127 template<> ::android::os::statsd::wearservices::WsWatchFaceRestrictedComplicationsImpacted* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsWatchFaceRestrictedComplicationsImpacted>(Arena*);
128 template<> ::android::os::statsd::wearservices::WsWearTimeSession* Arena::CreateMaybeMessage<::android::os::statsd::wearservices::WsWearTimeSession>(Arena*);
129 PROTOBUF_NAMESPACE_CLOSE
130 namespace android {
131 namespace os {
132 namespace statsd {
133 namespace wearservices {
134
135 enum WsComplicationsImpactedNotificationEventReported_Event : int {
136 WsComplicationsImpactedNotificationEventReported_Event_UNSPECIFIED = 0,
137 WsComplicationsImpactedNotificationEventReported_Event_SENT = 1,
138 WsComplicationsImpactedNotificationEventReported_Event_CLICKED = 2
139 };
140 bool WsComplicationsImpactedNotificationEventReported_Event_IsValid(int value);
141 constexpr WsComplicationsImpactedNotificationEventReported_Event WsComplicationsImpactedNotificationEventReported_Event_Event_MIN = WsComplicationsImpactedNotificationEventReported_Event_UNSPECIFIED;
142 constexpr WsComplicationsImpactedNotificationEventReported_Event WsComplicationsImpactedNotificationEventReported_Event_Event_MAX = WsComplicationsImpactedNotificationEventReported_Event_CLICKED;
143 constexpr int WsComplicationsImpactedNotificationEventReported_Event_Event_ARRAYSIZE = WsComplicationsImpactedNotificationEventReported_Event_Event_MAX + 1;
144
145 const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* WsComplicationsImpactedNotificationEventReported_Event_descriptor();
146 template<typename T>
WsComplicationsImpactedNotificationEventReported_Event_Name(T enum_t_value)147 inline const std::string& WsComplicationsImpactedNotificationEventReported_Event_Name(T enum_t_value) {
148 static_assert(::std::is_same<T, WsComplicationsImpactedNotificationEventReported_Event>::value ||
149 ::std::is_integral<T>::value,
150 "Incorrect type passed to function WsComplicationsImpactedNotificationEventReported_Event_Name.");
151 return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
152 WsComplicationsImpactedNotificationEventReported_Event_descriptor(), enum_t_value);
153 }
WsComplicationsImpactedNotificationEventReported_Event_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,WsComplicationsImpactedNotificationEventReported_Event * value)154 inline bool WsComplicationsImpactedNotificationEventReported_Event_Parse(
155 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, WsComplicationsImpactedNotificationEventReported_Event* value) {
156 return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<WsComplicationsImpactedNotificationEventReported_Event>(
157 WsComplicationsImpactedNotificationEventReported_Event_descriptor(), name, value);
158 }
159 // ===================================================================
160
161 class WsIncomingCallActionReported final :
162 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsIncomingCallActionReported) */ {
163 public:
WsIncomingCallActionReported()164 inline WsIncomingCallActionReported() : WsIncomingCallActionReported(nullptr) {}
165 ~WsIncomingCallActionReported() override;
166 explicit PROTOBUF_CONSTEXPR WsIncomingCallActionReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
167
168 WsIncomingCallActionReported(const WsIncomingCallActionReported& from);
WsIncomingCallActionReported(WsIncomingCallActionReported && from)169 WsIncomingCallActionReported(WsIncomingCallActionReported&& from) noexcept
170 : WsIncomingCallActionReported() {
171 *this = ::std::move(from);
172 }
173
174 inline WsIncomingCallActionReported& operator=(const WsIncomingCallActionReported& from) {
175 if (this == &from) return *this;
176 CopyFrom(from);
177 return *this;
178 }
179 inline WsIncomingCallActionReported& operator=(WsIncomingCallActionReported&& from) noexcept {
180 if (this == &from) return *this;
181 if (GetOwningArena() == from.GetOwningArena()
182 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
183 && GetOwningArena() != nullptr
184 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
185 ) {
186 InternalSwap(&from);
187 } else {
188 CopyFrom(from);
189 }
190 return *this;
191 }
192
unknown_fields()193 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
194 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
195 }
mutable_unknown_fields()196 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
197 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
198 }
199
descriptor()200 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
201 return GetDescriptor();
202 }
GetDescriptor()203 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
204 return default_instance().GetMetadata().descriptor;
205 }
GetReflection()206 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
207 return default_instance().GetMetadata().reflection;
208 }
default_instance()209 static const WsIncomingCallActionReported& default_instance() {
210 return *internal_default_instance();
211 }
internal_default_instance()212 static inline const WsIncomingCallActionReported* internal_default_instance() {
213 return reinterpret_cast<const WsIncomingCallActionReported*>(
214 &_WsIncomingCallActionReported_default_instance_);
215 }
216 static constexpr int kIndexInFileMessages =
217 0;
218
swap(WsIncomingCallActionReported & a,WsIncomingCallActionReported & b)219 friend void swap(WsIncomingCallActionReported& a, WsIncomingCallActionReported& b) {
220 a.Swap(&b);
221 }
Swap(WsIncomingCallActionReported * other)222 inline void Swap(WsIncomingCallActionReported* other) {
223 if (other == this) return;
224 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
225 if (GetOwningArena() != nullptr &&
226 GetOwningArena() == other->GetOwningArena()) {
227 #else // PROTOBUF_FORCE_COPY_IN_SWAP
228 if (GetOwningArena() == other->GetOwningArena()) {
229 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
230 InternalSwap(other);
231 } else {
232 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
233 }
234 }
235 void UnsafeArenaSwap(WsIncomingCallActionReported* other) {
236 if (other == this) return;
237 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
238 InternalSwap(other);
239 }
240
241 // implements Message ----------------------------------------------
242
243 WsIncomingCallActionReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
244 return CreateMaybeMessage<WsIncomingCallActionReported>(arena);
245 }
246 WsIncomingCallActionReported* New() const {
247 return New(nullptr);
248 }
249 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
250 void CopyFrom(const WsIncomingCallActionReported& from);
251 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
252 void MergeFrom( const WsIncomingCallActionReported& from) {
253 WsIncomingCallActionReported::MergeImpl(*this, from);
254 }
255 private:
256 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
257 public:
258 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
259 bool IsInitialized() const final;
260
261 size_t ByteSizeLong() const final;
262 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
263 ::uint8_t* _InternalSerialize(
264 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
265 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
266
267 private:
268 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
269 void SharedDtor();
270 void SetCachedSize(int size) const final;
271 void InternalSwap(WsIncomingCallActionReported* other);
272
273 private:
274 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
275 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
276 return "android.os.statsd.wearservices.WsIncomingCallActionReported";
277 }
278 protected:
279 explicit WsIncomingCallActionReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
280 bool is_message_owned = false);
281 public:
282
283 static const ClassData _class_data_;
284 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
285
286 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
287
288 // nested types ----------------------------------------------------
289
290 // accessors -------------------------------------------------------
291
292 enum : int {
293 kActionFieldNumber = 1,
294 kCallSourceFieldNumber = 2,
295 };
296 // optional .android.app.wearservices.CallAction action = 1;
297 bool has_action() const;
298 private:
299 bool _internal_has_action() const;
300 public:
301 void clear_action();
302 ::android::app::wearservices::CallAction action() const;
303 void set_action(::android::app::wearservices::CallAction value);
304 private:
305 ::android::app::wearservices::CallAction _internal_action() const;
306 void _internal_set_action(::android::app::wearservices::CallAction value);
307 public:
308
309 // optional .android.app.wearservices.CallSource call_source = 2;
310 bool has_call_source() const;
311 private:
312 bool _internal_has_call_source() const;
313 public:
314 void clear_call_source();
315 ::android::app::wearservices::CallSource call_source() const;
316 void set_call_source(::android::app::wearservices::CallSource value);
317 private:
318 ::android::app::wearservices::CallSource _internal_call_source() const;
319 void _internal_set_call_source(::android::app::wearservices::CallSource value);
320 public:
321
322 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsIncomingCallActionReported)
323 private:
324 class _Internal;
325
326 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
327 typedef void InternalArenaConstructable_;
328 typedef void DestructorSkippable_;
329 struct Impl_ {
330 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
331 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
332 int action_;
333 int call_source_;
334 };
335 union { Impl_ _impl_; };
336 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
337 };
338 // -------------------------------------------------------------------
339
340 class WsCallDisconnectionReported final :
341 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsCallDisconnectionReported) */ {
342 public:
WsCallDisconnectionReported()343 inline WsCallDisconnectionReported() : WsCallDisconnectionReported(nullptr) {}
344 ~WsCallDisconnectionReported() override;
345 explicit PROTOBUF_CONSTEXPR WsCallDisconnectionReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
346
347 WsCallDisconnectionReported(const WsCallDisconnectionReported& from);
WsCallDisconnectionReported(WsCallDisconnectionReported && from)348 WsCallDisconnectionReported(WsCallDisconnectionReported&& from) noexcept
349 : WsCallDisconnectionReported() {
350 *this = ::std::move(from);
351 }
352
353 inline WsCallDisconnectionReported& operator=(const WsCallDisconnectionReported& from) {
354 if (this == &from) return *this;
355 CopyFrom(from);
356 return *this;
357 }
358 inline WsCallDisconnectionReported& operator=(WsCallDisconnectionReported&& from) noexcept {
359 if (this == &from) return *this;
360 if (GetOwningArena() == from.GetOwningArena()
361 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
362 && GetOwningArena() != nullptr
363 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
364 ) {
365 InternalSwap(&from);
366 } else {
367 CopyFrom(from);
368 }
369 return *this;
370 }
371
unknown_fields()372 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
373 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
374 }
mutable_unknown_fields()375 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
376 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
377 }
378
descriptor()379 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
380 return GetDescriptor();
381 }
GetDescriptor()382 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
383 return default_instance().GetMetadata().descriptor;
384 }
GetReflection()385 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
386 return default_instance().GetMetadata().reflection;
387 }
default_instance()388 static const WsCallDisconnectionReported& default_instance() {
389 return *internal_default_instance();
390 }
internal_default_instance()391 static inline const WsCallDisconnectionReported* internal_default_instance() {
392 return reinterpret_cast<const WsCallDisconnectionReported*>(
393 &_WsCallDisconnectionReported_default_instance_);
394 }
395 static constexpr int kIndexInFileMessages =
396 1;
397
swap(WsCallDisconnectionReported & a,WsCallDisconnectionReported & b)398 friend void swap(WsCallDisconnectionReported& a, WsCallDisconnectionReported& b) {
399 a.Swap(&b);
400 }
Swap(WsCallDisconnectionReported * other)401 inline void Swap(WsCallDisconnectionReported* other) {
402 if (other == this) return;
403 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
404 if (GetOwningArena() != nullptr &&
405 GetOwningArena() == other->GetOwningArena()) {
406 #else // PROTOBUF_FORCE_COPY_IN_SWAP
407 if (GetOwningArena() == other->GetOwningArena()) {
408 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
409 InternalSwap(other);
410 } else {
411 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
412 }
413 }
414 void UnsafeArenaSwap(WsCallDisconnectionReported* other) {
415 if (other == this) return;
416 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
417 InternalSwap(other);
418 }
419
420 // implements Message ----------------------------------------------
421
422 WsCallDisconnectionReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
423 return CreateMaybeMessage<WsCallDisconnectionReported>(arena);
424 }
425 WsCallDisconnectionReported* New() const {
426 return New(nullptr);
427 }
428 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
429 void CopyFrom(const WsCallDisconnectionReported& from);
430 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
431 void MergeFrom( const WsCallDisconnectionReported& from) {
432 WsCallDisconnectionReported::MergeImpl(*this, from);
433 }
434 private:
435 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
436 public:
437 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
438 bool IsInitialized() const final;
439
440 size_t ByteSizeLong() const final;
441 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
442 ::uint8_t* _InternalSerialize(
443 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
444 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
445
446 private:
447 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
448 void SharedDtor();
449 void SetCachedSize(int size) const final;
450 void InternalSwap(WsCallDisconnectionReported* other);
451
452 private:
453 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
454 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
455 return "android.os.statsd.wearservices.WsCallDisconnectionReported";
456 }
457 protected:
458 explicit WsCallDisconnectionReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
459 bool is_message_owned = false);
460 public:
461
462 static const ClassData _class_data_;
463 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
464
465 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
466
467 // nested types ----------------------------------------------------
468
469 // accessors -------------------------------------------------------
470
471 enum : int {
472 kReasonFieldNumber = 1,
473 kErrorCodeFieldNumber = 2,
474 };
475 // optional .android.app.wearservices.DisconnectionReason reason = 1;
476 bool has_reason() const;
477 private:
478 bool _internal_has_reason() const;
479 public:
480 void clear_reason();
481 ::android::app::wearservices::DisconnectionReason reason() const;
482 void set_reason(::android::app::wearservices::DisconnectionReason value);
483 private:
484 ::android::app::wearservices::DisconnectionReason _internal_reason() const;
485 void _internal_set_reason(::android::app::wearservices::DisconnectionReason value);
486 public:
487
488 // optional .android.app.wearservices.DisconnectionErrorCode error_code = 2;
489 bool has_error_code() const;
490 private:
491 bool _internal_has_error_code() const;
492 public:
493 void clear_error_code();
494 ::android::app::wearservices::DisconnectionErrorCode error_code() const;
495 void set_error_code(::android::app::wearservices::DisconnectionErrorCode value);
496 private:
497 ::android::app::wearservices::DisconnectionErrorCode _internal_error_code() const;
498 void _internal_set_error_code(::android::app::wearservices::DisconnectionErrorCode value);
499 public:
500
501 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsCallDisconnectionReported)
502 private:
503 class _Internal;
504
505 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
506 typedef void InternalArenaConstructable_;
507 typedef void DestructorSkippable_;
508 struct Impl_ {
509 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
510 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
511 int reason_;
512 int error_code_;
513 };
514 union { Impl_ _impl_; };
515 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
516 };
517 // -------------------------------------------------------------------
518
519 class WsCallDurationReported final :
520 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsCallDurationReported) */ {
521 public:
WsCallDurationReported()522 inline WsCallDurationReported() : WsCallDurationReported(nullptr) {}
523 ~WsCallDurationReported() override;
524 explicit PROTOBUF_CONSTEXPR WsCallDurationReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
525
526 WsCallDurationReported(const WsCallDurationReported& from);
WsCallDurationReported(WsCallDurationReported && from)527 WsCallDurationReported(WsCallDurationReported&& from) noexcept
528 : WsCallDurationReported() {
529 *this = ::std::move(from);
530 }
531
532 inline WsCallDurationReported& operator=(const WsCallDurationReported& from) {
533 if (this == &from) return *this;
534 CopyFrom(from);
535 return *this;
536 }
537 inline WsCallDurationReported& operator=(WsCallDurationReported&& from) noexcept {
538 if (this == &from) return *this;
539 if (GetOwningArena() == from.GetOwningArena()
540 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
541 && GetOwningArena() != nullptr
542 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
543 ) {
544 InternalSwap(&from);
545 } else {
546 CopyFrom(from);
547 }
548 return *this;
549 }
550
unknown_fields()551 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
552 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
553 }
mutable_unknown_fields()554 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
555 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
556 }
557
descriptor()558 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
559 return GetDescriptor();
560 }
GetDescriptor()561 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
562 return default_instance().GetMetadata().descriptor;
563 }
GetReflection()564 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
565 return default_instance().GetMetadata().reflection;
566 }
default_instance()567 static const WsCallDurationReported& default_instance() {
568 return *internal_default_instance();
569 }
internal_default_instance()570 static inline const WsCallDurationReported* internal_default_instance() {
571 return reinterpret_cast<const WsCallDurationReported*>(
572 &_WsCallDurationReported_default_instance_);
573 }
574 static constexpr int kIndexInFileMessages =
575 2;
576
swap(WsCallDurationReported & a,WsCallDurationReported & b)577 friend void swap(WsCallDurationReported& a, WsCallDurationReported& b) {
578 a.Swap(&b);
579 }
Swap(WsCallDurationReported * other)580 inline void Swap(WsCallDurationReported* other) {
581 if (other == this) return;
582 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
583 if (GetOwningArena() != nullptr &&
584 GetOwningArena() == other->GetOwningArena()) {
585 #else // PROTOBUF_FORCE_COPY_IN_SWAP
586 if (GetOwningArena() == other->GetOwningArena()) {
587 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
588 InternalSwap(other);
589 } else {
590 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
591 }
592 }
593 void UnsafeArenaSwap(WsCallDurationReported* other) {
594 if (other == this) return;
595 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
596 InternalSwap(other);
597 }
598
599 // implements Message ----------------------------------------------
600
601 WsCallDurationReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
602 return CreateMaybeMessage<WsCallDurationReported>(arena);
603 }
604 WsCallDurationReported* New() const {
605 return New(nullptr);
606 }
607 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
608 void CopyFrom(const WsCallDurationReported& from);
609 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
610 void MergeFrom( const WsCallDurationReported& from) {
611 WsCallDurationReported::MergeImpl(*this, from);
612 }
613 private:
614 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
615 public:
616 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
617 bool IsInitialized() const final;
618
619 size_t ByteSizeLong() const final;
620 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
621 ::uint8_t* _InternalSerialize(
622 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
623 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
624
625 private:
626 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
627 void SharedDtor();
628 void SetCachedSize(int size) const final;
629 void InternalSwap(WsCallDurationReported* other);
630
631 private:
632 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
633 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
634 return "android.os.statsd.wearservices.WsCallDurationReported";
635 }
636 protected:
637 explicit WsCallDurationReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
638 bool is_message_owned = false);
639 public:
640
641 static const ClassData _class_data_;
642 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
643
644 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
645
646 // nested types ----------------------------------------------------
647
648 // accessors -------------------------------------------------------
649
650 enum : int {
651 kCallTypeFieldNumber = 1,
652 kIsInitiatedOrAcceptedOnWatchFieldNumber = 2,
653 kCallSourceFieldNumber = 3,
654 kCallDurationMillisFieldNumber = 4,
655 };
656 // optional .android.app.wearservices.CallType call_type = 1;
657 bool has_call_type() const;
658 private:
659 bool _internal_has_call_type() const;
660 public:
661 void clear_call_type();
662 ::android::app::wearservices::CallType call_type() const;
663 void set_call_type(::android::app::wearservices::CallType value);
664 private:
665 ::android::app::wearservices::CallType _internal_call_type() const;
666 void _internal_set_call_type(::android::app::wearservices::CallType value);
667 public:
668
669 // optional bool is_initiated_or_accepted_on_watch = 2;
670 bool has_is_initiated_or_accepted_on_watch() const;
671 private:
672 bool _internal_has_is_initiated_or_accepted_on_watch() const;
673 public:
674 void clear_is_initiated_or_accepted_on_watch();
675 bool is_initiated_or_accepted_on_watch() const;
676 void set_is_initiated_or_accepted_on_watch(bool value);
677 private:
678 bool _internal_is_initiated_or_accepted_on_watch() const;
679 void _internal_set_is_initiated_or_accepted_on_watch(bool value);
680 public:
681
682 // optional .android.app.wearservices.CallSource call_source = 3;
683 bool has_call_source() const;
684 private:
685 bool _internal_has_call_source() const;
686 public:
687 void clear_call_source();
688 ::android::app::wearservices::CallSource call_source() const;
689 void set_call_source(::android::app::wearservices::CallSource value);
690 private:
691 ::android::app::wearservices::CallSource _internal_call_source() const;
692 void _internal_set_call_source(::android::app::wearservices::CallSource value);
693 public:
694
695 // optional int32 call_duration_millis = 4;
696 bool has_call_duration_millis() const;
697 private:
698 bool _internal_has_call_duration_millis() const;
699 public:
700 void clear_call_duration_millis();
701 ::int32_t call_duration_millis() const;
702 void set_call_duration_millis(::int32_t value);
703 private:
704 ::int32_t _internal_call_duration_millis() const;
705 void _internal_set_call_duration_millis(::int32_t value);
706 public:
707
708 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsCallDurationReported)
709 private:
710 class _Internal;
711
712 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
713 typedef void InternalArenaConstructable_;
714 typedef void DestructorSkippable_;
715 struct Impl_ {
716 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
717 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
718 int call_type_;
719 bool is_initiated_or_accepted_on_watch_;
720 int call_source_;
721 ::int32_t call_duration_millis_;
722 };
723 union { Impl_ _impl_; };
724 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
725 };
726 // -------------------------------------------------------------------
727
728 class WsCallUserExperienceLatencyReported final :
729 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsCallUserExperienceLatencyReported) */ {
730 public:
WsCallUserExperienceLatencyReported()731 inline WsCallUserExperienceLatencyReported() : WsCallUserExperienceLatencyReported(nullptr) {}
732 ~WsCallUserExperienceLatencyReported() override;
733 explicit PROTOBUF_CONSTEXPR WsCallUserExperienceLatencyReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
734
735 WsCallUserExperienceLatencyReported(const WsCallUserExperienceLatencyReported& from);
WsCallUserExperienceLatencyReported(WsCallUserExperienceLatencyReported && from)736 WsCallUserExperienceLatencyReported(WsCallUserExperienceLatencyReported&& from) noexcept
737 : WsCallUserExperienceLatencyReported() {
738 *this = ::std::move(from);
739 }
740
741 inline WsCallUserExperienceLatencyReported& operator=(const WsCallUserExperienceLatencyReported& from) {
742 if (this == &from) return *this;
743 CopyFrom(from);
744 return *this;
745 }
746 inline WsCallUserExperienceLatencyReported& operator=(WsCallUserExperienceLatencyReported&& from) noexcept {
747 if (this == &from) return *this;
748 if (GetOwningArena() == from.GetOwningArena()
749 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
750 && GetOwningArena() != nullptr
751 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
752 ) {
753 InternalSwap(&from);
754 } else {
755 CopyFrom(from);
756 }
757 return *this;
758 }
759
unknown_fields()760 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
761 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
762 }
mutable_unknown_fields()763 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
764 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
765 }
766
descriptor()767 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
768 return GetDescriptor();
769 }
GetDescriptor()770 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
771 return default_instance().GetMetadata().descriptor;
772 }
GetReflection()773 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
774 return default_instance().GetMetadata().reflection;
775 }
default_instance()776 static const WsCallUserExperienceLatencyReported& default_instance() {
777 return *internal_default_instance();
778 }
internal_default_instance()779 static inline const WsCallUserExperienceLatencyReported* internal_default_instance() {
780 return reinterpret_cast<const WsCallUserExperienceLatencyReported*>(
781 &_WsCallUserExperienceLatencyReported_default_instance_);
782 }
783 static constexpr int kIndexInFileMessages =
784 3;
785
swap(WsCallUserExperienceLatencyReported & a,WsCallUserExperienceLatencyReported & b)786 friend void swap(WsCallUserExperienceLatencyReported& a, WsCallUserExperienceLatencyReported& b) {
787 a.Swap(&b);
788 }
Swap(WsCallUserExperienceLatencyReported * other)789 inline void Swap(WsCallUserExperienceLatencyReported* other) {
790 if (other == this) return;
791 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
792 if (GetOwningArena() != nullptr &&
793 GetOwningArena() == other->GetOwningArena()) {
794 #else // PROTOBUF_FORCE_COPY_IN_SWAP
795 if (GetOwningArena() == other->GetOwningArena()) {
796 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
797 InternalSwap(other);
798 } else {
799 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
800 }
801 }
802 void UnsafeArenaSwap(WsCallUserExperienceLatencyReported* other) {
803 if (other == this) return;
804 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
805 InternalSwap(other);
806 }
807
808 // implements Message ----------------------------------------------
809
810 WsCallUserExperienceLatencyReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
811 return CreateMaybeMessage<WsCallUserExperienceLatencyReported>(arena);
812 }
813 WsCallUserExperienceLatencyReported* New() const {
814 return New(nullptr);
815 }
816 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
817 void CopyFrom(const WsCallUserExperienceLatencyReported& from);
818 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
819 void MergeFrom( const WsCallUserExperienceLatencyReported& from) {
820 WsCallUserExperienceLatencyReported::MergeImpl(*this, from);
821 }
822 private:
823 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
824 public:
825 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
826 bool IsInitialized() const final;
827
828 size_t ByteSizeLong() const final;
829 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
830 ::uint8_t* _InternalSerialize(
831 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
832 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
833
834 private:
835 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
836 void SharedDtor();
837 void SetCachedSize(int size) const final;
838 void InternalSwap(WsCallUserExperienceLatencyReported* other);
839
840 private:
841 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
842 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
843 return "android.os.statsd.wearservices.WsCallUserExperienceLatencyReported";
844 }
845 protected:
846 explicit WsCallUserExperienceLatencyReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
847 bool is_message_owned = false);
848 public:
849
850 static const ClassData _class_data_;
851 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
852
853 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
854
855 // nested types ----------------------------------------------------
856
857 // accessors -------------------------------------------------------
858
859 enum : int {
860 kLatencyActionFieldNumber = 1,
861 kResultFieldNumber = 2,
862 kLatencyDurationMillisFieldNumber = 3,
863 };
864 // optional .android.app.wearservices.LatencyAction latency_action = 1;
865 bool has_latency_action() const;
866 private:
867 bool _internal_has_latency_action() const;
868 public:
869 void clear_latency_action();
870 ::android::app::wearservices::LatencyAction latency_action() const;
871 void set_latency_action(::android::app::wearservices::LatencyAction value);
872 private:
873 ::android::app::wearservices::LatencyAction _internal_latency_action() const;
874 void _internal_set_latency_action(::android::app::wearservices::LatencyAction value);
875 public:
876
877 // optional .android.app.wearservices.CallResult result = 2;
878 bool has_result() const;
879 private:
880 bool _internal_has_result() const;
881 public:
882 void clear_result();
883 ::android::app::wearservices::CallResult result() const;
884 void set_result(::android::app::wearservices::CallResult value);
885 private:
886 ::android::app::wearservices::CallResult _internal_result() const;
887 void _internal_set_result(::android::app::wearservices::CallResult value);
888 public:
889
890 // optional int32 latency_duration_millis = 3;
891 bool has_latency_duration_millis() const;
892 private:
893 bool _internal_has_latency_duration_millis() const;
894 public:
895 void clear_latency_duration_millis();
896 ::int32_t latency_duration_millis() const;
897 void set_latency_duration_millis(::int32_t value);
898 private:
899 ::int32_t _internal_latency_duration_millis() const;
900 void _internal_set_latency_duration_millis(::int32_t value);
901 public:
902
903 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsCallUserExperienceLatencyReported)
904 private:
905 class _Internal;
906
907 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
908 typedef void InternalArenaConstructable_;
909 typedef void DestructorSkippable_;
910 struct Impl_ {
911 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
912 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
913 int latency_action_;
914 int result_;
915 ::int32_t latency_duration_millis_;
916 };
917 union { Impl_ _impl_; };
918 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
919 };
920 // -------------------------------------------------------------------
921
922 class WsCallInteractionReported final :
923 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsCallInteractionReported) */ {
924 public:
WsCallInteractionReported()925 inline WsCallInteractionReported() : WsCallInteractionReported(nullptr) {}
926 ~WsCallInteractionReported() override;
927 explicit PROTOBUF_CONSTEXPR WsCallInteractionReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
928
929 WsCallInteractionReported(const WsCallInteractionReported& from);
WsCallInteractionReported(WsCallInteractionReported && from)930 WsCallInteractionReported(WsCallInteractionReported&& from) noexcept
931 : WsCallInteractionReported() {
932 *this = ::std::move(from);
933 }
934
935 inline WsCallInteractionReported& operator=(const WsCallInteractionReported& from) {
936 if (this == &from) return *this;
937 CopyFrom(from);
938 return *this;
939 }
940 inline WsCallInteractionReported& operator=(WsCallInteractionReported&& from) noexcept {
941 if (this == &from) return *this;
942 if (GetOwningArena() == from.GetOwningArena()
943 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
944 && GetOwningArena() != nullptr
945 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
946 ) {
947 InternalSwap(&from);
948 } else {
949 CopyFrom(from);
950 }
951 return *this;
952 }
953
unknown_fields()954 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
955 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
956 }
mutable_unknown_fields()957 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
958 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
959 }
960
descriptor()961 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
962 return GetDescriptor();
963 }
GetDescriptor()964 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
965 return default_instance().GetMetadata().descriptor;
966 }
GetReflection()967 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
968 return default_instance().GetMetadata().reflection;
969 }
default_instance()970 static const WsCallInteractionReported& default_instance() {
971 return *internal_default_instance();
972 }
internal_default_instance()973 static inline const WsCallInteractionReported* internal_default_instance() {
974 return reinterpret_cast<const WsCallInteractionReported*>(
975 &_WsCallInteractionReported_default_instance_);
976 }
977 static constexpr int kIndexInFileMessages =
978 4;
979
swap(WsCallInteractionReported & a,WsCallInteractionReported & b)980 friend void swap(WsCallInteractionReported& a, WsCallInteractionReported& b) {
981 a.Swap(&b);
982 }
Swap(WsCallInteractionReported * other)983 inline void Swap(WsCallInteractionReported* other) {
984 if (other == this) return;
985 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
986 if (GetOwningArena() != nullptr &&
987 GetOwningArena() == other->GetOwningArena()) {
988 #else // PROTOBUF_FORCE_COPY_IN_SWAP
989 if (GetOwningArena() == other->GetOwningArena()) {
990 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
991 InternalSwap(other);
992 } else {
993 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
994 }
995 }
996 void UnsafeArenaSwap(WsCallInteractionReported* other) {
997 if (other == this) return;
998 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
999 InternalSwap(other);
1000 }
1001
1002 // implements Message ----------------------------------------------
1003
1004 WsCallInteractionReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1005 return CreateMaybeMessage<WsCallInteractionReported>(arena);
1006 }
1007 WsCallInteractionReported* New() const {
1008 return New(nullptr);
1009 }
1010 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1011 void CopyFrom(const WsCallInteractionReported& from);
1012 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1013 void MergeFrom( const WsCallInteractionReported& from) {
1014 WsCallInteractionReported::MergeImpl(*this, from);
1015 }
1016 private:
1017 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1018 public:
1019 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1020 bool IsInitialized() const final;
1021
1022 size_t ByteSizeLong() const final;
1023 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1024 ::uint8_t* _InternalSerialize(
1025 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1026 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1027
1028 private:
1029 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1030 void SharedDtor();
1031 void SetCachedSize(int size) const final;
1032 void InternalSwap(WsCallInteractionReported* other);
1033
1034 private:
1035 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1036 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1037 return "android.os.statsd.wearservices.WsCallInteractionReported";
1038 }
1039 protected:
1040 explicit WsCallInteractionReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1041 bool is_message_owned = false);
1042 public:
1043
1044 static const ClassData _class_data_;
1045 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1046
1047 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1048
1049 // nested types ----------------------------------------------------
1050
1051 // accessors -------------------------------------------------------
1052
1053 enum : int {
1054 kInteractionFieldNumber = 1,
1055 kCallSourceFieldNumber = 2,
1056 };
1057 // optional .android.app.wearservices.CallInteraction interaction = 1;
1058 bool has_interaction() const;
1059 private:
1060 bool _internal_has_interaction() const;
1061 public:
1062 void clear_interaction();
1063 ::android::app::wearservices::CallInteraction interaction() const;
1064 void set_interaction(::android::app::wearservices::CallInteraction value);
1065 private:
1066 ::android::app::wearservices::CallInteraction _internal_interaction() const;
1067 void _internal_set_interaction(::android::app::wearservices::CallInteraction value);
1068 public:
1069
1070 // optional .android.app.wearservices.CallSource call_source = 2;
1071 bool has_call_source() const;
1072 private:
1073 bool _internal_has_call_source() const;
1074 public:
1075 void clear_call_source();
1076 ::android::app::wearservices::CallSource call_source() const;
1077 void set_call_source(::android::app::wearservices::CallSource value);
1078 private:
1079 ::android::app::wearservices::CallSource _internal_call_source() const;
1080 void _internal_set_call_source(::android::app::wearservices::CallSource value);
1081 public:
1082
1083 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsCallInteractionReported)
1084 private:
1085 class _Internal;
1086
1087 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1088 typedef void InternalArenaConstructable_;
1089 typedef void DestructorSkippable_;
1090 struct Impl_ {
1091 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1092 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1093 int interaction_;
1094 int call_source_;
1095 };
1096 union { Impl_ _impl_; };
1097 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
1098 };
1099 // -------------------------------------------------------------------
1100
1101 class WsWearTimeSession final :
1102 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsWearTimeSession) */ {
1103 public:
WsWearTimeSession()1104 inline WsWearTimeSession() : WsWearTimeSession(nullptr) {}
1105 ~WsWearTimeSession() override;
1106 explicit PROTOBUF_CONSTEXPR WsWearTimeSession(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1107
1108 WsWearTimeSession(const WsWearTimeSession& from);
WsWearTimeSession(WsWearTimeSession && from)1109 WsWearTimeSession(WsWearTimeSession&& from) noexcept
1110 : WsWearTimeSession() {
1111 *this = ::std::move(from);
1112 }
1113
1114 inline WsWearTimeSession& operator=(const WsWearTimeSession& from) {
1115 if (this == &from) return *this;
1116 CopyFrom(from);
1117 return *this;
1118 }
1119 inline WsWearTimeSession& operator=(WsWearTimeSession&& from) noexcept {
1120 if (this == &from) return *this;
1121 if (GetOwningArena() == from.GetOwningArena()
1122 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1123 && GetOwningArena() != nullptr
1124 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1125 ) {
1126 InternalSwap(&from);
1127 } else {
1128 CopyFrom(from);
1129 }
1130 return *this;
1131 }
1132
unknown_fields()1133 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1134 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1135 }
mutable_unknown_fields()1136 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1137 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1138 }
1139
descriptor()1140 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1141 return GetDescriptor();
1142 }
GetDescriptor()1143 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1144 return default_instance().GetMetadata().descriptor;
1145 }
GetReflection()1146 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1147 return default_instance().GetMetadata().reflection;
1148 }
default_instance()1149 static const WsWearTimeSession& default_instance() {
1150 return *internal_default_instance();
1151 }
internal_default_instance()1152 static inline const WsWearTimeSession* internal_default_instance() {
1153 return reinterpret_cast<const WsWearTimeSession*>(
1154 &_WsWearTimeSession_default_instance_);
1155 }
1156 static constexpr int kIndexInFileMessages =
1157 5;
1158
swap(WsWearTimeSession & a,WsWearTimeSession & b)1159 friend void swap(WsWearTimeSession& a, WsWearTimeSession& b) {
1160 a.Swap(&b);
1161 }
Swap(WsWearTimeSession * other)1162 inline void Swap(WsWearTimeSession* other) {
1163 if (other == this) return;
1164 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1165 if (GetOwningArena() != nullptr &&
1166 GetOwningArena() == other->GetOwningArena()) {
1167 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1168 if (GetOwningArena() == other->GetOwningArena()) {
1169 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1170 InternalSwap(other);
1171 } else {
1172 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1173 }
1174 }
1175 void UnsafeArenaSwap(WsWearTimeSession* other) {
1176 if (other == this) return;
1177 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1178 InternalSwap(other);
1179 }
1180
1181 // implements Message ----------------------------------------------
1182
1183 WsWearTimeSession* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1184 return CreateMaybeMessage<WsWearTimeSession>(arena);
1185 }
1186 WsWearTimeSession* New() const {
1187 return New(nullptr);
1188 }
1189 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1190 void CopyFrom(const WsWearTimeSession& from);
1191 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1192 void MergeFrom( const WsWearTimeSession& from) {
1193 WsWearTimeSession::MergeImpl(*this, from);
1194 }
1195 private:
1196 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1197 public:
1198 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1199 bool IsInitialized() const final;
1200
1201 size_t ByteSizeLong() const final;
1202 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1203 ::uint8_t* _InternalSerialize(
1204 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1205 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1206
1207 private:
1208 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1209 void SharedDtor();
1210 void SetCachedSize(int size) const final;
1211 void InternalSwap(WsWearTimeSession* other);
1212
1213 private:
1214 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1215 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1216 return "android.os.statsd.wearservices.WsWearTimeSession";
1217 }
1218 protected:
1219 explicit WsWearTimeSession(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1220 bool is_message_owned = false);
1221 public:
1222
1223 static const ClassData _class_data_;
1224 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1225
1226 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1227
1228 // nested types ----------------------------------------------------
1229
1230 // accessors -------------------------------------------------------
1231
1232 enum : int {
1233 kSessionDurationMillisFieldNumber = 1,
1234 };
1235 // optional int64 session_duration_millis = 1;
1236 bool has_session_duration_millis() const;
1237 private:
1238 bool _internal_has_session_duration_millis() const;
1239 public:
1240 void clear_session_duration_millis();
1241 ::int64_t session_duration_millis() const;
1242 void set_session_duration_millis(::int64_t value);
1243 private:
1244 ::int64_t _internal_session_duration_millis() const;
1245 void _internal_set_session_duration_millis(::int64_t value);
1246 public:
1247
1248 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsWearTimeSession)
1249 private:
1250 class _Internal;
1251
1252 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1253 typedef void InternalArenaConstructable_;
1254 typedef void DestructorSkippable_;
1255 struct Impl_ {
1256 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1257 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1258 ::int64_t session_duration_millis_;
1259 };
1260 union { Impl_ _impl_; };
1261 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
1262 };
1263 // -------------------------------------------------------------------
1264
1265 class WsOnBodyStateChanged final :
1266 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsOnBodyStateChanged) */ {
1267 public:
WsOnBodyStateChanged()1268 inline WsOnBodyStateChanged() : WsOnBodyStateChanged(nullptr) {}
1269 ~WsOnBodyStateChanged() override;
1270 explicit PROTOBUF_CONSTEXPR WsOnBodyStateChanged(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1271
1272 WsOnBodyStateChanged(const WsOnBodyStateChanged& from);
WsOnBodyStateChanged(WsOnBodyStateChanged && from)1273 WsOnBodyStateChanged(WsOnBodyStateChanged&& from) noexcept
1274 : WsOnBodyStateChanged() {
1275 *this = ::std::move(from);
1276 }
1277
1278 inline WsOnBodyStateChanged& operator=(const WsOnBodyStateChanged& from) {
1279 if (this == &from) return *this;
1280 CopyFrom(from);
1281 return *this;
1282 }
1283 inline WsOnBodyStateChanged& operator=(WsOnBodyStateChanged&& from) noexcept {
1284 if (this == &from) return *this;
1285 if (GetOwningArena() == from.GetOwningArena()
1286 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1287 && GetOwningArena() != nullptr
1288 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1289 ) {
1290 InternalSwap(&from);
1291 } else {
1292 CopyFrom(from);
1293 }
1294 return *this;
1295 }
1296
unknown_fields()1297 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1298 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1299 }
mutable_unknown_fields()1300 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1301 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1302 }
1303
descriptor()1304 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1305 return GetDescriptor();
1306 }
GetDescriptor()1307 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1308 return default_instance().GetMetadata().descriptor;
1309 }
GetReflection()1310 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1311 return default_instance().GetMetadata().reflection;
1312 }
default_instance()1313 static const WsOnBodyStateChanged& default_instance() {
1314 return *internal_default_instance();
1315 }
internal_default_instance()1316 static inline const WsOnBodyStateChanged* internal_default_instance() {
1317 return reinterpret_cast<const WsOnBodyStateChanged*>(
1318 &_WsOnBodyStateChanged_default_instance_);
1319 }
1320 static constexpr int kIndexInFileMessages =
1321 6;
1322
swap(WsOnBodyStateChanged & a,WsOnBodyStateChanged & b)1323 friend void swap(WsOnBodyStateChanged& a, WsOnBodyStateChanged& b) {
1324 a.Swap(&b);
1325 }
Swap(WsOnBodyStateChanged * other)1326 inline void Swap(WsOnBodyStateChanged* other) {
1327 if (other == this) return;
1328 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1329 if (GetOwningArena() != nullptr &&
1330 GetOwningArena() == other->GetOwningArena()) {
1331 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1332 if (GetOwningArena() == other->GetOwningArena()) {
1333 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1334 InternalSwap(other);
1335 } else {
1336 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1337 }
1338 }
1339 void UnsafeArenaSwap(WsOnBodyStateChanged* other) {
1340 if (other == this) return;
1341 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1342 InternalSwap(other);
1343 }
1344
1345 // implements Message ----------------------------------------------
1346
1347 WsOnBodyStateChanged* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1348 return CreateMaybeMessage<WsOnBodyStateChanged>(arena);
1349 }
1350 WsOnBodyStateChanged* New() const {
1351 return New(nullptr);
1352 }
1353 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1354 void CopyFrom(const WsOnBodyStateChanged& from);
1355 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1356 void MergeFrom( const WsOnBodyStateChanged& from) {
1357 WsOnBodyStateChanged::MergeImpl(*this, from);
1358 }
1359 private:
1360 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1361 public:
1362 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1363 bool IsInitialized() const final;
1364
1365 size_t ByteSizeLong() const final;
1366 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1367 ::uint8_t* _InternalSerialize(
1368 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1369 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1370
1371 private:
1372 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1373 void SharedDtor();
1374 void SetCachedSize(int size) const final;
1375 void InternalSwap(WsOnBodyStateChanged* other);
1376
1377 private:
1378 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1379 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1380 return "android.os.statsd.wearservices.WsOnBodyStateChanged";
1381 }
1382 protected:
1383 explicit WsOnBodyStateChanged(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1384 bool is_message_owned = false);
1385 public:
1386
1387 static const ClassData _class_data_;
1388 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1389
1390 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1391
1392 // nested types ----------------------------------------------------
1393
1394 // accessors -------------------------------------------------------
1395
1396 enum : int {
1397 kSensorEventTimestampNanosFieldNumber = 2,
1398 kOnBodyStateFieldNumber = 1,
1399 };
1400 // optional int64 sensor_event_timestamp_nanos = 2;
1401 bool has_sensor_event_timestamp_nanos() const;
1402 private:
1403 bool _internal_has_sensor_event_timestamp_nanos() const;
1404 public:
1405 void clear_sensor_event_timestamp_nanos();
1406 ::int64_t sensor_event_timestamp_nanos() const;
1407 void set_sensor_event_timestamp_nanos(::int64_t value);
1408 private:
1409 ::int64_t _internal_sensor_event_timestamp_nanos() const;
1410 void _internal_set_sensor_event_timestamp_nanos(::int64_t value);
1411 public:
1412
1413 // optional .android.app.wearservices.OnBodyState on_body_state = 1;
1414 bool has_on_body_state() const;
1415 private:
1416 bool _internal_has_on_body_state() const;
1417 public:
1418 void clear_on_body_state();
1419 ::android::app::wearservices::OnBodyState on_body_state() const;
1420 void set_on_body_state(::android::app::wearservices::OnBodyState value);
1421 private:
1422 ::android::app::wearservices::OnBodyState _internal_on_body_state() const;
1423 void _internal_set_on_body_state(::android::app::wearservices::OnBodyState value);
1424 public:
1425
1426 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsOnBodyStateChanged)
1427 private:
1428 class _Internal;
1429
1430 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1431 typedef void InternalArenaConstructable_;
1432 typedef void DestructorSkippable_;
1433 struct Impl_ {
1434 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1435 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1436 ::int64_t sensor_event_timestamp_nanos_;
1437 int on_body_state_;
1438 };
1439 union { Impl_ _impl_; };
1440 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
1441 };
1442 // -------------------------------------------------------------------
1443
1444 class WsStandaloneModeSnapshot final :
1445 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsStandaloneModeSnapshot) */ {
1446 public:
WsStandaloneModeSnapshot()1447 inline WsStandaloneModeSnapshot() : WsStandaloneModeSnapshot(nullptr) {}
1448 ~WsStandaloneModeSnapshot() override;
1449 explicit PROTOBUF_CONSTEXPR WsStandaloneModeSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1450
1451 WsStandaloneModeSnapshot(const WsStandaloneModeSnapshot& from);
WsStandaloneModeSnapshot(WsStandaloneModeSnapshot && from)1452 WsStandaloneModeSnapshot(WsStandaloneModeSnapshot&& from) noexcept
1453 : WsStandaloneModeSnapshot() {
1454 *this = ::std::move(from);
1455 }
1456
1457 inline WsStandaloneModeSnapshot& operator=(const WsStandaloneModeSnapshot& from) {
1458 if (this == &from) return *this;
1459 CopyFrom(from);
1460 return *this;
1461 }
1462 inline WsStandaloneModeSnapshot& operator=(WsStandaloneModeSnapshot&& from) noexcept {
1463 if (this == &from) return *this;
1464 if (GetOwningArena() == from.GetOwningArena()
1465 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1466 && GetOwningArena() != nullptr
1467 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1468 ) {
1469 InternalSwap(&from);
1470 } else {
1471 CopyFrom(from);
1472 }
1473 return *this;
1474 }
1475
unknown_fields()1476 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1477 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1478 }
mutable_unknown_fields()1479 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1480 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1481 }
1482
descriptor()1483 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1484 return GetDescriptor();
1485 }
GetDescriptor()1486 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1487 return default_instance().GetMetadata().descriptor;
1488 }
GetReflection()1489 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1490 return default_instance().GetMetadata().reflection;
1491 }
default_instance()1492 static const WsStandaloneModeSnapshot& default_instance() {
1493 return *internal_default_instance();
1494 }
internal_default_instance()1495 static inline const WsStandaloneModeSnapshot* internal_default_instance() {
1496 return reinterpret_cast<const WsStandaloneModeSnapshot*>(
1497 &_WsStandaloneModeSnapshot_default_instance_);
1498 }
1499 static constexpr int kIndexInFileMessages =
1500 7;
1501
swap(WsStandaloneModeSnapshot & a,WsStandaloneModeSnapshot & b)1502 friend void swap(WsStandaloneModeSnapshot& a, WsStandaloneModeSnapshot& b) {
1503 a.Swap(&b);
1504 }
Swap(WsStandaloneModeSnapshot * other)1505 inline void Swap(WsStandaloneModeSnapshot* other) {
1506 if (other == this) return;
1507 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1508 if (GetOwningArena() != nullptr &&
1509 GetOwningArena() == other->GetOwningArena()) {
1510 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1511 if (GetOwningArena() == other->GetOwningArena()) {
1512 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1513 InternalSwap(other);
1514 } else {
1515 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1516 }
1517 }
1518 void UnsafeArenaSwap(WsStandaloneModeSnapshot* other) {
1519 if (other == this) return;
1520 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1521 InternalSwap(other);
1522 }
1523
1524 // implements Message ----------------------------------------------
1525
1526 WsStandaloneModeSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1527 return CreateMaybeMessage<WsStandaloneModeSnapshot>(arena);
1528 }
1529 WsStandaloneModeSnapshot* New() const {
1530 return New(nullptr);
1531 }
1532 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1533 void CopyFrom(const WsStandaloneModeSnapshot& from);
1534 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1535 void MergeFrom( const WsStandaloneModeSnapshot& from) {
1536 WsStandaloneModeSnapshot::MergeImpl(*this, from);
1537 }
1538 private:
1539 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1540 public:
1541 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1542 bool IsInitialized() const final;
1543
1544 size_t ByteSizeLong() const final;
1545 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1546 ::uint8_t* _InternalSerialize(
1547 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1548 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1549
1550 private:
1551 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1552 void SharedDtor();
1553 void SetCachedSize(int size) const final;
1554 void InternalSwap(WsStandaloneModeSnapshot* other);
1555
1556 private:
1557 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1558 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1559 return "android.os.statsd.wearservices.WsStandaloneModeSnapshot";
1560 }
1561 protected:
1562 explicit WsStandaloneModeSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1563 bool is_message_owned = false);
1564 public:
1565
1566 static const ClassData _class_data_;
1567 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1568
1569 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1570
1571 // nested types ----------------------------------------------------
1572
1573 // accessors -------------------------------------------------------
1574
1575 enum : int {
1576 kTetherConfigurationStatusFieldNumber = 1,
1577 };
1578 // optional .android.app.wearservices.TetherConfigurationStatus tether_configuration_status = 1;
1579 bool has_tether_configuration_status() const;
1580 private:
1581 bool _internal_has_tether_configuration_status() const;
1582 public:
1583 void clear_tether_configuration_status();
1584 ::android::app::wearservices::TetherConfigurationStatus tether_configuration_status() const;
1585 void set_tether_configuration_status(::android::app::wearservices::TetherConfigurationStatus value);
1586 private:
1587 ::android::app::wearservices::TetherConfigurationStatus _internal_tether_configuration_status() const;
1588 void _internal_set_tether_configuration_status(::android::app::wearservices::TetherConfigurationStatus value);
1589 public:
1590
1591 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsStandaloneModeSnapshot)
1592 private:
1593 class _Internal;
1594
1595 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1596 typedef void InternalArenaConstructable_;
1597 typedef void DestructorSkippable_;
1598 struct Impl_ {
1599 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1600 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1601 int tether_configuration_status_;
1602 };
1603 union { Impl_ _impl_; };
1604 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
1605 };
1606 // -------------------------------------------------------------------
1607
1608 class WsWatchFaceRestrictedComplicationsImpacted final :
1609 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted) */ {
1610 public:
WsWatchFaceRestrictedComplicationsImpacted()1611 inline WsWatchFaceRestrictedComplicationsImpacted() : WsWatchFaceRestrictedComplicationsImpacted(nullptr) {}
1612 ~WsWatchFaceRestrictedComplicationsImpacted() override;
1613 explicit PROTOBUF_CONSTEXPR WsWatchFaceRestrictedComplicationsImpacted(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1614
1615 WsWatchFaceRestrictedComplicationsImpacted(const WsWatchFaceRestrictedComplicationsImpacted& from);
WsWatchFaceRestrictedComplicationsImpacted(WsWatchFaceRestrictedComplicationsImpacted && from)1616 WsWatchFaceRestrictedComplicationsImpacted(WsWatchFaceRestrictedComplicationsImpacted&& from) noexcept
1617 : WsWatchFaceRestrictedComplicationsImpacted() {
1618 *this = ::std::move(from);
1619 }
1620
1621 inline WsWatchFaceRestrictedComplicationsImpacted& operator=(const WsWatchFaceRestrictedComplicationsImpacted& from) {
1622 if (this == &from) return *this;
1623 CopyFrom(from);
1624 return *this;
1625 }
1626 inline WsWatchFaceRestrictedComplicationsImpacted& operator=(WsWatchFaceRestrictedComplicationsImpacted&& from) noexcept {
1627 if (this == &from) return *this;
1628 if (GetOwningArena() == from.GetOwningArena()
1629 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1630 && GetOwningArena() != nullptr
1631 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1632 ) {
1633 InternalSwap(&from);
1634 } else {
1635 CopyFrom(from);
1636 }
1637 return *this;
1638 }
1639
unknown_fields()1640 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1641 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1642 }
mutable_unknown_fields()1643 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1644 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1645 }
1646
descriptor()1647 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1648 return GetDescriptor();
1649 }
GetDescriptor()1650 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1651 return default_instance().GetMetadata().descriptor;
1652 }
GetReflection()1653 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1654 return default_instance().GetMetadata().reflection;
1655 }
default_instance()1656 static const WsWatchFaceRestrictedComplicationsImpacted& default_instance() {
1657 return *internal_default_instance();
1658 }
internal_default_instance()1659 static inline const WsWatchFaceRestrictedComplicationsImpacted* internal_default_instance() {
1660 return reinterpret_cast<const WsWatchFaceRestrictedComplicationsImpacted*>(
1661 &_WsWatchFaceRestrictedComplicationsImpacted_default_instance_);
1662 }
1663 static constexpr int kIndexInFileMessages =
1664 8;
1665
swap(WsWatchFaceRestrictedComplicationsImpacted & a,WsWatchFaceRestrictedComplicationsImpacted & b)1666 friend void swap(WsWatchFaceRestrictedComplicationsImpacted& a, WsWatchFaceRestrictedComplicationsImpacted& b) {
1667 a.Swap(&b);
1668 }
Swap(WsWatchFaceRestrictedComplicationsImpacted * other)1669 inline void Swap(WsWatchFaceRestrictedComplicationsImpacted* other) {
1670 if (other == this) return;
1671 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1672 if (GetOwningArena() != nullptr &&
1673 GetOwningArena() == other->GetOwningArena()) {
1674 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1675 if (GetOwningArena() == other->GetOwningArena()) {
1676 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1677 InternalSwap(other);
1678 } else {
1679 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1680 }
1681 }
1682 void UnsafeArenaSwap(WsWatchFaceRestrictedComplicationsImpacted* other) {
1683 if (other == this) return;
1684 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1685 InternalSwap(other);
1686 }
1687
1688 // implements Message ----------------------------------------------
1689
1690 WsWatchFaceRestrictedComplicationsImpacted* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1691 return CreateMaybeMessage<WsWatchFaceRestrictedComplicationsImpacted>(arena);
1692 }
1693 WsWatchFaceRestrictedComplicationsImpacted* New() const {
1694 return New(nullptr);
1695 }
1696 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1697 void CopyFrom(const WsWatchFaceRestrictedComplicationsImpacted& from);
1698 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1699 void MergeFrom( const WsWatchFaceRestrictedComplicationsImpacted& from) {
1700 WsWatchFaceRestrictedComplicationsImpacted::MergeImpl(*this, from);
1701 }
1702 private:
1703 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1704 public:
1705 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1706 bool IsInitialized() const final;
1707
1708 size_t ByteSizeLong() const final;
1709 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1710 ::uint8_t* _InternalSerialize(
1711 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1712 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1713
1714 private:
1715 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1716 void SharedDtor();
1717 void SetCachedSize(int size) const final;
1718 void InternalSwap(WsWatchFaceRestrictedComplicationsImpacted* other);
1719
1720 private:
1721 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1722 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1723 return "android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted";
1724 }
1725 protected:
1726 explicit WsWatchFaceRestrictedComplicationsImpacted(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1727 bool is_message_owned = false);
1728 public:
1729
1730 static const ClassData _class_data_;
1731 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
1732
1733 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
1734
1735 // nested types ----------------------------------------------------
1736
1737 // accessors -------------------------------------------------------
1738
1739 enum : int {
1740 kComplicationComponentPackageUidFieldNumber = 3,
1741 kComplicationComponentClassNameFieldNumber = 4,
1742 kComplicationTypeFieldNumber = 5,
1743 kWatchFaceComponentClassNameFieldNumber = 2,
1744 kWatchFacePackageUidFieldNumber = 1,
1745 kIsCurrentActiveFieldNumber = 6,
1746 };
1747 // repeated int32 complication_component_package_uid = 3 [(.android.os.statsd.is_uid) = true];
1748 int complication_component_package_uid_size() const;
1749 private:
1750 int _internal_complication_component_package_uid_size() const;
1751 public:
1752 void clear_complication_component_package_uid();
1753 private:
1754 ::int32_t _internal_complication_component_package_uid(int index) const;
1755 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1756 _internal_complication_component_package_uid() const;
1757 void _internal_add_complication_component_package_uid(::int32_t value);
1758 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1759 _internal_mutable_complication_component_package_uid();
1760 public:
1761 ::int32_t complication_component_package_uid(int index) const;
1762 void set_complication_component_package_uid(int index, ::int32_t value);
1763 void add_complication_component_package_uid(::int32_t value);
1764 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1765 complication_component_package_uid() const;
1766 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1767 mutable_complication_component_package_uid();
1768
1769 // repeated string complication_component_class_name = 4;
1770 int complication_component_class_name_size() const;
1771 private:
1772 int _internal_complication_component_class_name_size() const;
1773 public:
1774 void clear_complication_component_class_name();
1775 const std::string& complication_component_class_name(int index) const;
1776 std::string* mutable_complication_component_class_name(int index);
1777 void set_complication_component_class_name(int index, const std::string& value);
1778 void set_complication_component_class_name(int index, std::string&& value);
1779 void set_complication_component_class_name(int index, const char* value);
1780 void set_complication_component_class_name(int index, const char* value, size_t size);
1781 std::string* add_complication_component_class_name();
1782 void add_complication_component_class_name(const std::string& value);
1783 void add_complication_component_class_name(std::string&& value);
1784 void add_complication_component_class_name(const char* value);
1785 void add_complication_component_class_name(const char* value, size_t size);
1786 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& complication_component_class_name() const;
1787 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_complication_component_class_name();
1788 private:
1789 const std::string& _internal_complication_component_class_name(int index) const;
1790 std::string* _internal_add_complication_component_class_name();
1791 public:
1792
1793 // repeated int32 complication_type = 5;
1794 int complication_type_size() const;
1795 private:
1796 int _internal_complication_type_size() const;
1797 public:
1798 void clear_complication_type();
1799 private:
1800 ::int32_t _internal_complication_type(int index) const;
1801 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1802 _internal_complication_type() const;
1803 void _internal_add_complication_type(::int32_t value);
1804 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1805 _internal_mutable_complication_type();
1806 public:
1807 ::int32_t complication_type(int index) const;
1808 void set_complication_type(int index, ::int32_t value);
1809 void add_complication_type(::int32_t value);
1810 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
1811 complication_type() const;
1812 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
1813 mutable_complication_type();
1814
1815 // optional string watch_face_component_class_name = 2;
1816 bool has_watch_face_component_class_name() const;
1817 private:
1818 bool _internal_has_watch_face_component_class_name() const;
1819 public:
1820 void clear_watch_face_component_class_name();
1821 const std::string& watch_face_component_class_name() const;
1822 template <typename ArgT0 = const std::string&, typename... ArgT>
1823 void set_watch_face_component_class_name(ArgT0&& arg0, ArgT... args);
1824 std::string* mutable_watch_face_component_class_name();
1825 PROTOBUF_NODISCARD std::string* release_watch_face_component_class_name();
1826 void set_allocated_watch_face_component_class_name(std::string* watch_face_component_class_name);
1827 private:
1828 const std::string& _internal_watch_face_component_class_name() const;
1829 inline PROTOBUF_ALWAYS_INLINE void _internal_set_watch_face_component_class_name(const std::string& value);
1830 std::string* _internal_mutable_watch_face_component_class_name();
1831 public:
1832
1833 // optional int32 watch_face_package_uid = 1 [(.android.os.statsd.is_uid) = true];
1834 bool has_watch_face_package_uid() const;
1835 private:
1836 bool _internal_has_watch_face_package_uid() const;
1837 public:
1838 void clear_watch_face_package_uid();
1839 ::int32_t watch_face_package_uid() const;
1840 void set_watch_face_package_uid(::int32_t value);
1841 private:
1842 ::int32_t _internal_watch_face_package_uid() const;
1843 void _internal_set_watch_face_package_uid(::int32_t value);
1844 public:
1845
1846 // optional bool is_current_active = 6;
1847 bool has_is_current_active() const;
1848 private:
1849 bool _internal_has_is_current_active() const;
1850 public:
1851 void clear_is_current_active();
1852 bool is_current_active() const;
1853 void set_is_current_active(bool value);
1854 private:
1855 bool _internal_is_current_active() const;
1856 void _internal_set_is_current_active(bool value);
1857 public:
1858
1859 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted)
1860 private:
1861 class _Internal;
1862
1863 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1864 typedef void InternalArenaConstructable_;
1865 typedef void DestructorSkippable_;
1866 struct Impl_ {
1867 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1868 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1869 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > complication_component_package_uid_;
1870 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> complication_component_class_name_;
1871 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > complication_type_;
1872 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr watch_face_component_class_name_;
1873 ::int32_t watch_face_package_uid_;
1874 bool is_current_active_;
1875 };
1876 union { Impl_ _impl_; };
1877 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
1878 };
1879 // -------------------------------------------------------------------
1880
1881 class WsFavouriteWatchFaceSnapshot final :
1882 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsFavouriteWatchFaceSnapshot) */ {
1883 public:
WsFavouriteWatchFaceSnapshot()1884 inline WsFavouriteWatchFaceSnapshot() : WsFavouriteWatchFaceSnapshot(nullptr) {}
1885 ~WsFavouriteWatchFaceSnapshot() override;
1886 explicit PROTOBUF_CONSTEXPR WsFavouriteWatchFaceSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1887
1888 WsFavouriteWatchFaceSnapshot(const WsFavouriteWatchFaceSnapshot& from);
WsFavouriteWatchFaceSnapshot(WsFavouriteWatchFaceSnapshot && from)1889 WsFavouriteWatchFaceSnapshot(WsFavouriteWatchFaceSnapshot&& from) noexcept
1890 : WsFavouriteWatchFaceSnapshot() {
1891 *this = ::std::move(from);
1892 }
1893
1894 inline WsFavouriteWatchFaceSnapshot& operator=(const WsFavouriteWatchFaceSnapshot& from) {
1895 if (this == &from) return *this;
1896 CopyFrom(from);
1897 return *this;
1898 }
1899 inline WsFavouriteWatchFaceSnapshot& operator=(WsFavouriteWatchFaceSnapshot&& from) noexcept {
1900 if (this == &from) return *this;
1901 if (GetOwningArena() == from.GetOwningArena()
1902 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1903 && GetOwningArena() != nullptr
1904 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1905 ) {
1906 InternalSwap(&from);
1907 } else {
1908 CopyFrom(from);
1909 }
1910 return *this;
1911 }
1912
unknown_fields()1913 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
1914 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
1915 }
mutable_unknown_fields()1916 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
1917 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
1918 }
1919
descriptor()1920 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
1921 return GetDescriptor();
1922 }
GetDescriptor()1923 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
1924 return default_instance().GetMetadata().descriptor;
1925 }
GetReflection()1926 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
1927 return default_instance().GetMetadata().reflection;
1928 }
default_instance()1929 static const WsFavouriteWatchFaceSnapshot& default_instance() {
1930 return *internal_default_instance();
1931 }
internal_default_instance()1932 static inline const WsFavouriteWatchFaceSnapshot* internal_default_instance() {
1933 return reinterpret_cast<const WsFavouriteWatchFaceSnapshot*>(
1934 &_WsFavouriteWatchFaceSnapshot_default_instance_);
1935 }
1936 static constexpr int kIndexInFileMessages =
1937 9;
1938
swap(WsFavouriteWatchFaceSnapshot & a,WsFavouriteWatchFaceSnapshot & b)1939 friend void swap(WsFavouriteWatchFaceSnapshot& a, WsFavouriteWatchFaceSnapshot& b) {
1940 a.Swap(&b);
1941 }
Swap(WsFavouriteWatchFaceSnapshot * other)1942 inline void Swap(WsFavouriteWatchFaceSnapshot* other) {
1943 if (other == this) return;
1944 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1945 if (GetOwningArena() != nullptr &&
1946 GetOwningArena() == other->GetOwningArena()) {
1947 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1948 if (GetOwningArena() == other->GetOwningArena()) {
1949 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1950 InternalSwap(other);
1951 } else {
1952 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1953 }
1954 }
1955 void UnsafeArenaSwap(WsFavouriteWatchFaceSnapshot* other) {
1956 if (other == this) return;
1957 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1958 InternalSwap(other);
1959 }
1960
1961 // implements Message ----------------------------------------------
1962
1963 WsFavouriteWatchFaceSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1964 return CreateMaybeMessage<WsFavouriteWatchFaceSnapshot>(arena);
1965 }
1966 WsFavouriteWatchFaceSnapshot* New() const {
1967 return New(nullptr);
1968 }
1969 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
1970 void CopyFrom(const WsFavouriteWatchFaceSnapshot& from);
1971 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
1972 void MergeFrom( const WsFavouriteWatchFaceSnapshot& from) {
1973 WsFavouriteWatchFaceSnapshot::MergeImpl(*this, from);
1974 }
1975 private:
1976 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
1977 public:
1978 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1979 bool IsInitialized() const final;
1980
1981 size_t ByteSizeLong() const final;
1982 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1983 ::uint8_t* _InternalSerialize(
1984 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1985 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1986
1987 private:
1988 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1989 void SharedDtor();
1990 void SetCachedSize(int size) const final;
1991 void InternalSwap(WsFavouriteWatchFaceSnapshot* other);
1992
1993 private:
1994 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1995 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1996 return "android.os.statsd.wearservices.WsFavouriteWatchFaceSnapshot";
1997 }
1998 protected:
1999 explicit WsFavouriteWatchFaceSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2000 bool is_message_owned = false);
2001 public:
2002
2003 static const ClassData _class_data_;
2004 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2005
2006 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2007
2008 // nested types ----------------------------------------------------
2009
2010 // accessors -------------------------------------------------------
2011
2012 enum : int {
2013 kComplicationComponentPackageUidFieldNumber = 4,
2014 kComplicationComponentClassNameFieldNumber = 5,
2015 kComplicationTypeFieldNumber = 6,
2016 kWatchFaceClassNameFieldNumber = 2,
2017 kWatchFacePackageUidFieldNumber = 1,
2018 kFavoriteIdFieldNumber = 3,
2019 kIsCurrentActiveFieldNumber = 7,
2020 kIsRestrictedFieldNumber = 8,
2021 };
2022 // repeated int32 complication_component_package_uid = 4 [(.android.os.statsd.is_uid) = true];
2023 int complication_component_package_uid_size() const;
2024 private:
2025 int _internal_complication_component_package_uid_size() const;
2026 public:
2027 void clear_complication_component_package_uid();
2028 private:
2029 ::int32_t _internal_complication_component_package_uid(int index) const;
2030 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
2031 _internal_complication_component_package_uid() const;
2032 void _internal_add_complication_component_package_uid(::int32_t value);
2033 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
2034 _internal_mutable_complication_component_package_uid();
2035 public:
2036 ::int32_t complication_component_package_uid(int index) const;
2037 void set_complication_component_package_uid(int index, ::int32_t value);
2038 void add_complication_component_package_uid(::int32_t value);
2039 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
2040 complication_component_package_uid() const;
2041 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
2042 mutable_complication_component_package_uid();
2043
2044 // repeated string complication_component_class_name = 5;
2045 int complication_component_class_name_size() const;
2046 private:
2047 int _internal_complication_component_class_name_size() const;
2048 public:
2049 void clear_complication_component_class_name();
2050 const std::string& complication_component_class_name(int index) const;
2051 std::string* mutable_complication_component_class_name(int index);
2052 void set_complication_component_class_name(int index, const std::string& value);
2053 void set_complication_component_class_name(int index, std::string&& value);
2054 void set_complication_component_class_name(int index, const char* value);
2055 void set_complication_component_class_name(int index, const char* value, size_t size);
2056 std::string* add_complication_component_class_name();
2057 void add_complication_component_class_name(const std::string& value);
2058 void add_complication_component_class_name(std::string&& value);
2059 void add_complication_component_class_name(const char* value);
2060 void add_complication_component_class_name(const char* value, size_t size);
2061 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& complication_component_class_name() const;
2062 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_complication_component_class_name();
2063 private:
2064 const std::string& _internal_complication_component_class_name(int index) const;
2065 std::string* _internal_add_complication_component_class_name();
2066 public:
2067
2068 // repeated int32 complication_type = 6;
2069 int complication_type_size() const;
2070 private:
2071 int _internal_complication_type_size() const;
2072 public:
2073 void clear_complication_type();
2074 private:
2075 ::int32_t _internal_complication_type(int index) const;
2076 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
2077 _internal_complication_type() const;
2078 void _internal_add_complication_type(::int32_t value);
2079 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
2080 _internal_mutable_complication_type();
2081 public:
2082 ::int32_t complication_type(int index) const;
2083 void set_complication_type(int index, ::int32_t value);
2084 void add_complication_type(::int32_t value);
2085 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
2086 complication_type() const;
2087 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
2088 mutable_complication_type();
2089
2090 // optional string watch_face_class_name = 2;
2091 bool has_watch_face_class_name() const;
2092 private:
2093 bool _internal_has_watch_face_class_name() const;
2094 public:
2095 void clear_watch_face_class_name();
2096 const std::string& watch_face_class_name() const;
2097 template <typename ArgT0 = const std::string&, typename... ArgT>
2098 void set_watch_face_class_name(ArgT0&& arg0, ArgT... args);
2099 std::string* mutable_watch_face_class_name();
2100 PROTOBUF_NODISCARD std::string* release_watch_face_class_name();
2101 void set_allocated_watch_face_class_name(std::string* watch_face_class_name);
2102 private:
2103 const std::string& _internal_watch_face_class_name() const;
2104 inline PROTOBUF_ALWAYS_INLINE void _internal_set_watch_face_class_name(const std::string& value);
2105 std::string* _internal_mutable_watch_face_class_name();
2106 public:
2107
2108 // optional int32 watch_face_package_uid = 1 [(.android.os.statsd.is_uid) = true];
2109 bool has_watch_face_package_uid() const;
2110 private:
2111 bool _internal_has_watch_face_package_uid() const;
2112 public:
2113 void clear_watch_face_package_uid();
2114 ::int32_t watch_face_package_uid() const;
2115 void set_watch_face_package_uid(::int32_t value);
2116 private:
2117 ::int32_t _internal_watch_face_package_uid() const;
2118 void _internal_set_watch_face_package_uid(::int32_t value);
2119 public:
2120
2121 // optional int32 favorite_id = 3;
2122 bool has_favorite_id() const;
2123 private:
2124 bool _internal_has_favorite_id() const;
2125 public:
2126 void clear_favorite_id();
2127 ::int32_t favorite_id() const;
2128 void set_favorite_id(::int32_t value);
2129 private:
2130 ::int32_t _internal_favorite_id() const;
2131 void _internal_set_favorite_id(::int32_t value);
2132 public:
2133
2134 // optional bool is_current_active = 7;
2135 bool has_is_current_active() const;
2136 private:
2137 bool _internal_has_is_current_active() const;
2138 public:
2139 void clear_is_current_active();
2140 bool is_current_active() const;
2141 void set_is_current_active(bool value);
2142 private:
2143 bool _internal_is_current_active() const;
2144 void _internal_set_is_current_active(bool value);
2145 public:
2146
2147 // optional bool is_restricted = 8;
2148 bool has_is_restricted() const;
2149 private:
2150 bool _internal_has_is_restricted() const;
2151 public:
2152 void clear_is_restricted();
2153 bool is_restricted() const;
2154 void set_is_restricted(bool value);
2155 private:
2156 bool _internal_is_restricted() const;
2157 void _internal_set_is_restricted(bool value);
2158 public:
2159
2160 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsFavouriteWatchFaceSnapshot)
2161 private:
2162 class _Internal;
2163
2164 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2165 typedef void InternalArenaConstructable_;
2166 typedef void DestructorSkippable_;
2167 struct Impl_ {
2168 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2169 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2170 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > complication_component_package_uid_;
2171 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> complication_component_class_name_;
2172 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > complication_type_;
2173 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr watch_face_class_name_;
2174 ::int32_t watch_face_package_uid_;
2175 ::int32_t favorite_id_;
2176 bool is_current_active_;
2177 bool is_restricted_;
2178 };
2179 union { Impl_ _impl_; };
2180 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
2181 };
2182 // -------------------------------------------------------------------
2183
2184 class WsWatchFaceCustomizationSnapshot final :
2185 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsWatchFaceCustomizationSnapshot) */ {
2186 public:
WsWatchFaceCustomizationSnapshot()2187 inline WsWatchFaceCustomizationSnapshot() : WsWatchFaceCustomizationSnapshot(nullptr) {}
2188 ~WsWatchFaceCustomizationSnapshot() override;
2189 explicit PROTOBUF_CONSTEXPR WsWatchFaceCustomizationSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2190
2191 WsWatchFaceCustomizationSnapshot(const WsWatchFaceCustomizationSnapshot& from);
WsWatchFaceCustomizationSnapshot(WsWatchFaceCustomizationSnapshot && from)2192 WsWatchFaceCustomizationSnapshot(WsWatchFaceCustomizationSnapshot&& from) noexcept
2193 : WsWatchFaceCustomizationSnapshot() {
2194 *this = ::std::move(from);
2195 }
2196
2197 inline WsWatchFaceCustomizationSnapshot& operator=(const WsWatchFaceCustomizationSnapshot& from) {
2198 if (this == &from) return *this;
2199 CopyFrom(from);
2200 return *this;
2201 }
2202 inline WsWatchFaceCustomizationSnapshot& operator=(WsWatchFaceCustomizationSnapshot&& from) noexcept {
2203 if (this == &from) return *this;
2204 if (GetOwningArena() == from.GetOwningArena()
2205 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2206 && GetOwningArena() != nullptr
2207 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2208 ) {
2209 InternalSwap(&from);
2210 } else {
2211 CopyFrom(from);
2212 }
2213 return *this;
2214 }
2215
unknown_fields()2216 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2217 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2218 }
mutable_unknown_fields()2219 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2220 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2221 }
2222
descriptor()2223 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2224 return GetDescriptor();
2225 }
GetDescriptor()2226 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2227 return default_instance().GetMetadata().descriptor;
2228 }
GetReflection()2229 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2230 return default_instance().GetMetadata().reflection;
2231 }
default_instance()2232 static const WsWatchFaceCustomizationSnapshot& default_instance() {
2233 return *internal_default_instance();
2234 }
internal_default_instance()2235 static inline const WsWatchFaceCustomizationSnapshot* internal_default_instance() {
2236 return reinterpret_cast<const WsWatchFaceCustomizationSnapshot*>(
2237 &_WsWatchFaceCustomizationSnapshot_default_instance_);
2238 }
2239 static constexpr int kIndexInFileMessages =
2240 10;
2241
swap(WsWatchFaceCustomizationSnapshot & a,WsWatchFaceCustomizationSnapshot & b)2242 friend void swap(WsWatchFaceCustomizationSnapshot& a, WsWatchFaceCustomizationSnapshot& b) {
2243 a.Swap(&b);
2244 }
Swap(WsWatchFaceCustomizationSnapshot * other)2245 inline void Swap(WsWatchFaceCustomizationSnapshot* other) {
2246 if (other == this) return;
2247 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2248 if (GetOwningArena() != nullptr &&
2249 GetOwningArena() == other->GetOwningArena()) {
2250 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2251 if (GetOwningArena() == other->GetOwningArena()) {
2252 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2253 InternalSwap(other);
2254 } else {
2255 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2256 }
2257 }
2258 void UnsafeArenaSwap(WsWatchFaceCustomizationSnapshot* other) {
2259 if (other == this) return;
2260 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2261 InternalSwap(other);
2262 }
2263
2264 // implements Message ----------------------------------------------
2265
2266 WsWatchFaceCustomizationSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2267 return CreateMaybeMessage<WsWatchFaceCustomizationSnapshot>(arena);
2268 }
2269 WsWatchFaceCustomizationSnapshot* New() const {
2270 return New(nullptr);
2271 }
2272 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2273 void CopyFrom(const WsWatchFaceCustomizationSnapshot& from);
2274 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2275 void MergeFrom( const WsWatchFaceCustomizationSnapshot& from) {
2276 WsWatchFaceCustomizationSnapshot::MergeImpl(*this, from);
2277 }
2278 private:
2279 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2280 public:
2281 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2282 bool IsInitialized() const final;
2283
2284 size_t ByteSizeLong() const final;
2285 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2286 ::uint8_t* _InternalSerialize(
2287 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2288 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2289
2290 private:
2291 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2292 void SharedDtor();
2293 void SetCachedSize(int size) const final;
2294 void InternalSwap(WsWatchFaceCustomizationSnapshot* other);
2295
2296 private:
2297 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2298 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2299 return "android.os.statsd.wearservices.WsWatchFaceCustomizationSnapshot";
2300 }
2301 protected:
2302 explicit WsWatchFaceCustomizationSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2303 bool is_message_owned = false);
2304 public:
2305
2306 static const ClassData _class_data_;
2307 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2308
2309 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2310
2311 // nested types ----------------------------------------------------
2312
2313 // accessors -------------------------------------------------------
2314
2315 enum : int {
2316 kCustomizedWfFieldNumber = 1,
2317 kSwitchedToPreInstalledWfFieldNumber = 2,
2318 kSwitchedToNonPreinstalledWfFieldNumber = 3,
2319 };
2320 // optional bool customized_wf = 1;
2321 bool has_customized_wf() const;
2322 private:
2323 bool _internal_has_customized_wf() const;
2324 public:
2325 void clear_customized_wf();
2326 bool customized_wf() const;
2327 void set_customized_wf(bool value);
2328 private:
2329 bool _internal_customized_wf() const;
2330 void _internal_set_customized_wf(bool value);
2331 public:
2332
2333 // optional bool switched_to_pre_installed_wf = 2;
2334 bool has_switched_to_pre_installed_wf() const;
2335 private:
2336 bool _internal_has_switched_to_pre_installed_wf() const;
2337 public:
2338 void clear_switched_to_pre_installed_wf();
2339 bool switched_to_pre_installed_wf() const;
2340 void set_switched_to_pre_installed_wf(bool value);
2341 private:
2342 bool _internal_switched_to_pre_installed_wf() const;
2343 void _internal_set_switched_to_pre_installed_wf(bool value);
2344 public:
2345
2346 // optional bool switched_to_non_preinstalled_wf = 3;
2347 bool has_switched_to_non_preinstalled_wf() const;
2348 private:
2349 bool _internal_has_switched_to_non_preinstalled_wf() const;
2350 public:
2351 void clear_switched_to_non_preinstalled_wf();
2352 bool switched_to_non_preinstalled_wf() const;
2353 void set_switched_to_non_preinstalled_wf(bool value);
2354 private:
2355 bool _internal_switched_to_non_preinstalled_wf() const;
2356 void _internal_set_switched_to_non_preinstalled_wf(bool value);
2357 public:
2358
2359 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsWatchFaceCustomizationSnapshot)
2360 private:
2361 class _Internal;
2362
2363 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2364 typedef void InternalArenaConstructable_;
2365 typedef void DestructorSkippable_;
2366 struct Impl_ {
2367 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2368 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2369 bool customized_wf_;
2370 bool switched_to_pre_installed_wf_;
2371 bool switched_to_non_preinstalled_wf_;
2372 };
2373 union { Impl_ _impl_; };
2374 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
2375 };
2376 // -------------------------------------------------------------------
2377
2378 class WsPhotosWatchFaceFeatureSnapshot final :
2379 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsPhotosWatchFaceFeatureSnapshot) */ {
2380 public:
WsPhotosWatchFaceFeatureSnapshot()2381 inline WsPhotosWatchFaceFeatureSnapshot() : WsPhotosWatchFaceFeatureSnapshot(nullptr) {}
2382 ~WsPhotosWatchFaceFeatureSnapshot() override;
2383 explicit PROTOBUF_CONSTEXPR WsPhotosWatchFaceFeatureSnapshot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2384
2385 WsPhotosWatchFaceFeatureSnapshot(const WsPhotosWatchFaceFeatureSnapshot& from);
WsPhotosWatchFaceFeatureSnapshot(WsPhotosWatchFaceFeatureSnapshot && from)2386 WsPhotosWatchFaceFeatureSnapshot(WsPhotosWatchFaceFeatureSnapshot&& from) noexcept
2387 : WsPhotosWatchFaceFeatureSnapshot() {
2388 *this = ::std::move(from);
2389 }
2390
2391 inline WsPhotosWatchFaceFeatureSnapshot& operator=(const WsPhotosWatchFaceFeatureSnapshot& from) {
2392 if (this == &from) return *this;
2393 CopyFrom(from);
2394 return *this;
2395 }
2396 inline WsPhotosWatchFaceFeatureSnapshot& operator=(WsPhotosWatchFaceFeatureSnapshot&& from) noexcept {
2397 if (this == &from) return *this;
2398 if (GetOwningArena() == from.GetOwningArena()
2399 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2400 && GetOwningArena() != nullptr
2401 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2402 ) {
2403 InternalSwap(&from);
2404 } else {
2405 CopyFrom(from);
2406 }
2407 return *this;
2408 }
2409
unknown_fields()2410 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2411 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2412 }
mutable_unknown_fields()2413 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2414 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2415 }
2416
descriptor()2417 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2418 return GetDescriptor();
2419 }
GetDescriptor()2420 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2421 return default_instance().GetMetadata().descriptor;
2422 }
GetReflection()2423 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2424 return default_instance().GetMetadata().reflection;
2425 }
default_instance()2426 static const WsPhotosWatchFaceFeatureSnapshot& default_instance() {
2427 return *internal_default_instance();
2428 }
internal_default_instance()2429 static inline const WsPhotosWatchFaceFeatureSnapshot* internal_default_instance() {
2430 return reinterpret_cast<const WsPhotosWatchFaceFeatureSnapshot*>(
2431 &_WsPhotosWatchFaceFeatureSnapshot_default_instance_);
2432 }
2433 static constexpr int kIndexInFileMessages =
2434 11;
2435
swap(WsPhotosWatchFaceFeatureSnapshot & a,WsPhotosWatchFaceFeatureSnapshot & b)2436 friend void swap(WsPhotosWatchFaceFeatureSnapshot& a, WsPhotosWatchFaceFeatureSnapshot& b) {
2437 a.Swap(&b);
2438 }
Swap(WsPhotosWatchFaceFeatureSnapshot * other)2439 inline void Swap(WsPhotosWatchFaceFeatureSnapshot* other) {
2440 if (other == this) return;
2441 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2442 if (GetOwningArena() != nullptr &&
2443 GetOwningArena() == other->GetOwningArena()) {
2444 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2445 if (GetOwningArena() == other->GetOwningArena()) {
2446 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2447 InternalSwap(other);
2448 } else {
2449 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2450 }
2451 }
2452 void UnsafeArenaSwap(WsPhotosWatchFaceFeatureSnapshot* other) {
2453 if (other == this) return;
2454 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2455 InternalSwap(other);
2456 }
2457
2458 // implements Message ----------------------------------------------
2459
2460 WsPhotosWatchFaceFeatureSnapshot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2461 return CreateMaybeMessage<WsPhotosWatchFaceFeatureSnapshot>(arena);
2462 }
2463 WsPhotosWatchFaceFeatureSnapshot* New() const {
2464 return New(nullptr);
2465 }
2466 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2467 void CopyFrom(const WsPhotosWatchFaceFeatureSnapshot& from);
2468 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2469 void MergeFrom( const WsPhotosWatchFaceFeatureSnapshot& from) {
2470 WsPhotosWatchFaceFeatureSnapshot::MergeImpl(*this, from);
2471 }
2472 private:
2473 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2474 public:
2475 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2476 bool IsInitialized() const final;
2477
2478 size_t ByteSizeLong() const final;
2479 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2480 ::uint8_t* _InternalSerialize(
2481 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2482 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2483
2484 private:
2485 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2486 void SharedDtor();
2487 void SetCachedSize(int size) const final;
2488 void InternalSwap(WsPhotosWatchFaceFeatureSnapshot* other);
2489
2490 private:
2491 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2492 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2493 return "android.os.statsd.wearservices.WsPhotosWatchFaceFeatureSnapshot";
2494 }
2495 protected:
2496 explicit WsPhotosWatchFaceFeatureSnapshot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2497 bool is_message_owned = false);
2498 public:
2499
2500 static const ClassData _class_data_;
2501 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2502
2503 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2504
2505 // nested types ----------------------------------------------------
2506
2507 // accessors -------------------------------------------------------
2508
2509 enum : int {
2510 kWatchFacePackageUidFieldNumber = 1,
2511 kFavoriteIdFieldNumber = 2,
2512 kPhotoSelectionTypeFieldNumber = 3,
2513 };
2514 // optional int32 watch_face_package_uid = 1 [(.android.os.statsd.is_uid) = true];
2515 bool has_watch_face_package_uid() const;
2516 private:
2517 bool _internal_has_watch_face_package_uid() const;
2518 public:
2519 void clear_watch_face_package_uid();
2520 ::int32_t watch_face_package_uid() const;
2521 void set_watch_face_package_uid(::int32_t value);
2522 private:
2523 ::int32_t _internal_watch_face_package_uid() const;
2524 void _internal_set_watch_face_package_uid(::int32_t value);
2525 public:
2526
2527 // optional int32 favorite_id = 2;
2528 bool has_favorite_id() const;
2529 private:
2530 bool _internal_has_favorite_id() const;
2531 public:
2532 void clear_favorite_id();
2533 ::int32_t favorite_id() const;
2534 void set_favorite_id(::int32_t value);
2535 private:
2536 ::int32_t _internal_favorite_id() const;
2537 void _internal_set_favorite_id(::int32_t value);
2538 public:
2539
2540 // optional .android.app.wearservices.PhotoSelectionType photo_selection_type = 3;
2541 bool has_photo_selection_type() const;
2542 private:
2543 bool _internal_has_photo_selection_type() const;
2544 public:
2545 void clear_photo_selection_type();
2546 ::android::app::wearservices::PhotoSelectionType photo_selection_type() const;
2547 void set_photo_selection_type(::android::app::wearservices::PhotoSelectionType value);
2548 private:
2549 ::android::app::wearservices::PhotoSelectionType _internal_photo_selection_type() const;
2550 void _internal_set_photo_selection_type(::android::app::wearservices::PhotoSelectionType value);
2551 public:
2552
2553 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsPhotosWatchFaceFeatureSnapshot)
2554 private:
2555 class _Internal;
2556
2557 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2558 typedef void InternalArenaConstructable_;
2559 typedef void DestructorSkippable_;
2560 struct Impl_ {
2561 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2562 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2563 ::int32_t watch_face_package_uid_;
2564 ::int32_t favorite_id_;
2565 int photo_selection_type_;
2566 };
2567 union { Impl_ _impl_; };
2568 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
2569 };
2570 // -------------------------------------------------------------------
2571
2572 class WsWatchFaceDefaultRestrictedComplicationsRemoved final :
2573 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsWatchFaceDefaultRestrictedComplicationsRemoved) */ {
2574 public:
WsWatchFaceDefaultRestrictedComplicationsRemoved()2575 inline WsWatchFaceDefaultRestrictedComplicationsRemoved() : WsWatchFaceDefaultRestrictedComplicationsRemoved(nullptr) {}
2576 ~WsWatchFaceDefaultRestrictedComplicationsRemoved() override;
2577 explicit PROTOBUF_CONSTEXPR WsWatchFaceDefaultRestrictedComplicationsRemoved(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2578
2579 WsWatchFaceDefaultRestrictedComplicationsRemoved(const WsWatchFaceDefaultRestrictedComplicationsRemoved& from);
WsWatchFaceDefaultRestrictedComplicationsRemoved(WsWatchFaceDefaultRestrictedComplicationsRemoved && from)2580 WsWatchFaceDefaultRestrictedComplicationsRemoved(WsWatchFaceDefaultRestrictedComplicationsRemoved&& from) noexcept
2581 : WsWatchFaceDefaultRestrictedComplicationsRemoved() {
2582 *this = ::std::move(from);
2583 }
2584
2585 inline WsWatchFaceDefaultRestrictedComplicationsRemoved& operator=(const WsWatchFaceDefaultRestrictedComplicationsRemoved& from) {
2586 if (this == &from) return *this;
2587 CopyFrom(from);
2588 return *this;
2589 }
2590 inline WsWatchFaceDefaultRestrictedComplicationsRemoved& operator=(WsWatchFaceDefaultRestrictedComplicationsRemoved&& from) noexcept {
2591 if (this == &from) return *this;
2592 if (GetOwningArena() == from.GetOwningArena()
2593 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2594 && GetOwningArena() != nullptr
2595 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2596 ) {
2597 InternalSwap(&from);
2598 } else {
2599 CopyFrom(from);
2600 }
2601 return *this;
2602 }
2603
unknown_fields()2604 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2605 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2606 }
mutable_unknown_fields()2607 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2608 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2609 }
2610
descriptor()2611 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2612 return GetDescriptor();
2613 }
GetDescriptor()2614 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2615 return default_instance().GetMetadata().descriptor;
2616 }
GetReflection()2617 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2618 return default_instance().GetMetadata().reflection;
2619 }
default_instance()2620 static const WsWatchFaceDefaultRestrictedComplicationsRemoved& default_instance() {
2621 return *internal_default_instance();
2622 }
internal_default_instance()2623 static inline const WsWatchFaceDefaultRestrictedComplicationsRemoved* internal_default_instance() {
2624 return reinterpret_cast<const WsWatchFaceDefaultRestrictedComplicationsRemoved*>(
2625 &_WsWatchFaceDefaultRestrictedComplicationsRemoved_default_instance_);
2626 }
2627 static constexpr int kIndexInFileMessages =
2628 12;
2629
swap(WsWatchFaceDefaultRestrictedComplicationsRemoved & a,WsWatchFaceDefaultRestrictedComplicationsRemoved & b)2630 friend void swap(WsWatchFaceDefaultRestrictedComplicationsRemoved& a, WsWatchFaceDefaultRestrictedComplicationsRemoved& b) {
2631 a.Swap(&b);
2632 }
Swap(WsWatchFaceDefaultRestrictedComplicationsRemoved * other)2633 inline void Swap(WsWatchFaceDefaultRestrictedComplicationsRemoved* other) {
2634 if (other == this) return;
2635 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2636 if (GetOwningArena() != nullptr &&
2637 GetOwningArena() == other->GetOwningArena()) {
2638 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2639 if (GetOwningArena() == other->GetOwningArena()) {
2640 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2641 InternalSwap(other);
2642 } else {
2643 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2644 }
2645 }
2646 void UnsafeArenaSwap(WsWatchFaceDefaultRestrictedComplicationsRemoved* other) {
2647 if (other == this) return;
2648 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2649 InternalSwap(other);
2650 }
2651
2652 // implements Message ----------------------------------------------
2653
2654 WsWatchFaceDefaultRestrictedComplicationsRemoved* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2655 return CreateMaybeMessage<WsWatchFaceDefaultRestrictedComplicationsRemoved>(arena);
2656 }
2657 WsWatchFaceDefaultRestrictedComplicationsRemoved* New() const {
2658 return New(nullptr);
2659 }
2660 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2661 void CopyFrom(const WsWatchFaceDefaultRestrictedComplicationsRemoved& from);
2662 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2663 void MergeFrom( const WsWatchFaceDefaultRestrictedComplicationsRemoved& from) {
2664 WsWatchFaceDefaultRestrictedComplicationsRemoved::MergeImpl(*this, from);
2665 }
2666 private:
2667 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2668 public:
2669 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2670 bool IsInitialized() const final;
2671
2672 size_t ByteSizeLong() const final;
2673 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2674 ::uint8_t* _InternalSerialize(
2675 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2676 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2677
2678 private:
2679 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2680 void SharedDtor();
2681 void SetCachedSize(int size) const final;
2682 void InternalSwap(WsWatchFaceDefaultRestrictedComplicationsRemoved* other);
2683
2684 private:
2685 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2686 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2687 return "android.os.statsd.wearservices.WsWatchFaceDefaultRestrictedComplicationsRemoved";
2688 }
2689 protected:
2690 explicit WsWatchFaceDefaultRestrictedComplicationsRemoved(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2691 bool is_message_owned = false);
2692 public:
2693
2694 static const ClassData _class_data_;
2695 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2696
2697 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2698
2699 // nested types ----------------------------------------------------
2700
2701 // accessors -------------------------------------------------------
2702
2703 enum : int {
2704 kComplicationComponentPackageUidFieldNumber = 3,
2705 kComplicationComponentClassNameFieldNumber = 4,
2706 kComplicationTypeFieldNumber = 5,
2707 kSlotIdFieldNumber = 6,
2708 kWatchFaceComponentClassNameFieldNumber = 2,
2709 kWatchFacePackageUidFieldNumber = 1,
2710 kWatchFaceTypeFieldNumber = 7,
2711 };
2712 // repeated int32 complication_component_package_uid = 3 [(.android.os.statsd.is_uid) = true];
2713 int complication_component_package_uid_size() const;
2714 private:
2715 int _internal_complication_component_package_uid_size() const;
2716 public:
2717 void clear_complication_component_package_uid();
2718 private:
2719 ::int32_t _internal_complication_component_package_uid(int index) const;
2720 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
2721 _internal_complication_component_package_uid() const;
2722 void _internal_add_complication_component_package_uid(::int32_t value);
2723 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
2724 _internal_mutable_complication_component_package_uid();
2725 public:
2726 ::int32_t complication_component_package_uid(int index) const;
2727 void set_complication_component_package_uid(int index, ::int32_t value);
2728 void add_complication_component_package_uid(::int32_t value);
2729 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
2730 complication_component_package_uid() const;
2731 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
2732 mutable_complication_component_package_uid();
2733
2734 // repeated string complication_component_class_name = 4;
2735 int complication_component_class_name_size() const;
2736 private:
2737 int _internal_complication_component_class_name_size() const;
2738 public:
2739 void clear_complication_component_class_name();
2740 const std::string& complication_component_class_name(int index) const;
2741 std::string* mutable_complication_component_class_name(int index);
2742 void set_complication_component_class_name(int index, const std::string& value);
2743 void set_complication_component_class_name(int index, std::string&& value);
2744 void set_complication_component_class_name(int index, const char* value);
2745 void set_complication_component_class_name(int index, const char* value, size_t size);
2746 std::string* add_complication_component_class_name();
2747 void add_complication_component_class_name(const std::string& value);
2748 void add_complication_component_class_name(std::string&& value);
2749 void add_complication_component_class_name(const char* value);
2750 void add_complication_component_class_name(const char* value, size_t size);
2751 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& complication_component_class_name() const;
2752 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_complication_component_class_name();
2753 private:
2754 const std::string& _internal_complication_component_class_name(int index) const;
2755 std::string* _internal_add_complication_component_class_name();
2756 public:
2757
2758 // repeated int32 complication_type = 5;
2759 int complication_type_size() const;
2760 private:
2761 int _internal_complication_type_size() const;
2762 public:
2763 void clear_complication_type();
2764 private:
2765 ::int32_t _internal_complication_type(int index) const;
2766 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
2767 _internal_complication_type() const;
2768 void _internal_add_complication_type(::int32_t value);
2769 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
2770 _internal_mutable_complication_type();
2771 public:
2772 ::int32_t complication_type(int index) const;
2773 void set_complication_type(int index, ::int32_t value);
2774 void add_complication_type(::int32_t value);
2775 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
2776 complication_type() const;
2777 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
2778 mutable_complication_type();
2779
2780 // repeated int32 slot_id = 6;
2781 int slot_id_size() const;
2782 private:
2783 int _internal_slot_id_size() const;
2784 public:
2785 void clear_slot_id();
2786 private:
2787 ::int32_t _internal_slot_id(int index) const;
2788 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
2789 _internal_slot_id() const;
2790 void _internal_add_slot_id(::int32_t value);
2791 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
2792 _internal_mutable_slot_id();
2793 public:
2794 ::int32_t slot_id(int index) const;
2795 void set_slot_id(int index, ::int32_t value);
2796 void add_slot_id(::int32_t value);
2797 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
2798 slot_id() const;
2799 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
2800 mutable_slot_id();
2801
2802 // optional string watch_face_component_class_name = 2;
2803 bool has_watch_face_component_class_name() const;
2804 private:
2805 bool _internal_has_watch_face_component_class_name() const;
2806 public:
2807 void clear_watch_face_component_class_name();
2808 const std::string& watch_face_component_class_name() const;
2809 template <typename ArgT0 = const std::string&, typename... ArgT>
2810 void set_watch_face_component_class_name(ArgT0&& arg0, ArgT... args);
2811 std::string* mutable_watch_face_component_class_name();
2812 PROTOBUF_NODISCARD std::string* release_watch_face_component_class_name();
2813 void set_allocated_watch_face_component_class_name(std::string* watch_face_component_class_name);
2814 private:
2815 const std::string& _internal_watch_face_component_class_name() const;
2816 inline PROTOBUF_ALWAYS_INLINE void _internal_set_watch_face_component_class_name(const std::string& value);
2817 std::string* _internal_mutable_watch_face_component_class_name();
2818 public:
2819
2820 // optional int32 watch_face_package_uid = 1 [(.android.os.statsd.is_uid) = true];
2821 bool has_watch_face_package_uid() const;
2822 private:
2823 bool _internal_has_watch_face_package_uid() const;
2824 public:
2825 void clear_watch_face_package_uid();
2826 ::int32_t watch_face_package_uid() const;
2827 void set_watch_face_package_uid(::int32_t value);
2828 private:
2829 ::int32_t _internal_watch_face_package_uid() const;
2830 void _internal_set_watch_face_package_uid(::int32_t value);
2831 public:
2832
2833 // optional .android.app.wearservices.WatchFaceType watch_face_type = 7;
2834 bool has_watch_face_type() const;
2835 private:
2836 bool _internal_has_watch_face_type() const;
2837 public:
2838 void clear_watch_face_type();
2839 ::android::app::wearservices::WatchFaceType watch_face_type() const;
2840 void set_watch_face_type(::android::app::wearservices::WatchFaceType value);
2841 private:
2842 ::android::app::wearservices::WatchFaceType _internal_watch_face_type() const;
2843 void _internal_set_watch_face_type(::android::app::wearservices::WatchFaceType value);
2844 public:
2845
2846 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsWatchFaceDefaultRestrictedComplicationsRemoved)
2847 private:
2848 class _Internal;
2849
2850 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2851 typedef void InternalArenaConstructable_;
2852 typedef void DestructorSkippable_;
2853 struct Impl_ {
2854 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2855 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2856 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > complication_component_package_uid_;
2857 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> complication_component_class_name_;
2858 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > complication_type_;
2859 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > slot_id_;
2860 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr watch_face_component_class_name_;
2861 ::int32_t watch_face_package_uid_;
2862 int watch_face_type_;
2863 };
2864 union { Impl_ _impl_; };
2865 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
2866 };
2867 // -------------------------------------------------------------------
2868
2869 class WsComplicationsImpactedNotificationEventReported final :
2870 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsComplicationsImpactedNotificationEventReported) */ {
2871 public:
WsComplicationsImpactedNotificationEventReported()2872 inline WsComplicationsImpactedNotificationEventReported() : WsComplicationsImpactedNotificationEventReported(nullptr) {}
2873 ~WsComplicationsImpactedNotificationEventReported() override;
2874 explicit PROTOBUF_CONSTEXPR WsComplicationsImpactedNotificationEventReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2875
2876 WsComplicationsImpactedNotificationEventReported(const WsComplicationsImpactedNotificationEventReported& from);
WsComplicationsImpactedNotificationEventReported(WsComplicationsImpactedNotificationEventReported && from)2877 WsComplicationsImpactedNotificationEventReported(WsComplicationsImpactedNotificationEventReported&& from) noexcept
2878 : WsComplicationsImpactedNotificationEventReported() {
2879 *this = ::std::move(from);
2880 }
2881
2882 inline WsComplicationsImpactedNotificationEventReported& operator=(const WsComplicationsImpactedNotificationEventReported& from) {
2883 if (this == &from) return *this;
2884 CopyFrom(from);
2885 return *this;
2886 }
2887 inline WsComplicationsImpactedNotificationEventReported& operator=(WsComplicationsImpactedNotificationEventReported&& from) noexcept {
2888 if (this == &from) return *this;
2889 if (GetOwningArena() == from.GetOwningArena()
2890 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2891 && GetOwningArena() != nullptr
2892 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2893 ) {
2894 InternalSwap(&from);
2895 } else {
2896 CopyFrom(from);
2897 }
2898 return *this;
2899 }
2900
unknown_fields()2901 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
2902 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
2903 }
mutable_unknown_fields()2904 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
2905 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
2906 }
2907
descriptor()2908 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
2909 return GetDescriptor();
2910 }
GetDescriptor()2911 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
2912 return default_instance().GetMetadata().descriptor;
2913 }
GetReflection()2914 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
2915 return default_instance().GetMetadata().reflection;
2916 }
default_instance()2917 static const WsComplicationsImpactedNotificationEventReported& default_instance() {
2918 return *internal_default_instance();
2919 }
internal_default_instance()2920 static inline const WsComplicationsImpactedNotificationEventReported* internal_default_instance() {
2921 return reinterpret_cast<const WsComplicationsImpactedNotificationEventReported*>(
2922 &_WsComplicationsImpactedNotificationEventReported_default_instance_);
2923 }
2924 static constexpr int kIndexInFileMessages =
2925 13;
2926
swap(WsComplicationsImpactedNotificationEventReported & a,WsComplicationsImpactedNotificationEventReported & b)2927 friend void swap(WsComplicationsImpactedNotificationEventReported& a, WsComplicationsImpactedNotificationEventReported& b) {
2928 a.Swap(&b);
2929 }
Swap(WsComplicationsImpactedNotificationEventReported * other)2930 inline void Swap(WsComplicationsImpactedNotificationEventReported* other) {
2931 if (other == this) return;
2932 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2933 if (GetOwningArena() != nullptr &&
2934 GetOwningArena() == other->GetOwningArena()) {
2935 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2936 if (GetOwningArena() == other->GetOwningArena()) {
2937 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2938 InternalSwap(other);
2939 } else {
2940 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2941 }
2942 }
2943 void UnsafeArenaSwap(WsComplicationsImpactedNotificationEventReported* other) {
2944 if (other == this) return;
2945 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2946 InternalSwap(other);
2947 }
2948
2949 // implements Message ----------------------------------------------
2950
2951 WsComplicationsImpactedNotificationEventReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
2952 return CreateMaybeMessage<WsComplicationsImpactedNotificationEventReported>(arena);
2953 }
2954 WsComplicationsImpactedNotificationEventReported* New() const {
2955 return New(nullptr);
2956 }
2957 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
2958 void CopyFrom(const WsComplicationsImpactedNotificationEventReported& from);
2959 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
2960 void MergeFrom( const WsComplicationsImpactedNotificationEventReported& from) {
2961 WsComplicationsImpactedNotificationEventReported::MergeImpl(*this, from);
2962 }
2963 private:
2964 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
2965 public:
2966 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2967 bool IsInitialized() const final;
2968
2969 size_t ByteSizeLong() const final;
2970 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2971 ::uint8_t* _InternalSerialize(
2972 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2973 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2974
2975 private:
2976 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2977 void SharedDtor();
2978 void SetCachedSize(int size) const final;
2979 void InternalSwap(WsComplicationsImpactedNotificationEventReported* other);
2980
2981 private:
2982 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2983 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2984 return "android.os.statsd.wearservices.WsComplicationsImpactedNotificationEventReported";
2985 }
2986 protected:
2987 explicit WsComplicationsImpactedNotificationEventReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2988 bool is_message_owned = false);
2989 public:
2990
2991 static const ClassData _class_data_;
2992 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
2993
2994 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
2995
2996 // nested types ----------------------------------------------------
2997
2998 typedef WsComplicationsImpactedNotificationEventReported_Event Event;
2999 static constexpr Event UNSPECIFIED =
3000 WsComplicationsImpactedNotificationEventReported_Event_UNSPECIFIED;
3001 static constexpr Event SENT =
3002 WsComplicationsImpactedNotificationEventReported_Event_SENT;
3003 static constexpr Event CLICKED =
3004 WsComplicationsImpactedNotificationEventReported_Event_CLICKED;
3005 static inline bool Event_IsValid(int value) {
3006 return WsComplicationsImpactedNotificationEventReported_Event_IsValid(value);
3007 }
3008 static constexpr Event Event_MIN =
3009 WsComplicationsImpactedNotificationEventReported_Event_Event_MIN;
3010 static constexpr Event Event_MAX =
3011 WsComplicationsImpactedNotificationEventReported_Event_Event_MAX;
3012 static constexpr int Event_ARRAYSIZE =
3013 WsComplicationsImpactedNotificationEventReported_Event_Event_ARRAYSIZE;
3014 static inline const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor*
3015 Event_descriptor() {
3016 return WsComplicationsImpactedNotificationEventReported_Event_descriptor();
3017 }
3018 template<typename T>
3019 static inline const std::string& Event_Name(T enum_t_value) {
3020 static_assert(::std::is_same<T, Event>::value ||
3021 ::std::is_integral<T>::value,
3022 "Incorrect type passed to function Event_Name.");
3023 return WsComplicationsImpactedNotificationEventReported_Event_Name(enum_t_value);
3024 }
3025 static inline bool Event_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
3026 Event* value) {
3027 return WsComplicationsImpactedNotificationEventReported_Event_Parse(name, value);
3028 }
3029
3030 // accessors -------------------------------------------------------
3031
3032 enum : int {
3033 kEventFieldNumber = 1,
3034 };
3035 // optional .android.os.statsd.wearservices.WsComplicationsImpactedNotificationEventReported.Event event = 1;
3036 bool has_event() const;
3037 private:
3038 bool _internal_has_event() const;
3039 public:
3040 void clear_event();
3041 ::android::os::statsd::wearservices::WsComplicationsImpactedNotificationEventReported_Event event() const;
3042 void set_event(::android::os::statsd::wearservices::WsComplicationsImpactedNotificationEventReported_Event value);
3043 private:
3044 ::android::os::statsd::wearservices::WsComplicationsImpactedNotificationEventReported_Event _internal_event() const;
3045 void _internal_set_event(::android::os::statsd::wearservices::WsComplicationsImpactedNotificationEventReported_Event value);
3046 public:
3047
3048 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsComplicationsImpactedNotificationEventReported)
3049 private:
3050 class _Internal;
3051
3052 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3053 typedef void InternalArenaConstructable_;
3054 typedef void DestructorSkippable_;
3055 struct Impl_ {
3056 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3057 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3058 int event_;
3059 };
3060 union { Impl_ _impl_; };
3061 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
3062 };
3063 // -------------------------------------------------------------------
3064
3065 class WsRemoteEventUsageReported final :
3066 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsRemoteEventUsageReported) */ {
3067 public:
WsRemoteEventUsageReported()3068 inline WsRemoteEventUsageReported() : WsRemoteEventUsageReported(nullptr) {}
3069 ~WsRemoteEventUsageReported() override;
3070 explicit PROTOBUF_CONSTEXPR WsRemoteEventUsageReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3071
3072 WsRemoteEventUsageReported(const WsRemoteEventUsageReported& from);
WsRemoteEventUsageReported(WsRemoteEventUsageReported && from)3073 WsRemoteEventUsageReported(WsRemoteEventUsageReported&& from) noexcept
3074 : WsRemoteEventUsageReported() {
3075 *this = ::std::move(from);
3076 }
3077
3078 inline WsRemoteEventUsageReported& operator=(const WsRemoteEventUsageReported& from) {
3079 if (this == &from) return *this;
3080 CopyFrom(from);
3081 return *this;
3082 }
3083 inline WsRemoteEventUsageReported& operator=(WsRemoteEventUsageReported&& from) noexcept {
3084 if (this == &from) return *this;
3085 if (GetOwningArena() == from.GetOwningArena()
3086 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3087 && GetOwningArena() != nullptr
3088 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3089 ) {
3090 InternalSwap(&from);
3091 } else {
3092 CopyFrom(from);
3093 }
3094 return *this;
3095 }
3096
unknown_fields()3097 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3098 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3099 }
mutable_unknown_fields()3100 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3101 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3102 }
3103
descriptor()3104 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3105 return GetDescriptor();
3106 }
GetDescriptor()3107 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3108 return default_instance().GetMetadata().descriptor;
3109 }
GetReflection()3110 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3111 return default_instance().GetMetadata().reflection;
3112 }
default_instance()3113 static const WsRemoteEventUsageReported& default_instance() {
3114 return *internal_default_instance();
3115 }
internal_default_instance()3116 static inline const WsRemoteEventUsageReported* internal_default_instance() {
3117 return reinterpret_cast<const WsRemoteEventUsageReported*>(
3118 &_WsRemoteEventUsageReported_default_instance_);
3119 }
3120 static constexpr int kIndexInFileMessages =
3121 14;
3122
swap(WsRemoteEventUsageReported & a,WsRemoteEventUsageReported & b)3123 friend void swap(WsRemoteEventUsageReported& a, WsRemoteEventUsageReported& b) {
3124 a.Swap(&b);
3125 }
Swap(WsRemoteEventUsageReported * other)3126 inline void Swap(WsRemoteEventUsageReported* other) {
3127 if (other == this) return;
3128 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3129 if (GetOwningArena() != nullptr &&
3130 GetOwningArena() == other->GetOwningArena()) {
3131 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3132 if (GetOwningArena() == other->GetOwningArena()) {
3133 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3134 InternalSwap(other);
3135 } else {
3136 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3137 }
3138 }
3139 void UnsafeArenaSwap(WsRemoteEventUsageReported* other) {
3140 if (other == this) return;
3141 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3142 InternalSwap(other);
3143 }
3144
3145 // implements Message ----------------------------------------------
3146
3147 WsRemoteEventUsageReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3148 return CreateMaybeMessage<WsRemoteEventUsageReported>(arena);
3149 }
3150 WsRemoteEventUsageReported* New() const {
3151 return New(nullptr);
3152 }
3153 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3154 void CopyFrom(const WsRemoteEventUsageReported& from);
3155 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3156 void MergeFrom( const WsRemoteEventUsageReported& from) {
3157 WsRemoteEventUsageReported::MergeImpl(*this, from);
3158 }
3159 private:
3160 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3161 public:
3162 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3163 bool IsInitialized() const final;
3164
3165 size_t ByteSizeLong() const final;
3166 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3167 ::uint8_t* _InternalSerialize(
3168 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3169 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3170
3171 private:
3172 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3173 void SharedDtor();
3174 void SetCachedSize(int size) const final;
3175 void InternalSwap(WsRemoteEventUsageReported* other);
3176
3177 private:
3178 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3179 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3180 return "android.os.statsd.wearservices.WsRemoteEventUsageReported";
3181 }
3182 protected:
3183 explicit WsRemoteEventUsageReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3184 bool is_message_owned = false);
3185 public:
3186
3187 static const ClassData _class_data_;
3188 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3189
3190 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3191
3192 // nested types ----------------------------------------------------
3193
3194 // accessors -------------------------------------------------------
3195
3196 enum : int {
3197 kRemoteEventTypeFieldNumber = 1,
3198 kIsSuccessfulFieldNumber = 2,
3199 kRemoteEventStateFieldNumber = 3,
3200 };
3201 // optional .android.app.wearservices.RemoteEventType remote_event_type = 1;
3202 bool has_remote_event_type() const;
3203 private:
3204 bool _internal_has_remote_event_type() const;
3205 public:
3206 void clear_remote_event_type();
3207 ::android::app::wearservices::RemoteEventType remote_event_type() const;
3208 void set_remote_event_type(::android::app::wearservices::RemoteEventType value);
3209 private:
3210 ::android::app::wearservices::RemoteEventType _internal_remote_event_type() const;
3211 void _internal_set_remote_event_type(::android::app::wearservices::RemoteEventType value);
3212 public:
3213
3214 // optional bool is_successful = 2 [deprecated = true];
3215 PROTOBUF_DEPRECATED bool has_is_successful() const;
3216 private:
3217 bool _internal_has_is_successful() const;
3218 public:
3219 PROTOBUF_DEPRECATED void clear_is_successful();
3220 PROTOBUF_DEPRECATED bool is_successful() const;
3221 PROTOBUF_DEPRECATED void set_is_successful(bool value);
3222 private:
3223 bool _internal_is_successful() const;
3224 void _internal_set_is_successful(bool value);
3225 public:
3226
3227 // optional .android.app.wearservices.RemoteEventState remote_event_state = 3;
3228 bool has_remote_event_state() const;
3229 private:
3230 bool _internal_has_remote_event_state() const;
3231 public:
3232 void clear_remote_event_state();
3233 ::android::app::wearservices::RemoteEventState remote_event_state() const;
3234 void set_remote_event_state(::android::app::wearservices::RemoteEventState value);
3235 private:
3236 ::android::app::wearservices::RemoteEventState _internal_remote_event_state() const;
3237 void _internal_set_remote_event_state(::android::app::wearservices::RemoteEventState value);
3238 public:
3239
3240 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsRemoteEventUsageReported)
3241 private:
3242 class _Internal;
3243
3244 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3245 typedef void InternalArenaConstructable_;
3246 typedef void DestructorSkippable_;
3247 struct Impl_ {
3248 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3249 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3250 int remote_event_type_;
3251 bool is_successful_;
3252 int remote_event_state_;
3253 };
3254 union { Impl_ _impl_; };
3255 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
3256 };
3257 // -------------------------------------------------------------------
3258
3259 class WsBugreportEventReported final :
3260 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsBugreportEventReported) */ {
3261 public:
WsBugreportEventReported()3262 inline WsBugreportEventReported() : WsBugreportEventReported(nullptr) {}
3263 ~WsBugreportEventReported() override;
3264 explicit PROTOBUF_CONSTEXPR WsBugreportEventReported(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3265
3266 WsBugreportEventReported(const WsBugreportEventReported& from);
WsBugreportEventReported(WsBugreportEventReported && from)3267 WsBugreportEventReported(WsBugreportEventReported&& from) noexcept
3268 : WsBugreportEventReported() {
3269 *this = ::std::move(from);
3270 }
3271
3272 inline WsBugreportEventReported& operator=(const WsBugreportEventReported& from) {
3273 if (this == &from) return *this;
3274 CopyFrom(from);
3275 return *this;
3276 }
3277 inline WsBugreportEventReported& operator=(WsBugreportEventReported&& from) noexcept {
3278 if (this == &from) return *this;
3279 if (GetOwningArena() == from.GetOwningArena()
3280 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3281 && GetOwningArena() != nullptr
3282 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3283 ) {
3284 InternalSwap(&from);
3285 } else {
3286 CopyFrom(from);
3287 }
3288 return *this;
3289 }
3290
unknown_fields()3291 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3292 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3293 }
mutable_unknown_fields()3294 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3295 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3296 }
3297
descriptor()3298 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3299 return GetDescriptor();
3300 }
GetDescriptor()3301 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3302 return default_instance().GetMetadata().descriptor;
3303 }
GetReflection()3304 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3305 return default_instance().GetMetadata().reflection;
3306 }
default_instance()3307 static const WsBugreportEventReported& default_instance() {
3308 return *internal_default_instance();
3309 }
internal_default_instance()3310 static inline const WsBugreportEventReported* internal_default_instance() {
3311 return reinterpret_cast<const WsBugreportEventReported*>(
3312 &_WsBugreportEventReported_default_instance_);
3313 }
3314 static constexpr int kIndexInFileMessages =
3315 15;
3316
swap(WsBugreportEventReported & a,WsBugreportEventReported & b)3317 friend void swap(WsBugreportEventReported& a, WsBugreportEventReported& b) {
3318 a.Swap(&b);
3319 }
Swap(WsBugreportEventReported * other)3320 inline void Swap(WsBugreportEventReported* other) {
3321 if (other == this) return;
3322 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3323 if (GetOwningArena() != nullptr &&
3324 GetOwningArena() == other->GetOwningArena()) {
3325 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3326 if (GetOwningArena() == other->GetOwningArena()) {
3327 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3328 InternalSwap(other);
3329 } else {
3330 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3331 }
3332 }
3333 void UnsafeArenaSwap(WsBugreportEventReported* other) {
3334 if (other == this) return;
3335 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3336 InternalSwap(other);
3337 }
3338
3339 // implements Message ----------------------------------------------
3340
3341 WsBugreportEventReported* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3342 return CreateMaybeMessage<WsBugreportEventReported>(arena);
3343 }
3344 WsBugreportEventReported* New() const {
3345 return New(nullptr);
3346 }
3347 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3348 void CopyFrom(const WsBugreportEventReported& from);
3349 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3350 void MergeFrom( const WsBugreportEventReported& from) {
3351 WsBugreportEventReported::MergeImpl(*this, from);
3352 }
3353 private:
3354 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3355 public:
3356 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3357 bool IsInitialized() const final;
3358
3359 size_t ByteSizeLong() const final;
3360 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3361 ::uint8_t* _InternalSerialize(
3362 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3363 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3364
3365 private:
3366 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3367 void SharedDtor();
3368 void SetCachedSize(int size) const final;
3369 void InternalSwap(WsBugreportEventReported* other);
3370
3371 private:
3372 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3373 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3374 return "android.os.statsd.wearservices.WsBugreportEventReported";
3375 }
3376 protected:
3377 explicit WsBugreportEventReported(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3378 bool is_message_owned = false);
3379 public:
3380
3381 static const ClassData _class_data_;
3382 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3383
3384 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3385
3386 // nested types ----------------------------------------------------
3387
3388 // accessors -------------------------------------------------------
3389
3390 enum : int {
3391 kEventFieldNumber = 1,
3392 kComponentFieldNumber = 2,
3393 kResultFieldNumber = 3,
3394 kBugreportSizeKilobytesFieldNumber = 4,
3395 kBugreportEventDurationSecondsFieldNumber = 5,
3396 };
3397 // optional .android.app.wearservices.BugreportEvent event = 1;
3398 bool has_event() const;
3399 private:
3400 bool _internal_has_event() const;
3401 public:
3402 void clear_event();
3403 ::android::app::wearservices::BugreportEvent event() const;
3404 void set_event(::android::app::wearservices::BugreportEvent value);
3405 private:
3406 ::android::app::wearservices::BugreportEvent _internal_event() const;
3407 void _internal_set_event(::android::app::wearservices::BugreportEvent value);
3408 public:
3409
3410 // optional .android.app.wearservices.BugreportComponent component = 2;
3411 bool has_component() const;
3412 private:
3413 bool _internal_has_component() const;
3414 public:
3415 void clear_component();
3416 ::android::app::wearservices::BugreportComponent component() const;
3417 void set_component(::android::app::wearservices::BugreportComponent value);
3418 private:
3419 ::android::app::wearservices::BugreportComponent _internal_component() const;
3420 void _internal_set_component(::android::app::wearservices::BugreportComponent value);
3421 public:
3422
3423 // optional .android.app.wearservices.BugreportResult result = 3;
3424 bool has_result() const;
3425 private:
3426 bool _internal_has_result() const;
3427 public:
3428 void clear_result();
3429 ::android::app::wearservices::BugreportResult result() const;
3430 void set_result(::android::app::wearservices::BugreportResult value);
3431 private:
3432 ::android::app::wearservices::BugreportResult _internal_result() const;
3433 void _internal_set_result(::android::app::wearservices::BugreportResult value);
3434 public:
3435
3436 // optional int32 bugreport_size_kilobytes = 4;
3437 bool has_bugreport_size_kilobytes() const;
3438 private:
3439 bool _internal_has_bugreport_size_kilobytes() const;
3440 public:
3441 void clear_bugreport_size_kilobytes();
3442 ::int32_t bugreport_size_kilobytes() const;
3443 void set_bugreport_size_kilobytes(::int32_t value);
3444 private:
3445 ::int32_t _internal_bugreport_size_kilobytes() const;
3446 void _internal_set_bugreport_size_kilobytes(::int32_t value);
3447 public:
3448
3449 // optional int32 bugreport_event_duration_seconds = 5;
3450 bool has_bugreport_event_duration_seconds() const;
3451 private:
3452 bool _internal_has_bugreport_event_duration_seconds() const;
3453 public:
3454 void clear_bugreport_event_duration_seconds();
3455 ::int32_t bugreport_event_duration_seconds() const;
3456 void set_bugreport_event_duration_seconds(::int32_t value);
3457 private:
3458 ::int32_t _internal_bugreport_event_duration_seconds() const;
3459 void _internal_set_bugreport_event_duration_seconds(::int32_t value);
3460 public:
3461
3462 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsBugreportEventReported)
3463 private:
3464 class _Internal;
3465
3466 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3467 typedef void InternalArenaConstructable_;
3468 typedef void DestructorSkippable_;
3469 struct Impl_ {
3470 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3471 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3472 int event_;
3473 int component_;
3474 int result_;
3475 ::int32_t bugreport_size_kilobytes_;
3476 ::int32_t bugreport_event_duration_seconds_;
3477 };
3478 union { Impl_ _impl_; };
3479 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
3480 };
3481 // -------------------------------------------------------------------
3482
3483 class WsNotificationManagedDismissalSync final :
3484 public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:android.os.statsd.wearservices.WsNotificationManagedDismissalSync) */ {
3485 public:
WsNotificationManagedDismissalSync()3486 inline WsNotificationManagedDismissalSync() : WsNotificationManagedDismissalSync(nullptr) {}
3487 ~WsNotificationManagedDismissalSync() override;
3488 explicit PROTOBUF_CONSTEXPR WsNotificationManagedDismissalSync(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3489
3490 WsNotificationManagedDismissalSync(const WsNotificationManagedDismissalSync& from);
WsNotificationManagedDismissalSync(WsNotificationManagedDismissalSync && from)3491 WsNotificationManagedDismissalSync(WsNotificationManagedDismissalSync&& from) noexcept
3492 : WsNotificationManagedDismissalSync() {
3493 *this = ::std::move(from);
3494 }
3495
3496 inline WsNotificationManagedDismissalSync& operator=(const WsNotificationManagedDismissalSync& from) {
3497 if (this == &from) return *this;
3498 CopyFrom(from);
3499 return *this;
3500 }
3501 inline WsNotificationManagedDismissalSync& operator=(WsNotificationManagedDismissalSync&& from) noexcept {
3502 if (this == &from) return *this;
3503 if (GetOwningArena() == from.GetOwningArena()
3504 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3505 && GetOwningArena() != nullptr
3506 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3507 ) {
3508 InternalSwap(&from);
3509 } else {
3510 CopyFrom(from);
3511 }
3512 return *this;
3513 }
3514
unknown_fields()3515 inline const ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet& unknown_fields() const {
3516 return _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance);
3517 }
mutable_unknown_fields()3518 inline ::PROTOBUF_NAMESPACE_ID::UnknownFieldSet* mutable_unknown_fields() {
3519 return _internal_metadata_.mutable_unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>();
3520 }
3521
descriptor()3522 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
3523 return GetDescriptor();
3524 }
GetDescriptor()3525 static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
3526 return default_instance().GetMetadata().descriptor;
3527 }
GetReflection()3528 static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
3529 return default_instance().GetMetadata().reflection;
3530 }
default_instance()3531 static const WsNotificationManagedDismissalSync& default_instance() {
3532 return *internal_default_instance();
3533 }
internal_default_instance()3534 static inline const WsNotificationManagedDismissalSync* internal_default_instance() {
3535 return reinterpret_cast<const WsNotificationManagedDismissalSync*>(
3536 &_WsNotificationManagedDismissalSync_default_instance_);
3537 }
3538 static constexpr int kIndexInFileMessages =
3539 16;
3540
swap(WsNotificationManagedDismissalSync & a,WsNotificationManagedDismissalSync & b)3541 friend void swap(WsNotificationManagedDismissalSync& a, WsNotificationManagedDismissalSync& b) {
3542 a.Swap(&b);
3543 }
Swap(WsNotificationManagedDismissalSync * other)3544 inline void Swap(WsNotificationManagedDismissalSync* other) {
3545 if (other == this) return;
3546 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3547 if (GetOwningArena() != nullptr &&
3548 GetOwningArena() == other->GetOwningArena()) {
3549 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3550 if (GetOwningArena() == other->GetOwningArena()) {
3551 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3552 InternalSwap(other);
3553 } else {
3554 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3555 }
3556 }
3557 void UnsafeArenaSwap(WsNotificationManagedDismissalSync* other) {
3558 if (other == this) return;
3559 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3560 InternalSwap(other);
3561 }
3562
3563 // implements Message ----------------------------------------------
3564
3565 WsNotificationManagedDismissalSync* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
3566 return CreateMaybeMessage<WsNotificationManagedDismissalSync>(arena);
3567 }
3568 WsNotificationManagedDismissalSync* New() const {
3569 return New(nullptr);
3570 }
3571 using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
3572 void CopyFrom(const WsNotificationManagedDismissalSync& from);
3573 using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
3574 void MergeFrom( const WsNotificationManagedDismissalSync& from) {
3575 WsNotificationManagedDismissalSync::MergeImpl(*this, from);
3576 }
3577 private:
3578 static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message& to_msg, const ::PROTOBUF_NAMESPACE_ID::Message& from_msg);
3579 public:
3580 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3581 bool IsInitialized() const final;
3582
3583 size_t ByteSizeLong() const final;
3584 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3585 ::uint8_t* _InternalSerialize(
3586 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3587 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3588
3589 private:
3590 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3591 void SharedDtor();
3592 void SetCachedSize(int size) const final;
3593 void InternalSwap(WsNotificationManagedDismissalSync* other);
3594
3595 private:
3596 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3597 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3598 return "android.os.statsd.wearservices.WsNotificationManagedDismissalSync";
3599 }
3600 protected:
3601 explicit WsNotificationManagedDismissalSync(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3602 bool is_message_owned = false);
3603 public:
3604
3605 static const ClassData _class_data_;
3606 const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
3607
3608 ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
3609
3610 // nested types ----------------------------------------------------
3611
3612 // accessors -------------------------------------------------------
3613
3614 enum : int {
3615 kPackageNameFieldNumber = 1,
3616 kSourceDeviceFieldNumber = 2,
3617 kPayloadSizeBytesFieldNumber = 3,
3618 };
3619 // optional string package_name = 1;
3620 bool has_package_name() const;
3621 private:
3622 bool _internal_has_package_name() const;
3623 public:
3624 void clear_package_name();
3625 const std::string& package_name() const;
3626 template <typename ArgT0 = const std::string&, typename... ArgT>
3627 void set_package_name(ArgT0&& arg0, ArgT... args);
3628 std::string* mutable_package_name();
3629 PROTOBUF_NODISCARD std::string* release_package_name();
3630 void set_allocated_package_name(std::string* package_name);
3631 private:
3632 const std::string& _internal_package_name() const;
3633 inline PROTOBUF_ALWAYS_INLINE void _internal_set_package_name(const std::string& value);
3634 std::string* _internal_mutable_package_name();
3635 public:
3636
3637 // optional .android.app.wearservices.RequestSource source_device = 2;
3638 bool has_source_device() const;
3639 private:
3640 bool _internal_has_source_device() const;
3641 public:
3642 void clear_source_device();
3643 ::android::app::wearservices::RequestSource source_device() const;
3644 void set_source_device(::android::app::wearservices::RequestSource value);
3645 private:
3646 ::android::app::wearservices::RequestSource _internal_source_device() const;
3647 void _internal_set_source_device(::android::app::wearservices::RequestSource value);
3648 public:
3649
3650 // optional int32 payload_size_bytes = 3;
3651 bool has_payload_size_bytes() const;
3652 private:
3653 bool _internal_has_payload_size_bytes() const;
3654 public:
3655 void clear_payload_size_bytes();
3656 ::int32_t payload_size_bytes() const;
3657 void set_payload_size_bytes(::int32_t value);
3658 private:
3659 ::int32_t _internal_payload_size_bytes() const;
3660 void _internal_set_payload_size_bytes(::int32_t value);
3661 public:
3662
3663 // @@protoc_insertion_point(class_scope:android.os.statsd.wearservices.WsNotificationManagedDismissalSync)
3664 private:
3665 class _Internal;
3666
3667 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3668 typedef void InternalArenaConstructable_;
3669 typedef void DestructorSkippable_;
3670 struct Impl_ {
3671 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3672 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3673 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr package_name_;
3674 int source_device_;
3675 ::int32_t payload_size_bytes_;
3676 };
3677 union { Impl_ _impl_; };
3678 friend struct ::TableStruct_frameworks_2fproto_5flogging_2fstats_2fatoms_2fwearservices_2fwearservices_5fextension_5fatoms_2eproto;
3679 };
3680 // ===================================================================
3681
3682 static const int kWsWearTimeSessionFieldNumber = 610;
3683 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3684 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsWearTimeSession >, 11, false >
3685 ws_wear_time_session;
3686 static const int kWsIncomingCallActionReportedFieldNumber = 626;
3687 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3688 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsIncomingCallActionReported >, 11, false >
3689 ws_incoming_call_action_reported;
3690 static const int kWsCallDisconnectionReportedFieldNumber = 627;
3691 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3692 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsCallDisconnectionReported >, 11, false >
3693 ws_call_disconnection_reported;
3694 static const int kWsCallDurationReportedFieldNumber = 628;
3695 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3696 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsCallDurationReported >, 11, false >
3697 ws_call_duration_reported;
3698 static const int kWsCallUserExperienceLatencyReportedFieldNumber = 629;
3699 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3700 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsCallUserExperienceLatencyReported >, 11, false >
3701 ws_call_user_experience_latency_reported;
3702 static const int kWsCallInteractionReportedFieldNumber = 630;
3703 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3704 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsCallInteractionReported >, 11, false >
3705 ws_call_interaction_reported;
3706 static const int kWsOnBodyStateChangedFieldNumber = 787;
3707 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3708 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsOnBodyStateChanged >, 11, false >
3709 ws_on_body_state_changed;
3710 static const int kWsWatchFaceRestrictedComplicationsImpactedFieldNumber = 802;
3711 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3712 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsWatchFaceRestrictedComplicationsImpacted >, 11, false >
3713 ws_watch_face_restricted_complications_impacted;
3714 static const int kWsWatchFaceDefaultRestrictedComplicationsRemovedFieldNumber = 803;
3715 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3716 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsWatchFaceDefaultRestrictedComplicationsRemoved >, 11, false >
3717 ws_watch_face_default_restricted_complications_removed;
3718 static const int kWsComplicationsImpactedNotificationEventReportedFieldNumber = 804;
3719 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3720 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsComplicationsImpactedNotificationEventReported >, 11, false >
3721 ws_complications_impacted_notification_event_reported;
3722 static const int kWsRemoteEventUsageReportedFieldNumber = 920;
3723 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3724 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsRemoteEventUsageReported >, 11, false >
3725 ws_remote_event_usage_reported;
3726 static const int kWsNotificationManagedDismissalSyncFieldNumber = 941;
3727 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3728 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsNotificationManagedDismissalSync >, 11, false >
3729 ws_notification_managed_dismissal_sync;
3730 static const int kWsBugreportEventReportedFieldNumber = 964;
3731 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3732 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsBugreportEventReported >, 11, false >
3733 ws_bugreport_event_reported;
3734 static const int kWsStandaloneModeSnapshotFieldNumber = 10197;
3735 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3736 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsStandaloneModeSnapshot >, 11, false >
3737 ws_standalone_mode_snapshot;
3738 static const int kWsFavoriteWatchFaceSnapshotFieldNumber = 10206;
3739 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3740 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsFavouriteWatchFaceSnapshot >, 11, false >
3741 ws_favorite_watch_face_snapshot;
3742 static const int kWsPhotosWatchFaceFeatureSnapshotFieldNumber = 10225;
3743 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3744 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsPhotosWatchFaceFeatureSnapshot >, 11, false >
3745 ws_photos_watch_face_feature_snapshot;
3746 static const int kWsWatchFaceCustomizationSnapshotFieldNumber = 10227;
3747 extern ::PROTOBUF_NAMESPACE_ID::internal::ExtensionIdentifier< ::android::os::statsd::Atom,
3748 ::PROTOBUF_NAMESPACE_ID::internal::MessageTypeTraits< ::android::os::statsd::wearservices::WsWatchFaceCustomizationSnapshot >, 11, false >
3749 ws_watch_face_customization_snapshot;
3750
3751 // ===================================================================
3752
3753 #ifdef __GNUC__
3754 #pragma GCC diagnostic push
3755 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
3756 #endif // __GNUC__
3757 // WsIncomingCallActionReported
3758
3759 // optional .android.app.wearservices.CallAction action = 1;
_internal_has_action()3760 inline bool WsIncomingCallActionReported::_internal_has_action() const {
3761 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3762 return value;
3763 }
has_action()3764 inline bool WsIncomingCallActionReported::has_action() const {
3765 return _internal_has_action();
3766 }
clear_action()3767 inline void WsIncomingCallActionReported::clear_action() {
3768 _impl_.action_ = 0;
3769 _impl_._has_bits_[0] &= ~0x00000001u;
3770 }
_internal_action()3771 inline ::android::app::wearservices::CallAction WsIncomingCallActionReported::_internal_action() const {
3772 return static_cast< ::android::app::wearservices::CallAction >(_impl_.action_);
3773 }
action()3774 inline ::android::app::wearservices::CallAction WsIncomingCallActionReported::action() const {
3775 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsIncomingCallActionReported.action)
3776 return _internal_action();
3777 }
_internal_set_action(::android::app::wearservices::CallAction value)3778 inline void WsIncomingCallActionReported::_internal_set_action(::android::app::wearservices::CallAction value) {
3779 assert(::android::app::wearservices::CallAction_IsValid(value));
3780 _impl_._has_bits_[0] |= 0x00000001u;
3781 _impl_.action_ = value;
3782 }
set_action(::android::app::wearservices::CallAction value)3783 inline void WsIncomingCallActionReported::set_action(::android::app::wearservices::CallAction value) {
3784 _internal_set_action(value);
3785 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsIncomingCallActionReported.action)
3786 }
3787
3788 // optional .android.app.wearservices.CallSource call_source = 2;
_internal_has_call_source()3789 inline bool WsIncomingCallActionReported::_internal_has_call_source() const {
3790 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3791 return value;
3792 }
has_call_source()3793 inline bool WsIncomingCallActionReported::has_call_source() const {
3794 return _internal_has_call_source();
3795 }
clear_call_source()3796 inline void WsIncomingCallActionReported::clear_call_source() {
3797 _impl_.call_source_ = 0;
3798 _impl_._has_bits_[0] &= ~0x00000002u;
3799 }
_internal_call_source()3800 inline ::android::app::wearservices::CallSource WsIncomingCallActionReported::_internal_call_source() const {
3801 return static_cast< ::android::app::wearservices::CallSource >(_impl_.call_source_);
3802 }
call_source()3803 inline ::android::app::wearservices::CallSource WsIncomingCallActionReported::call_source() const {
3804 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsIncomingCallActionReported.call_source)
3805 return _internal_call_source();
3806 }
_internal_set_call_source(::android::app::wearservices::CallSource value)3807 inline void WsIncomingCallActionReported::_internal_set_call_source(::android::app::wearservices::CallSource value) {
3808 assert(::android::app::wearservices::CallSource_IsValid(value));
3809 _impl_._has_bits_[0] |= 0x00000002u;
3810 _impl_.call_source_ = value;
3811 }
set_call_source(::android::app::wearservices::CallSource value)3812 inline void WsIncomingCallActionReported::set_call_source(::android::app::wearservices::CallSource value) {
3813 _internal_set_call_source(value);
3814 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsIncomingCallActionReported.call_source)
3815 }
3816
3817 // -------------------------------------------------------------------
3818
3819 // WsCallDisconnectionReported
3820
3821 // optional .android.app.wearservices.DisconnectionReason reason = 1;
_internal_has_reason()3822 inline bool WsCallDisconnectionReported::_internal_has_reason() const {
3823 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3824 return value;
3825 }
has_reason()3826 inline bool WsCallDisconnectionReported::has_reason() const {
3827 return _internal_has_reason();
3828 }
clear_reason()3829 inline void WsCallDisconnectionReported::clear_reason() {
3830 _impl_.reason_ = 0;
3831 _impl_._has_bits_[0] &= ~0x00000001u;
3832 }
_internal_reason()3833 inline ::android::app::wearservices::DisconnectionReason WsCallDisconnectionReported::_internal_reason() const {
3834 return static_cast< ::android::app::wearservices::DisconnectionReason >(_impl_.reason_);
3835 }
reason()3836 inline ::android::app::wearservices::DisconnectionReason WsCallDisconnectionReported::reason() const {
3837 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsCallDisconnectionReported.reason)
3838 return _internal_reason();
3839 }
_internal_set_reason(::android::app::wearservices::DisconnectionReason value)3840 inline void WsCallDisconnectionReported::_internal_set_reason(::android::app::wearservices::DisconnectionReason value) {
3841 assert(::android::app::wearservices::DisconnectionReason_IsValid(value));
3842 _impl_._has_bits_[0] |= 0x00000001u;
3843 _impl_.reason_ = value;
3844 }
set_reason(::android::app::wearservices::DisconnectionReason value)3845 inline void WsCallDisconnectionReported::set_reason(::android::app::wearservices::DisconnectionReason value) {
3846 _internal_set_reason(value);
3847 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsCallDisconnectionReported.reason)
3848 }
3849
3850 // optional .android.app.wearservices.DisconnectionErrorCode error_code = 2;
_internal_has_error_code()3851 inline bool WsCallDisconnectionReported::_internal_has_error_code() const {
3852 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3853 return value;
3854 }
has_error_code()3855 inline bool WsCallDisconnectionReported::has_error_code() const {
3856 return _internal_has_error_code();
3857 }
clear_error_code()3858 inline void WsCallDisconnectionReported::clear_error_code() {
3859 _impl_.error_code_ = 0;
3860 _impl_._has_bits_[0] &= ~0x00000002u;
3861 }
_internal_error_code()3862 inline ::android::app::wearservices::DisconnectionErrorCode WsCallDisconnectionReported::_internal_error_code() const {
3863 return static_cast< ::android::app::wearservices::DisconnectionErrorCode >(_impl_.error_code_);
3864 }
error_code()3865 inline ::android::app::wearservices::DisconnectionErrorCode WsCallDisconnectionReported::error_code() const {
3866 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsCallDisconnectionReported.error_code)
3867 return _internal_error_code();
3868 }
_internal_set_error_code(::android::app::wearservices::DisconnectionErrorCode value)3869 inline void WsCallDisconnectionReported::_internal_set_error_code(::android::app::wearservices::DisconnectionErrorCode value) {
3870 assert(::android::app::wearservices::DisconnectionErrorCode_IsValid(value));
3871 _impl_._has_bits_[0] |= 0x00000002u;
3872 _impl_.error_code_ = value;
3873 }
set_error_code(::android::app::wearservices::DisconnectionErrorCode value)3874 inline void WsCallDisconnectionReported::set_error_code(::android::app::wearservices::DisconnectionErrorCode value) {
3875 _internal_set_error_code(value);
3876 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsCallDisconnectionReported.error_code)
3877 }
3878
3879 // -------------------------------------------------------------------
3880
3881 // WsCallDurationReported
3882
3883 // optional .android.app.wearservices.CallType call_type = 1;
_internal_has_call_type()3884 inline bool WsCallDurationReported::_internal_has_call_type() const {
3885 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
3886 return value;
3887 }
has_call_type()3888 inline bool WsCallDurationReported::has_call_type() const {
3889 return _internal_has_call_type();
3890 }
clear_call_type()3891 inline void WsCallDurationReported::clear_call_type() {
3892 _impl_.call_type_ = 0;
3893 _impl_._has_bits_[0] &= ~0x00000001u;
3894 }
_internal_call_type()3895 inline ::android::app::wearservices::CallType WsCallDurationReported::_internal_call_type() const {
3896 return static_cast< ::android::app::wearservices::CallType >(_impl_.call_type_);
3897 }
call_type()3898 inline ::android::app::wearservices::CallType WsCallDurationReported::call_type() const {
3899 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsCallDurationReported.call_type)
3900 return _internal_call_type();
3901 }
_internal_set_call_type(::android::app::wearservices::CallType value)3902 inline void WsCallDurationReported::_internal_set_call_type(::android::app::wearservices::CallType value) {
3903 assert(::android::app::wearservices::CallType_IsValid(value));
3904 _impl_._has_bits_[0] |= 0x00000001u;
3905 _impl_.call_type_ = value;
3906 }
set_call_type(::android::app::wearservices::CallType value)3907 inline void WsCallDurationReported::set_call_type(::android::app::wearservices::CallType value) {
3908 _internal_set_call_type(value);
3909 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsCallDurationReported.call_type)
3910 }
3911
3912 // optional bool is_initiated_or_accepted_on_watch = 2;
_internal_has_is_initiated_or_accepted_on_watch()3913 inline bool WsCallDurationReported::_internal_has_is_initiated_or_accepted_on_watch() const {
3914 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
3915 return value;
3916 }
has_is_initiated_or_accepted_on_watch()3917 inline bool WsCallDurationReported::has_is_initiated_or_accepted_on_watch() const {
3918 return _internal_has_is_initiated_or_accepted_on_watch();
3919 }
clear_is_initiated_or_accepted_on_watch()3920 inline void WsCallDurationReported::clear_is_initiated_or_accepted_on_watch() {
3921 _impl_.is_initiated_or_accepted_on_watch_ = false;
3922 _impl_._has_bits_[0] &= ~0x00000002u;
3923 }
_internal_is_initiated_or_accepted_on_watch()3924 inline bool WsCallDurationReported::_internal_is_initiated_or_accepted_on_watch() const {
3925 return _impl_.is_initiated_or_accepted_on_watch_;
3926 }
is_initiated_or_accepted_on_watch()3927 inline bool WsCallDurationReported::is_initiated_or_accepted_on_watch() const {
3928 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsCallDurationReported.is_initiated_or_accepted_on_watch)
3929 return _internal_is_initiated_or_accepted_on_watch();
3930 }
_internal_set_is_initiated_or_accepted_on_watch(bool value)3931 inline void WsCallDurationReported::_internal_set_is_initiated_or_accepted_on_watch(bool value) {
3932 _impl_._has_bits_[0] |= 0x00000002u;
3933 _impl_.is_initiated_or_accepted_on_watch_ = value;
3934 }
set_is_initiated_or_accepted_on_watch(bool value)3935 inline void WsCallDurationReported::set_is_initiated_or_accepted_on_watch(bool value) {
3936 _internal_set_is_initiated_or_accepted_on_watch(value);
3937 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsCallDurationReported.is_initiated_or_accepted_on_watch)
3938 }
3939
3940 // optional .android.app.wearservices.CallSource call_source = 3;
_internal_has_call_source()3941 inline bool WsCallDurationReported::_internal_has_call_source() const {
3942 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
3943 return value;
3944 }
has_call_source()3945 inline bool WsCallDurationReported::has_call_source() const {
3946 return _internal_has_call_source();
3947 }
clear_call_source()3948 inline void WsCallDurationReported::clear_call_source() {
3949 _impl_.call_source_ = 0;
3950 _impl_._has_bits_[0] &= ~0x00000004u;
3951 }
_internal_call_source()3952 inline ::android::app::wearservices::CallSource WsCallDurationReported::_internal_call_source() const {
3953 return static_cast< ::android::app::wearservices::CallSource >(_impl_.call_source_);
3954 }
call_source()3955 inline ::android::app::wearservices::CallSource WsCallDurationReported::call_source() const {
3956 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsCallDurationReported.call_source)
3957 return _internal_call_source();
3958 }
_internal_set_call_source(::android::app::wearservices::CallSource value)3959 inline void WsCallDurationReported::_internal_set_call_source(::android::app::wearservices::CallSource value) {
3960 assert(::android::app::wearservices::CallSource_IsValid(value));
3961 _impl_._has_bits_[0] |= 0x00000004u;
3962 _impl_.call_source_ = value;
3963 }
set_call_source(::android::app::wearservices::CallSource value)3964 inline void WsCallDurationReported::set_call_source(::android::app::wearservices::CallSource value) {
3965 _internal_set_call_source(value);
3966 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsCallDurationReported.call_source)
3967 }
3968
3969 // optional int32 call_duration_millis = 4;
_internal_has_call_duration_millis()3970 inline bool WsCallDurationReported::_internal_has_call_duration_millis() const {
3971 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
3972 return value;
3973 }
has_call_duration_millis()3974 inline bool WsCallDurationReported::has_call_duration_millis() const {
3975 return _internal_has_call_duration_millis();
3976 }
clear_call_duration_millis()3977 inline void WsCallDurationReported::clear_call_duration_millis() {
3978 _impl_.call_duration_millis_ = 0;
3979 _impl_._has_bits_[0] &= ~0x00000008u;
3980 }
_internal_call_duration_millis()3981 inline ::int32_t WsCallDurationReported::_internal_call_duration_millis() const {
3982 return _impl_.call_duration_millis_;
3983 }
call_duration_millis()3984 inline ::int32_t WsCallDurationReported::call_duration_millis() const {
3985 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsCallDurationReported.call_duration_millis)
3986 return _internal_call_duration_millis();
3987 }
_internal_set_call_duration_millis(::int32_t value)3988 inline void WsCallDurationReported::_internal_set_call_duration_millis(::int32_t value) {
3989 _impl_._has_bits_[0] |= 0x00000008u;
3990 _impl_.call_duration_millis_ = value;
3991 }
set_call_duration_millis(::int32_t value)3992 inline void WsCallDurationReported::set_call_duration_millis(::int32_t value) {
3993 _internal_set_call_duration_millis(value);
3994 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsCallDurationReported.call_duration_millis)
3995 }
3996
3997 // -------------------------------------------------------------------
3998
3999 // WsCallUserExperienceLatencyReported
4000
4001 // optional .android.app.wearservices.LatencyAction latency_action = 1;
_internal_has_latency_action()4002 inline bool WsCallUserExperienceLatencyReported::_internal_has_latency_action() const {
4003 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4004 return value;
4005 }
has_latency_action()4006 inline bool WsCallUserExperienceLatencyReported::has_latency_action() const {
4007 return _internal_has_latency_action();
4008 }
clear_latency_action()4009 inline void WsCallUserExperienceLatencyReported::clear_latency_action() {
4010 _impl_.latency_action_ = 0;
4011 _impl_._has_bits_[0] &= ~0x00000001u;
4012 }
_internal_latency_action()4013 inline ::android::app::wearservices::LatencyAction WsCallUserExperienceLatencyReported::_internal_latency_action() const {
4014 return static_cast< ::android::app::wearservices::LatencyAction >(_impl_.latency_action_);
4015 }
latency_action()4016 inline ::android::app::wearservices::LatencyAction WsCallUserExperienceLatencyReported::latency_action() const {
4017 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsCallUserExperienceLatencyReported.latency_action)
4018 return _internal_latency_action();
4019 }
_internal_set_latency_action(::android::app::wearservices::LatencyAction value)4020 inline void WsCallUserExperienceLatencyReported::_internal_set_latency_action(::android::app::wearservices::LatencyAction value) {
4021 assert(::android::app::wearservices::LatencyAction_IsValid(value));
4022 _impl_._has_bits_[0] |= 0x00000001u;
4023 _impl_.latency_action_ = value;
4024 }
set_latency_action(::android::app::wearservices::LatencyAction value)4025 inline void WsCallUserExperienceLatencyReported::set_latency_action(::android::app::wearservices::LatencyAction value) {
4026 _internal_set_latency_action(value);
4027 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsCallUserExperienceLatencyReported.latency_action)
4028 }
4029
4030 // optional .android.app.wearservices.CallResult result = 2;
_internal_has_result()4031 inline bool WsCallUserExperienceLatencyReported::_internal_has_result() const {
4032 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4033 return value;
4034 }
has_result()4035 inline bool WsCallUserExperienceLatencyReported::has_result() const {
4036 return _internal_has_result();
4037 }
clear_result()4038 inline void WsCallUserExperienceLatencyReported::clear_result() {
4039 _impl_.result_ = 0;
4040 _impl_._has_bits_[0] &= ~0x00000002u;
4041 }
_internal_result()4042 inline ::android::app::wearservices::CallResult WsCallUserExperienceLatencyReported::_internal_result() const {
4043 return static_cast< ::android::app::wearservices::CallResult >(_impl_.result_);
4044 }
result()4045 inline ::android::app::wearservices::CallResult WsCallUserExperienceLatencyReported::result() const {
4046 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsCallUserExperienceLatencyReported.result)
4047 return _internal_result();
4048 }
_internal_set_result(::android::app::wearservices::CallResult value)4049 inline void WsCallUserExperienceLatencyReported::_internal_set_result(::android::app::wearservices::CallResult value) {
4050 assert(::android::app::wearservices::CallResult_IsValid(value));
4051 _impl_._has_bits_[0] |= 0x00000002u;
4052 _impl_.result_ = value;
4053 }
set_result(::android::app::wearservices::CallResult value)4054 inline void WsCallUserExperienceLatencyReported::set_result(::android::app::wearservices::CallResult value) {
4055 _internal_set_result(value);
4056 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsCallUserExperienceLatencyReported.result)
4057 }
4058
4059 // optional int32 latency_duration_millis = 3;
_internal_has_latency_duration_millis()4060 inline bool WsCallUserExperienceLatencyReported::_internal_has_latency_duration_millis() const {
4061 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
4062 return value;
4063 }
has_latency_duration_millis()4064 inline bool WsCallUserExperienceLatencyReported::has_latency_duration_millis() const {
4065 return _internal_has_latency_duration_millis();
4066 }
clear_latency_duration_millis()4067 inline void WsCallUserExperienceLatencyReported::clear_latency_duration_millis() {
4068 _impl_.latency_duration_millis_ = 0;
4069 _impl_._has_bits_[0] &= ~0x00000004u;
4070 }
_internal_latency_duration_millis()4071 inline ::int32_t WsCallUserExperienceLatencyReported::_internal_latency_duration_millis() const {
4072 return _impl_.latency_duration_millis_;
4073 }
latency_duration_millis()4074 inline ::int32_t WsCallUserExperienceLatencyReported::latency_duration_millis() const {
4075 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsCallUserExperienceLatencyReported.latency_duration_millis)
4076 return _internal_latency_duration_millis();
4077 }
_internal_set_latency_duration_millis(::int32_t value)4078 inline void WsCallUserExperienceLatencyReported::_internal_set_latency_duration_millis(::int32_t value) {
4079 _impl_._has_bits_[0] |= 0x00000004u;
4080 _impl_.latency_duration_millis_ = value;
4081 }
set_latency_duration_millis(::int32_t value)4082 inline void WsCallUserExperienceLatencyReported::set_latency_duration_millis(::int32_t value) {
4083 _internal_set_latency_duration_millis(value);
4084 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsCallUserExperienceLatencyReported.latency_duration_millis)
4085 }
4086
4087 // -------------------------------------------------------------------
4088
4089 // WsCallInteractionReported
4090
4091 // optional .android.app.wearservices.CallInteraction interaction = 1;
_internal_has_interaction()4092 inline bool WsCallInteractionReported::_internal_has_interaction() const {
4093 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4094 return value;
4095 }
has_interaction()4096 inline bool WsCallInteractionReported::has_interaction() const {
4097 return _internal_has_interaction();
4098 }
clear_interaction()4099 inline void WsCallInteractionReported::clear_interaction() {
4100 _impl_.interaction_ = 0;
4101 _impl_._has_bits_[0] &= ~0x00000001u;
4102 }
_internal_interaction()4103 inline ::android::app::wearservices::CallInteraction WsCallInteractionReported::_internal_interaction() const {
4104 return static_cast< ::android::app::wearservices::CallInteraction >(_impl_.interaction_);
4105 }
interaction()4106 inline ::android::app::wearservices::CallInteraction WsCallInteractionReported::interaction() const {
4107 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsCallInteractionReported.interaction)
4108 return _internal_interaction();
4109 }
_internal_set_interaction(::android::app::wearservices::CallInteraction value)4110 inline void WsCallInteractionReported::_internal_set_interaction(::android::app::wearservices::CallInteraction value) {
4111 assert(::android::app::wearservices::CallInteraction_IsValid(value));
4112 _impl_._has_bits_[0] |= 0x00000001u;
4113 _impl_.interaction_ = value;
4114 }
set_interaction(::android::app::wearservices::CallInteraction value)4115 inline void WsCallInteractionReported::set_interaction(::android::app::wearservices::CallInteraction value) {
4116 _internal_set_interaction(value);
4117 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsCallInteractionReported.interaction)
4118 }
4119
4120 // optional .android.app.wearservices.CallSource call_source = 2;
_internal_has_call_source()4121 inline bool WsCallInteractionReported::_internal_has_call_source() const {
4122 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4123 return value;
4124 }
has_call_source()4125 inline bool WsCallInteractionReported::has_call_source() const {
4126 return _internal_has_call_source();
4127 }
clear_call_source()4128 inline void WsCallInteractionReported::clear_call_source() {
4129 _impl_.call_source_ = 0;
4130 _impl_._has_bits_[0] &= ~0x00000002u;
4131 }
_internal_call_source()4132 inline ::android::app::wearservices::CallSource WsCallInteractionReported::_internal_call_source() const {
4133 return static_cast< ::android::app::wearservices::CallSource >(_impl_.call_source_);
4134 }
call_source()4135 inline ::android::app::wearservices::CallSource WsCallInteractionReported::call_source() const {
4136 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsCallInteractionReported.call_source)
4137 return _internal_call_source();
4138 }
_internal_set_call_source(::android::app::wearservices::CallSource value)4139 inline void WsCallInteractionReported::_internal_set_call_source(::android::app::wearservices::CallSource value) {
4140 assert(::android::app::wearservices::CallSource_IsValid(value));
4141 _impl_._has_bits_[0] |= 0x00000002u;
4142 _impl_.call_source_ = value;
4143 }
set_call_source(::android::app::wearservices::CallSource value)4144 inline void WsCallInteractionReported::set_call_source(::android::app::wearservices::CallSource value) {
4145 _internal_set_call_source(value);
4146 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsCallInteractionReported.call_source)
4147 }
4148
4149 // -------------------------------------------------------------------
4150
4151 // WsWearTimeSession
4152
4153 // optional int64 session_duration_millis = 1;
_internal_has_session_duration_millis()4154 inline bool WsWearTimeSession::_internal_has_session_duration_millis() const {
4155 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4156 return value;
4157 }
has_session_duration_millis()4158 inline bool WsWearTimeSession::has_session_duration_millis() const {
4159 return _internal_has_session_duration_millis();
4160 }
clear_session_duration_millis()4161 inline void WsWearTimeSession::clear_session_duration_millis() {
4162 _impl_.session_duration_millis_ = ::int64_t{0};
4163 _impl_._has_bits_[0] &= ~0x00000001u;
4164 }
_internal_session_duration_millis()4165 inline ::int64_t WsWearTimeSession::_internal_session_duration_millis() const {
4166 return _impl_.session_duration_millis_;
4167 }
session_duration_millis()4168 inline ::int64_t WsWearTimeSession::session_duration_millis() const {
4169 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsWearTimeSession.session_duration_millis)
4170 return _internal_session_duration_millis();
4171 }
_internal_set_session_duration_millis(::int64_t value)4172 inline void WsWearTimeSession::_internal_set_session_duration_millis(::int64_t value) {
4173 _impl_._has_bits_[0] |= 0x00000001u;
4174 _impl_.session_duration_millis_ = value;
4175 }
set_session_duration_millis(::int64_t value)4176 inline void WsWearTimeSession::set_session_duration_millis(::int64_t value) {
4177 _internal_set_session_duration_millis(value);
4178 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsWearTimeSession.session_duration_millis)
4179 }
4180
4181 // -------------------------------------------------------------------
4182
4183 // WsOnBodyStateChanged
4184
4185 // optional .android.app.wearservices.OnBodyState on_body_state = 1;
_internal_has_on_body_state()4186 inline bool WsOnBodyStateChanged::_internal_has_on_body_state() const {
4187 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4188 return value;
4189 }
has_on_body_state()4190 inline bool WsOnBodyStateChanged::has_on_body_state() const {
4191 return _internal_has_on_body_state();
4192 }
clear_on_body_state()4193 inline void WsOnBodyStateChanged::clear_on_body_state() {
4194 _impl_.on_body_state_ = 0;
4195 _impl_._has_bits_[0] &= ~0x00000002u;
4196 }
_internal_on_body_state()4197 inline ::android::app::wearservices::OnBodyState WsOnBodyStateChanged::_internal_on_body_state() const {
4198 return static_cast< ::android::app::wearservices::OnBodyState >(_impl_.on_body_state_);
4199 }
on_body_state()4200 inline ::android::app::wearservices::OnBodyState WsOnBodyStateChanged::on_body_state() const {
4201 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsOnBodyStateChanged.on_body_state)
4202 return _internal_on_body_state();
4203 }
_internal_set_on_body_state(::android::app::wearservices::OnBodyState value)4204 inline void WsOnBodyStateChanged::_internal_set_on_body_state(::android::app::wearservices::OnBodyState value) {
4205 assert(::android::app::wearservices::OnBodyState_IsValid(value));
4206 _impl_._has_bits_[0] |= 0x00000002u;
4207 _impl_.on_body_state_ = value;
4208 }
set_on_body_state(::android::app::wearservices::OnBodyState value)4209 inline void WsOnBodyStateChanged::set_on_body_state(::android::app::wearservices::OnBodyState value) {
4210 _internal_set_on_body_state(value);
4211 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsOnBodyStateChanged.on_body_state)
4212 }
4213
4214 // optional int64 sensor_event_timestamp_nanos = 2;
_internal_has_sensor_event_timestamp_nanos()4215 inline bool WsOnBodyStateChanged::_internal_has_sensor_event_timestamp_nanos() const {
4216 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4217 return value;
4218 }
has_sensor_event_timestamp_nanos()4219 inline bool WsOnBodyStateChanged::has_sensor_event_timestamp_nanos() const {
4220 return _internal_has_sensor_event_timestamp_nanos();
4221 }
clear_sensor_event_timestamp_nanos()4222 inline void WsOnBodyStateChanged::clear_sensor_event_timestamp_nanos() {
4223 _impl_.sensor_event_timestamp_nanos_ = ::int64_t{0};
4224 _impl_._has_bits_[0] &= ~0x00000001u;
4225 }
_internal_sensor_event_timestamp_nanos()4226 inline ::int64_t WsOnBodyStateChanged::_internal_sensor_event_timestamp_nanos() const {
4227 return _impl_.sensor_event_timestamp_nanos_;
4228 }
sensor_event_timestamp_nanos()4229 inline ::int64_t WsOnBodyStateChanged::sensor_event_timestamp_nanos() const {
4230 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsOnBodyStateChanged.sensor_event_timestamp_nanos)
4231 return _internal_sensor_event_timestamp_nanos();
4232 }
_internal_set_sensor_event_timestamp_nanos(::int64_t value)4233 inline void WsOnBodyStateChanged::_internal_set_sensor_event_timestamp_nanos(::int64_t value) {
4234 _impl_._has_bits_[0] |= 0x00000001u;
4235 _impl_.sensor_event_timestamp_nanos_ = value;
4236 }
set_sensor_event_timestamp_nanos(::int64_t value)4237 inline void WsOnBodyStateChanged::set_sensor_event_timestamp_nanos(::int64_t value) {
4238 _internal_set_sensor_event_timestamp_nanos(value);
4239 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsOnBodyStateChanged.sensor_event_timestamp_nanos)
4240 }
4241
4242 // -------------------------------------------------------------------
4243
4244 // WsStandaloneModeSnapshot
4245
4246 // optional .android.app.wearservices.TetherConfigurationStatus tether_configuration_status = 1;
_internal_has_tether_configuration_status()4247 inline bool WsStandaloneModeSnapshot::_internal_has_tether_configuration_status() const {
4248 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4249 return value;
4250 }
has_tether_configuration_status()4251 inline bool WsStandaloneModeSnapshot::has_tether_configuration_status() const {
4252 return _internal_has_tether_configuration_status();
4253 }
clear_tether_configuration_status()4254 inline void WsStandaloneModeSnapshot::clear_tether_configuration_status() {
4255 _impl_.tether_configuration_status_ = 0;
4256 _impl_._has_bits_[0] &= ~0x00000001u;
4257 }
_internal_tether_configuration_status()4258 inline ::android::app::wearservices::TetherConfigurationStatus WsStandaloneModeSnapshot::_internal_tether_configuration_status() const {
4259 return static_cast< ::android::app::wearservices::TetherConfigurationStatus >(_impl_.tether_configuration_status_);
4260 }
tether_configuration_status()4261 inline ::android::app::wearservices::TetherConfigurationStatus WsStandaloneModeSnapshot::tether_configuration_status() const {
4262 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsStandaloneModeSnapshot.tether_configuration_status)
4263 return _internal_tether_configuration_status();
4264 }
_internal_set_tether_configuration_status(::android::app::wearservices::TetherConfigurationStatus value)4265 inline void WsStandaloneModeSnapshot::_internal_set_tether_configuration_status(::android::app::wearservices::TetherConfigurationStatus value) {
4266 assert(::android::app::wearservices::TetherConfigurationStatus_IsValid(value));
4267 _impl_._has_bits_[0] |= 0x00000001u;
4268 _impl_.tether_configuration_status_ = value;
4269 }
set_tether_configuration_status(::android::app::wearservices::TetherConfigurationStatus value)4270 inline void WsStandaloneModeSnapshot::set_tether_configuration_status(::android::app::wearservices::TetherConfigurationStatus value) {
4271 _internal_set_tether_configuration_status(value);
4272 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsStandaloneModeSnapshot.tether_configuration_status)
4273 }
4274
4275 // -------------------------------------------------------------------
4276
4277 // WsWatchFaceRestrictedComplicationsImpacted
4278
4279 // optional int32 watch_face_package_uid = 1 [(.android.os.statsd.is_uid) = true];
_internal_has_watch_face_package_uid()4280 inline bool WsWatchFaceRestrictedComplicationsImpacted::_internal_has_watch_face_package_uid() const {
4281 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
4282 return value;
4283 }
has_watch_face_package_uid()4284 inline bool WsWatchFaceRestrictedComplicationsImpacted::has_watch_face_package_uid() const {
4285 return _internal_has_watch_face_package_uid();
4286 }
clear_watch_face_package_uid()4287 inline void WsWatchFaceRestrictedComplicationsImpacted::clear_watch_face_package_uid() {
4288 _impl_.watch_face_package_uid_ = 0;
4289 _impl_._has_bits_[0] &= ~0x00000002u;
4290 }
_internal_watch_face_package_uid()4291 inline ::int32_t WsWatchFaceRestrictedComplicationsImpacted::_internal_watch_face_package_uid() const {
4292 return _impl_.watch_face_package_uid_;
4293 }
watch_face_package_uid()4294 inline ::int32_t WsWatchFaceRestrictedComplicationsImpacted::watch_face_package_uid() const {
4295 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.watch_face_package_uid)
4296 return _internal_watch_face_package_uid();
4297 }
_internal_set_watch_face_package_uid(::int32_t value)4298 inline void WsWatchFaceRestrictedComplicationsImpacted::_internal_set_watch_face_package_uid(::int32_t value) {
4299 _impl_._has_bits_[0] |= 0x00000002u;
4300 _impl_.watch_face_package_uid_ = value;
4301 }
set_watch_face_package_uid(::int32_t value)4302 inline void WsWatchFaceRestrictedComplicationsImpacted::set_watch_face_package_uid(::int32_t value) {
4303 _internal_set_watch_face_package_uid(value);
4304 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.watch_face_package_uid)
4305 }
4306
4307 // optional string watch_face_component_class_name = 2;
_internal_has_watch_face_component_class_name()4308 inline bool WsWatchFaceRestrictedComplicationsImpacted::_internal_has_watch_face_component_class_name() const {
4309 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
4310 return value;
4311 }
has_watch_face_component_class_name()4312 inline bool WsWatchFaceRestrictedComplicationsImpacted::has_watch_face_component_class_name() const {
4313 return _internal_has_watch_face_component_class_name();
4314 }
clear_watch_face_component_class_name()4315 inline void WsWatchFaceRestrictedComplicationsImpacted::clear_watch_face_component_class_name() {
4316 _impl_.watch_face_component_class_name_.ClearToEmpty();
4317 _impl_._has_bits_[0] &= ~0x00000001u;
4318 }
watch_face_component_class_name()4319 inline const std::string& WsWatchFaceRestrictedComplicationsImpacted::watch_face_component_class_name() const {
4320 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.watch_face_component_class_name)
4321 return _internal_watch_face_component_class_name();
4322 }
4323 template <typename ArgT0, typename... ArgT>
4324 inline PROTOBUF_ALWAYS_INLINE
set_watch_face_component_class_name(ArgT0 && arg0,ArgT...args)4325 void WsWatchFaceRestrictedComplicationsImpacted::set_watch_face_component_class_name(ArgT0&& arg0, ArgT... args) {
4326 _impl_._has_bits_[0] |= 0x00000001u;
4327 _impl_.watch_face_component_class_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
4328 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.watch_face_component_class_name)
4329 }
mutable_watch_face_component_class_name()4330 inline std::string* WsWatchFaceRestrictedComplicationsImpacted::mutable_watch_face_component_class_name() {
4331 std::string* _s = _internal_mutable_watch_face_component_class_name();
4332 // @@protoc_insertion_point(field_mutable:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.watch_face_component_class_name)
4333 return _s;
4334 }
_internal_watch_face_component_class_name()4335 inline const std::string& WsWatchFaceRestrictedComplicationsImpacted::_internal_watch_face_component_class_name() const {
4336 return _impl_.watch_face_component_class_name_.Get();
4337 }
_internal_set_watch_face_component_class_name(const std::string & value)4338 inline void WsWatchFaceRestrictedComplicationsImpacted::_internal_set_watch_face_component_class_name(const std::string& value) {
4339 _impl_._has_bits_[0] |= 0x00000001u;
4340 _impl_.watch_face_component_class_name_.Set(value, GetArenaForAllocation());
4341 }
_internal_mutable_watch_face_component_class_name()4342 inline std::string* WsWatchFaceRestrictedComplicationsImpacted::_internal_mutable_watch_face_component_class_name() {
4343 _impl_._has_bits_[0] |= 0x00000001u;
4344 return _impl_.watch_face_component_class_name_.Mutable(GetArenaForAllocation());
4345 }
release_watch_face_component_class_name()4346 inline std::string* WsWatchFaceRestrictedComplicationsImpacted::release_watch_face_component_class_name() {
4347 // @@protoc_insertion_point(field_release:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.watch_face_component_class_name)
4348 if (!_internal_has_watch_face_component_class_name()) {
4349 return nullptr;
4350 }
4351 _impl_._has_bits_[0] &= ~0x00000001u;
4352 auto* p = _impl_.watch_face_component_class_name_.Release();
4353 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4354 if (_impl_.watch_face_component_class_name_.IsDefault()) {
4355 _impl_.watch_face_component_class_name_.Set("", GetArenaForAllocation());
4356 }
4357 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4358 return p;
4359 }
set_allocated_watch_face_component_class_name(std::string * watch_face_component_class_name)4360 inline void WsWatchFaceRestrictedComplicationsImpacted::set_allocated_watch_face_component_class_name(std::string* watch_face_component_class_name) {
4361 if (watch_face_component_class_name != nullptr) {
4362 _impl_._has_bits_[0] |= 0x00000001u;
4363 } else {
4364 _impl_._has_bits_[0] &= ~0x00000001u;
4365 }
4366 _impl_.watch_face_component_class_name_.SetAllocated(watch_face_component_class_name, GetArenaForAllocation());
4367 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
4368 if (_impl_.watch_face_component_class_name_.IsDefault()) {
4369 _impl_.watch_face_component_class_name_.Set("", GetArenaForAllocation());
4370 }
4371 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
4372 // @@protoc_insertion_point(field_set_allocated:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.watch_face_component_class_name)
4373 }
4374
4375 // repeated int32 complication_component_package_uid = 3 [(.android.os.statsd.is_uid) = true];
_internal_complication_component_package_uid_size()4376 inline int WsWatchFaceRestrictedComplicationsImpacted::_internal_complication_component_package_uid_size() const {
4377 return _impl_.complication_component_package_uid_.size();
4378 }
complication_component_package_uid_size()4379 inline int WsWatchFaceRestrictedComplicationsImpacted::complication_component_package_uid_size() const {
4380 return _internal_complication_component_package_uid_size();
4381 }
clear_complication_component_package_uid()4382 inline void WsWatchFaceRestrictedComplicationsImpacted::clear_complication_component_package_uid() {
4383 _impl_.complication_component_package_uid_.Clear();
4384 }
_internal_complication_component_package_uid(int index)4385 inline ::int32_t WsWatchFaceRestrictedComplicationsImpacted::_internal_complication_component_package_uid(int index) const {
4386 return _impl_.complication_component_package_uid_.Get(index);
4387 }
complication_component_package_uid(int index)4388 inline ::int32_t WsWatchFaceRestrictedComplicationsImpacted::complication_component_package_uid(int index) const {
4389 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_package_uid)
4390 return _internal_complication_component_package_uid(index);
4391 }
set_complication_component_package_uid(int index,::int32_t value)4392 inline void WsWatchFaceRestrictedComplicationsImpacted::set_complication_component_package_uid(int index, ::int32_t value) {
4393 _impl_.complication_component_package_uid_.Set(index, value);
4394 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_package_uid)
4395 }
_internal_add_complication_component_package_uid(::int32_t value)4396 inline void WsWatchFaceRestrictedComplicationsImpacted::_internal_add_complication_component_package_uid(::int32_t value) {
4397 _impl_.complication_component_package_uid_.Add(value);
4398 }
add_complication_component_package_uid(::int32_t value)4399 inline void WsWatchFaceRestrictedComplicationsImpacted::add_complication_component_package_uid(::int32_t value) {
4400 _internal_add_complication_component_package_uid(value);
4401 // @@protoc_insertion_point(field_add:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_package_uid)
4402 }
4403 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
_internal_complication_component_package_uid()4404 WsWatchFaceRestrictedComplicationsImpacted::_internal_complication_component_package_uid() const {
4405 return _impl_.complication_component_package_uid_;
4406 }
4407 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
complication_component_package_uid()4408 WsWatchFaceRestrictedComplicationsImpacted::complication_component_package_uid() const {
4409 // @@protoc_insertion_point(field_list:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_package_uid)
4410 return _internal_complication_component_package_uid();
4411 }
4412 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
_internal_mutable_complication_component_package_uid()4413 WsWatchFaceRestrictedComplicationsImpacted::_internal_mutable_complication_component_package_uid() {
4414 return &_impl_.complication_component_package_uid_;
4415 }
4416 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
mutable_complication_component_package_uid()4417 WsWatchFaceRestrictedComplicationsImpacted::mutable_complication_component_package_uid() {
4418 // @@protoc_insertion_point(field_mutable_list:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_package_uid)
4419 return _internal_mutable_complication_component_package_uid();
4420 }
4421
4422 // repeated string complication_component_class_name = 4;
_internal_complication_component_class_name_size()4423 inline int WsWatchFaceRestrictedComplicationsImpacted::_internal_complication_component_class_name_size() const {
4424 return _impl_.complication_component_class_name_.size();
4425 }
complication_component_class_name_size()4426 inline int WsWatchFaceRestrictedComplicationsImpacted::complication_component_class_name_size() const {
4427 return _internal_complication_component_class_name_size();
4428 }
clear_complication_component_class_name()4429 inline void WsWatchFaceRestrictedComplicationsImpacted::clear_complication_component_class_name() {
4430 _impl_.complication_component_class_name_.Clear();
4431 }
add_complication_component_class_name()4432 inline std::string* WsWatchFaceRestrictedComplicationsImpacted::add_complication_component_class_name() {
4433 std::string* _s = _internal_add_complication_component_class_name();
4434 // @@protoc_insertion_point(field_add_mutable:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4435 return _s;
4436 }
_internal_complication_component_class_name(int index)4437 inline const std::string& WsWatchFaceRestrictedComplicationsImpacted::_internal_complication_component_class_name(int index) const {
4438 return _impl_.complication_component_class_name_.Get(index);
4439 }
complication_component_class_name(int index)4440 inline const std::string& WsWatchFaceRestrictedComplicationsImpacted::complication_component_class_name(int index) const {
4441 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4442 return _internal_complication_component_class_name(index);
4443 }
mutable_complication_component_class_name(int index)4444 inline std::string* WsWatchFaceRestrictedComplicationsImpacted::mutable_complication_component_class_name(int index) {
4445 // @@protoc_insertion_point(field_mutable:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4446 return _impl_.complication_component_class_name_.Mutable(index);
4447 }
set_complication_component_class_name(int index,const std::string & value)4448 inline void WsWatchFaceRestrictedComplicationsImpacted::set_complication_component_class_name(int index, const std::string& value) {
4449 _impl_.complication_component_class_name_.Mutable(index)->assign(value);
4450 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4451 }
set_complication_component_class_name(int index,std::string && value)4452 inline void WsWatchFaceRestrictedComplicationsImpacted::set_complication_component_class_name(int index, std::string&& value) {
4453 _impl_.complication_component_class_name_.Mutable(index)->assign(std::move(value));
4454 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4455 }
set_complication_component_class_name(int index,const char * value)4456 inline void WsWatchFaceRestrictedComplicationsImpacted::set_complication_component_class_name(int index, const char* value) {
4457 GOOGLE_DCHECK(value != nullptr);
4458 _impl_.complication_component_class_name_.Mutable(index)->assign(value);
4459 // @@protoc_insertion_point(field_set_char:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4460 }
set_complication_component_class_name(int index,const char * value,size_t size)4461 inline void WsWatchFaceRestrictedComplicationsImpacted::set_complication_component_class_name(int index, const char* value, size_t size) {
4462 _impl_.complication_component_class_name_.Mutable(index)->assign(
4463 reinterpret_cast<const char*>(value), size);
4464 // @@protoc_insertion_point(field_set_pointer:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4465 }
_internal_add_complication_component_class_name()4466 inline std::string* WsWatchFaceRestrictedComplicationsImpacted::_internal_add_complication_component_class_name() {
4467 return _impl_.complication_component_class_name_.Add();
4468 }
add_complication_component_class_name(const std::string & value)4469 inline void WsWatchFaceRestrictedComplicationsImpacted::add_complication_component_class_name(const std::string& value) {
4470 _impl_.complication_component_class_name_.Add()->assign(value);
4471 // @@protoc_insertion_point(field_add:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4472 }
add_complication_component_class_name(std::string && value)4473 inline void WsWatchFaceRestrictedComplicationsImpacted::add_complication_component_class_name(std::string&& value) {
4474 _impl_.complication_component_class_name_.Add(std::move(value));
4475 // @@protoc_insertion_point(field_add:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4476 }
add_complication_component_class_name(const char * value)4477 inline void WsWatchFaceRestrictedComplicationsImpacted::add_complication_component_class_name(const char* value) {
4478 GOOGLE_DCHECK(value != nullptr);
4479 _impl_.complication_component_class_name_.Add()->assign(value);
4480 // @@protoc_insertion_point(field_add_char:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4481 }
add_complication_component_class_name(const char * value,size_t size)4482 inline void WsWatchFaceRestrictedComplicationsImpacted::add_complication_component_class_name(const char* value, size_t size) {
4483 _impl_.complication_component_class_name_.Add()->assign(reinterpret_cast<const char*>(value), size);
4484 // @@protoc_insertion_point(field_add_pointer:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4485 }
4486 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
complication_component_class_name()4487 WsWatchFaceRestrictedComplicationsImpacted::complication_component_class_name() const {
4488 // @@protoc_insertion_point(field_list:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4489 return _impl_.complication_component_class_name_;
4490 }
4491 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_complication_component_class_name()4492 WsWatchFaceRestrictedComplicationsImpacted::mutable_complication_component_class_name() {
4493 // @@protoc_insertion_point(field_mutable_list:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_component_class_name)
4494 return &_impl_.complication_component_class_name_;
4495 }
4496
4497 // repeated int32 complication_type = 5;
_internal_complication_type_size()4498 inline int WsWatchFaceRestrictedComplicationsImpacted::_internal_complication_type_size() const {
4499 return _impl_.complication_type_.size();
4500 }
complication_type_size()4501 inline int WsWatchFaceRestrictedComplicationsImpacted::complication_type_size() const {
4502 return _internal_complication_type_size();
4503 }
clear_complication_type()4504 inline void WsWatchFaceRestrictedComplicationsImpacted::clear_complication_type() {
4505 _impl_.complication_type_.Clear();
4506 }
_internal_complication_type(int index)4507 inline ::int32_t WsWatchFaceRestrictedComplicationsImpacted::_internal_complication_type(int index) const {
4508 return _impl_.complication_type_.Get(index);
4509 }
complication_type(int index)4510 inline ::int32_t WsWatchFaceRestrictedComplicationsImpacted::complication_type(int index) const {
4511 // @@protoc_insertion_point(field_get:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_type)
4512 return _internal_complication_type(index);
4513 }
set_complication_type(int index,::int32_t value)4514 inline void WsWatchFaceRestrictedComplicationsImpacted::set_complication_type(int index, ::int32_t value) {
4515 _impl_.complication_type_.Set(index, value);
4516 // @@protoc_insertion_point(field_set:android.os.statsd.wearservices.WsWatchFaceRestrictedComplicationsImpacted.complication_type)
4517 }
_internal_add_complication_type(::int32_t value)4518 inline void WsWatchFaceRestrictedComplicationsImpacted::_internal_add_complication_type(::int32_t value) {
4519 _impl_.complication_type_.Add(value);
4520 }
add_complication_type(::int32_t value)4521