1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: system_profile.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_system_5fprofile_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_system_5fprofile_2eproto
6
7 #include <limits>
8 #include <string>
9
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3021000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/metadata_lite.h>
28 #include <google/protobuf/message_lite.h>
29 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
30 #include <google/protobuf/extension_set.h> // IWYU pragma: export
31 #include <google/protobuf/generated_enum_util.h>
32 #include "extension_install.pb.h"
33 // @@protoc_insertion_point(includes)
34 #include <google/protobuf/port_def.inc>
35 #define PROTOBUF_INTERNAL_EXPORT_system_5fprofile_2eproto
36 PROTOBUF_NAMESPACE_OPEN
37 namespace internal {
38 class AnyMetadata;
39 } // namespace internal
40 PROTOBUF_NAMESPACE_CLOSE
41
42 // Internal implementation detail -- do not use these members.
43 struct TableStruct_system_5fprofile_2eproto {
44 static const uint32_t offsets[];
45 };
46 namespace metrics {
47 class SystemProfileProto;
48 struct SystemProfileProtoDefaultTypeInternal;
49 extern SystemProfileProtoDefaultTypeInternal _SystemProfileProto_default_instance_;
50 class SystemProfileProto_AntiVirusProduct;
51 struct SystemProfileProto_AntiVirusProductDefaultTypeInternal;
52 extern SystemProfileProto_AntiVirusProductDefaultTypeInternal _SystemProfileProto_AntiVirusProduct_default_instance_;
53 class SystemProfileProto_ChromeComponent;
54 struct SystemProfileProto_ChromeComponentDefaultTypeInternal;
55 extern SystemProfileProto_ChromeComponentDefaultTypeInternal _SystemProfileProto_ChromeComponent_default_instance_;
56 class SystemProfileProto_ClonedInstallInfo;
57 struct SystemProfileProto_ClonedInstallInfoDefaultTypeInternal;
58 extern SystemProfileProto_ClonedInstallInfoDefaultTypeInternal _SystemProfileProto_ClonedInstallInfo_default_instance_;
59 class SystemProfileProto_DemoModeDimensions;
60 struct SystemProfileProto_DemoModeDimensionsDefaultTypeInternal;
61 extern SystemProfileProto_DemoModeDimensionsDefaultTypeInternal _SystemProfileProto_DemoModeDimensions_default_instance_;
62 class SystemProfileProto_DemoModeDimensions_Retailer;
63 struct SystemProfileProto_DemoModeDimensions_RetailerDefaultTypeInternal;
64 extern SystemProfileProto_DemoModeDimensions_RetailerDefaultTypeInternal _SystemProfileProto_DemoModeDimensions_Retailer_default_instance_;
65 class SystemProfileProto_ExternalAccessPoint;
66 struct SystemProfileProto_ExternalAccessPointDefaultTypeInternal;
67 extern SystemProfileProto_ExternalAccessPointDefaultTypeInternal _SystemProfileProto_ExternalAccessPoint_default_instance_;
68 class SystemProfileProto_ExternalAudioVideoDevice;
69 struct SystemProfileProto_ExternalAudioVideoDeviceDefaultTypeInternal;
70 extern SystemProfileProto_ExternalAudioVideoDeviceDefaultTypeInternal _SystemProfileProto_ExternalAudioVideoDevice_default_instance_;
71 class SystemProfileProto_ExternalAudioVideoDevice_AudioDescription;
72 struct SystemProfileProto_ExternalAudioVideoDevice_AudioDescriptionDefaultTypeInternal;
73 extern SystemProfileProto_ExternalAudioVideoDevice_AudioDescriptionDefaultTypeInternal _SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_default_instance_;
74 class SystemProfileProto_ExternalAudioVideoDevice_CECCommand;
75 struct SystemProfileProto_ExternalAudioVideoDevice_CECCommandDefaultTypeInternal;
76 extern SystemProfileProto_ExternalAudioVideoDevice_CECCommandDefaultTypeInternal _SystemProfileProto_ExternalAudioVideoDevice_CECCommand_default_instance_;
77 class SystemProfileProto_FieldTrial;
78 struct SystemProfileProto_FieldTrialDefaultTypeInternal;
79 extern SystemProfileProto_FieldTrialDefaultTypeInternal _SystemProfileProto_FieldTrial_default_instance_;
80 class SystemProfileProto_GoogleUpdate;
81 struct SystemProfileProto_GoogleUpdateDefaultTypeInternal;
82 extern SystemProfileProto_GoogleUpdateDefaultTypeInternal _SystemProfileProto_GoogleUpdate_default_instance_;
83 class SystemProfileProto_GoogleUpdate_ProductInfo;
84 struct SystemProfileProto_GoogleUpdate_ProductInfoDefaultTypeInternal;
85 extern SystemProfileProto_GoogleUpdate_ProductInfoDefaultTypeInternal _SystemProfileProto_GoogleUpdate_ProductInfo_default_instance_;
86 class SystemProfileProto_Hardware;
87 struct SystemProfileProto_HardwareDefaultTypeInternal;
88 extern SystemProfileProto_HardwareDefaultTypeInternal _SystemProfileProto_Hardware_default_instance_;
89 class SystemProfileProto_Hardware_CPU;
90 struct SystemProfileProto_Hardware_CPUDefaultTypeInternal;
91 extern SystemProfileProto_Hardware_CPUDefaultTypeInternal _SystemProfileProto_Hardware_CPU_default_instance_;
92 class SystemProfileProto_Hardware_Drive;
93 struct SystemProfileProto_Hardware_DriveDefaultTypeInternal;
94 extern SystemProfileProto_Hardware_DriveDefaultTypeInternal _SystemProfileProto_Hardware_Drive_default_instance_;
95 class SystemProfileProto_Hardware_Graphics;
96 struct SystemProfileProto_Hardware_GraphicsDefaultTypeInternal;
97 extern SystemProfileProto_Hardware_GraphicsDefaultTypeInternal _SystemProfileProto_Hardware_Graphics_default_instance_;
98 class SystemProfileProto_Hardware_InternalStorageDevice;
99 struct SystemProfileProto_Hardware_InternalStorageDeviceDefaultTypeInternal;
100 extern SystemProfileProto_Hardware_InternalStorageDeviceDefaultTypeInternal _SystemProfileProto_Hardware_InternalStorageDevice_default_instance_;
101 class SystemProfileProto_Hardware_Motherboard;
102 struct SystemProfileProto_Hardware_MotherboardDefaultTypeInternal;
103 extern SystemProfileProto_Hardware_MotherboardDefaultTypeInternal _SystemProfileProto_Hardware_Motherboard_default_instance_;
104 class SystemProfileProto_LinkedAndroidPhoneData;
105 struct SystemProfileProto_LinkedAndroidPhoneDataDefaultTypeInternal;
106 extern SystemProfileProto_LinkedAndroidPhoneDataDefaultTypeInternal _SystemProfileProto_LinkedAndroidPhoneData_default_instance_;
107 class SystemProfileProto_Network;
108 struct SystemProfileProto_NetworkDefaultTypeInternal;
109 extern SystemProfileProto_NetworkDefaultTypeInternal _SystemProfileProto_Network_default_instance_;
110 class SystemProfileProto_OS;
111 struct SystemProfileProto_OSDefaultTypeInternal;
112 extern SystemProfileProto_OSDefaultTypeInternal _SystemProfileProto_OS_default_instance_;
113 class SystemProfileProto_OS_Arc;
114 struct SystemProfileProto_OS_ArcDefaultTypeInternal;
115 extern SystemProfileProto_OS_ArcDefaultTypeInternal _SystemProfileProto_OS_Arc_default_instance_;
116 class SystemProfileProto_Stability;
117 struct SystemProfileProto_StabilityDefaultTypeInternal;
118 extern SystemProfileProto_StabilityDefaultTypeInternal _SystemProfileProto_Stability_default_instance_;
119 } // namespace metrics
120 PROTOBUF_NAMESPACE_OPEN
121 template<> ::metrics::SystemProfileProto* Arena::CreateMaybeMessage<::metrics::SystemProfileProto>(Arena*);
122 template<> ::metrics::SystemProfileProto_AntiVirusProduct* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_AntiVirusProduct>(Arena*);
123 template<> ::metrics::SystemProfileProto_ChromeComponent* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_ChromeComponent>(Arena*);
124 template<> ::metrics::SystemProfileProto_ClonedInstallInfo* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_ClonedInstallInfo>(Arena*);
125 template<> ::metrics::SystemProfileProto_DemoModeDimensions* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_DemoModeDimensions>(Arena*);
126 template<> ::metrics::SystemProfileProto_DemoModeDimensions_Retailer* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_DemoModeDimensions_Retailer>(Arena*);
127 template<> ::metrics::SystemProfileProto_ExternalAccessPoint* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_ExternalAccessPoint>(Arena*);
128 template<> ::metrics::SystemProfileProto_ExternalAudioVideoDevice* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_ExternalAudioVideoDevice>(Arena*);
129 template<> ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription>(Arena*);
130 template<> ::metrics::SystemProfileProto_ExternalAudioVideoDevice_CECCommand* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_ExternalAudioVideoDevice_CECCommand>(Arena*);
131 template<> ::metrics::SystemProfileProto_FieldTrial* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_FieldTrial>(Arena*);
132 template<> ::metrics::SystemProfileProto_GoogleUpdate* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_GoogleUpdate>(Arena*);
133 template<> ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_GoogleUpdate_ProductInfo>(Arena*);
134 template<> ::metrics::SystemProfileProto_Hardware* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_Hardware>(Arena*);
135 template<> ::metrics::SystemProfileProto_Hardware_CPU* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_Hardware_CPU>(Arena*);
136 template<> ::metrics::SystemProfileProto_Hardware_Drive* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_Hardware_Drive>(Arena*);
137 template<> ::metrics::SystemProfileProto_Hardware_Graphics* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_Hardware_Graphics>(Arena*);
138 template<> ::metrics::SystemProfileProto_Hardware_InternalStorageDevice* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_Hardware_InternalStorageDevice>(Arena*);
139 template<> ::metrics::SystemProfileProto_Hardware_Motherboard* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_Hardware_Motherboard>(Arena*);
140 template<> ::metrics::SystemProfileProto_LinkedAndroidPhoneData* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_LinkedAndroidPhoneData>(Arena*);
141 template<> ::metrics::SystemProfileProto_Network* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_Network>(Arena*);
142 template<> ::metrics::SystemProfileProto_OS* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_OS>(Arena*);
143 template<> ::metrics::SystemProfileProto_OS_Arc* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_OS_Arc>(Arena*);
144 template<> ::metrics::SystemProfileProto_Stability* Arena::CreateMaybeMessage<::metrics::SystemProfileProto_Stability>(Arena*);
145 PROTOBUF_NAMESPACE_CLOSE
146 namespace metrics {
147
148 enum SystemProfileProto_OS_DarkModeState : int {
149 SystemProfileProto_OS_DarkModeState_UNKNOWN = 0,
150 SystemProfileProto_OS_DarkModeState_DARK_MODE_SYSTEM = 1,
151 SystemProfileProto_OS_DarkModeState_DARK_MODE_APP = 2,
152 SystemProfileProto_OS_DarkModeState_LIGHT_MODE_SYSTEM = 3,
153 SystemProfileProto_OS_DarkModeState_LIGHT_MODE_APP = 4
154 };
155 bool SystemProfileProto_OS_DarkModeState_IsValid(int value);
156 constexpr SystemProfileProto_OS_DarkModeState SystemProfileProto_OS_DarkModeState_DarkModeState_MIN = SystemProfileProto_OS_DarkModeState_UNKNOWN;
157 constexpr SystemProfileProto_OS_DarkModeState SystemProfileProto_OS_DarkModeState_DarkModeState_MAX = SystemProfileProto_OS_DarkModeState_LIGHT_MODE_APP;
158 constexpr int SystemProfileProto_OS_DarkModeState_DarkModeState_ARRAYSIZE = SystemProfileProto_OS_DarkModeState_DarkModeState_MAX + 1;
159
160 const std::string& SystemProfileProto_OS_DarkModeState_Name(SystemProfileProto_OS_DarkModeState value);
161 template<typename T>
SystemProfileProto_OS_DarkModeState_Name(T enum_t_value)162 inline const std::string& SystemProfileProto_OS_DarkModeState_Name(T enum_t_value) {
163 static_assert(::std::is_same<T, SystemProfileProto_OS_DarkModeState>::value ||
164 ::std::is_integral<T>::value,
165 "Incorrect type passed to function SystemProfileProto_OS_DarkModeState_Name.");
166 return SystemProfileProto_OS_DarkModeState_Name(static_cast<SystemProfileProto_OS_DarkModeState>(enum_t_value));
167 }
168 bool SystemProfileProto_OS_DarkModeState_Parse(
169 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_OS_DarkModeState* value);
170 enum SystemProfileProto_OS_XdgSessionType : int {
171 SystemProfileProto_OS_XdgSessionType_UNSET = 0,
172 SystemProfileProto_OS_XdgSessionType_OTHER_SESSION_TYPE = 1,
173 SystemProfileProto_OS_XdgSessionType_UNSPECIFIED = 2,
174 SystemProfileProto_OS_XdgSessionType_TTY = 3,
175 SystemProfileProto_OS_XdgSessionType_X11 = 4,
176 SystemProfileProto_OS_XdgSessionType_WAYLAND = 5,
177 SystemProfileProto_OS_XdgSessionType_MIR = 6
178 };
179 bool SystemProfileProto_OS_XdgSessionType_IsValid(int value);
180 constexpr SystemProfileProto_OS_XdgSessionType SystemProfileProto_OS_XdgSessionType_XdgSessionType_MIN = SystemProfileProto_OS_XdgSessionType_UNSET;
181 constexpr SystemProfileProto_OS_XdgSessionType SystemProfileProto_OS_XdgSessionType_XdgSessionType_MAX = SystemProfileProto_OS_XdgSessionType_MIR;
182 constexpr int SystemProfileProto_OS_XdgSessionType_XdgSessionType_ARRAYSIZE = SystemProfileProto_OS_XdgSessionType_XdgSessionType_MAX + 1;
183
184 const std::string& SystemProfileProto_OS_XdgSessionType_Name(SystemProfileProto_OS_XdgSessionType value);
185 template<typename T>
SystemProfileProto_OS_XdgSessionType_Name(T enum_t_value)186 inline const std::string& SystemProfileProto_OS_XdgSessionType_Name(T enum_t_value) {
187 static_assert(::std::is_same<T, SystemProfileProto_OS_XdgSessionType>::value ||
188 ::std::is_integral<T>::value,
189 "Incorrect type passed to function SystemProfileProto_OS_XdgSessionType_Name.");
190 return SystemProfileProto_OS_XdgSessionType_Name(static_cast<SystemProfileProto_OS_XdgSessionType>(enum_t_value));
191 }
192 bool SystemProfileProto_OS_XdgSessionType_Parse(
193 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_OS_XdgSessionType* value);
194 enum SystemProfileProto_OS_XdgCurrentDesktop : int {
195 SystemProfileProto_OS_XdgCurrentDesktop_OTHER = 0,
196 SystemProfileProto_OS_XdgCurrentDesktop_CINNAMON = 1,
197 SystemProfileProto_OS_XdgCurrentDesktop_DEEPIN = 2,
198 SystemProfileProto_OS_XdgCurrentDesktop_GNOME = 3,
199 SystemProfileProto_OS_XdgCurrentDesktop_KDE = 4,
200 SystemProfileProto_OS_XdgCurrentDesktop_PANTHEON = 5,
201 SystemProfileProto_OS_XdgCurrentDesktop_UKUI = 6,
202 SystemProfileProto_OS_XdgCurrentDesktop_UNITY = 7,
203 SystemProfileProto_OS_XdgCurrentDesktop_XFCE = 8,
204 SystemProfileProto_OS_XdgCurrentDesktop_LXQT = 9
205 };
206 bool SystemProfileProto_OS_XdgCurrentDesktop_IsValid(int value);
207 constexpr SystemProfileProto_OS_XdgCurrentDesktop SystemProfileProto_OS_XdgCurrentDesktop_XdgCurrentDesktop_MIN = SystemProfileProto_OS_XdgCurrentDesktop_OTHER;
208 constexpr SystemProfileProto_OS_XdgCurrentDesktop SystemProfileProto_OS_XdgCurrentDesktop_XdgCurrentDesktop_MAX = SystemProfileProto_OS_XdgCurrentDesktop_LXQT;
209 constexpr int SystemProfileProto_OS_XdgCurrentDesktop_XdgCurrentDesktop_ARRAYSIZE = SystemProfileProto_OS_XdgCurrentDesktop_XdgCurrentDesktop_MAX + 1;
210
211 const std::string& SystemProfileProto_OS_XdgCurrentDesktop_Name(SystemProfileProto_OS_XdgCurrentDesktop value);
212 template<typename T>
SystemProfileProto_OS_XdgCurrentDesktop_Name(T enum_t_value)213 inline const std::string& SystemProfileProto_OS_XdgCurrentDesktop_Name(T enum_t_value) {
214 static_assert(::std::is_same<T, SystemProfileProto_OS_XdgCurrentDesktop>::value ||
215 ::std::is_integral<T>::value,
216 "Incorrect type passed to function SystemProfileProto_OS_XdgCurrentDesktop_Name.");
217 return SystemProfileProto_OS_XdgCurrentDesktop_Name(static_cast<SystemProfileProto_OS_XdgCurrentDesktop>(enum_t_value));
218 }
219 bool SystemProfileProto_OS_XdgCurrentDesktop_Parse(
220 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_OS_XdgCurrentDesktop* value);
221 enum SystemProfileProto_Hardware_InternalStorageDevice_Type : int {
222 SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_UNKNOWN = 0,
223 SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_EMMC = 1,
224 SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_NVME = 2,
225 SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_UFS = 3,
226 SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_SD_EXPRESS_INTERNAL = 4
227 };
228 bool SystemProfileProto_Hardware_InternalStorageDevice_Type_IsValid(int value);
229 constexpr SystemProfileProto_Hardware_InternalStorageDevice_Type SystemProfileProto_Hardware_InternalStorageDevice_Type_Type_MIN = SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_UNKNOWN;
230 constexpr SystemProfileProto_Hardware_InternalStorageDevice_Type SystemProfileProto_Hardware_InternalStorageDevice_Type_Type_MAX = SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_SD_EXPRESS_INTERNAL;
231 constexpr int SystemProfileProto_Hardware_InternalStorageDevice_Type_Type_ARRAYSIZE = SystemProfileProto_Hardware_InternalStorageDevice_Type_Type_MAX + 1;
232
233 const std::string& SystemProfileProto_Hardware_InternalStorageDevice_Type_Name(SystemProfileProto_Hardware_InternalStorageDevice_Type value);
234 template<typename T>
SystemProfileProto_Hardware_InternalStorageDevice_Type_Name(T enum_t_value)235 inline const std::string& SystemProfileProto_Hardware_InternalStorageDevice_Type_Name(T enum_t_value) {
236 static_assert(::std::is_same<T, SystemProfileProto_Hardware_InternalStorageDevice_Type>::value ||
237 ::std::is_integral<T>::value,
238 "Incorrect type passed to function SystemProfileProto_Hardware_InternalStorageDevice_Type_Name.");
239 return SystemProfileProto_Hardware_InternalStorageDevice_Type_Name(static_cast<SystemProfileProto_Hardware_InternalStorageDevice_Type>(enum_t_value));
240 }
241 bool SystemProfileProto_Hardware_InternalStorageDevice_Type_Parse(
242 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_Hardware_InternalStorageDevice_Type* value);
243 enum SystemProfileProto_Hardware_InternalStorageDevice_Purpose : int {
244 SystemProfileProto_Hardware_InternalStorageDevice_Purpose_PURPOSE_UNKNOWN = 0,
245 SystemProfileProto_Hardware_InternalStorageDevice_Purpose_PURPOSE_BOOT = 1,
246 SystemProfileProto_Hardware_InternalStorageDevice_Purpose_PURPOSE_SWAP = 2,
247 SystemProfileProto_Hardware_InternalStorageDevice_Purpose_PURPOSE_BOOT_SWAP = 3
248 };
249 bool SystemProfileProto_Hardware_InternalStorageDevice_Purpose_IsValid(int value);
250 constexpr SystemProfileProto_Hardware_InternalStorageDevice_Purpose SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Purpose_MIN = SystemProfileProto_Hardware_InternalStorageDevice_Purpose_PURPOSE_UNKNOWN;
251 constexpr SystemProfileProto_Hardware_InternalStorageDevice_Purpose SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Purpose_MAX = SystemProfileProto_Hardware_InternalStorageDevice_Purpose_PURPOSE_BOOT_SWAP;
252 constexpr int SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Purpose_ARRAYSIZE = SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Purpose_MAX + 1;
253
254 const std::string& SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Name(SystemProfileProto_Hardware_InternalStorageDevice_Purpose value);
255 template<typename T>
SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Name(T enum_t_value)256 inline const std::string& SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Name(T enum_t_value) {
257 static_assert(::std::is_same<T, SystemProfileProto_Hardware_InternalStorageDevice_Purpose>::value ||
258 ::std::is_integral<T>::value,
259 "Incorrect type passed to function SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Name.");
260 return SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Name(static_cast<SystemProfileProto_Hardware_InternalStorageDevice_Purpose>(enum_t_value));
261 }
262 bool SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Parse(
263 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_Hardware_InternalStorageDevice_Purpose* value);
264 enum SystemProfileProto_Hardware_FormFactor : int {
265 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_UNKNOWN = 0,
266 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_DESKTOP = 1,
267 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_PHONE = 2,
268 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_TABLET = 3,
269 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_TV = 4,
270 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_MEET_DEVICE = 5,
271 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_AUTOMOTIVE = 6,
272 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_FOLDABLE = 7
273 };
274 bool SystemProfileProto_Hardware_FormFactor_IsValid(int value);
275 constexpr SystemProfileProto_Hardware_FormFactor SystemProfileProto_Hardware_FormFactor_FormFactor_MIN = SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_UNKNOWN;
276 constexpr SystemProfileProto_Hardware_FormFactor SystemProfileProto_Hardware_FormFactor_FormFactor_MAX = SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_FOLDABLE;
277 constexpr int SystemProfileProto_Hardware_FormFactor_FormFactor_ARRAYSIZE = SystemProfileProto_Hardware_FormFactor_FormFactor_MAX + 1;
278
279 const std::string& SystemProfileProto_Hardware_FormFactor_Name(SystemProfileProto_Hardware_FormFactor value);
280 template<typename T>
SystemProfileProto_Hardware_FormFactor_Name(T enum_t_value)281 inline const std::string& SystemProfileProto_Hardware_FormFactor_Name(T enum_t_value) {
282 static_assert(::std::is_same<T, SystemProfileProto_Hardware_FormFactor>::value ||
283 ::std::is_integral<T>::value,
284 "Incorrect type passed to function SystemProfileProto_Hardware_FormFactor_Name.");
285 return SystemProfileProto_Hardware_FormFactor_Name(static_cast<SystemProfileProto_Hardware_FormFactor>(enum_t_value));
286 }
287 bool SystemProfileProto_Hardware_FormFactor_Parse(
288 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_Hardware_FormFactor* value);
289 enum SystemProfileProto_Hardware_BiosType : int {
290 SystemProfileProto_Hardware_BiosType_BIOS_TYPE_UNKNOWN = 0,
291 SystemProfileProto_Hardware_BiosType_BIOS_TYPE_LEGACY = 1,
292 SystemProfileProto_Hardware_BiosType_BIOS_TYPE_UEFI = 2
293 };
294 bool SystemProfileProto_Hardware_BiosType_IsValid(int value);
295 constexpr SystemProfileProto_Hardware_BiosType SystemProfileProto_Hardware_BiosType_BiosType_MIN = SystemProfileProto_Hardware_BiosType_BIOS_TYPE_UNKNOWN;
296 constexpr SystemProfileProto_Hardware_BiosType SystemProfileProto_Hardware_BiosType_BiosType_MAX = SystemProfileProto_Hardware_BiosType_BIOS_TYPE_UEFI;
297 constexpr int SystemProfileProto_Hardware_BiosType_BiosType_ARRAYSIZE = SystemProfileProto_Hardware_BiosType_BiosType_MAX + 1;
298
299 const std::string& SystemProfileProto_Hardware_BiosType_Name(SystemProfileProto_Hardware_BiosType value);
300 template<typename T>
SystemProfileProto_Hardware_BiosType_Name(T enum_t_value)301 inline const std::string& SystemProfileProto_Hardware_BiosType_Name(T enum_t_value) {
302 static_assert(::std::is_same<T, SystemProfileProto_Hardware_BiosType>::value ||
303 ::std::is_integral<T>::value,
304 "Incorrect type passed to function SystemProfileProto_Hardware_BiosType_Name.");
305 return SystemProfileProto_Hardware_BiosType_Name(static_cast<SystemProfileProto_Hardware_BiosType>(enum_t_value));
306 }
307 bool SystemProfileProto_Hardware_BiosType_Parse(
308 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_Hardware_BiosType* value);
309 enum SystemProfileProto_Hardware_TpmType : int {
310 SystemProfileProto_Hardware_TpmType_TPM_TYPE_UNKNOWN = 0,
311 SystemProfileProto_Hardware_TpmType_TPM_TYPE_1 = 1,
312 SystemProfileProto_Hardware_TpmType_TPM_TYPE_CR50 = 2,
313 SystemProfileProto_Hardware_TpmType_TPM_TYPE_TI50 = 3,
314 SystemProfileProto_Hardware_TpmType_TPM_TYPE_RUNTIME_SELECTION = 4,
315 SystemProfileProto_Hardware_TpmType_TPM_TYPE_GENERIC_2 = 5
316 };
317 bool SystemProfileProto_Hardware_TpmType_IsValid(int value);
318 constexpr SystemProfileProto_Hardware_TpmType SystemProfileProto_Hardware_TpmType_TpmType_MIN = SystemProfileProto_Hardware_TpmType_TPM_TYPE_UNKNOWN;
319 constexpr SystemProfileProto_Hardware_TpmType SystemProfileProto_Hardware_TpmType_TpmType_MAX = SystemProfileProto_Hardware_TpmType_TPM_TYPE_GENERIC_2;
320 constexpr int SystemProfileProto_Hardware_TpmType_TpmType_ARRAYSIZE = SystemProfileProto_Hardware_TpmType_TpmType_MAX + 1;
321
322 const std::string& SystemProfileProto_Hardware_TpmType_Name(SystemProfileProto_Hardware_TpmType value);
323 template<typename T>
SystemProfileProto_Hardware_TpmType_Name(T enum_t_value)324 inline const std::string& SystemProfileProto_Hardware_TpmType_Name(T enum_t_value) {
325 static_assert(::std::is_same<T, SystemProfileProto_Hardware_TpmType>::value ||
326 ::std::is_integral<T>::value,
327 "Incorrect type passed to function SystemProfileProto_Hardware_TpmType_Name.");
328 return SystemProfileProto_Hardware_TpmType_Name(static_cast<SystemProfileProto_Hardware_TpmType>(enum_t_value));
329 }
330 bool SystemProfileProto_Hardware_TpmType_Parse(
331 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_Hardware_TpmType* value);
332 enum SystemProfileProto_Network_ConnectionType : int {
333 SystemProfileProto_Network_ConnectionType_CONNECTION_UNKNOWN = 0,
334 SystemProfileProto_Network_ConnectionType_CONNECTION_ETHERNET = 1,
335 SystemProfileProto_Network_ConnectionType_CONNECTION_WIFI = 2,
336 SystemProfileProto_Network_ConnectionType_CONNECTION_2G = 3,
337 SystemProfileProto_Network_ConnectionType_CONNECTION_3G = 4,
338 SystemProfileProto_Network_ConnectionType_CONNECTION_4G = 5,
339 SystemProfileProto_Network_ConnectionType_CONNECTION_BLUETOOTH = 6,
340 SystemProfileProto_Network_ConnectionType_CONNECTION_NONE = 7,
341 SystemProfileProto_Network_ConnectionType_CONNECTION_AMBIGUOUS = 8,
342 SystemProfileProto_Network_ConnectionType_CONNECTION_5G = 9
343 };
344 bool SystemProfileProto_Network_ConnectionType_IsValid(int value);
345 constexpr SystemProfileProto_Network_ConnectionType SystemProfileProto_Network_ConnectionType_ConnectionType_MIN = SystemProfileProto_Network_ConnectionType_CONNECTION_UNKNOWN;
346 constexpr SystemProfileProto_Network_ConnectionType SystemProfileProto_Network_ConnectionType_ConnectionType_MAX = SystemProfileProto_Network_ConnectionType_CONNECTION_5G;
347 constexpr int SystemProfileProto_Network_ConnectionType_ConnectionType_ARRAYSIZE = SystemProfileProto_Network_ConnectionType_ConnectionType_MAX + 1;
348
349 const std::string& SystemProfileProto_Network_ConnectionType_Name(SystemProfileProto_Network_ConnectionType value);
350 template<typename T>
SystemProfileProto_Network_ConnectionType_Name(T enum_t_value)351 inline const std::string& SystemProfileProto_Network_ConnectionType_Name(T enum_t_value) {
352 static_assert(::std::is_same<T, SystemProfileProto_Network_ConnectionType>::value ||
353 ::std::is_integral<T>::value,
354 "Incorrect type passed to function SystemProfileProto_Network_ConnectionType_Name.");
355 return SystemProfileProto_Network_ConnectionType_Name(static_cast<SystemProfileProto_Network_ConnectionType>(enum_t_value));
356 }
357 bool SystemProfileProto_Network_ConnectionType_Parse(
358 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_Network_ConnectionType* value);
359 enum SystemProfileProto_Network_WifiPHYLayerProtocol : int {
360 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_NONE = 0,
361 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_ANCIENT = 1,
362 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_A = 2,
363 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_B = 3,
364 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_G = 4,
365 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_N = 5,
366 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_UNKNOWN = 6,
367 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_AC = 7,
368 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_AD = 8,
369 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_AX = 9
370 };
371 bool SystemProfileProto_Network_WifiPHYLayerProtocol_IsValid(int value);
372 constexpr SystemProfileProto_Network_WifiPHYLayerProtocol SystemProfileProto_Network_WifiPHYLayerProtocol_WifiPHYLayerProtocol_MIN = SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_NONE;
373 constexpr SystemProfileProto_Network_WifiPHYLayerProtocol SystemProfileProto_Network_WifiPHYLayerProtocol_WifiPHYLayerProtocol_MAX = SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_AX;
374 constexpr int SystemProfileProto_Network_WifiPHYLayerProtocol_WifiPHYLayerProtocol_ARRAYSIZE = SystemProfileProto_Network_WifiPHYLayerProtocol_WifiPHYLayerProtocol_MAX + 1;
375
376 const std::string& SystemProfileProto_Network_WifiPHYLayerProtocol_Name(SystemProfileProto_Network_WifiPHYLayerProtocol value);
377 template<typename T>
SystemProfileProto_Network_WifiPHYLayerProtocol_Name(T enum_t_value)378 inline const std::string& SystemProfileProto_Network_WifiPHYLayerProtocol_Name(T enum_t_value) {
379 static_assert(::std::is_same<T, SystemProfileProto_Network_WifiPHYLayerProtocol>::value ||
380 ::std::is_integral<T>::value,
381 "Incorrect type passed to function SystemProfileProto_Network_WifiPHYLayerProtocol_Name.");
382 return SystemProfileProto_Network_WifiPHYLayerProtocol_Name(static_cast<SystemProfileProto_Network_WifiPHYLayerProtocol>(enum_t_value));
383 }
384 bool SystemProfileProto_Network_WifiPHYLayerProtocol_Parse(
385 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_Network_WifiPHYLayerProtocol* value);
386 enum SystemProfileProto_Network_EffectiveConnectionType : int {
387 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_UNKNOWN = 0,
388 SystemProfileProto_Network_EffectiveConnectionType_DEPRECATED_EFFECTIVE_CONNECTION_TYPE_AMBIGUOUS PROTOBUF_DEPRECATED_ENUM = 1,
389 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_OFFLINE = 2,
390 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_SLOW_2G = 3,
391 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_2G = 4,
392 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_3G = 5,
393 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_4G = 6
394 };
395 bool SystemProfileProto_Network_EffectiveConnectionType_IsValid(int value);
396 constexpr SystemProfileProto_Network_EffectiveConnectionType SystemProfileProto_Network_EffectiveConnectionType_EffectiveConnectionType_MIN = SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_UNKNOWN;
397 constexpr SystemProfileProto_Network_EffectiveConnectionType SystemProfileProto_Network_EffectiveConnectionType_EffectiveConnectionType_MAX = SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_4G;
398 constexpr int SystemProfileProto_Network_EffectiveConnectionType_EffectiveConnectionType_ARRAYSIZE = SystemProfileProto_Network_EffectiveConnectionType_EffectiveConnectionType_MAX + 1;
399
400 const std::string& SystemProfileProto_Network_EffectiveConnectionType_Name(SystemProfileProto_Network_EffectiveConnectionType value);
401 template<typename T>
SystemProfileProto_Network_EffectiveConnectionType_Name(T enum_t_value)402 inline const std::string& SystemProfileProto_Network_EffectiveConnectionType_Name(T enum_t_value) {
403 static_assert(::std::is_same<T, SystemProfileProto_Network_EffectiveConnectionType>::value ||
404 ::std::is_integral<T>::value,
405 "Incorrect type passed to function SystemProfileProto_Network_EffectiveConnectionType_Name.");
406 return SystemProfileProto_Network_EffectiveConnectionType_Name(static_cast<SystemProfileProto_Network_EffectiveConnectionType>(enum_t_value));
407 }
408 bool SystemProfileProto_Network_EffectiveConnectionType_Parse(
409 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_Network_EffectiveConnectionType* value);
410 enum SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult : int {
411 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_SUCCESS = 0,
412 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_FAILED_CUSTOM_ERROR = 1,
413 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_FAILED_MSI_ERROR = 2,
414 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_FAILED_SYSTEM_ERROR = 3,
415 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_EXIT_CODE = 4
416 };
417 bool SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_IsValid(int value);
418 constexpr SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_InstallResult_MIN = SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_SUCCESS;
419 constexpr SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_InstallResult_MAX = SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_EXIT_CODE;
420 constexpr int SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_InstallResult_ARRAYSIZE = SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_InstallResult_MAX + 1;
421
422 const std::string& SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_Name(SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult value);
423 template<typename T>
SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_Name(T enum_t_value)424 inline const std::string& SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_Name(T enum_t_value) {
425 static_assert(::std::is_same<T, SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult>::value ||
426 ::std::is_integral<T>::value,
427 "Incorrect type passed to function SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_Name.");
428 return SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_Name(static_cast<SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult>(enum_t_value));
429 }
430 bool SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_Parse(
431 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult* value);
432 enum SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat : int {
433 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_UNKNOWN = 0,
434 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_LPCM = 1,
435 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_AC_3 = 2,
436 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_MPEG1 = 3,
437 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_MP3 = 4,
438 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_MPEG2 = 5,
439 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_AAC = 6,
440 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_DTS = 7,
441 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_ATRAC = 8,
442 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_ONE_BIT = 9,
443 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_DD_PLUS = 10,
444 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_DTS_HD = 11,
445 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_MLP_DOLBY_TRUEHD = 12,
446 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_DST_AUDIO = 13,
447 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_MICROSOFT_WMA_PRO = 14
448 };
449 bool SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_IsValid(int value);
450 constexpr SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AudioFormat_MIN = SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_UNKNOWN;
451 constexpr SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AudioFormat_MAX = SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_MICROSOFT_WMA_PRO;
452 constexpr int SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AudioFormat_ARRAYSIZE = SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AudioFormat_MAX + 1;
453
454 const std::string& SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_Name(SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat value);
455 template<typename T>
SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_Name(T enum_t_value)456 inline const std::string& SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_Name(T enum_t_value) {
457 static_assert(::std::is_same<T, SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat>::value ||
458 ::std::is_integral<T>::value,
459 "Incorrect type passed to function SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_Name.");
460 return SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_Name(static_cast<SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat>(enum_t_value));
461 }
462 bool SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_Parse(
463 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat* value);
464 enum SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode : int {
465 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_ANALOG = 0,
466 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_DIGITAL = 1
467 };
468 bool SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_IsValid(int value);
469 constexpr SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_OutputMode_MIN = SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_ANALOG;
470 constexpr SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_OutputMode_MAX = SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_DIGITAL;
471 constexpr int SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_OutputMode_ARRAYSIZE = SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_OutputMode_MAX + 1;
472
473 const std::string& SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_Name(SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode value);
474 template<typename T>
SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_Name(T enum_t_value)475 inline const std::string& SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_Name(T enum_t_value) {
476 static_assert(::std::is_same<T, SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode>::value ||
477 ::std::is_integral<T>::value,
478 "Incorrect type passed to function SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_Name.");
479 return SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_Name(static_cast<SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode>(enum_t_value));
480 }
481 bool SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_Parse(
482 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode* value);
483 enum SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType : int {
484 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_UNKNOWN = 0,
485 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_TV = 1,
486 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_RECORDER = 2,
487 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_TUNER = 3,
488 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_PLAYER = 4,
489 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_AUDIO_SYSTEM = 5
490 };
491 bool SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_IsValid(int value);
492 constexpr SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AVDeviceType_MIN = SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_UNKNOWN;
493 constexpr SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AVDeviceType_MAX = SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_AUDIO_SYSTEM;
494 constexpr int SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AVDeviceType_ARRAYSIZE = SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AVDeviceType_MAX + 1;
495
496 const std::string& SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_Name(SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType value);
497 template<typename T>
SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_Name(T enum_t_value)498 inline const std::string& SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_Name(T enum_t_value) {
499 static_assert(::std::is_same<T, SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType>::value ||
500 ::std::is_integral<T>::value,
501 "Incorrect type passed to function SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_Name.");
502 return SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_Name(static_cast<SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType>(enum_t_value));
503 }
504 bool SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_Parse(
505 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType* value);
506 enum SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding : int {
507 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_UNKNOWN = 0,
508 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_RGB = 1,
509 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_YUV444 = 2,
510 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_YUV422 = 3,
511 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_YUV420 = 4
512 };
513 bool SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_IsValid(int value);
514 constexpr SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_ColorEncoding_MIN = SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_UNKNOWN;
515 constexpr SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_ColorEncoding_MAX = SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_YUV420;
516 constexpr int SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_ColorEncoding_ARRAYSIZE = SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_ColorEncoding_MAX + 1;
517
518 const std::string& SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_Name(SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding value);
519 template<typename T>
SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_Name(T enum_t_value)520 inline const std::string& SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_Name(T enum_t_value) {
521 static_assert(::std::is_same<T, SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding>::value ||
522 ::std::is_integral<T>::value,
523 "Incorrect type passed to function SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_Name.");
524 return SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_Name(static_cast<SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding>(enum_t_value));
525 }
526 bool SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_Parse(
527 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding* value);
528 enum SystemProfileProto_DemoModeDimensions_CustomizationFacet : int {
529 SystemProfileProto_DemoModeDimensions_CustomizationFacet_UNDEFINED = 0,
530 SystemProfileProto_DemoModeDimensions_CustomizationFacet_CLOUD_GAMING_DEVICE = 1,
531 SystemProfileProto_DemoModeDimensions_CustomizationFacet_FEATURE_AWARE_DEVICE = 2
532 };
533 bool SystemProfileProto_DemoModeDimensions_CustomizationFacet_IsValid(int value);
534 constexpr SystemProfileProto_DemoModeDimensions_CustomizationFacet SystemProfileProto_DemoModeDimensions_CustomizationFacet_CustomizationFacet_MIN = SystemProfileProto_DemoModeDimensions_CustomizationFacet_UNDEFINED;
535 constexpr SystemProfileProto_DemoModeDimensions_CustomizationFacet SystemProfileProto_DemoModeDimensions_CustomizationFacet_CustomizationFacet_MAX = SystemProfileProto_DemoModeDimensions_CustomizationFacet_FEATURE_AWARE_DEVICE;
536 constexpr int SystemProfileProto_DemoModeDimensions_CustomizationFacet_CustomizationFacet_ARRAYSIZE = SystemProfileProto_DemoModeDimensions_CustomizationFacet_CustomizationFacet_MAX + 1;
537
538 const std::string& SystemProfileProto_DemoModeDimensions_CustomizationFacet_Name(SystemProfileProto_DemoModeDimensions_CustomizationFacet value);
539 template<typename T>
SystemProfileProto_DemoModeDimensions_CustomizationFacet_Name(T enum_t_value)540 inline const std::string& SystemProfileProto_DemoModeDimensions_CustomizationFacet_Name(T enum_t_value) {
541 static_assert(::std::is_same<T, SystemProfileProto_DemoModeDimensions_CustomizationFacet>::value ||
542 ::std::is_integral<T>::value,
543 "Incorrect type passed to function SystemProfileProto_DemoModeDimensions_CustomizationFacet_Name.");
544 return SystemProfileProto_DemoModeDimensions_CustomizationFacet_Name(static_cast<SystemProfileProto_DemoModeDimensions_CustomizationFacet>(enum_t_value));
545 }
546 bool SystemProfileProto_DemoModeDimensions_CustomizationFacet_Parse(
547 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_DemoModeDimensions_CustomizationFacet* value);
548 enum SystemProfileProto_Channel : int {
549 SystemProfileProto_Channel_CHANNEL_UNKNOWN = 0,
550 SystemProfileProto_Channel_CHANNEL_CANARY = 1,
551 SystemProfileProto_Channel_CHANNEL_DEV = 2,
552 SystemProfileProto_Channel_CHANNEL_BETA = 3,
553 SystemProfileProto_Channel_CHANNEL_STABLE = 4
554 };
555 bool SystemProfileProto_Channel_IsValid(int value);
556 constexpr SystemProfileProto_Channel SystemProfileProto_Channel_Channel_MIN = SystemProfileProto_Channel_CHANNEL_UNKNOWN;
557 constexpr SystemProfileProto_Channel SystemProfileProto_Channel_Channel_MAX = SystemProfileProto_Channel_CHANNEL_STABLE;
558 constexpr int SystemProfileProto_Channel_Channel_ARRAYSIZE = SystemProfileProto_Channel_Channel_MAX + 1;
559
560 const std::string& SystemProfileProto_Channel_Name(SystemProfileProto_Channel value);
561 template<typename T>
SystemProfileProto_Channel_Name(T enum_t_value)562 inline const std::string& SystemProfileProto_Channel_Name(T enum_t_value) {
563 static_assert(::std::is_same<T, SystemProfileProto_Channel>::value ||
564 ::std::is_integral<T>::value,
565 "Incorrect type passed to function SystemProfileProto_Channel_Name.");
566 return SystemProfileProto_Channel_Name(static_cast<SystemProfileProto_Channel>(enum_t_value));
567 }
568 bool SystemProfileProto_Channel_Parse(
569 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_Channel* value);
570 enum SystemProfileProto_ExtensionsState : int {
571 SystemProfileProto_ExtensionsState_NO_EXTENSIONS = 0,
572 SystemProfileProto_ExtensionsState_NO_OFFSTORE_VERIFIED = 1,
573 SystemProfileProto_ExtensionsState_NO_OFFSTORE_UNVERIFIED = 2,
574 SystemProfileProto_ExtensionsState_HAS_OFFSTORE = 3
575 };
576 bool SystemProfileProto_ExtensionsState_IsValid(int value);
577 constexpr SystemProfileProto_ExtensionsState SystemProfileProto_ExtensionsState_ExtensionsState_MIN = SystemProfileProto_ExtensionsState_NO_EXTENSIONS;
578 constexpr SystemProfileProto_ExtensionsState SystemProfileProto_ExtensionsState_ExtensionsState_MAX = SystemProfileProto_ExtensionsState_HAS_OFFSTORE;
579 constexpr int SystemProfileProto_ExtensionsState_ExtensionsState_ARRAYSIZE = SystemProfileProto_ExtensionsState_ExtensionsState_MAX + 1;
580
581 const std::string& SystemProfileProto_ExtensionsState_Name(SystemProfileProto_ExtensionsState value);
582 template<typename T>
SystemProfileProto_ExtensionsState_Name(T enum_t_value)583 inline const std::string& SystemProfileProto_ExtensionsState_Name(T enum_t_value) {
584 static_assert(::std::is_same<T, SystemProfileProto_ExtensionsState>::value ||
585 ::std::is_integral<T>::value,
586 "Incorrect type passed to function SystemProfileProto_ExtensionsState_Name.");
587 return SystemProfileProto_ExtensionsState_Name(static_cast<SystemProfileProto_ExtensionsState>(enum_t_value));
588 }
589 bool SystemProfileProto_ExtensionsState_Parse(
590 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_ExtensionsState* value);
591 enum SystemProfileProto_UmaDefaultState : int {
592 SystemProfileProto_UmaDefaultState_OPT_IN = 0,
593 SystemProfileProto_UmaDefaultState_OPT_OUT = 1,
594 SystemProfileProto_UmaDefaultState_POLICY_FORCED_ENABLED = 2,
595 SystemProfileProto_UmaDefaultState_OPT_UNKNOWN = 3
596 };
597 bool SystemProfileProto_UmaDefaultState_IsValid(int value);
598 constexpr SystemProfileProto_UmaDefaultState SystemProfileProto_UmaDefaultState_UmaDefaultState_MIN = SystemProfileProto_UmaDefaultState_OPT_IN;
599 constexpr SystemProfileProto_UmaDefaultState SystemProfileProto_UmaDefaultState_UmaDefaultState_MAX = SystemProfileProto_UmaDefaultState_OPT_UNKNOWN;
600 constexpr int SystemProfileProto_UmaDefaultState_UmaDefaultState_ARRAYSIZE = SystemProfileProto_UmaDefaultState_UmaDefaultState_MAX + 1;
601
602 const std::string& SystemProfileProto_UmaDefaultState_Name(SystemProfileProto_UmaDefaultState value);
603 template<typename T>
SystemProfileProto_UmaDefaultState_Name(T enum_t_value)604 inline const std::string& SystemProfileProto_UmaDefaultState_Name(T enum_t_value) {
605 static_assert(::std::is_same<T, SystemProfileProto_UmaDefaultState>::value ||
606 ::std::is_integral<T>::value,
607 "Incorrect type passed to function SystemProfileProto_UmaDefaultState_Name.");
608 return SystemProfileProto_UmaDefaultState_Name(static_cast<SystemProfileProto_UmaDefaultState>(enum_t_value));
609 }
610 bool SystemProfileProto_UmaDefaultState_Parse(
611 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_UmaDefaultState* value);
612 enum SystemProfileProto_AntiVirusState : int {
613 SystemProfileProto_AntiVirusState_STATE_ON = 0,
614 SystemProfileProto_AntiVirusState_STATE_OFF = 1,
615 SystemProfileProto_AntiVirusState_STATE_SNOOZED = 2,
616 SystemProfileProto_AntiVirusState_STATE_EXPIRED = 3
617 };
618 bool SystemProfileProto_AntiVirusState_IsValid(int value);
619 constexpr SystemProfileProto_AntiVirusState SystemProfileProto_AntiVirusState_AntiVirusState_MIN = SystemProfileProto_AntiVirusState_STATE_ON;
620 constexpr SystemProfileProto_AntiVirusState SystemProfileProto_AntiVirusState_AntiVirusState_MAX = SystemProfileProto_AntiVirusState_STATE_EXPIRED;
621 constexpr int SystemProfileProto_AntiVirusState_AntiVirusState_ARRAYSIZE = SystemProfileProto_AntiVirusState_AntiVirusState_MAX + 1;
622
623 const std::string& SystemProfileProto_AntiVirusState_Name(SystemProfileProto_AntiVirusState value);
624 template<typename T>
SystemProfileProto_AntiVirusState_Name(T enum_t_value)625 inline const std::string& SystemProfileProto_AntiVirusState_Name(T enum_t_value) {
626 static_assert(::std::is_same<T, SystemProfileProto_AntiVirusState>::value ||
627 ::std::is_integral<T>::value,
628 "Incorrect type passed to function SystemProfileProto_AntiVirusState_Name.");
629 return SystemProfileProto_AntiVirusState_Name(static_cast<SystemProfileProto_AntiVirusState>(enum_t_value));
630 }
631 bool SystemProfileProto_AntiVirusState_Parse(
632 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_AntiVirusState* value);
633 enum SystemProfileProto_ComponentId : int {
634 SystemProfileProto_ComponentId_UNKNOWN = 1,
635 SystemProfileProto_ComponentId_FILE_TYPE_POLICIES = 2,
636 SystemProfileProto_ComponentId_ORIGIN_TRIALS = 3,
637 SystemProfileProto_ComponentId_PEPPER_FLASH = 4,
638 SystemProfileProto_ComponentId_PEPPER_FLASH_CHROMEOS = 5,
639 SystemProfileProto_ComponentId_PNACL = 6,
640 SystemProfileProto_ComponentId_RECOVERY = 7,
641 SystemProfileProto_ComponentId_SSL_ERROR_ASSISTANT = 8,
642 SystemProfileProto_ComponentId_STH_SET = 9,
643 SystemProfileProto_ComponentId_CRL_SET = 10,
644 SystemProfileProto_ComponentId_SUBRESOURCE_FILTER = 11,
645 SystemProfileProto_ComponentId_SW_REPORTER = 12,
646 SystemProfileProto_ComponentId_WIDEVINE_CDM = 13,
647 SystemProfileProto_ComponentId_EPSON_INKJET_PRINTER_ESCPR = 14,
648 SystemProfileProto_ComponentId_CROS_TERMINA = 15,
649 SystemProfileProto_ComponentId_STAR_CUPS_DRIVER = 16,
650 SystemProfileProto_ComponentId_SPEECH_SYNTHESIS_SV_SE = 17,
651 SystemProfileProto_ComponentId_OPTIMIZATION_HINTS = 18,
652 SystemProfileProto_ComponentId_DOWNLOADABLE_STRINGS = 19,
653 SystemProfileProto_ComponentId_VR_ASSETS = 20,
654 SystemProfileProto_ComponentId_RTANALYTICS_LIGHT = 21,
655 SystemProfileProto_ComponentId_RTANALYTICS_FULL = 22,
656 SystemProfileProto_ComponentId_CELLULAR = 23,
657 SystemProfileProto_ComponentId_DEMO_MODE_RESOURCES = 24,
658 SystemProfileProto_ComponentId_ON_DEVICE_HEAD_SUGGEST = 25,
659 SystemProfileProto_ComponentId_CROS_SMART_DIM = 26,
660 SystemProfileProto_ComponentId_ZXCVBN_DATA = 27,
661 SystemProfileProto_ComponentId_AUTOFILL_REGEX_CONSTANTS = 28,
662 SystemProfileProto_ComponentId_WEBVIEW_APPS_PACKAGE_NAMES_ALLOWLIST = 29,
663 SystemProfileProto_ComponentId_MEDIA_FOUNDATION_WIDEVINE_CDM = 30,
664 SystemProfileProto_ComponentId_CROWD_DENY = 31,
665 SystemProfileProto_ComponentId_APP_PROVISIONING = 32,
666 SystemProfileProto_ComponentId_AUTOFILL_STATES = 33,
667 SystemProfileProto_ComponentId_CLIENT_SIDE_PHISHING = 34,
668 SystemProfileProto_ComponentId_COMMERCE_HEURISTICS = 35,
669 SystemProfileProto_ComponentId_CROW_DOMAIN_LIST = 36,
670 SystemProfileProto_ComponentId_DEMO_MODE_APP = 37,
671 SystemProfileProto_ComponentId_DESKTOP_SCREENSHOT_EDITOR = 38,
672 SystemProfileProto_ComponentId_DESKTOP_SHARING_HUB = 39,
673 SystemProfileProto_ComponentId_FIRST_PARTY_SETS = 40,
674 SystemProfileProto_ComponentId_HYPHENATION = 41,
675 SystemProfileProto_ComponentId_INTERVENTION_POLICY_DATABASE = 42,
676 SystemProfileProto_ComponentId_LACROS_DOGFOOD_BETA = 43,
677 SystemProfileProto_ComponentId_LACROS_DOGFOOD_CANARY = 44,
678 SystemProfileProto_ComponentId_LACROS_DOGFOOD_DEV = 45,
679 SystemProfileProto_ComponentId_LACROS_DOGFOOD_STABLE = 46,
680 SystemProfileProto_ComponentId_MEI_PRELOAD = 47,
681 SystemProfileProto_ComponentId_PKI_METADATA = 48,
682 SystemProfileProto_ComponentId_REAL_TIME_URL_CHECKS_ALLOWLIST = 49,
683 SystemProfileProto_ComponentId_RECOVERY_IMPROVED = 50,
684 SystemProfileProto_ComponentId_SAFETY_TIPS = 51,
685 SystemProfileProto_ComponentId_SCREEN_AI = 52,
686 SystemProfileProto_ComponentId_SMART_DIM = 53,
687 SystemProfileProto_ComponentId_SODA = 54,
688 SystemProfileProto_ComponentId_SODA_DE_DE = 55,
689 SystemProfileProto_ComponentId_SODA_EN_US = 56,
690 SystemProfileProto_ComponentId_SODA_ES_ES = 57,
691 SystemProfileProto_ComponentId_SODA_FR_FR = 58,
692 SystemProfileProto_ComponentId_SODA_IT_IT = 59,
693 SystemProfileProto_ComponentId_SODA_JA_JP = 60,
694 SystemProfileProto_ComponentId_THIRD_PARTY_MODULE_LIST = 61,
695 SystemProfileProto_ComponentId_TRUST_TOKEN_KEY_COMMITMENTS = 62,
696 SystemProfileProto_ComponentId_THIRD_PARTY_COOKIE_DEPRECATION_METADATA = 63,
697 SystemProfileProto_ComponentId_GROWTH_CAMPAIGNS = 64
698 };
699 bool SystemProfileProto_ComponentId_IsValid(int value);
700 constexpr SystemProfileProto_ComponentId SystemProfileProto_ComponentId_ComponentId_MIN = SystemProfileProto_ComponentId_UNKNOWN;
701 constexpr SystemProfileProto_ComponentId SystemProfileProto_ComponentId_ComponentId_MAX = SystemProfileProto_ComponentId_GROWTH_CAMPAIGNS;
702 constexpr int SystemProfileProto_ComponentId_ComponentId_ARRAYSIZE = SystemProfileProto_ComponentId_ComponentId_MAX + 1;
703
704 const std::string& SystemProfileProto_ComponentId_Name(SystemProfileProto_ComponentId value);
705 template<typename T>
SystemProfileProto_ComponentId_Name(T enum_t_value)706 inline const std::string& SystemProfileProto_ComponentId_Name(T enum_t_value) {
707 static_assert(::std::is_same<T, SystemProfileProto_ComponentId>::value ||
708 ::std::is_integral<T>::value,
709 "Incorrect type passed to function SystemProfileProto_ComponentId_Name.");
710 return SystemProfileProto_ComponentId_Name(static_cast<SystemProfileProto_ComponentId>(enum_t_value));
711 }
712 bool SystemProfileProto_ComponentId_Parse(
713 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_ComponentId* value);
714 enum SystemProfileProto_AppPackageNameAllowlistFilter : int {
715 SystemProfileProto_AppPackageNameAllowlistFilter_SERVER_SIDE_FILTER_UNSPECIFIED = 0,
716 SystemProfileProto_AppPackageNameAllowlistFilter_SERVER_SIDE_FILTER_REQUIRED = 1,
717 SystemProfileProto_AppPackageNameAllowlistFilter_NO_SERVER_SIDE_FILTER_REQUIRED_FOR_SYSTEM_APPS = 3
718 };
719 bool SystemProfileProto_AppPackageNameAllowlistFilter_IsValid(int value);
720 constexpr SystemProfileProto_AppPackageNameAllowlistFilter SystemProfileProto_AppPackageNameAllowlistFilter_AppPackageNameAllowlistFilter_MIN = SystemProfileProto_AppPackageNameAllowlistFilter_SERVER_SIDE_FILTER_UNSPECIFIED;
721 constexpr SystemProfileProto_AppPackageNameAllowlistFilter SystemProfileProto_AppPackageNameAllowlistFilter_AppPackageNameAllowlistFilter_MAX = SystemProfileProto_AppPackageNameAllowlistFilter_NO_SERVER_SIDE_FILTER_REQUIRED_FOR_SYSTEM_APPS;
722 constexpr int SystemProfileProto_AppPackageNameAllowlistFilter_AppPackageNameAllowlistFilter_ARRAYSIZE = SystemProfileProto_AppPackageNameAllowlistFilter_AppPackageNameAllowlistFilter_MAX + 1;
723
724 const std::string& SystemProfileProto_AppPackageNameAllowlistFilter_Name(SystemProfileProto_AppPackageNameAllowlistFilter value);
725 template<typename T>
SystemProfileProto_AppPackageNameAllowlistFilter_Name(T enum_t_value)726 inline const std::string& SystemProfileProto_AppPackageNameAllowlistFilter_Name(T enum_t_value) {
727 static_assert(::std::is_same<T, SystemProfileProto_AppPackageNameAllowlistFilter>::value ||
728 ::std::is_integral<T>::value,
729 "Incorrect type passed to function SystemProfileProto_AppPackageNameAllowlistFilter_Name.");
730 return SystemProfileProto_AppPackageNameAllowlistFilter_Name(static_cast<SystemProfileProto_AppPackageNameAllowlistFilter>(enum_t_value));
731 }
732 bool SystemProfileProto_AppPackageNameAllowlistFilter_Parse(
733 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_AppPackageNameAllowlistFilter* value);
734 enum SystemProfileProto_ClientSideSamplingStatus : int {
735 SystemProfileProto_ClientSideSamplingStatus_SAMPLING_UNKNOWN = 0,
736 SystemProfileProto_ClientSideSamplingStatus_SAMPLING_APPLIED = 1,
737 SystemProfileProto_ClientSideSamplingStatus_SAMPLING_NOT_APPLIED = 2
738 };
739 bool SystemProfileProto_ClientSideSamplingStatus_IsValid(int value);
740 constexpr SystemProfileProto_ClientSideSamplingStatus SystemProfileProto_ClientSideSamplingStatus_ClientSideSamplingStatus_MIN = SystemProfileProto_ClientSideSamplingStatus_SAMPLING_UNKNOWN;
741 constexpr SystemProfileProto_ClientSideSamplingStatus SystemProfileProto_ClientSideSamplingStatus_ClientSideSamplingStatus_MAX = SystemProfileProto_ClientSideSamplingStatus_SAMPLING_NOT_APPLIED;
742 constexpr int SystemProfileProto_ClientSideSamplingStatus_ClientSideSamplingStatus_ARRAYSIZE = SystemProfileProto_ClientSideSamplingStatus_ClientSideSamplingStatus_MAX + 1;
743
744 const std::string& SystemProfileProto_ClientSideSamplingStatus_Name(SystemProfileProto_ClientSideSamplingStatus value);
745 template<typename T>
SystemProfileProto_ClientSideSamplingStatus_Name(T enum_t_value)746 inline const std::string& SystemProfileProto_ClientSideSamplingStatus_Name(T enum_t_value) {
747 static_assert(::std::is_same<T, SystemProfileProto_ClientSideSamplingStatus>::value ||
748 ::std::is_integral<T>::value,
749 "Incorrect type passed to function SystemProfileProto_ClientSideSamplingStatus_Name.");
750 return SystemProfileProto_ClientSideSamplingStatus_Name(static_cast<SystemProfileProto_ClientSideSamplingStatus>(enum_t_value));
751 }
752 bool SystemProfileProto_ClientSideSamplingStatus_Parse(
753 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_ClientSideSamplingStatus* value);
754 enum SystemProfileProto_MetricsFilteringStatus : int {
755 SystemProfileProto_MetricsFilteringStatus_METRICS_UNKNOWN = 0,
756 SystemProfileProto_MetricsFilteringStatus_METRICS_ALL = 1,
757 SystemProfileProto_MetricsFilteringStatus_METRICS_ONLY_CRITICAL = 2
758 };
759 bool SystemProfileProto_MetricsFilteringStatus_IsValid(int value);
760 constexpr SystemProfileProto_MetricsFilteringStatus SystemProfileProto_MetricsFilteringStatus_MetricsFilteringStatus_MIN = SystemProfileProto_MetricsFilteringStatus_METRICS_UNKNOWN;
761 constexpr SystemProfileProto_MetricsFilteringStatus SystemProfileProto_MetricsFilteringStatus_MetricsFilteringStatus_MAX = SystemProfileProto_MetricsFilteringStatus_METRICS_ONLY_CRITICAL;
762 constexpr int SystemProfileProto_MetricsFilteringStatus_MetricsFilteringStatus_ARRAYSIZE = SystemProfileProto_MetricsFilteringStatus_MetricsFilteringStatus_MAX + 1;
763
764 const std::string& SystemProfileProto_MetricsFilteringStatus_Name(SystemProfileProto_MetricsFilteringStatus value);
765 template<typename T>
SystemProfileProto_MetricsFilteringStatus_Name(T enum_t_value)766 inline const std::string& SystemProfileProto_MetricsFilteringStatus_Name(T enum_t_value) {
767 static_assert(::std::is_same<T, SystemProfileProto_MetricsFilteringStatus>::value ||
768 ::std::is_integral<T>::value,
769 "Incorrect type passed to function SystemProfileProto_MetricsFilteringStatus_Name.");
770 return SystemProfileProto_MetricsFilteringStatus_Name(static_cast<SystemProfileProto_MetricsFilteringStatus>(enum_t_value));
771 }
772 bool SystemProfileProto_MetricsFilteringStatus_Parse(
773 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_MetricsFilteringStatus* value);
774 enum SystemProfileProto_InstallerPackage : int {
775 SystemProfileProto_InstallerPackage_INSTALLER_PACKAGE_UNKNOWN = 0,
776 SystemProfileProto_InstallerPackage_INSTALLER_PACKAGE_NONE = 1,
777 SystemProfileProto_InstallerPackage_INSTALLER_PACKAGE_GOOGLE_PLAY_STORE = 2,
778 SystemProfileProto_InstallerPackage_INSTALLER_PACKAGE_OTHER = 3
779 };
780 bool SystemProfileProto_InstallerPackage_IsValid(int value);
781 constexpr SystemProfileProto_InstallerPackage SystemProfileProto_InstallerPackage_InstallerPackage_MIN = SystemProfileProto_InstallerPackage_INSTALLER_PACKAGE_UNKNOWN;
782 constexpr SystemProfileProto_InstallerPackage SystemProfileProto_InstallerPackage_InstallerPackage_MAX = SystemProfileProto_InstallerPackage_INSTALLER_PACKAGE_OTHER;
783 constexpr int SystemProfileProto_InstallerPackage_InstallerPackage_ARRAYSIZE = SystemProfileProto_InstallerPackage_InstallerPackage_MAX + 1;
784
785 const std::string& SystemProfileProto_InstallerPackage_Name(SystemProfileProto_InstallerPackage value);
786 template<typename T>
SystemProfileProto_InstallerPackage_Name(T enum_t_value)787 inline const std::string& SystemProfileProto_InstallerPackage_Name(T enum_t_value) {
788 static_assert(::std::is_same<T, SystemProfileProto_InstallerPackage>::value ||
789 ::std::is_integral<T>::value,
790 "Incorrect type passed to function SystemProfileProto_InstallerPackage_Name.");
791 return SystemProfileProto_InstallerPackage_Name(static_cast<SystemProfileProto_InstallerPackage>(enum_t_value));
792 }
793 bool SystemProfileProto_InstallerPackage_Parse(
794 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_InstallerPackage* value);
795 enum SystemProfileProto_LTSChannel : int {
796 SystemProfileProto_LTSChannel_LTS_CHANNEL_UNKNOWN = 0,
797 SystemProfileProto_LTSChannel_LTS_CHANNEL_STABLE = 1,
798 SystemProfileProto_LTSChannel_LTS_CHANNEL_LTC = 2,
799 SystemProfileProto_LTSChannel_LTS_CHANNEL_LTS = 3
800 };
801 bool SystemProfileProto_LTSChannel_IsValid(int value);
802 constexpr SystemProfileProto_LTSChannel SystemProfileProto_LTSChannel_LTSChannel_MIN = SystemProfileProto_LTSChannel_LTS_CHANNEL_UNKNOWN;
803 constexpr SystemProfileProto_LTSChannel SystemProfileProto_LTSChannel_LTSChannel_MAX = SystemProfileProto_LTSChannel_LTS_CHANNEL_LTS;
804 constexpr int SystemProfileProto_LTSChannel_LTSChannel_ARRAYSIZE = SystemProfileProto_LTSChannel_LTSChannel_MAX + 1;
805
806 const std::string& SystemProfileProto_LTSChannel_Name(SystemProfileProto_LTSChannel value);
807 template<typename T>
SystemProfileProto_LTSChannel_Name(T enum_t_value)808 inline const std::string& SystemProfileProto_LTSChannel_Name(T enum_t_value) {
809 static_assert(::std::is_same<T, SystemProfileProto_LTSChannel>::value ||
810 ::std::is_integral<T>::value,
811 "Incorrect type passed to function SystemProfileProto_LTSChannel_Name.");
812 return SystemProfileProto_LTSChannel_Name(static_cast<SystemProfileProto_LTSChannel>(enum_t_value));
813 }
814 bool SystemProfileProto_LTSChannel_Parse(
815 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, SystemProfileProto_LTSChannel* value);
816 // ===================================================================
817
818 class SystemProfileProto_ClonedInstallInfo final :
819 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.ClonedInstallInfo) */ {
820 public:
SystemProfileProto_ClonedInstallInfo()821 inline SystemProfileProto_ClonedInstallInfo() : SystemProfileProto_ClonedInstallInfo(nullptr) {}
822 ~SystemProfileProto_ClonedInstallInfo() override;
823 explicit PROTOBUF_CONSTEXPR SystemProfileProto_ClonedInstallInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
824
825 SystemProfileProto_ClonedInstallInfo(const SystemProfileProto_ClonedInstallInfo& from);
SystemProfileProto_ClonedInstallInfo(SystemProfileProto_ClonedInstallInfo && from)826 SystemProfileProto_ClonedInstallInfo(SystemProfileProto_ClonedInstallInfo&& from) noexcept
827 : SystemProfileProto_ClonedInstallInfo() {
828 *this = ::std::move(from);
829 }
830
831 inline SystemProfileProto_ClonedInstallInfo& operator=(const SystemProfileProto_ClonedInstallInfo& from) {
832 CopyFrom(from);
833 return *this;
834 }
835 inline SystemProfileProto_ClonedInstallInfo& operator=(SystemProfileProto_ClonedInstallInfo&& from) noexcept {
836 if (this == &from) return *this;
837 if (GetOwningArena() == from.GetOwningArena()
838 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
839 && GetOwningArena() != nullptr
840 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
841 ) {
842 InternalSwap(&from);
843 } else {
844 CopyFrom(from);
845 }
846 return *this;
847 }
848
unknown_fields()849 inline const std::string& unknown_fields() const {
850 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
851 }
mutable_unknown_fields()852 inline std::string* mutable_unknown_fields() {
853 return _internal_metadata_.mutable_unknown_fields<std::string>();
854 }
855
default_instance()856 static const SystemProfileProto_ClonedInstallInfo& default_instance() {
857 return *internal_default_instance();
858 }
internal_default_instance()859 static inline const SystemProfileProto_ClonedInstallInfo* internal_default_instance() {
860 return reinterpret_cast<const SystemProfileProto_ClonedInstallInfo*>(
861 &_SystemProfileProto_ClonedInstallInfo_default_instance_);
862 }
863 static constexpr int kIndexInFileMessages =
864 0;
865
swap(SystemProfileProto_ClonedInstallInfo & a,SystemProfileProto_ClonedInstallInfo & b)866 friend void swap(SystemProfileProto_ClonedInstallInfo& a, SystemProfileProto_ClonedInstallInfo& b) {
867 a.Swap(&b);
868 }
Swap(SystemProfileProto_ClonedInstallInfo * other)869 PROTOBUF_NOINLINE void Swap(SystemProfileProto_ClonedInstallInfo* other) {
870 if (other == this) return;
871 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
872 if (GetOwningArena() != nullptr &&
873 GetOwningArena() == other->GetOwningArena()) {
874 #else // PROTOBUF_FORCE_COPY_IN_SWAP
875 if (GetOwningArena() == other->GetOwningArena()) {
876 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
877 InternalSwap(other);
878 } else {
879 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
880 }
881 }
882 void UnsafeArenaSwap(SystemProfileProto_ClonedInstallInfo* other) {
883 if (other == this) return;
884 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
885 InternalSwap(other);
886 }
887
888 // implements Message ----------------------------------------------
889
890 SystemProfileProto_ClonedInstallInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
891 return CreateMaybeMessage<SystemProfileProto_ClonedInstallInfo>(arena);
892 }
893 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
894 void CopyFrom(const SystemProfileProto_ClonedInstallInfo& from);
895 void MergeFrom(const SystemProfileProto_ClonedInstallInfo& from);
896 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
897 bool IsInitialized() const final;
898
899 size_t ByteSizeLong() const final;
900 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
901 uint8_t* _InternalSerialize(
902 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
903 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
904
905 private:
906 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
907 void SharedDtor();
908 void SetCachedSize(int size) const;
909 void InternalSwap(SystemProfileProto_ClonedInstallInfo* other);
910
911 private:
912 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
913 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
914 return "metrics.SystemProfileProto.ClonedInstallInfo";
915 }
916 protected:
917 explicit SystemProfileProto_ClonedInstallInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
918 bool is_message_owned = false);
919 public:
920
921 std::string GetTypeName() const final;
922
923 // nested types ----------------------------------------------------
924
925 // accessors -------------------------------------------------------
926
927 enum : int {
928 kLastTimestampFieldNumber = 1,
929 kClonedFromClientIdFieldNumber = 2,
930 kFirstTimestampFieldNumber = 3,
931 kCountFieldNumber = 4,
932 };
933 // optional int64 last_timestamp = 1;
934 bool has_last_timestamp() const;
935 private:
936 bool _internal_has_last_timestamp() const;
937 public:
938 void clear_last_timestamp();
939 int64_t last_timestamp() const;
940 void set_last_timestamp(int64_t value);
941 private:
942 int64_t _internal_last_timestamp() const;
943 void _internal_set_last_timestamp(int64_t value);
944 public:
945
946 // optional fixed64 cloned_from_client_id = 2;
947 bool has_cloned_from_client_id() const;
948 private:
949 bool _internal_has_cloned_from_client_id() const;
950 public:
951 void clear_cloned_from_client_id();
952 uint64_t cloned_from_client_id() const;
953 void set_cloned_from_client_id(uint64_t value);
954 private:
955 uint64_t _internal_cloned_from_client_id() const;
956 void _internal_set_cloned_from_client_id(uint64_t value);
957 public:
958
959 // optional int64 first_timestamp = 3;
960 bool has_first_timestamp() const;
961 private:
962 bool _internal_has_first_timestamp() const;
963 public:
964 void clear_first_timestamp();
965 int64_t first_timestamp() const;
966 void set_first_timestamp(int64_t value);
967 private:
968 int64_t _internal_first_timestamp() const;
969 void _internal_set_first_timestamp(int64_t value);
970 public:
971
972 // optional int32 count = 4;
973 bool has_count() const;
974 private:
975 bool _internal_has_count() const;
976 public:
977 void clear_count();
978 int32_t count() const;
979 void set_count(int32_t value);
980 private:
981 int32_t _internal_count() const;
982 void _internal_set_count(int32_t value);
983 public:
984
985 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.ClonedInstallInfo)
986 private:
987 class _Internal;
988
989 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
990 typedef void InternalArenaConstructable_;
991 typedef void DestructorSkippable_;
992 struct Impl_ {
993 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
994 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
995 int64_t last_timestamp_;
996 uint64_t cloned_from_client_id_;
997 int64_t first_timestamp_;
998 int32_t count_;
999 };
1000 union { Impl_ _impl_; };
1001 friend struct ::TableStruct_system_5fprofile_2eproto;
1002 };
1003 // -------------------------------------------------------------------
1004
1005 class SystemProfileProto_OS_Arc final :
1006 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.OS.Arc) */ {
1007 public:
SystemProfileProto_OS_Arc()1008 inline SystemProfileProto_OS_Arc() : SystemProfileProto_OS_Arc(nullptr) {}
1009 ~SystemProfileProto_OS_Arc() override;
1010 explicit PROTOBUF_CONSTEXPR SystemProfileProto_OS_Arc(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1011
1012 SystemProfileProto_OS_Arc(const SystemProfileProto_OS_Arc& from);
SystemProfileProto_OS_Arc(SystemProfileProto_OS_Arc && from)1013 SystemProfileProto_OS_Arc(SystemProfileProto_OS_Arc&& from) noexcept
1014 : SystemProfileProto_OS_Arc() {
1015 *this = ::std::move(from);
1016 }
1017
1018 inline SystemProfileProto_OS_Arc& operator=(const SystemProfileProto_OS_Arc& from) {
1019 CopyFrom(from);
1020 return *this;
1021 }
1022 inline SystemProfileProto_OS_Arc& operator=(SystemProfileProto_OS_Arc&& from) noexcept {
1023 if (this == &from) return *this;
1024 if (GetOwningArena() == from.GetOwningArena()
1025 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1026 && GetOwningArena() != nullptr
1027 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1028 ) {
1029 InternalSwap(&from);
1030 } else {
1031 CopyFrom(from);
1032 }
1033 return *this;
1034 }
1035
unknown_fields()1036 inline const std::string& unknown_fields() const {
1037 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1038 }
mutable_unknown_fields()1039 inline std::string* mutable_unknown_fields() {
1040 return _internal_metadata_.mutable_unknown_fields<std::string>();
1041 }
1042
default_instance()1043 static const SystemProfileProto_OS_Arc& default_instance() {
1044 return *internal_default_instance();
1045 }
internal_default_instance()1046 static inline const SystemProfileProto_OS_Arc* internal_default_instance() {
1047 return reinterpret_cast<const SystemProfileProto_OS_Arc*>(
1048 &_SystemProfileProto_OS_Arc_default_instance_);
1049 }
1050 static constexpr int kIndexInFileMessages =
1051 1;
1052
swap(SystemProfileProto_OS_Arc & a,SystemProfileProto_OS_Arc & b)1053 friend void swap(SystemProfileProto_OS_Arc& a, SystemProfileProto_OS_Arc& b) {
1054 a.Swap(&b);
1055 }
Swap(SystemProfileProto_OS_Arc * other)1056 PROTOBUF_NOINLINE void Swap(SystemProfileProto_OS_Arc* other) {
1057 if (other == this) return;
1058 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1059 if (GetOwningArena() != nullptr &&
1060 GetOwningArena() == other->GetOwningArena()) {
1061 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1062 if (GetOwningArena() == other->GetOwningArena()) {
1063 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1064 InternalSwap(other);
1065 } else {
1066 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1067 }
1068 }
1069 void UnsafeArenaSwap(SystemProfileProto_OS_Arc* other) {
1070 if (other == this) return;
1071 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1072 InternalSwap(other);
1073 }
1074
1075 // implements Message ----------------------------------------------
1076
1077 SystemProfileProto_OS_Arc* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1078 return CreateMaybeMessage<SystemProfileProto_OS_Arc>(arena);
1079 }
1080 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1081 void CopyFrom(const SystemProfileProto_OS_Arc& from);
1082 void MergeFrom(const SystemProfileProto_OS_Arc& from);
1083 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1084 bool IsInitialized() const final;
1085
1086 size_t ByteSizeLong() const final;
1087 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1088 uint8_t* _InternalSerialize(
1089 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1090 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1091
1092 private:
1093 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1094 void SharedDtor();
1095 void SetCachedSize(int size) const;
1096 void InternalSwap(SystemProfileProto_OS_Arc* other);
1097
1098 private:
1099 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1100 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1101 return "metrics.SystemProfileProto.OS.Arc";
1102 }
1103 protected:
1104 explicit SystemProfileProto_OS_Arc(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1105 bool is_message_owned = false);
1106 public:
1107
1108 std::string GetTypeName() const final;
1109
1110 // nested types ----------------------------------------------------
1111
1112 // accessors -------------------------------------------------------
1113
1114 enum : int {
1115 kReleaseFieldNumber = 1,
1116 };
1117 // optional string release = 1;
1118 bool has_release() const;
1119 private:
1120 bool _internal_has_release() const;
1121 public:
1122 void clear_release();
1123 const std::string& release() const;
1124 template <typename ArgT0 = const std::string&, typename... ArgT>
1125 void set_release(ArgT0&& arg0, ArgT... args);
1126 std::string* mutable_release();
1127 PROTOBUF_NODISCARD std::string* release_release();
1128 void set_allocated_release(std::string* release);
1129 private:
1130 const std::string& _internal_release() const;
1131 inline PROTOBUF_ALWAYS_INLINE void _internal_set_release(const std::string& value);
1132 std::string* _internal_mutable_release();
1133 public:
1134
1135 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.OS.Arc)
1136 private:
1137 class _Internal;
1138
1139 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1140 typedef void InternalArenaConstructable_;
1141 typedef void DestructorSkippable_;
1142 struct Impl_ {
1143 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1144 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1145 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr release_;
1146 };
1147 union { Impl_ _impl_; };
1148 friend struct ::TableStruct_system_5fprofile_2eproto;
1149 };
1150 // -------------------------------------------------------------------
1151
1152 class SystemProfileProto_OS final :
1153 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.OS) */ {
1154 public:
SystemProfileProto_OS()1155 inline SystemProfileProto_OS() : SystemProfileProto_OS(nullptr) {}
1156 ~SystemProfileProto_OS() override;
1157 explicit PROTOBUF_CONSTEXPR SystemProfileProto_OS(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1158
1159 SystemProfileProto_OS(const SystemProfileProto_OS& from);
SystemProfileProto_OS(SystemProfileProto_OS && from)1160 SystemProfileProto_OS(SystemProfileProto_OS&& from) noexcept
1161 : SystemProfileProto_OS() {
1162 *this = ::std::move(from);
1163 }
1164
1165 inline SystemProfileProto_OS& operator=(const SystemProfileProto_OS& from) {
1166 CopyFrom(from);
1167 return *this;
1168 }
1169 inline SystemProfileProto_OS& operator=(SystemProfileProto_OS&& from) noexcept {
1170 if (this == &from) return *this;
1171 if (GetOwningArena() == from.GetOwningArena()
1172 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1173 && GetOwningArena() != nullptr
1174 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1175 ) {
1176 InternalSwap(&from);
1177 } else {
1178 CopyFrom(from);
1179 }
1180 return *this;
1181 }
1182
unknown_fields()1183 inline const std::string& unknown_fields() const {
1184 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1185 }
mutable_unknown_fields()1186 inline std::string* mutable_unknown_fields() {
1187 return _internal_metadata_.mutable_unknown_fields<std::string>();
1188 }
1189
default_instance()1190 static const SystemProfileProto_OS& default_instance() {
1191 return *internal_default_instance();
1192 }
internal_default_instance()1193 static inline const SystemProfileProto_OS* internal_default_instance() {
1194 return reinterpret_cast<const SystemProfileProto_OS*>(
1195 &_SystemProfileProto_OS_default_instance_);
1196 }
1197 static constexpr int kIndexInFileMessages =
1198 2;
1199
swap(SystemProfileProto_OS & a,SystemProfileProto_OS & b)1200 friend void swap(SystemProfileProto_OS& a, SystemProfileProto_OS& b) {
1201 a.Swap(&b);
1202 }
Swap(SystemProfileProto_OS * other)1203 PROTOBUF_NOINLINE void Swap(SystemProfileProto_OS* other) {
1204 if (other == this) return;
1205 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1206 if (GetOwningArena() != nullptr &&
1207 GetOwningArena() == other->GetOwningArena()) {
1208 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1209 if (GetOwningArena() == other->GetOwningArena()) {
1210 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1211 InternalSwap(other);
1212 } else {
1213 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1214 }
1215 }
1216 void UnsafeArenaSwap(SystemProfileProto_OS* other) {
1217 if (other == this) return;
1218 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1219 InternalSwap(other);
1220 }
1221
1222 // implements Message ----------------------------------------------
1223
1224 SystemProfileProto_OS* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1225 return CreateMaybeMessage<SystemProfileProto_OS>(arena);
1226 }
1227 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1228 void CopyFrom(const SystemProfileProto_OS& from);
1229 void MergeFrom(const SystemProfileProto_OS& from);
1230 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1231 bool IsInitialized() const final;
1232
1233 size_t ByteSizeLong() const final;
1234 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1235 uint8_t* _InternalSerialize(
1236 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1237 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1238
1239 private:
1240 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1241 void SharedDtor();
1242 void SetCachedSize(int size) const;
1243 void InternalSwap(SystemProfileProto_OS* other);
1244
1245 private:
1246 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1247 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1248 return "metrics.SystemProfileProto.OS";
1249 }
1250 protected:
1251 explicit SystemProfileProto_OS(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1252 bool is_message_owned = false);
1253 public:
1254
1255 std::string GetTypeName() const final;
1256
1257 // nested types ----------------------------------------------------
1258
1259 typedef SystemProfileProto_OS_Arc Arc;
1260
1261 typedef SystemProfileProto_OS_DarkModeState DarkModeState;
1262 static constexpr DarkModeState UNKNOWN =
1263 SystemProfileProto_OS_DarkModeState_UNKNOWN;
1264 static constexpr DarkModeState DARK_MODE_SYSTEM =
1265 SystemProfileProto_OS_DarkModeState_DARK_MODE_SYSTEM;
1266 static constexpr DarkModeState DARK_MODE_APP =
1267 SystemProfileProto_OS_DarkModeState_DARK_MODE_APP;
1268 static constexpr DarkModeState LIGHT_MODE_SYSTEM =
1269 SystemProfileProto_OS_DarkModeState_LIGHT_MODE_SYSTEM;
1270 static constexpr DarkModeState LIGHT_MODE_APP =
1271 SystemProfileProto_OS_DarkModeState_LIGHT_MODE_APP;
1272 static inline bool DarkModeState_IsValid(int value) {
1273 return SystemProfileProto_OS_DarkModeState_IsValid(value);
1274 }
1275 static constexpr DarkModeState DarkModeState_MIN =
1276 SystemProfileProto_OS_DarkModeState_DarkModeState_MIN;
1277 static constexpr DarkModeState DarkModeState_MAX =
1278 SystemProfileProto_OS_DarkModeState_DarkModeState_MAX;
1279 static constexpr int DarkModeState_ARRAYSIZE =
1280 SystemProfileProto_OS_DarkModeState_DarkModeState_ARRAYSIZE;
1281 template<typename T>
1282 static inline const std::string& DarkModeState_Name(T enum_t_value) {
1283 static_assert(::std::is_same<T, DarkModeState>::value ||
1284 ::std::is_integral<T>::value,
1285 "Incorrect type passed to function DarkModeState_Name.");
1286 return SystemProfileProto_OS_DarkModeState_Name(enum_t_value);
1287 }
1288 static inline bool DarkModeState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1289 DarkModeState* value) {
1290 return SystemProfileProto_OS_DarkModeState_Parse(name, value);
1291 }
1292
1293 typedef SystemProfileProto_OS_XdgSessionType XdgSessionType;
1294 static constexpr XdgSessionType UNSET =
1295 SystemProfileProto_OS_XdgSessionType_UNSET;
1296 static constexpr XdgSessionType OTHER_SESSION_TYPE =
1297 SystemProfileProto_OS_XdgSessionType_OTHER_SESSION_TYPE;
1298 static constexpr XdgSessionType UNSPECIFIED =
1299 SystemProfileProto_OS_XdgSessionType_UNSPECIFIED;
1300 static constexpr XdgSessionType TTY =
1301 SystemProfileProto_OS_XdgSessionType_TTY;
1302 static constexpr XdgSessionType X11 =
1303 SystemProfileProto_OS_XdgSessionType_X11;
1304 static constexpr XdgSessionType WAYLAND =
1305 SystemProfileProto_OS_XdgSessionType_WAYLAND;
1306 static constexpr XdgSessionType MIR =
1307 SystemProfileProto_OS_XdgSessionType_MIR;
1308 static inline bool XdgSessionType_IsValid(int value) {
1309 return SystemProfileProto_OS_XdgSessionType_IsValid(value);
1310 }
1311 static constexpr XdgSessionType XdgSessionType_MIN =
1312 SystemProfileProto_OS_XdgSessionType_XdgSessionType_MIN;
1313 static constexpr XdgSessionType XdgSessionType_MAX =
1314 SystemProfileProto_OS_XdgSessionType_XdgSessionType_MAX;
1315 static constexpr int XdgSessionType_ARRAYSIZE =
1316 SystemProfileProto_OS_XdgSessionType_XdgSessionType_ARRAYSIZE;
1317 template<typename T>
1318 static inline const std::string& XdgSessionType_Name(T enum_t_value) {
1319 static_assert(::std::is_same<T, XdgSessionType>::value ||
1320 ::std::is_integral<T>::value,
1321 "Incorrect type passed to function XdgSessionType_Name.");
1322 return SystemProfileProto_OS_XdgSessionType_Name(enum_t_value);
1323 }
1324 static inline bool XdgSessionType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1325 XdgSessionType* value) {
1326 return SystemProfileProto_OS_XdgSessionType_Parse(name, value);
1327 }
1328
1329 typedef SystemProfileProto_OS_XdgCurrentDesktop XdgCurrentDesktop;
1330 static constexpr XdgCurrentDesktop OTHER =
1331 SystemProfileProto_OS_XdgCurrentDesktop_OTHER;
1332 static constexpr XdgCurrentDesktop CINNAMON =
1333 SystemProfileProto_OS_XdgCurrentDesktop_CINNAMON;
1334 static constexpr XdgCurrentDesktop DEEPIN =
1335 SystemProfileProto_OS_XdgCurrentDesktop_DEEPIN;
1336 static constexpr XdgCurrentDesktop GNOME =
1337 SystemProfileProto_OS_XdgCurrentDesktop_GNOME;
1338 static constexpr XdgCurrentDesktop KDE =
1339 SystemProfileProto_OS_XdgCurrentDesktop_KDE;
1340 static constexpr XdgCurrentDesktop PANTHEON =
1341 SystemProfileProto_OS_XdgCurrentDesktop_PANTHEON;
1342 static constexpr XdgCurrentDesktop UKUI =
1343 SystemProfileProto_OS_XdgCurrentDesktop_UKUI;
1344 static constexpr XdgCurrentDesktop UNITY =
1345 SystemProfileProto_OS_XdgCurrentDesktop_UNITY;
1346 static constexpr XdgCurrentDesktop XFCE =
1347 SystemProfileProto_OS_XdgCurrentDesktop_XFCE;
1348 static constexpr XdgCurrentDesktop LXQT =
1349 SystemProfileProto_OS_XdgCurrentDesktop_LXQT;
1350 static inline bool XdgCurrentDesktop_IsValid(int value) {
1351 return SystemProfileProto_OS_XdgCurrentDesktop_IsValid(value);
1352 }
1353 static constexpr XdgCurrentDesktop XdgCurrentDesktop_MIN =
1354 SystemProfileProto_OS_XdgCurrentDesktop_XdgCurrentDesktop_MIN;
1355 static constexpr XdgCurrentDesktop XdgCurrentDesktop_MAX =
1356 SystemProfileProto_OS_XdgCurrentDesktop_XdgCurrentDesktop_MAX;
1357 static constexpr int XdgCurrentDesktop_ARRAYSIZE =
1358 SystemProfileProto_OS_XdgCurrentDesktop_XdgCurrentDesktop_ARRAYSIZE;
1359 template<typename T>
1360 static inline const std::string& XdgCurrentDesktop_Name(T enum_t_value) {
1361 static_assert(::std::is_same<T, XdgCurrentDesktop>::value ||
1362 ::std::is_integral<T>::value,
1363 "Incorrect type passed to function XdgCurrentDesktop_Name.");
1364 return SystemProfileProto_OS_XdgCurrentDesktop_Name(enum_t_value);
1365 }
1366 static inline bool XdgCurrentDesktop_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
1367 XdgCurrentDesktop* value) {
1368 return SystemProfileProto_OS_XdgCurrentDesktop_Parse(name, value);
1369 }
1370
1371 // accessors -------------------------------------------------------
1372
1373 enum : int {
1374 kNameFieldNumber = 1,
1375 kVersionFieldNumber = 2,
1376 kBuildFingerprintFieldNumber = 3,
1377 kBuildNumberFieldNumber = 5,
1378 kKernelVersionFieldNumber = 6,
1379 kArcFieldNumber = 7,
1380 kDEPRECATEDIsJailbrokenFieldNumber = 4,
1381 kDarkModeStateFieldNumber = 8,
1382 kXdgSessionTypeFieldNumber = 9,
1383 kXdgCurrentDesktopFieldNumber = 10,
1384 };
1385 // optional string name = 1;
1386 bool has_name() const;
1387 private:
1388 bool _internal_has_name() const;
1389 public:
1390 void clear_name();
1391 const std::string& name() const;
1392 template <typename ArgT0 = const std::string&, typename... ArgT>
1393 void set_name(ArgT0&& arg0, ArgT... args);
1394 std::string* mutable_name();
1395 PROTOBUF_NODISCARD std::string* release_name();
1396 void set_allocated_name(std::string* name);
1397 private:
1398 const std::string& _internal_name() const;
1399 inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
1400 std::string* _internal_mutable_name();
1401 public:
1402
1403 // optional string version = 2;
1404 bool has_version() const;
1405 private:
1406 bool _internal_has_version() const;
1407 public:
1408 void clear_version();
1409 const std::string& version() const;
1410 template <typename ArgT0 = const std::string&, typename... ArgT>
1411 void set_version(ArgT0&& arg0, ArgT... args);
1412 std::string* mutable_version();
1413 PROTOBUF_NODISCARD std::string* release_version();
1414 void set_allocated_version(std::string* version);
1415 private:
1416 const std::string& _internal_version() const;
1417 inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value);
1418 std::string* _internal_mutable_version();
1419 public:
1420
1421 // optional string build_fingerprint = 3;
1422 bool has_build_fingerprint() const;
1423 private:
1424 bool _internal_has_build_fingerprint() const;
1425 public:
1426 void clear_build_fingerprint();
1427 const std::string& build_fingerprint() const;
1428 template <typename ArgT0 = const std::string&, typename... ArgT>
1429 void set_build_fingerprint(ArgT0&& arg0, ArgT... args);
1430 std::string* mutable_build_fingerprint();
1431 PROTOBUF_NODISCARD std::string* release_build_fingerprint();
1432 void set_allocated_build_fingerprint(std::string* build_fingerprint);
1433 private:
1434 const std::string& _internal_build_fingerprint() const;
1435 inline PROTOBUF_ALWAYS_INLINE void _internal_set_build_fingerprint(const std::string& value);
1436 std::string* _internal_mutable_build_fingerprint();
1437 public:
1438
1439 // optional string build_number = 5;
1440 bool has_build_number() const;
1441 private:
1442 bool _internal_has_build_number() const;
1443 public:
1444 void clear_build_number();
1445 const std::string& build_number() const;
1446 template <typename ArgT0 = const std::string&, typename... ArgT>
1447 void set_build_number(ArgT0&& arg0, ArgT... args);
1448 std::string* mutable_build_number();
1449 PROTOBUF_NODISCARD std::string* release_build_number();
1450 void set_allocated_build_number(std::string* build_number);
1451 private:
1452 const std::string& _internal_build_number() const;
1453 inline PROTOBUF_ALWAYS_INLINE void _internal_set_build_number(const std::string& value);
1454 std::string* _internal_mutable_build_number();
1455 public:
1456
1457 // optional string kernel_version = 6;
1458 bool has_kernel_version() const;
1459 private:
1460 bool _internal_has_kernel_version() const;
1461 public:
1462 void clear_kernel_version();
1463 const std::string& kernel_version() const;
1464 template <typename ArgT0 = const std::string&, typename... ArgT>
1465 void set_kernel_version(ArgT0&& arg0, ArgT... args);
1466 std::string* mutable_kernel_version();
1467 PROTOBUF_NODISCARD std::string* release_kernel_version();
1468 void set_allocated_kernel_version(std::string* kernel_version);
1469 private:
1470 const std::string& _internal_kernel_version() const;
1471 inline PROTOBUF_ALWAYS_INLINE void _internal_set_kernel_version(const std::string& value);
1472 std::string* _internal_mutable_kernel_version();
1473 public:
1474
1475 // optional .metrics.SystemProfileProto.OS.Arc arc = 7;
1476 bool has_arc() const;
1477 private:
1478 bool _internal_has_arc() const;
1479 public:
1480 void clear_arc();
1481 const ::metrics::SystemProfileProto_OS_Arc& arc() const;
1482 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_OS_Arc* release_arc();
1483 ::metrics::SystemProfileProto_OS_Arc* mutable_arc();
1484 void set_allocated_arc(::metrics::SystemProfileProto_OS_Arc* arc);
1485 private:
1486 const ::metrics::SystemProfileProto_OS_Arc& _internal_arc() const;
1487 ::metrics::SystemProfileProto_OS_Arc* _internal_mutable_arc();
1488 public:
1489 void unsafe_arena_set_allocated_arc(
1490 ::metrics::SystemProfileProto_OS_Arc* arc);
1491 ::metrics::SystemProfileProto_OS_Arc* unsafe_arena_release_arc();
1492
1493 // optional bool DEPRECATED_is_jailbroken = 4 [deprecated = true];
1494 PROTOBUF_DEPRECATED bool has_deprecated_is_jailbroken() const;
1495 private:
1496 bool _internal_has_deprecated_is_jailbroken() const;
1497 public:
1498 PROTOBUF_DEPRECATED void clear_deprecated_is_jailbroken();
1499 PROTOBUF_DEPRECATED bool deprecated_is_jailbroken() const;
1500 PROTOBUF_DEPRECATED void set_deprecated_is_jailbroken(bool value);
1501 private:
1502 bool _internal_deprecated_is_jailbroken() const;
1503 void _internal_set_deprecated_is_jailbroken(bool value);
1504 public:
1505
1506 // optional .metrics.SystemProfileProto.OS.DarkModeState dark_mode_state = 8 [default = UNKNOWN];
1507 bool has_dark_mode_state() const;
1508 private:
1509 bool _internal_has_dark_mode_state() const;
1510 public:
1511 void clear_dark_mode_state();
1512 ::metrics::SystemProfileProto_OS_DarkModeState dark_mode_state() const;
1513 void set_dark_mode_state(::metrics::SystemProfileProto_OS_DarkModeState value);
1514 private:
1515 ::metrics::SystemProfileProto_OS_DarkModeState _internal_dark_mode_state() const;
1516 void _internal_set_dark_mode_state(::metrics::SystemProfileProto_OS_DarkModeState value);
1517 public:
1518
1519 // optional .metrics.SystemProfileProto.OS.XdgSessionType xdg_session_type = 9;
1520 bool has_xdg_session_type() const;
1521 private:
1522 bool _internal_has_xdg_session_type() const;
1523 public:
1524 void clear_xdg_session_type();
1525 ::metrics::SystemProfileProto_OS_XdgSessionType xdg_session_type() const;
1526 void set_xdg_session_type(::metrics::SystemProfileProto_OS_XdgSessionType value);
1527 private:
1528 ::metrics::SystemProfileProto_OS_XdgSessionType _internal_xdg_session_type() const;
1529 void _internal_set_xdg_session_type(::metrics::SystemProfileProto_OS_XdgSessionType value);
1530 public:
1531
1532 // optional .metrics.SystemProfileProto.OS.XdgCurrentDesktop xdg_current_desktop = 10;
1533 bool has_xdg_current_desktop() const;
1534 private:
1535 bool _internal_has_xdg_current_desktop() const;
1536 public:
1537 void clear_xdg_current_desktop();
1538 ::metrics::SystemProfileProto_OS_XdgCurrentDesktop xdg_current_desktop() const;
1539 void set_xdg_current_desktop(::metrics::SystemProfileProto_OS_XdgCurrentDesktop value);
1540 private:
1541 ::metrics::SystemProfileProto_OS_XdgCurrentDesktop _internal_xdg_current_desktop() const;
1542 void _internal_set_xdg_current_desktop(::metrics::SystemProfileProto_OS_XdgCurrentDesktop value);
1543 public:
1544
1545 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.OS)
1546 private:
1547 class _Internal;
1548
1549 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1550 typedef void InternalArenaConstructable_;
1551 typedef void DestructorSkippable_;
1552 struct Impl_ {
1553 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1554 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1555 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
1556 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
1557 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_fingerprint_;
1558 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr build_number_;
1559 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr kernel_version_;
1560 ::metrics::SystemProfileProto_OS_Arc* arc_;
1561 bool deprecated_is_jailbroken_;
1562 int dark_mode_state_;
1563 int xdg_session_type_;
1564 int xdg_current_desktop_;
1565 };
1566 union { Impl_ _impl_; };
1567 friend struct ::TableStruct_system_5fprofile_2eproto;
1568 };
1569 // -------------------------------------------------------------------
1570
1571 class SystemProfileProto_Hardware_CPU final :
1572 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.Hardware.CPU) */ {
1573 public:
SystemProfileProto_Hardware_CPU()1574 inline SystemProfileProto_Hardware_CPU() : SystemProfileProto_Hardware_CPU(nullptr) {}
1575 ~SystemProfileProto_Hardware_CPU() override;
1576 explicit PROTOBUF_CONSTEXPR SystemProfileProto_Hardware_CPU(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1577
1578 SystemProfileProto_Hardware_CPU(const SystemProfileProto_Hardware_CPU& from);
SystemProfileProto_Hardware_CPU(SystemProfileProto_Hardware_CPU && from)1579 SystemProfileProto_Hardware_CPU(SystemProfileProto_Hardware_CPU&& from) noexcept
1580 : SystemProfileProto_Hardware_CPU() {
1581 *this = ::std::move(from);
1582 }
1583
1584 inline SystemProfileProto_Hardware_CPU& operator=(const SystemProfileProto_Hardware_CPU& from) {
1585 CopyFrom(from);
1586 return *this;
1587 }
1588 inline SystemProfileProto_Hardware_CPU& operator=(SystemProfileProto_Hardware_CPU&& from) noexcept {
1589 if (this == &from) return *this;
1590 if (GetOwningArena() == from.GetOwningArena()
1591 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1592 && GetOwningArena() != nullptr
1593 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1594 ) {
1595 InternalSwap(&from);
1596 } else {
1597 CopyFrom(from);
1598 }
1599 return *this;
1600 }
1601
unknown_fields()1602 inline const std::string& unknown_fields() const {
1603 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1604 }
mutable_unknown_fields()1605 inline std::string* mutable_unknown_fields() {
1606 return _internal_metadata_.mutable_unknown_fields<std::string>();
1607 }
1608
default_instance()1609 static const SystemProfileProto_Hardware_CPU& default_instance() {
1610 return *internal_default_instance();
1611 }
internal_default_instance()1612 static inline const SystemProfileProto_Hardware_CPU* internal_default_instance() {
1613 return reinterpret_cast<const SystemProfileProto_Hardware_CPU*>(
1614 &_SystemProfileProto_Hardware_CPU_default_instance_);
1615 }
1616 static constexpr int kIndexInFileMessages =
1617 3;
1618
swap(SystemProfileProto_Hardware_CPU & a,SystemProfileProto_Hardware_CPU & b)1619 friend void swap(SystemProfileProto_Hardware_CPU& a, SystemProfileProto_Hardware_CPU& b) {
1620 a.Swap(&b);
1621 }
Swap(SystemProfileProto_Hardware_CPU * other)1622 PROTOBUF_NOINLINE void Swap(SystemProfileProto_Hardware_CPU* other) {
1623 if (other == this) return;
1624 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1625 if (GetOwningArena() != nullptr &&
1626 GetOwningArena() == other->GetOwningArena()) {
1627 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1628 if (GetOwningArena() == other->GetOwningArena()) {
1629 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1630 InternalSwap(other);
1631 } else {
1632 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1633 }
1634 }
1635 void UnsafeArenaSwap(SystemProfileProto_Hardware_CPU* other) {
1636 if (other == this) return;
1637 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1638 InternalSwap(other);
1639 }
1640
1641 // implements Message ----------------------------------------------
1642
1643 SystemProfileProto_Hardware_CPU* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1644 return CreateMaybeMessage<SystemProfileProto_Hardware_CPU>(arena);
1645 }
1646 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1647 void CopyFrom(const SystemProfileProto_Hardware_CPU& from);
1648 void MergeFrom(const SystemProfileProto_Hardware_CPU& from);
1649 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1650 bool IsInitialized() const final;
1651
1652 size_t ByteSizeLong() const final;
1653 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1654 uint8_t* _InternalSerialize(
1655 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1656 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1657
1658 private:
1659 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1660 void SharedDtor();
1661 void SetCachedSize(int size) const;
1662 void InternalSwap(SystemProfileProto_Hardware_CPU* other);
1663
1664 private:
1665 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1666 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1667 return "metrics.SystemProfileProto.Hardware.CPU";
1668 }
1669 protected:
1670 explicit SystemProfileProto_Hardware_CPU(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1671 bool is_message_owned = false);
1672 public:
1673
1674 std::string GetTypeName() const final;
1675
1676 // nested types ----------------------------------------------------
1677
1678 // accessors -------------------------------------------------------
1679
1680 enum : int {
1681 kVendorNameFieldNumber = 1,
1682 kSignatureFieldNumber = 2,
1683 kNumCoresFieldNumber = 3,
1684 kIsHypervisorFieldNumber = 4,
1685 };
1686 // optional string vendor_name = 1;
1687 bool has_vendor_name() const;
1688 private:
1689 bool _internal_has_vendor_name() const;
1690 public:
1691 void clear_vendor_name();
1692 const std::string& vendor_name() const;
1693 template <typename ArgT0 = const std::string&, typename... ArgT>
1694 void set_vendor_name(ArgT0&& arg0, ArgT... args);
1695 std::string* mutable_vendor_name();
1696 PROTOBUF_NODISCARD std::string* release_vendor_name();
1697 void set_allocated_vendor_name(std::string* vendor_name);
1698 private:
1699 const std::string& _internal_vendor_name() const;
1700 inline PROTOBUF_ALWAYS_INLINE void _internal_set_vendor_name(const std::string& value);
1701 std::string* _internal_mutable_vendor_name();
1702 public:
1703
1704 // optional uint32 signature = 2;
1705 bool has_signature() const;
1706 private:
1707 bool _internal_has_signature() const;
1708 public:
1709 void clear_signature();
1710 uint32_t signature() const;
1711 void set_signature(uint32_t value);
1712 private:
1713 uint32_t _internal_signature() const;
1714 void _internal_set_signature(uint32_t value);
1715 public:
1716
1717 // optional uint32 num_cores = 3;
1718 bool has_num_cores() const;
1719 private:
1720 bool _internal_has_num_cores() const;
1721 public:
1722 void clear_num_cores();
1723 uint32_t num_cores() const;
1724 void set_num_cores(uint32_t value);
1725 private:
1726 uint32_t _internal_num_cores() const;
1727 void _internal_set_num_cores(uint32_t value);
1728 public:
1729
1730 // optional bool is_hypervisor = 4;
1731 bool has_is_hypervisor() const;
1732 private:
1733 bool _internal_has_is_hypervisor() const;
1734 public:
1735 void clear_is_hypervisor();
1736 bool is_hypervisor() const;
1737 void set_is_hypervisor(bool value);
1738 private:
1739 bool _internal_is_hypervisor() const;
1740 void _internal_set_is_hypervisor(bool value);
1741 public:
1742
1743 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.Hardware.CPU)
1744 private:
1745 class _Internal;
1746
1747 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1748 typedef void InternalArenaConstructable_;
1749 typedef void DestructorSkippable_;
1750 struct Impl_ {
1751 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1752 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1753 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr vendor_name_;
1754 uint32_t signature_;
1755 uint32_t num_cores_;
1756 bool is_hypervisor_;
1757 };
1758 union { Impl_ _impl_; };
1759 friend struct ::TableStruct_system_5fprofile_2eproto;
1760 };
1761 // -------------------------------------------------------------------
1762
1763 class SystemProfileProto_Hardware_Motherboard final :
1764 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.Hardware.Motherboard) */ {
1765 public:
SystemProfileProto_Hardware_Motherboard()1766 inline SystemProfileProto_Hardware_Motherboard() : SystemProfileProto_Hardware_Motherboard(nullptr) {}
1767 ~SystemProfileProto_Hardware_Motherboard() override;
1768 explicit PROTOBUF_CONSTEXPR SystemProfileProto_Hardware_Motherboard(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1769
1770 SystemProfileProto_Hardware_Motherboard(const SystemProfileProto_Hardware_Motherboard& from);
SystemProfileProto_Hardware_Motherboard(SystemProfileProto_Hardware_Motherboard && from)1771 SystemProfileProto_Hardware_Motherboard(SystemProfileProto_Hardware_Motherboard&& from) noexcept
1772 : SystemProfileProto_Hardware_Motherboard() {
1773 *this = ::std::move(from);
1774 }
1775
1776 inline SystemProfileProto_Hardware_Motherboard& operator=(const SystemProfileProto_Hardware_Motherboard& from) {
1777 CopyFrom(from);
1778 return *this;
1779 }
1780 inline SystemProfileProto_Hardware_Motherboard& operator=(SystemProfileProto_Hardware_Motherboard&& from) noexcept {
1781 if (this == &from) return *this;
1782 if (GetOwningArena() == from.GetOwningArena()
1783 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1784 && GetOwningArena() != nullptr
1785 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
1786 ) {
1787 InternalSwap(&from);
1788 } else {
1789 CopyFrom(from);
1790 }
1791 return *this;
1792 }
1793
unknown_fields()1794 inline const std::string& unknown_fields() const {
1795 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1796 }
mutable_unknown_fields()1797 inline std::string* mutable_unknown_fields() {
1798 return _internal_metadata_.mutable_unknown_fields<std::string>();
1799 }
1800
default_instance()1801 static const SystemProfileProto_Hardware_Motherboard& default_instance() {
1802 return *internal_default_instance();
1803 }
internal_default_instance()1804 static inline const SystemProfileProto_Hardware_Motherboard* internal_default_instance() {
1805 return reinterpret_cast<const SystemProfileProto_Hardware_Motherboard*>(
1806 &_SystemProfileProto_Hardware_Motherboard_default_instance_);
1807 }
1808 static constexpr int kIndexInFileMessages =
1809 4;
1810
swap(SystemProfileProto_Hardware_Motherboard & a,SystemProfileProto_Hardware_Motherboard & b)1811 friend void swap(SystemProfileProto_Hardware_Motherboard& a, SystemProfileProto_Hardware_Motherboard& b) {
1812 a.Swap(&b);
1813 }
Swap(SystemProfileProto_Hardware_Motherboard * other)1814 PROTOBUF_NOINLINE void Swap(SystemProfileProto_Hardware_Motherboard* other) {
1815 if (other == this) return;
1816 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1817 if (GetOwningArena() != nullptr &&
1818 GetOwningArena() == other->GetOwningArena()) {
1819 #else // PROTOBUF_FORCE_COPY_IN_SWAP
1820 if (GetOwningArena() == other->GetOwningArena()) {
1821 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
1822 InternalSwap(other);
1823 } else {
1824 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1825 }
1826 }
1827 void UnsafeArenaSwap(SystemProfileProto_Hardware_Motherboard* other) {
1828 if (other == this) return;
1829 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1830 InternalSwap(other);
1831 }
1832
1833 // implements Message ----------------------------------------------
1834
1835 SystemProfileProto_Hardware_Motherboard* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
1836 return CreateMaybeMessage<SystemProfileProto_Hardware_Motherboard>(arena);
1837 }
1838 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
1839 void CopyFrom(const SystemProfileProto_Hardware_Motherboard& from);
1840 void MergeFrom(const SystemProfileProto_Hardware_Motherboard& from);
1841 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1842 bool IsInitialized() const final;
1843
1844 size_t ByteSizeLong() const final;
1845 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1846 uint8_t* _InternalSerialize(
1847 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1848 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1849
1850 private:
1851 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1852 void SharedDtor();
1853 void SetCachedSize(int size) const;
1854 void InternalSwap(SystemProfileProto_Hardware_Motherboard* other);
1855
1856 private:
1857 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1858 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1859 return "metrics.SystemProfileProto.Hardware.Motherboard";
1860 }
1861 protected:
1862 explicit SystemProfileProto_Hardware_Motherboard(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1863 bool is_message_owned = false);
1864 public:
1865
1866 std::string GetTypeName() const final;
1867
1868 // nested types ----------------------------------------------------
1869
1870 // accessors -------------------------------------------------------
1871
1872 enum : int {
1873 kManufacturerFieldNumber = 1,
1874 kModelFieldNumber = 2,
1875 kBiosManufacturerFieldNumber = 3,
1876 kBiosVersionFieldNumber = 4,
1877 kBiosTypeFieldNumber = 5,
1878 };
1879 // optional string manufacturer = 1;
1880 bool has_manufacturer() const;
1881 private:
1882 bool _internal_has_manufacturer() const;
1883 public:
1884 void clear_manufacturer();
1885 const std::string& manufacturer() const;
1886 template <typename ArgT0 = const std::string&, typename... ArgT>
1887 void set_manufacturer(ArgT0&& arg0, ArgT... args);
1888 std::string* mutable_manufacturer();
1889 PROTOBUF_NODISCARD std::string* release_manufacturer();
1890 void set_allocated_manufacturer(std::string* manufacturer);
1891 private:
1892 const std::string& _internal_manufacturer() const;
1893 inline PROTOBUF_ALWAYS_INLINE void _internal_set_manufacturer(const std::string& value);
1894 std::string* _internal_mutable_manufacturer();
1895 public:
1896
1897 // optional string model = 2;
1898 bool has_model() const;
1899 private:
1900 bool _internal_has_model() const;
1901 public:
1902 void clear_model();
1903 const std::string& model() const;
1904 template <typename ArgT0 = const std::string&, typename... ArgT>
1905 void set_model(ArgT0&& arg0, ArgT... args);
1906 std::string* mutable_model();
1907 PROTOBUF_NODISCARD std::string* release_model();
1908 void set_allocated_model(std::string* model);
1909 private:
1910 const std::string& _internal_model() const;
1911 inline PROTOBUF_ALWAYS_INLINE void _internal_set_model(const std::string& value);
1912 std::string* _internal_mutable_model();
1913 public:
1914
1915 // optional string bios_manufacturer = 3;
1916 bool has_bios_manufacturer() const;
1917 private:
1918 bool _internal_has_bios_manufacturer() const;
1919 public:
1920 void clear_bios_manufacturer();
1921 const std::string& bios_manufacturer() const;
1922 template <typename ArgT0 = const std::string&, typename... ArgT>
1923 void set_bios_manufacturer(ArgT0&& arg0, ArgT... args);
1924 std::string* mutable_bios_manufacturer();
1925 PROTOBUF_NODISCARD std::string* release_bios_manufacturer();
1926 void set_allocated_bios_manufacturer(std::string* bios_manufacturer);
1927 private:
1928 const std::string& _internal_bios_manufacturer() const;
1929 inline PROTOBUF_ALWAYS_INLINE void _internal_set_bios_manufacturer(const std::string& value);
1930 std::string* _internal_mutable_bios_manufacturer();
1931 public:
1932
1933 // optional string bios_version = 4;
1934 bool has_bios_version() const;
1935 private:
1936 bool _internal_has_bios_version() const;
1937 public:
1938 void clear_bios_version();
1939 const std::string& bios_version() const;
1940 template <typename ArgT0 = const std::string&, typename... ArgT>
1941 void set_bios_version(ArgT0&& arg0, ArgT... args);
1942 std::string* mutable_bios_version();
1943 PROTOBUF_NODISCARD std::string* release_bios_version();
1944 void set_allocated_bios_version(std::string* bios_version);
1945 private:
1946 const std::string& _internal_bios_version() const;
1947 inline PROTOBUF_ALWAYS_INLINE void _internal_set_bios_version(const std::string& value);
1948 std::string* _internal_mutable_bios_version();
1949 public:
1950
1951 // optional .metrics.SystemProfileProto.Hardware.BiosType bios_type = 5;
1952 bool has_bios_type() const;
1953 private:
1954 bool _internal_has_bios_type() const;
1955 public:
1956 void clear_bios_type();
1957 ::metrics::SystemProfileProto_Hardware_BiosType bios_type() const;
1958 void set_bios_type(::metrics::SystemProfileProto_Hardware_BiosType value);
1959 private:
1960 ::metrics::SystemProfileProto_Hardware_BiosType _internal_bios_type() const;
1961 void _internal_set_bios_type(::metrics::SystemProfileProto_Hardware_BiosType value);
1962 public:
1963
1964 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.Hardware.Motherboard)
1965 private:
1966 class _Internal;
1967
1968 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1969 typedef void InternalArenaConstructable_;
1970 typedef void DestructorSkippable_;
1971 struct Impl_ {
1972 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1973 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1974 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr manufacturer_;
1975 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_;
1976 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bios_manufacturer_;
1977 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr bios_version_;
1978 int bios_type_;
1979 };
1980 union { Impl_ _impl_; };
1981 friend struct ::TableStruct_system_5fprofile_2eproto;
1982 };
1983 // -------------------------------------------------------------------
1984
1985 class SystemProfileProto_Hardware_Graphics final :
1986 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.Hardware.Graphics) */ {
1987 public:
SystemProfileProto_Hardware_Graphics()1988 inline SystemProfileProto_Hardware_Graphics() : SystemProfileProto_Hardware_Graphics(nullptr) {}
1989 ~SystemProfileProto_Hardware_Graphics() override;
1990 explicit PROTOBUF_CONSTEXPR SystemProfileProto_Hardware_Graphics(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1991
1992 SystemProfileProto_Hardware_Graphics(const SystemProfileProto_Hardware_Graphics& from);
SystemProfileProto_Hardware_Graphics(SystemProfileProto_Hardware_Graphics && from)1993 SystemProfileProto_Hardware_Graphics(SystemProfileProto_Hardware_Graphics&& from) noexcept
1994 : SystemProfileProto_Hardware_Graphics() {
1995 *this = ::std::move(from);
1996 }
1997
1998 inline SystemProfileProto_Hardware_Graphics& operator=(const SystemProfileProto_Hardware_Graphics& from) {
1999 CopyFrom(from);
2000 return *this;
2001 }
2002 inline SystemProfileProto_Hardware_Graphics& operator=(SystemProfileProto_Hardware_Graphics&& from) noexcept {
2003 if (this == &from) return *this;
2004 if (GetOwningArena() == from.GetOwningArena()
2005 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2006 && GetOwningArena() != nullptr
2007 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2008 ) {
2009 InternalSwap(&from);
2010 } else {
2011 CopyFrom(from);
2012 }
2013 return *this;
2014 }
2015
unknown_fields()2016 inline const std::string& unknown_fields() const {
2017 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
2018 }
mutable_unknown_fields()2019 inline std::string* mutable_unknown_fields() {
2020 return _internal_metadata_.mutable_unknown_fields<std::string>();
2021 }
2022
default_instance()2023 static const SystemProfileProto_Hardware_Graphics& default_instance() {
2024 return *internal_default_instance();
2025 }
internal_default_instance()2026 static inline const SystemProfileProto_Hardware_Graphics* internal_default_instance() {
2027 return reinterpret_cast<const SystemProfileProto_Hardware_Graphics*>(
2028 &_SystemProfileProto_Hardware_Graphics_default_instance_);
2029 }
2030 static constexpr int kIndexInFileMessages =
2031 5;
2032
swap(SystemProfileProto_Hardware_Graphics & a,SystemProfileProto_Hardware_Graphics & b)2033 friend void swap(SystemProfileProto_Hardware_Graphics& a, SystemProfileProto_Hardware_Graphics& b) {
2034 a.Swap(&b);
2035 }
Swap(SystemProfileProto_Hardware_Graphics * other)2036 PROTOBUF_NOINLINE void Swap(SystemProfileProto_Hardware_Graphics* other) {
2037 if (other == this) return;
2038 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2039 if (GetOwningArena() != nullptr &&
2040 GetOwningArena() == other->GetOwningArena()) {
2041 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2042 if (GetOwningArena() == other->GetOwningArena()) {
2043 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2044 InternalSwap(other);
2045 } else {
2046 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2047 }
2048 }
2049 void UnsafeArenaSwap(SystemProfileProto_Hardware_Graphics* other) {
2050 if (other == this) return;
2051 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2052 InternalSwap(other);
2053 }
2054
2055 // implements Message ----------------------------------------------
2056
2057 SystemProfileProto_Hardware_Graphics* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2058 return CreateMaybeMessage<SystemProfileProto_Hardware_Graphics>(arena);
2059 }
2060 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
2061 void CopyFrom(const SystemProfileProto_Hardware_Graphics& from);
2062 void MergeFrom(const SystemProfileProto_Hardware_Graphics& from);
2063 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2064 bool IsInitialized() const final;
2065
2066 size_t ByteSizeLong() const final;
2067 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2068 uint8_t* _InternalSerialize(
2069 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2070 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2071
2072 private:
2073 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2074 void SharedDtor();
2075 void SetCachedSize(int size) const;
2076 void InternalSwap(SystemProfileProto_Hardware_Graphics* other);
2077
2078 private:
2079 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2080 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2081 return "metrics.SystemProfileProto.Hardware.Graphics";
2082 }
2083 protected:
2084 explicit SystemProfileProto_Hardware_Graphics(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2085 bool is_message_owned = false);
2086 public:
2087
2088 std::string GetTypeName() const final;
2089
2090 // nested types ----------------------------------------------------
2091
2092 // accessors -------------------------------------------------------
2093
2094 enum : int {
2095 kDriverVersionFieldNumber = 3,
2096 kGlVendorFieldNumber = 6,
2097 kGlRendererFieldNumber = 7,
2098 kVendorIdFieldNumber = 1,
2099 kDeviceIdFieldNumber = 2,
2100 };
2101 // optional string driver_version = 3;
2102 bool has_driver_version() const;
2103 private:
2104 bool _internal_has_driver_version() const;
2105 public:
2106 void clear_driver_version();
2107 const std::string& driver_version() const;
2108 template <typename ArgT0 = const std::string&, typename... ArgT>
2109 void set_driver_version(ArgT0&& arg0, ArgT... args);
2110 std::string* mutable_driver_version();
2111 PROTOBUF_NODISCARD std::string* release_driver_version();
2112 void set_allocated_driver_version(std::string* driver_version);
2113 private:
2114 const std::string& _internal_driver_version() const;
2115 inline PROTOBUF_ALWAYS_INLINE void _internal_set_driver_version(const std::string& value);
2116 std::string* _internal_mutable_driver_version();
2117 public:
2118
2119 // optional string gl_vendor = 6;
2120 bool has_gl_vendor() const;
2121 private:
2122 bool _internal_has_gl_vendor() const;
2123 public:
2124 void clear_gl_vendor();
2125 const std::string& gl_vendor() const;
2126 template <typename ArgT0 = const std::string&, typename... ArgT>
2127 void set_gl_vendor(ArgT0&& arg0, ArgT... args);
2128 std::string* mutable_gl_vendor();
2129 PROTOBUF_NODISCARD std::string* release_gl_vendor();
2130 void set_allocated_gl_vendor(std::string* gl_vendor);
2131 private:
2132 const std::string& _internal_gl_vendor() const;
2133 inline PROTOBUF_ALWAYS_INLINE void _internal_set_gl_vendor(const std::string& value);
2134 std::string* _internal_mutable_gl_vendor();
2135 public:
2136
2137 // optional string gl_renderer = 7;
2138 bool has_gl_renderer() const;
2139 private:
2140 bool _internal_has_gl_renderer() const;
2141 public:
2142 void clear_gl_renderer();
2143 const std::string& gl_renderer() const;
2144 template <typename ArgT0 = const std::string&, typename... ArgT>
2145 void set_gl_renderer(ArgT0&& arg0, ArgT... args);
2146 std::string* mutable_gl_renderer();
2147 PROTOBUF_NODISCARD std::string* release_gl_renderer();
2148 void set_allocated_gl_renderer(std::string* gl_renderer);
2149 private:
2150 const std::string& _internal_gl_renderer() const;
2151 inline PROTOBUF_ALWAYS_INLINE void _internal_set_gl_renderer(const std::string& value);
2152 std::string* _internal_mutable_gl_renderer();
2153 public:
2154
2155 // optional uint32 vendor_id = 1;
2156 bool has_vendor_id() const;
2157 private:
2158 bool _internal_has_vendor_id() const;
2159 public:
2160 void clear_vendor_id();
2161 uint32_t vendor_id() const;
2162 void set_vendor_id(uint32_t value);
2163 private:
2164 uint32_t _internal_vendor_id() const;
2165 void _internal_set_vendor_id(uint32_t value);
2166 public:
2167
2168 // optional uint32 device_id = 2;
2169 bool has_device_id() const;
2170 private:
2171 bool _internal_has_device_id() const;
2172 public:
2173 void clear_device_id();
2174 uint32_t device_id() const;
2175 void set_device_id(uint32_t value);
2176 private:
2177 uint32_t _internal_device_id() const;
2178 void _internal_set_device_id(uint32_t value);
2179 public:
2180
2181 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.Hardware.Graphics)
2182 private:
2183 class _Internal;
2184
2185 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2186 typedef void InternalArenaConstructable_;
2187 typedef void DestructorSkippable_;
2188 struct Impl_ {
2189 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2190 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2191 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr driver_version_;
2192 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gl_vendor_;
2193 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gl_renderer_;
2194 uint32_t vendor_id_;
2195 uint32_t device_id_;
2196 };
2197 union { Impl_ _impl_; };
2198 friend struct ::TableStruct_system_5fprofile_2eproto;
2199 };
2200 // -------------------------------------------------------------------
2201
2202 class SystemProfileProto_Hardware_InternalStorageDevice final :
2203 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.Hardware.InternalStorageDevice) */ {
2204 public:
SystemProfileProto_Hardware_InternalStorageDevice()2205 inline SystemProfileProto_Hardware_InternalStorageDevice() : SystemProfileProto_Hardware_InternalStorageDevice(nullptr) {}
2206 ~SystemProfileProto_Hardware_InternalStorageDevice() override;
2207 explicit PROTOBUF_CONSTEXPR SystemProfileProto_Hardware_InternalStorageDevice(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2208
2209 SystemProfileProto_Hardware_InternalStorageDevice(const SystemProfileProto_Hardware_InternalStorageDevice& from);
SystemProfileProto_Hardware_InternalStorageDevice(SystemProfileProto_Hardware_InternalStorageDevice && from)2210 SystemProfileProto_Hardware_InternalStorageDevice(SystemProfileProto_Hardware_InternalStorageDevice&& from) noexcept
2211 : SystemProfileProto_Hardware_InternalStorageDevice() {
2212 *this = ::std::move(from);
2213 }
2214
2215 inline SystemProfileProto_Hardware_InternalStorageDevice& operator=(const SystemProfileProto_Hardware_InternalStorageDevice& from) {
2216 CopyFrom(from);
2217 return *this;
2218 }
2219 inline SystemProfileProto_Hardware_InternalStorageDevice& operator=(SystemProfileProto_Hardware_InternalStorageDevice&& from) noexcept {
2220 if (this == &from) return *this;
2221 if (GetOwningArena() == from.GetOwningArena()
2222 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2223 && GetOwningArena() != nullptr
2224 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2225 ) {
2226 InternalSwap(&from);
2227 } else {
2228 CopyFrom(from);
2229 }
2230 return *this;
2231 }
2232
unknown_fields()2233 inline const std::string& unknown_fields() const {
2234 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
2235 }
mutable_unknown_fields()2236 inline std::string* mutable_unknown_fields() {
2237 return _internal_metadata_.mutable_unknown_fields<std::string>();
2238 }
2239
default_instance()2240 static const SystemProfileProto_Hardware_InternalStorageDevice& default_instance() {
2241 return *internal_default_instance();
2242 }
internal_default_instance()2243 static inline const SystemProfileProto_Hardware_InternalStorageDevice* internal_default_instance() {
2244 return reinterpret_cast<const SystemProfileProto_Hardware_InternalStorageDevice*>(
2245 &_SystemProfileProto_Hardware_InternalStorageDevice_default_instance_);
2246 }
2247 static constexpr int kIndexInFileMessages =
2248 6;
2249
swap(SystemProfileProto_Hardware_InternalStorageDevice & a,SystemProfileProto_Hardware_InternalStorageDevice & b)2250 friend void swap(SystemProfileProto_Hardware_InternalStorageDevice& a, SystemProfileProto_Hardware_InternalStorageDevice& b) {
2251 a.Swap(&b);
2252 }
Swap(SystemProfileProto_Hardware_InternalStorageDevice * other)2253 PROTOBUF_NOINLINE void Swap(SystemProfileProto_Hardware_InternalStorageDevice* other) {
2254 if (other == this) return;
2255 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2256 if (GetOwningArena() != nullptr &&
2257 GetOwningArena() == other->GetOwningArena()) {
2258 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2259 if (GetOwningArena() == other->GetOwningArena()) {
2260 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2261 InternalSwap(other);
2262 } else {
2263 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2264 }
2265 }
2266 void UnsafeArenaSwap(SystemProfileProto_Hardware_InternalStorageDevice* other) {
2267 if (other == this) return;
2268 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2269 InternalSwap(other);
2270 }
2271
2272 // implements Message ----------------------------------------------
2273
2274 SystemProfileProto_Hardware_InternalStorageDevice* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2275 return CreateMaybeMessage<SystemProfileProto_Hardware_InternalStorageDevice>(arena);
2276 }
2277 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
2278 void CopyFrom(const SystemProfileProto_Hardware_InternalStorageDevice& from);
2279 void MergeFrom(const SystemProfileProto_Hardware_InternalStorageDevice& from);
2280 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2281 bool IsInitialized() const final;
2282
2283 size_t ByteSizeLong() const final;
2284 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2285 uint8_t* _InternalSerialize(
2286 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2287 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2288
2289 private:
2290 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2291 void SharedDtor();
2292 void SetCachedSize(int size) const;
2293 void InternalSwap(SystemProfileProto_Hardware_InternalStorageDevice* other);
2294
2295 private:
2296 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2297 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2298 return "metrics.SystemProfileProto.Hardware.InternalStorageDevice";
2299 }
2300 protected:
2301 explicit SystemProfileProto_Hardware_InternalStorageDevice(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2302 bool is_message_owned = false);
2303 public:
2304
2305 std::string GetTypeName() const final;
2306
2307 // nested types ----------------------------------------------------
2308
2309 typedef SystemProfileProto_Hardware_InternalStorageDevice_Type Type;
2310 static constexpr Type TYPE_UNKNOWN =
2311 SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_UNKNOWN;
2312 static constexpr Type TYPE_EMMC =
2313 SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_EMMC;
2314 static constexpr Type TYPE_NVME =
2315 SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_NVME;
2316 static constexpr Type TYPE_UFS =
2317 SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_UFS;
2318 static constexpr Type TYPE_SD_EXPRESS_INTERNAL =
2319 SystemProfileProto_Hardware_InternalStorageDevice_Type_TYPE_SD_EXPRESS_INTERNAL;
2320 static inline bool Type_IsValid(int value) {
2321 return SystemProfileProto_Hardware_InternalStorageDevice_Type_IsValid(value);
2322 }
2323 static constexpr Type Type_MIN =
2324 SystemProfileProto_Hardware_InternalStorageDevice_Type_Type_MIN;
2325 static constexpr Type Type_MAX =
2326 SystemProfileProto_Hardware_InternalStorageDevice_Type_Type_MAX;
2327 static constexpr int Type_ARRAYSIZE =
2328 SystemProfileProto_Hardware_InternalStorageDevice_Type_Type_ARRAYSIZE;
2329 template<typename T>
2330 static inline const std::string& Type_Name(T enum_t_value) {
2331 static_assert(::std::is_same<T, Type>::value ||
2332 ::std::is_integral<T>::value,
2333 "Incorrect type passed to function Type_Name.");
2334 return SystemProfileProto_Hardware_InternalStorageDevice_Type_Name(enum_t_value);
2335 }
2336 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2337 Type* value) {
2338 return SystemProfileProto_Hardware_InternalStorageDevice_Type_Parse(name, value);
2339 }
2340
2341 typedef SystemProfileProto_Hardware_InternalStorageDevice_Purpose Purpose;
2342 static constexpr Purpose PURPOSE_UNKNOWN =
2343 SystemProfileProto_Hardware_InternalStorageDevice_Purpose_PURPOSE_UNKNOWN;
2344 static constexpr Purpose PURPOSE_BOOT =
2345 SystemProfileProto_Hardware_InternalStorageDevice_Purpose_PURPOSE_BOOT;
2346 static constexpr Purpose PURPOSE_SWAP =
2347 SystemProfileProto_Hardware_InternalStorageDevice_Purpose_PURPOSE_SWAP;
2348 static constexpr Purpose PURPOSE_BOOT_SWAP =
2349 SystemProfileProto_Hardware_InternalStorageDevice_Purpose_PURPOSE_BOOT_SWAP;
2350 static inline bool Purpose_IsValid(int value) {
2351 return SystemProfileProto_Hardware_InternalStorageDevice_Purpose_IsValid(value);
2352 }
2353 static constexpr Purpose Purpose_MIN =
2354 SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Purpose_MIN;
2355 static constexpr Purpose Purpose_MAX =
2356 SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Purpose_MAX;
2357 static constexpr int Purpose_ARRAYSIZE =
2358 SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Purpose_ARRAYSIZE;
2359 template<typename T>
2360 static inline const std::string& Purpose_Name(T enum_t_value) {
2361 static_assert(::std::is_same<T, Purpose>::value ||
2362 ::std::is_integral<T>::value,
2363 "Incorrect type passed to function Purpose_Name.");
2364 return SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Name(enum_t_value);
2365 }
2366 static inline bool Purpose_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2367 Purpose* value) {
2368 return SystemProfileProto_Hardware_InternalStorageDevice_Purpose_Parse(name, value);
2369 }
2370
2371 // accessors -------------------------------------------------------
2372
2373 enum : int {
2374 kModelFieldNumber = 4,
2375 kProductIdFieldNumber = 2,
2376 kVendorIdFieldNumber = 1,
2377 kRevisionFieldNumber = 3,
2378 kFirmwareVersionFieldNumber = 6,
2379 kSizeMbFieldNumber = 5,
2380 kTypeFieldNumber = 7,
2381 kPurposeFieldNumber = 8,
2382 };
2383 // optional string model = 4;
2384 bool has_model() const;
2385 private:
2386 bool _internal_has_model() const;
2387 public:
2388 void clear_model();
2389 const std::string& model() const;
2390 template <typename ArgT0 = const std::string&, typename... ArgT>
2391 void set_model(ArgT0&& arg0, ArgT... args);
2392 std::string* mutable_model();
2393 PROTOBUF_NODISCARD std::string* release_model();
2394 void set_allocated_model(std::string* model);
2395 private:
2396 const std::string& _internal_model() const;
2397 inline PROTOBUF_ALWAYS_INLINE void _internal_set_model(const std::string& value);
2398 std::string* _internal_mutable_model();
2399 public:
2400
2401 // optional uint64 product_id = 2;
2402 bool has_product_id() const;
2403 private:
2404 bool _internal_has_product_id() const;
2405 public:
2406 void clear_product_id();
2407 uint64_t product_id() const;
2408 void set_product_id(uint64_t value);
2409 private:
2410 uint64_t _internal_product_id() const;
2411 void _internal_set_product_id(uint64_t value);
2412 public:
2413
2414 // optional uint32 vendor_id = 1;
2415 bool has_vendor_id() const;
2416 private:
2417 bool _internal_has_vendor_id() const;
2418 public:
2419 void clear_vendor_id();
2420 uint32_t vendor_id() const;
2421 void set_vendor_id(uint32_t value);
2422 private:
2423 uint32_t _internal_vendor_id() const;
2424 void _internal_set_vendor_id(uint32_t value);
2425 public:
2426
2427 // optional uint32 revision = 3;
2428 bool has_revision() const;
2429 private:
2430 bool _internal_has_revision() const;
2431 public:
2432 void clear_revision();
2433 uint32_t revision() const;
2434 void set_revision(uint32_t value);
2435 private:
2436 uint32_t _internal_revision() const;
2437 void _internal_set_revision(uint32_t value);
2438 public:
2439
2440 // optional uint64 firmware_version = 6;
2441 bool has_firmware_version() const;
2442 private:
2443 bool _internal_has_firmware_version() const;
2444 public:
2445 void clear_firmware_version();
2446 uint64_t firmware_version() const;
2447 void set_firmware_version(uint64_t value);
2448 private:
2449 uint64_t _internal_firmware_version() const;
2450 void _internal_set_firmware_version(uint64_t value);
2451 public:
2452
2453 // optional uint32 size_mb = 5;
2454 bool has_size_mb() const;
2455 private:
2456 bool _internal_has_size_mb() const;
2457 public:
2458 void clear_size_mb();
2459 uint32_t size_mb() const;
2460 void set_size_mb(uint32_t value);
2461 private:
2462 uint32_t _internal_size_mb() const;
2463 void _internal_set_size_mb(uint32_t value);
2464 public:
2465
2466 // optional .metrics.SystemProfileProto.Hardware.InternalStorageDevice.Type type = 7;
2467 bool has_type() const;
2468 private:
2469 bool _internal_has_type() const;
2470 public:
2471 void clear_type();
2472 ::metrics::SystemProfileProto_Hardware_InternalStorageDevice_Type type() const;
2473 void set_type(::metrics::SystemProfileProto_Hardware_InternalStorageDevice_Type value);
2474 private:
2475 ::metrics::SystemProfileProto_Hardware_InternalStorageDevice_Type _internal_type() const;
2476 void _internal_set_type(::metrics::SystemProfileProto_Hardware_InternalStorageDevice_Type value);
2477 public:
2478
2479 // optional .metrics.SystemProfileProto.Hardware.InternalStorageDevice.Purpose purpose = 8;
2480 bool has_purpose() const;
2481 private:
2482 bool _internal_has_purpose() const;
2483 public:
2484 void clear_purpose();
2485 ::metrics::SystemProfileProto_Hardware_InternalStorageDevice_Purpose purpose() const;
2486 void set_purpose(::metrics::SystemProfileProto_Hardware_InternalStorageDevice_Purpose value);
2487 private:
2488 ::metrics::SystemProfileProto_Hardware_InternalStorageDevice_Purpose _internal_purpose() const;
2489 void _internal_set_purpose(::metrics::SystemProfileProto_Hardware_InternalStorageDevice_Purpose value);
2490 public:
2491
2492 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.Hardware.InternalStorageDevice)
2493 private:
2494 class _Internal;
2495
2496 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2497 typedef void InternalArenaConstructable_;
2498 typedef void DestructorSkippable_;
2499 struct Impl_ {
2500 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2501 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2502 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_;
2503 uint64_t product_id_;
2504 uint32_t vendor_id_;
2505 uint32_t revision_;
2506 uint64_t firmware_version_;
2507 uint32_t size_mb_;
2508 int type_;
2509 int purpose_;
2510 };
2511 union { Impl_ _impl_; };
2512 friend struct ::TableStruct_system_5fprofile_2eproto;
2513 };
2514 // -------------------------------------------------------------------
2515
2516 class SystemProfileProto_Hardware_Drive final :
2517 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.Hardware.Drive) */ {
2518 public:
SystemProfileProto_Hardware_Drive()2519 inline SystemProfileProto_Hardware_Drive() : SystemProfileProto_Hardware_Drive(nullptr) {}
2520 ~SystemProfileProto_Hardware_Drive() override;
2521 explicit PROTOBUF_CONSTEXPR SystemProfileProto_Hardware_Drive(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2522
2523 SystemProfileProto_Hardware_Drive(const SystemProfileProto_Hardware_Drive& from);
SystemProfileProto_Hardware_Drive(SystemProfileProto_Hardware_Drive && from)2524 SystemProfileProto_Hardware_Drive(SystemProfileProto_Hardware_Drive&& from) noexcept
2525 : SystemProfileProto_Hardware_Drive() {
2526 *this = ::std::move(from);
2527 }
2528
2529 inline SystemProfileProto_Hardware_Drive& operator=(const SystemProfileProto_Hardware_Drive& from) {
2530 CopyFrom(from);
2531 return *this;
2532 }
2533 inline SystemProfileProto_Hardware_Drive& operator=(SystemProfileProto_Hardware_Drive&& from) noexcept {
2534 if (this == &from) return *this;
2535 if (GetOwningArena() == from.GetOwningArena()
2536 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2537 && GetOwningArena() != nullptr
2538 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2539 ) {
2540 InternalSwap(&from);
2541 } else {
2542 CopyFrom(from);
2543 }
2544 return *this;
2545 }
2546
unknown_fields()2547 inline const std::string& unknown_fields() const {
2548 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
2549 }
mutable_unknown_fields()2550 inline std::string* mutable_unknown_fields() {
2551 return _internal_metadata_.mutable_unknown_fields<std::string>();
2552 }
2553
default_instance()2554 static const SystemProfileProto_Hardware_Drive& default_instance() {
2555 return *internal_default_instance();
2556 }
internal_default_instance()2557 static inline const SystemProfileProto_Hardware_Drive* internal_default_instance() {
2558 return reinterpret_cast<const SystemProfileProto_Hardware_Drive*>(
2559 &_SystemProfileProto_Hardware_Drive_default_instance_);
2560 }
2561 static constexpr int kIndexInFileMessages =
2562 7;
2563
swap(SystemProfileProto_Hardware_Drive & a,SystemProfileProto_Hardware_Drive & b)2564 friend void swap(SystemProfileProto_Hardware_Drive& a, SystemProfileProto_Hardware_Drive& b) {
2565 a.Swap(&b);
2566 }
Swap(SystemProfileProto_Hardware_Drive * other)2567 PROTOBUF_NOINLINE void Swap(SystemProfileProto_Hardware_Drive* other) {
2568 if (other == this) return;
2569 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2570 if (GetOwningArena() != nullptr &&
2571 GetOwningArena() == other->GetOwningArena()) {
2572 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2573 if (GetOwningArena() == other->GetOwningArena()) {
2574 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2575 InternalSwap(other);
2576 } else {
2577 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2578 }
2579 }
2580 void UnsafeArenaSwap(SystemProfileProto_Hardware_Drive* other) {
2581 if (other == this) return;
2582 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2583 InternalSwap(other);
2584 }
2585
2586 // implements Message ----------------------------------------------
2587
2588 SystemProfileProto_Hardware_Drive* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2589 return CreateMaybeMessage<SystemProfileProto_Hardware_Drive>(arena);
2590 }
2591 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
2592 void CopyFrom(const SystemProfileProto_Hardware_Drive& from);
2593 void MergeFrom(const SystemProfileProto_Hardware_Drive& from);
2594 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2595 bool IsInitialized() const final;
2596
2597 size_t ByteSizeLong() const final;
2598 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2599 uint8_t* _InternalSerialize(
2600 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2601 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2602
2603 private:
2604 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2605 void SharedDtor();
2606 void SetCachedSize(int size) const;
2607 void InternalSwap(SystemProfileProto_Hardware_Drive* other);
2608
2609 private:
2610 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2611 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2612 return "metrics.SystemProfileProto.Hardware.Drive";
2613 }
2614 protected:
2615 explicit SystemProfileProto_Hardware_Drive(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2616 bool is_message_owned = false);
2617 public:
2618
2619 std::string GetTypeName() const final;
2620
2621 // nested types ----------------------------------------------------
2622
2623 // accessors -------------------------------------------------------
2624
2625 enum : int {
2626 kHasSeekPenaltyFieldNumber = 1,
2627 };
2628 // optional bool has_seek_penalty = 1;
2629 bool has_has_seek_penalty() const;
2630 private:
2631 bool _internal_has_has_seek_penalty() const;
2632 public:
2633 void clear_has_seek_penalty();
2634 bool has_seek_penalty() const;
2635 void set_has_seek_penalty(bool value);
2636 private:
2637 bool _internal_has_seek_penalty() const;
2638 void _internal_set_has_seek_penalty(bool value);
2639 public:
2640
2641 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.Hardware.Drive)
2642 private:
2643 class _Internal;
2644
2645 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
2646 typedef void InternalArenaConstructable_;
2647 typedef void DestructorSkippable_;
2648 struct Impl_ {
2649 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
2650 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
2651 bool has_seek_penalty_;
2652 };
2653 union { Impl_ _impl_; };
2654 friend struct ::TableStruct_system_5fprofile_2eproto;
2655 };
2656 // -------------------------------------------------------------------
2657
2658 class SystemProfileProto_Hardware final :
2659 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.Hardware) */ {
2660 public:
SystemProfileProto_Hardware()2661 inline SystemProfileProto_Hardware() : SystemProfileProto_Hardware(nullptr) {}
2662 ~SystemProfileProto_Hardware() override;
2663 explicit PROTOBUF_CONSTEXPR SystemProfileProto_Hardware(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
2664
2665 SystemProfileProto_Hardware(const SystemProfileProto_Hardware& from);
SystemProfileProto_Hardware(SystemProfileProto_Hardware && from)2666 SystemProfileProto_Hardware(SystemProfileProto_Hardware&& from) noexcept
2667 : SystemProfileProto_Hardware() {
2668 *this = ::std::move(from);
2669 }
2670
2671 inline SystemProfileProto_Hardware& operator=(const SystemProfileProto_Hardware& from) {
2672 CopyFrom(from);
2673 return *this;
2674 }
2675 inline SystemProfileProto_Hardware& operator=(SystemProfileProto_Hardware&& from) noexcept {
2676 if (this == &from) return *this;
2677 if (GetOwningArena() == from.GetOwningArena()
2678 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
2679 && GetOwningArena() != nullptr
2680 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
2681 ) {
2682 InternalSwap(&from);
2683 } else {
2684 CopyFrom(from);
2685 }
2686 return *this;
2687 }
2688
unknown_fields()2689 inline const std::string& unknown_fields() const {
2690 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
2691 }
mutable_unknown_fields()2692 inline std::string* mutable_unknown_fields() {
2693 return _internal_metadata_.mutable_unknown_fields<std::string>();
2694 }
2695
default_instance()2696 static const SystemProfileProto_Hardware& default_instance() {
2697 return *internal_default_instance();
2698 }
internal_default_instance()2699 static inline const SystemProfileProto_Hardware* internal_default_instance() {
2700 return reinterpret_cast<const SystemProfileProto_Hardware*>(
2701 &_SystemProfileProto_Hardware_default_instance_);
2702 }
2703 static constexpr int kIndexInFileMessages =
2704 8;
2705
swap(SystemProfileProto_Hardware & a,SystemProfileProto_Hardware & b)2706 friend void swap(SystemProfileProto_Hardware& a, SystemProfileProto_Hardware& b) {
2707 a.Swap(&b);
2708 }
Swap(SystemProfileProto_Hardware * other)2709 PROTOBUF_NOINLINE void Swap(SystemProfileProto_Hardware* other) {
2710 if (other == this) return;
2711 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
2712 if (GetOwningArena() != nullptr &&
2713 GetOwningArena() == other->GetOwningArena()) {
2714 #else // PROTOBUF_FORCE_COPY_IN_SWAP
2715 if (GetOwningArena() == other->GetOwningArena()) {
2716 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
2717 InternalSwap(other);
2718 } else {
2719 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
2720 }
2721 }
2722 void UnsafeArenaSwap(SystemProfileProto_Hardware* other) {
2723 if (other == this) return;
2724 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
2725 InternalSwap(other);
2726 }
2727
2728 // implements Message ----------------------------------------------
2729
2730 SystemProfileProto_Hardware* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
2731 return CreateMaybeMessage<SystemProfileProto_Hardware>(arena);
2732 }
2733 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
2734 void CopyFrom(const SystemProfileProto_Hardware& from);
2735 void MergeFrom(const SystemProfileProto_Hardware& from);
2736 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
2737 bool IsInitialized() const final;
2738
2739 size_t ByteSizeLong() const final;
2740 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
2741 uint8_t* _InternalSerialize(
2742 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
2743 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
2744
2745 private:
2746 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
2747 void SharedDtor();
2748 void SetCachedSize(int size) const;
2749 void InternalSwap(SystemProfileProto_Hardware* other);
2750
2751 private:
2752 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
2753 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
2754 return "metrics.SystemProfileProto.Hardware";
2755 }
2756 protected:
2757 explicit SystemProfileProto_Hardware(::PROTOBUF_NAMESPACE_ID::Arena* arena,
2758 bool is_message_owned = false);
2759 public:
2760
2761 std::string GetTypeName() const final;
2762
2763 // nested types ----------------------------------------------------
2764
2765 typedef SystemProfileProto_Hardware_CPU CPU;
2766 typedef SystemProfileProto_Hardware_Motherboard Motherboard;
2767 typedef SystemProfileProto_Hardware_Graphics Graphics;
2768 typedef SystemProfileProto_Hardware_InternalStorageDevice InternalStorageDevice;
2769 typedef SystemProfileProto_Hardware_Drive Drive;
2770
2771 typedef SystemProfileProto_Hardware_FormFactor FormFactor;
2772 static constexpr FormFactor FORM_FACTOR_UNKNOWN =
2773 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_UNKNOWN;
2774 static constexpr FormFactor FORM_FACTOR_DESKTOP =
2775 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_DESKTOP;
2776 static constexpr FormFactor FORM_FACTOR_PHONE =
2777 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_PHONE;
2778 static constexpr FormFactor FORM_FACTOR_TABLET =
2779 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_TABLET;
2780 static constexpr FormFactor FORM_FACTOR_TV =
2781 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_TV;
2782 static constexpr FormFactor FORM_FACTOR_MEET_DEVICE =
2783 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_MEET_DEVICE;
2784 static constexpr FormFactor FORM_FACTOR_AUTOMOTIVE =
2785 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_AUTOMOTIVE;
2786 static constexpr FormFactor FORM_FACTOR_FOLDABLE =
2787 SystemProfileProto_Hardware_FormFactor_FORM_FACTOR_FOLDABLE;
2788 static inline bool FormFactor_IsValid(int value) {
2789 return SystemProfileProto_Hardware_FormFactor_IsValid(value);
2790 }
2791 static constexpr FormFactor FormFactor_MIN =
2792 SystemProfileProto_Hardware_FormFactor_FormFactor_MIN;
2793 static constexpr FormFactor FormFactor_MAX =
2794 SystemProfileProto_Hardware_FormFactor_FormFactor_MAX;
2795 static constexpr int FormFactor_ARRAYSIZE =
2796 SystemProfileProto_Hardware_FormFactor_FormFactor_ARRAYSIZE;
2797 template<typename T>
2798 static inline const std::string& FormFactor_Name(T enum_t_value) {
2799 static_assert(::std::is_same<T, FormFactor>::value ||
2800 ::std::is_integral<T>::value,
2801 "Incorrect type passed to function FormFactor_Name.");
2802 return SystemProfileProto_Hardware_FormFactor_Name(enum_t_value);
2803 }
2804 static inline bool FormFactor_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2805 FormFactor* value) {
2806 return SystemProfileProto_Hardware_FormFactor_Parse(name, value);
2807 }
2808
2809 typedef SystemProfileProto_Hardware_BiosType BiosType;
2810 static constexpr BiosType BIOS_TYPE_UNKNOWN =
2811 SystemProfileProto_Hardware_BiosType_BIOS_TYPE_UNKNOWN;
2812 static constexpr BiosType BIOS_TYPE_LEGACY =
2813 SystemProfileProto_Hardware_BiosType_BIOS_TYPE_LEGACY;
2814 static constexpr BiosType BIOS_TYPE_UEFI =
2815 SystemProfileProto_Hardware_BiosType_BIOS_TYPE_UEFI;
2816 static inline bool BiosType_IsValid(int value) {
2817 return SystemProfileProto_Hardware_BiosType_IsValid(value);
2818 }
2819 static constexpr BiosType BiosType_MIN =
2820 SystemProfileProto_Hardware_BiosType_BiosType_MIN;
2821 static constexpr BiosType BiosType_MAX =
2822 SystemProfileProto_Hardware_BiosType_BiosType_MAX;
2823 static constexpr int BiosType_ARRAYSIZE =
2824 SystemProfileProto_Hardware_BiosType_BiosType_ARRAYSIZE;
2825 template<typename T>
2826 static inline const std::string& BiosType_Name(T enum_t_value) {
2827 static_assert(::std::is_same<T, BiosType>::value ||
2828 ::std::is_integral<T>::value,
2829 "Incorrect type passed to function BiosType_Name.");
2830 return SystemProfileProto_Hardware_BiosType_Name(enum_t_value);
2831 }
2832 static inline bool BiosType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2833 BiosType* value) {
2834 return SystemProfileProto_Hardware_BiosType_Parse(name, value);
2835 }
2836
2837 typedef SystemProfileProto_Hardware_TpmType TpmType;
2838 static constexpr TpmType TPM_TYPE_UNKNOWN =
2839 SystemProfileProto_Hardware_TpmType_TPM_TYPE_UNKNOWN;
2840 static constexpr TpmType TPM_TYPE_1 =
2841 SystemProfileProto_Hardware_TpmType_TPM_TYPE_1;
2842 static constexpr TpmType TPM_TYPE_CR50 =
2843 SystemProfileProto_Hardware_TpmType_TPM_TYPE_CR50;
2844 static constexpr TpmType TPM_TYPE_TI50 =
2845 SystemProfileProto_Hardware_TpmType_TPM_TYPE_TI50;
2846 static constexpr TpmType TPM_TYPE_RUNTIME_SELECTION =
2847 SystemProfileProto_Hardware_TpmType_TPM_TYPE_RUNTIME_SELECTION;
2848 static constexpr TpmType TPM_TYPE_GENERIC_2 =
2849 SystemProfileProto_Hardware_TpmType_TPM_TYPE_GENERIC_2;
2850 static inline bool TpmType_IsValid(int value) {
2851 return SystemProfileProto_Hardware_TpmType_IsValid(value);
2852 }
2853 static constexpr TpmType TpmType_MIN =
2854 SystemProfileProto_Hardware_TpmType_TpmType_MIN;
2855 static constexpr TpmType TpmType_MAX =
2856 SystemProfileProto_Hardware_TpmType_TpmType_MAX;
2857 static constexpr int TpmType_ARRAYSIZE =
2858 SystemProfileProto_Hardware_TpmType_TpmType_ARRAYSIZE;
2859 template<typename T>
2860 static inline const std::string& TpmType_Name(T enum_t_value) {
2861 static_assert(::std::is_same<T, TpmType>::value ||
2862 ::std::is_integral<T>::value,
2863 "Incorrect type passed to function TpmType_Name.");
2864 return SystemProfileProto_Hardware_TpmType_Name(enum_t_value);
2865 }
2866 static inline bool TpmType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
2867 TpmType* value) {
2868 return SystemProfileProto_Hardware_TpmType_Parse(name, value);
2869 }
2870
2871 // accessors -------------------------------------------------------
2872
2873 enum : int {
2874 kInternalStorageDevicesFieldNumber = 20,
2875 kCpuArchitectureFieldNumber = 1,
2876 kHardwareClassFieldNumber = 4,
2877 kFullHardwareClassFieldNumber = 18,
2878 kAppCpuArchitectureFieldNumber = 21,
2879 kCellularDeviceVariantFieldNumber = 24,
2880 kTpmRwFirmwareVersionFieldNumber = 27,
2881 kGpuFieldNumber = 8,
2882 kCpuFieldNumber = 13,
2883 kAppDriveFieldNumber = 16,
2884 kUserDataDriveFieldNumber = 17,
2885 kMotherboardFieldNumber = 25,
2886 kSystemRamMbFieldNumber = 2,
2887 kDllBaseFieldNumber = 3,
2888 kScreenCountFieldNumber = 5,
2889 kPrimaryScreenWidthFieldNumber = 6,
2890 kPrimaryScreenHeightFieldNumber = 7,
2891 kMaxDpiXFieldNumber = 9,
2892 kMaxDpiYFieldNumber = 10,
2893 kPrimaryScreenScaleFactorFieldNumber = 12,
2894 kInternalDisplaySupportsTouchFieldNumber = 14,
2895 kFormFactorFieldNumber = 22,
2896 kTpmFirmwareVersionFieldNumber = 26,
2897 kTpmTypeFieldNumber = 23,
2898 };
2899 // repeated .metrics.SystemProfileProto.Hardware.InternalStorageDevice internal_storage_devices = 20;
2900 int internal_storage_devices_size() const;
2901 private:
2902 int _internal_internal_storage_devices_size() const;
2903 public:
2904 void clear_internal_storage_devices();
2905 ::metrics::SystemProfileProto_Hardware_InternalStorageDevice* mutable_internal_storage_devices(int index);
2906 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_Hardware_InternalStorageDevice >*
2907 mutable_internal_storage_devices();
2908 private:
2909 const ::metrics::SystemProfileProto_Hardware_InternalStorageDevice& _internal_internal_storage_devices(int index) const;
2910 ::metrics::SystemProfileProto_Hardware_InternalStorageDevice* _internal_add_internal_storage_devices();
2911 public:
2912 const ::metrics::SystemProfileProto_Hardware_InternalStorageDevice& internal_storage_devices(int index) const;
2913 ::metrics::SystemProfileProto_Hardware_InternalStorageDevice* add_internal_storage_devices();
2914 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_Hardware_InternalStorageDevice >&
2915 internal_storage_devices() const;
2916
2917 // optional string cpu_architecture = 1;
2918 bool has_cpu_architecture() const;
2919 private:
2920 bool _internal_has_cpu_architecture() const;
2921 public:
2922 void clear_cpu_architecture();
2923 const std::string& cpu_architecture() const;
2924 template <typename ArgT0 = const std::string&, typename... ArgT>
2925 void set_cpu_architecture(ArgT0&& arg0, ArgT... args);
2926 std::string* mutable_cpu_architecture();
2927 PROTOBUF_NODISCARD std::string* release_cpu_architecture();
2928 void set_allocated_cpu_architecture(std::string* cpu_architecture);
2929 private:
2930 const std::string& _internal_cpu_architecture() const;
2931 inline PROTOBUF_ALWAYS_INLINE void _internal_set_cpu_architecture(const std::string& value);
2932 std::string* _internal_mutable_cpu_architecture();
2933 public:
2934
2935 // optional string hardware_class = 4;
2936 bool has_hardware_class() const;
2937 private:
2938 bool _internal_has_hardware_class() const;
2939 public:
2940 void clear_hardware_class();
2941 const std::string& hardware_class() const;
2942 template <typename ArgT0 = const std::string&, typename... ArgT>
2943 void set_hardware_class(ArgT0&& arg0, ArgT... args);
2944 std::string* mutable_hardware_class();
2945 PROTOBUF_NODISCARD std::string* release_hardware_class();
2946 void set_allocated_hardware_class(std::string* hardware_class);
2947 private:
2948 const std::string& _internal_hardware_class() const;
2949 inline PROTOBUF_ALWAYS_INLINE void _internal_set_hardware_class(const std::string& value);
2950 std::string* _internal_mutable_hardware_class();
2951 public:
2952
2953 // optional string full_hardware_class = 18;
2954 bool has_full_hardware_class() const;
2955 private:
2956 bool _internal_has_full_hardware_class() const;
2957 public:
2958 void clear_full_hardware_class();
2959 const std::string& full_hardware_class() const;
2960 template <typename ArgT0 = const std::string&, typename... ArgT>
2961 void set_full_hardware_class(ArgT0&& arg0, ArgT... args);
2962 std::string* mutable_full_hardware_class();
2963 PROTOBUF_NODISCARD std::string* release_full_hardware_class();
2964 void set_allocated_full_hardware_class(std::string* full_hardware_class);
2965 private:
2966 const std::string& _internal_full_hardware_class() const;
2967 inline PROTOBUF_ALWAYS_INLINE void _internal_set_full_hardware_class(const std::string& value);
2968 std::string* _internal_mutable_full_hardware_class();
2969 public:
2970
2971 // optional string app_cpu_architecture = 21;
2972 bool has_app_cpu_architecture() const;
2973 private:
2974 bool _internal_has_app_cpu_architecture() const;
2975 public:
2976 void clear_app_cpu_architecture();
2977 const std::string& app_cpu_architecture() const;
2978 template <typename ArgT0 = const std::string&, typename... ArgT>
2979 void set_app_cpu_architecture(ArgT0&& arg0, ArgT... args);
2980 std::string* mutable_app_cpu_architecture();
2981 PROTOBUF_NODISCARD std::string* release_app_cpu_architecture();
2982 void set_allocated_app_cpu_architecture(std::string* app_cpu_architecture);
2983 private:
2984 const std::string& _internal_app_cpu_architecture() const;
2985 inline PROTOBUF_ALWAYS_INLINE void _internal_set_app_cpu_architecture(const std::string& value);
2986 std::string* _internal_mutable_app_cpu_architecture();
2987 public:
2988
2989 // optional string cellular_device_variant = 24;
2990 bool has_cellular_device_variant() const;
2991 private:
2992 bool _internal_has_cellular_device_variant() const;
2993 public:
2994 void clear_cellular_device_variant();
2995 const std::string& cellular_device_variant() const;
2996 template <typename ArgT0 = const std::string&, typename... ArgT>
2997 void set_cellular_device_variant(ArgT0&& arg0, ArgT... args);
2998 std::string* mutable_cellular_device_variant();
2999 PROTOBUF_NODISCARD std::string* release_cellular_device_variant();
3000 void set_allocated_cellular_device_variant(std::string* cellular_device_variant);
3001 private:
3002 const std::string& _internal_cellular_device_variant() const;
3003 inline PROTOBUF_ALWAYS_INLINE void _internal_set_cellular_device_variant(const std::string& value);
3004 std::string* _internal_mutable_cellular_device_variant();
3005 public:
3006
3007 // optional string tpm_rw_firmware_version = 27;
3008 bool has_tpm_rw_firmware_version() const;
3009 private:
3010 bool _internal_has_tpm_rw_firmware_version() const;
3011 public:
3012 void clear_tpm_rw_firmware_version();
3013 const std::string& tpm_rw_firmware_version() const;
3014 template <typename ArgT0 = const std::string&, typename... ArgT>
3015 void set_tpm_rw_firmware_version(ArgT0&& arg0, ArgT... args);
3016 std::string* mutable_tpm_rw_firmware_version();
3017 PROTOBUF_NODISCARD std::string* release_tpm_rw_firmware_version();
3018 void set_allocated_tpm_rw_firmware_version(std::string* tpm_rw_firmware_version);
3019 private:
3020 const std::string& _internal_tpm_rw_firmware_version() const;
3021 inline PROTOBUF_ALWAYS_INLINE void _internal_set_tpm_rw_firmware_version(const std::string& value);
3022 std::string* _internal_mutable_tpm_rw_firmware_version();
3023 public:
3024
3025 // optional .metrics.SystemProfileProto.Hardware.Graphics gpu = 8;
3026 bool has_gpu() const;
3027 private:
3028 bool _internal_has_gpu() const;
3029 public:
3030 void clear_gpu();
3031 const ::metrics::SystemProfileProto_Hardware_Graphics& gpu() const;
3032 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_Hardware_Graphics* release_gpu();
3033 ::metrics::SystemProfileProto_Hardware_Graphics* mutable_gpu();
3034 void set_allocated_gpu(::metrics::SystemProfileProto_Hardware_Graphics* gpu);
3035 private:
3036 const ::metrics::SystemProfileProto_Hardware_Graphics& _internal_gpu() const;
3037 ::metrics::SystemProfileProto_Hardware_Graphics* _internal_mutable_gpu();
3038 public:
3039 void unsafe_arena_set_allocated_gpu(
3040 ::metrics::SystemProfileProto_Hardware_Graphics* gpu);
3041 ::metrics::SystemProfileProto_Hardware_Graphics* unsafe_arena_release_gpu();
3042
3043 // optional .metrics.SystemProfileProto.Hardware.CPU cpu = 13;
3044 bool has_cpu() const;
3045 private:
3046 bool _internal_has_cpu() const;
3047 public:
3048 void clear_cpu();
3049 const ::metrics::SystemProfileProto_Hardware_CPU& cpu() const;
3050 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_Hardware_CPU* release_cpu();
3051 ::metrics::SystemProfileProto_Hardware_CPU* mutable_cpu();
3052 void set_allocated_cpu(::metrics::SystemProfileProto_Hardware_CPU* cpu);
3053 private:
3054 const ::metrics::SystemProfileProto_Hardware_CPU& _internal_cpu() const;
3055 ::metrics::SystemProfileProto_Hardware_CPU* _internal_mutable_cpu();
3056 public:
3057 void unsafe_arena_set_allocated_cpu(
3058 ::metrics::SystemProfileProto_Hardware_CPU* cpu);
3059 ::metrics::SystemProfileProto_Hardware_CPU* unsafe_arena_release_cpu();
3060
3061 // optional .metrics.SystemProfileProto.Hardware.Drive app_drive = 16;
3062 bool has_app_drive() const;
3063 private:
3064 bool _internal_has_app_drive() const;
3065 public:
3066 void clear_app_drive();
3067 const ::metrics::SystemProfileProto_Hardware_Drive& app_drive() const;
3068 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_Hardware_Drive* release_app_drive();
3069 ::metrics::SystemProfileProto_Hardware_Drive* mutable_app_drive();
3070 void set_allocated_app_drive(::metrics::SystemProfileProto_Hardware_Drive* app_drive);
3071 private:
3072 const ::metrics::SystemProfileProto_Hardware_Drive& _internal_app_drive() const;
3073 ::metrics::SystemProfileProto_Hardware_Drive* _internal_mutable_app_drive();
3074 public:
3075 void unsafe_arena_set_allocated_app_drive(
3076 ::metrics::SystemProfileProto_Hardware_Drive* app_drive);
3077 ::metrics::SystemProfileProto_Hardware_Drive* unsafe_arena_release_app_drive();
3078
3079 // optional .metrics.SystemProfileProto.Hardware.Drive user_data_drive = 17;
3080 bool has_user_data_drive() const;
3081 private:
3082 bool _internal_has_user_data_drive() const;
3083 public:
3084 void clear_user_data_drive();
3085 const ::metrics::SystemProfileProto_Hardware_Drive& user_data_drive() const;
3086 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_Hardware_Drive* release_user_data_drive();
3087 ::metrics::SystemProfileProto_Hardware_Drive* mutable_user_data_drive();
3088 void set_allocated_user_data_drive(::metrics::SystemProfileProto_Hardware_Drive* user_data_drive);
3089 private:
3090 const ::metrics::SystemProfileProto_Hardware_Drive& _internal_user_data_drive() const;
3091 ::metrics::SystemProfileProto_Hardware_Drive* _internal_mutable_user_data_drive();
3092 public:
3093 void unsafe_arena_set_allocated_user_data_drive(
3094 ::metrics::SystemProfileProto_Hardware_Drive* user_data_drive);
3095 ::metrics::SystemProfileProto_Hardware_Drive* unsafe_arena_release_user_data_drive();
3096
3097 // optional .metrics.SystemProfileProto.Hardware.Motherboard motherboard = 25;
3098 bool has_motherboard() const;
3099 private:
3100 bool _internal_has_motherboard() const;
3101 public:
3102 void clear_motherboard();
3103 const ::metrics::SystemProfileProto_Hardware_Motherboard& motherboard() const;
3104 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_Hardware_Motherboard* release_motherboard();
3105 ::metrics::SystemProfileProto_Hardware_Motherboard* mutable_motherboard();
3106 void set_allocated_motherboard(::metrics::SystemProfileProto_Hardware_Motherboard* motherboard);
3107 private:
3108 const ::metrics::SystemProfileProto_Hardware_Motherboard& _internal_motherboard() const;
3109 ::metrics::SystemProfileProto_Hardware_Motherboard* _internal_mutable_motherboard();
3110 public:
3111 void unsafe_arena_set_allocated_motherboard(
3112 ::metrics::SystemProfileProto_Hardware_Motherboard* motherboard);
3113 ::metrics::SystemProfileProto_Hardware_Motherboard* unsafe_arena_release_motherboard();
3114
3115 // optional int64 system_ram_mb = 2;
3116 bool has_system_ram_mb() const;
3117 private:
3118 bool _internal_has_system_ram_mb() const;
3119 public:
3120 void clear_system_ram_mb();
3121 int64_t system_ram_mb() const;
3122 void set_system_ram_mb(int64_t value);
3123 private:
3124 int64_t _internal_system_ram_mb() const;
3125 void _internal_set_system_ram_mb(int64_t value);
3126 public:
3127
3128 // optional int64 dll_base = 3;
3129 bool has_dll_base() const;
3130 private:
3131 bool _internal_has_dll_base() const;
3132 public:
3133 void clear_dll_base();
3134 int64_t dll_base() const;
3135 void set_dll_base(int64_t value);
3136 private:
3137 int64_t _internal_dll_base() const;
3138 void _internal_set_dll_base(int64_t value);
3139 public:
3140
3141 // optional int32 screen_count = 5;
3142 bool has_screen_count() const;
3143 private:
3144 bool _internal_has_screen_count() const;
3145 public:
3146 void clear_screen_count();
3147 int32_t screen_count() const;
3148 void set_screen_count(int32_t value);
3149 private:
3150 int32_t _internal_screen_count() const;
3151 void _internal_set_screen_count(int32_t value);
3152 public:
3153
3154 // optional int32 primary_screen_width = 6;
3155 bool has_primary_screen_width() const;
3156 private:
3157 bool _internal_has_primary_screen_width() const;
3158 public:
3159 void clear_primary_screen_width();
3160 int32_t primary_screen_width() const;
3161 void set_primary_screen_width(int32_t value);
3162 private:
3163 int32_t _internal_primary_screen_width() const;
3164 void _internal_set_primary_screen_width(int32_t value);
3165 public:
3166
3167 // optional int32 primary_screen_height = 7;
3168 bool has_primary_screen_height() const;
3169 private:
3170 bool _internal_has_primary_screen_height() const;
3171 public:
3172 void clear_primary_screen_height();
3173 int32_t primary_screen_height() const;
3174 void set_primary_screen_height(int32_t value);
3175 private:
3176 int32_t _internal_primary_screen_height() const;
3177 void _internal_set_primary_screen_height(int32_t value);
3178 public:
3179
3180 // optional float max_dpi_x = 9;
3181 bool has_max_dpi_x() const;
3182 private:
3183 bool _internal_has_max_dpi_x() const;
3184 public:
3185 void clear_max_dpi_x();
3186 float max_dpi_x() const;
3187 void set_max_dpi_x(float value);
3188 private:
3189 float _internal_max_dpi_x() const;
3190 void _internal_set_max_dpi_x(float value);
3191 public:
3192
3193 // optional float max_dpi_y = 10;
3194 bool has_max_dpi_y() const;
3195 private:
3196 bool _internal_has_max_dpi_y() const;
3197 public:
3198 void clear_max_dpi_y();
3199 float max_dpi_y() const;
3200 void set_max_dpi_y(float value);
3201 private:
3202 float _internal_max_dpi_y() const;
3203 void _internal_set_max_dpi_y(float value);
3204 public:
3205
3206 // optional float primary_screen_scale_factor = 12;
3207 bool has_primary_screen_scale_factor() const;
3208 private:
3209 bool _internal_has_primary_screen_scale_factor() const;
3210 public:
3211 void clear_primary_screen_scale_factor();
3212 float primary_screen_scale_factor() const;
3213 void set_primary_screen_scale_factor(float value);
3214 private:
3215 float _internal_primary_screen_scale_factor() const;
3216 void _internal_set_primary_screen_scale_factor(float value);
3217 public:
3218
3219 // optional bool internal_display_supports_touch = 14;
3220 bool has_internal_display_supports_touch() const;
3221 private:
3222 bool _internal_has_internal_display_supports_touch() const;
3223 public:
3224 void clear_internal_display_supports_touch();
3225 bool internal_display_supports_touch() const;
3226 void set_internal_display_supports_touch(bool value);
3227 private:
3228 bool _internal_internal_display_supports_touch() const;
3229 void _internal_set_internal_display_supports_touch(bool value);
3230 public:
3231
3232 // optional .metrics.SystemProfileProto.Hardware.FormFactor form_factor = 22;
3233 bool has_form_factor() const;
3234 private:
3235 bool _internal_has_form_factor() const;
3236 public:
3237 void clear_form_factor();
3238 ::metrics::SystemProfileProto_Hardware_FormFactor form_factor() const;
3239 void set_form_factor(::metrics::SystemProfileProto_Hardware_FormFactor value);
3240 private:
3241 ::metrics::SystemProfileProto_Hardware_FormFactor _internal_form_factor() const;
3242 void _internal_set_form_factor(::metrics::SystemProfileProto_Hardware_FormFactor value);
3243 public:
3244
3245 // optional uint64 tpm_firmware_version = 26;
3246 bool has_tpm_firmware_version() const;
3247 private:
3248 bool _internal_has_tpm_firmware_version() const;
3249 public:
3250 void clear_tpm_firmware_version();
3251 uint64_t tpm_firmware_version() const;
3252 void set_tpm_firmware_version(uint64_t value);
3253 private:
3254 uint64_t _internal_tpm_firmware_version() const;
3255 void _internal_set_tpm_firmware_version(uint64_t value);
3256 public:
3257
3258 // optional .metrics.SystemProfileProto.Hardware.TpmType tpm_type = 23;
3259 bool has_tpm_type() const;
3260 private:
3261 bool _internal_has_tpm_type() const;
3262 public:
3263 void clear_tpm_type();
3264 ::metrics::SystemProfileProto_Hardware_TpmType tpm_type() const;
3265 void set_tpm_type(::metrics::SystemProfileProto_Hardware_TpmType value);
3266 private:
3267 ::metrics::SystemProfileProto_Hardware_TpmType _internal_tpm_type() const;
3268 void _internal_set_tpm_type(::metrics::SystemProfileProto_Hardware_TpmType value);
3269 public:
3270
3271 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.Hardware)
3272 private:
3273 class _Internal;
3274
3275 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3276 typedef void InternalArenaConstructable_;
3277 typedef void DestructorSkippable_;
3278 struct Impl_ {
3279 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3280 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3281 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_Hardware_InternalStorageDevice > internal_storage_devices_;
3282 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cpu_architecture_;
3283 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr hardware_class_;
3284 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr full_hardware_class_;
3285 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr app_cpu_architecture_;
3286 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr cellular_device_variant_;
3287 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tpm_rw_firmware_version_;
3288 ::metrics::SystemProfileProto_Hardware_Graphics* gpu_;
3289 ::metrics::SystemProfileProto_Hardware_CPU* cpu_;
3290 ::metrics::SystemProfileProto_Hardware_Drive* app_drive_;
3291 ::metrics::SystemProfileProto_Hardware_Drive* user_data_drive_;
3292 ::metrics::SystemProfileProto_Hardware_Motherboard* motherboard_;
3293 int64_t system_ram_mb_;
3294 int64_t dll_base_;
3295 int32_t screen_count_;
3296 int32_t primary_screen_width_;
3297 int32_t primary_screen_height_;
3298 float max_dpi_x_;
3299 float max_dpi_y_;
3300 float primary_screen_scale_factor_;
3301 bool internal_display_supports_touch_;
3302 int form_factor_;
3303 uint64_t tpm_firmware_version_;
3304 int tpm_type_;
3305 };
3306 union { Impl_ _impl_; };
3307 friend struct ::TableStruct_system_5fprofile_2eproto;
3308 };
3309 // -------------------------------------------------------------------
3310
3311 class SystemProfileProto_Network final :
3312 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.Network) */ {
3313 public:
SystemProfileProto_Network()3314 inline SystemProfileProto_Network() : SystemProfileProto_Network(nullptr) {}
3315 ~SystemProfileProto_Network() override;
3316 explicit PROTOBUF_CONSTEXPR SystemProfileProto_Network(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3317
3318 SystemProfileProto_Network(const SystemProfileProto_Network& from);
SystemProfileProto_Network(SystemProfileProto_Network && from)3319 SystemProfileProto_Network(SystemProfileProto_Network&& from) noexcept
3320 : SystemProfileProto_Network() {
3321 *this = ::std::move(from);
3322 }
3323
3324 inline SystemProfileProto_Network& operator=(const SystemProfileProto_Network& from) {
3325 CopyFrom(from);
3326 return *this;
3327 }
3328 inline SystemProfileProto_Network& operator=(SystemProfileProto_Network&& from) noexcept {
3329 if (this == &from) return *this;
3330 if (GetOwningArena() == from.GetOwningArena()
3331 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3332 && GetOwningArena() != nullptr
3333 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3334 ) {
3335 InternalSwap(&from);
3336 } else {
3337 CopyFrom(from);
3338 }
3339 return *this;
3340 }
3341
unknown_fields()3342 inline const std::string& unknown_fields() const {
3343 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
3344 }
mutable_unknown_fields()3345 inline std::string* mutable_unknown_fields() {
3346 return _internal_metadata_.mutable_unknown_fields<std::string>();
3347 }
3348
default_instance()3349 static const SystemProfileProto_Network& default_instance() {
3350 return *internal_default_instance();
3351 }
internal_default_instance()3352 static inline const SystemProfileProto_Network* internal_default_instance() {
3353 return reinterpret_cast<const SystemProfileProto_Network*>(
3354 &_SystemProfileProto_Network_default_instance_);
3355 }
3356 static constexpr int kIndexInFileMessages =
3357 9;
3358
swap(SystemProfileProto_Network & a,SystemProfileProto_Network & b)3359 friend void swap(SystemProfileProto_Network& a, SystemProfileProto_Network& b) {
3360 a.Swap(&b);
3361 }
Swap(SystemProfileProto_Network * other)3362 PROTOBUF_NOINLINE void Swap(SystemProfileProto_Network* other) {
3363 if (other == this) return;
3364 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3365 if (GetOwningArena() != nullptr &&
3366 GetOwningArena() == other->GetOwningArena()) {
3367 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3368 if (GetOwningArena() == other->GetOwningArena()) {
3369 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3370 InternalSwap(other);
3371 } else {
3372 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3373 }
3374 }
3375 void UnsafeArenaSwap(SystemProfileProto_Network* other) {
3376 if (other == this) return;
3377 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3378 InternalSwap(other);
3379 }
3380
3381 // implements Message ----------------------------------------------
3382
3383 SystemProfileProto_Network* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3384 return CreateMaybeMessage<SystemProfileProto_Network>(arena);
3385 }
3386 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
3387 void CopyFrom(const SystemProfileProto_Network& from);
3388 void MergeFrom(const SystemProfileProto_Network& from);
3389 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3390 bool IsInitialized() const final;
3391
3392 size_t ByteSizeLong() const final;
3393 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3394 uint8_t* _InternalSerialize(
3395 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3396 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3397
3398 private:
3399 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3400 void SharedDtor();
3401 void SetCachedSize(int size) const;
3402 void InternalSwap(SystemProfileProto_Network* other);
3403
3404 private:
3405 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3406 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3407 return "metrics.SystemProfileProto.Network";
3408 }
3409 protected:
3410 explicit SystemProfileProto_Network(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3411 bool is_message_owned = false);
3412 public:
3413
3414 std::string GetTypeName() const final;
3415
3416 // nested types ----------------------------------------------------
3417
3418 typedef SystemProfileProto_Network_ConnectionType ConnectionType;
3419 static constexpr ConnectionType CONNECTION_UNKNOWN =
3420 SystemProfileProto_Network_ConnectionType_CONNECTION_UNKNOWN;
3421 static constexpr ConnectionType CONNECTION_ETHERNET =
3422 SystemProfileProto_Network_ConnectionType_CONNECTION_ETHERNET;
3423 static constexpr ConnectionType CONNECTION_WIFI =
3424 SystemProfileProto_Network_ConnectionType_CONNECTION_WIFI;
3425 static constexpr ConnectionType CONNECTION_2G =
3426 SystemProfileProto_Network_ConnectionType_CONNECTION_2G;
3427 static constexpr ConnectionType CONNECTION_3G =
3428 SystemProfileProto_Network_ConnectionType_CONNECTION_3G;
3429 static constexpr ConnectionType CONNECTION_4G =
3430 SystemProfileProto_Network_ConnectionType_CONNECTION_4G;
3431 static constexpr ConnectionType CONNECTION_BLUETOOTH =
3432 SystemProfileProto_Network_ConnectionType_CONNECTION_BLUETOOTH;
3433 static constexpr ConnectionType CONNECTION_NONE =
3434 SystemProfileProto_Network_ConnectionType_CONNECTION_NONE;
3435 static constexpr ConnectionType CONNECTION_AMBIGUOUS =
3436 SystemProfileProto_Network_ConnectionType_CONNECTION_AMBIGUOUS;
3437 static constexpr ConnectionType CONNECTION_5G =
3438 SystemProfileProto_Network_ConnectionType_CONNECTION_5G;
3439 static inline bool ConnectionType_IsValid(int value) {
3440 return SystemProfileProto_Network_ConnectionType_IsValid(value);
3441 }
3442 static constexpr ConnectionType ConnectionType_MIN =
3443 SystemProfileProto_Network_ConnectionType_ConnectionType_MIN;
3444 static constexpr ConnectionType ConnectionType_MAX =
3445 SystemProfileProto_Network_ConnectionType_ConnectionType_MAX;
3446 static constexpr int ConnectionType_ARRAYSIZE =
3447 SystemProfileProto_Network_ConnectionType_ConnectionType_ARRAYSIZE;
3448 template<typename T>
3449 static inline const std::string& ConnectionType_Name(T enum_t_value) {
3450 static_assert(::std::is_same<T, ConnectionType>::value ||
3451 ::std::is_integral<T>::value,
3452 "Incorrect type passed to function ConnectionType_Name.");
3453 return SystemProfileProto_Network_ConnectionType_Name(enum_t_value);
3454 }
3455 static inline bool ConnectionType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
3456 ConnectionType* value) {
3457 return SystemProfileProto_Network_ConnectionType_Parse(name, value);
3458 }
3459
3460 typedef SystemProfileProto_Network_WifiPHYLayerProtocol WifiPHYLayerProtocol;
3461 static constexpr WifiPHYLayerProtocol WIFI_PHY_LAYER_PROTOCOL_NONE =
3462 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_NONE;
3463 static constexpr WifiPHYLayerProtocol WIFI_PHY_LAYER_PROTOCOL_ANCIENT =
3464 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_ANCIENT;
3465 static constexpr WifiPHYLayerProtocol WIFI_PHY_LAYER_PROTOCOL_A =
3466 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_A;
3467 static constexpr WifiPHYLayerProtocol WIFI_PHY_LAYER_PROTOCOL_B =
3468 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_B;
3469 static constexpr WifiPHYLayerProtocol WIFI_PHY_LAYER_PROTOCOL_G =
3470 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_G;
3471 static constexpr WifiPHYLayerProtocol WIFI_PHY_LAYER_PROTOCOL_N =
3472 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_N;
3473 static constexpr WifiPHYLayerProtocol WIFI_PHY_LAYER_PROTOCOL_UNKNOWN =
3474 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_UNKNOWN;
3475 static constexpr WifiPHYLayerProtocol WIFI_PHY_LAYER_PROTOCOL_AC =
3476 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_AC;
3477 static constexpr WifiPHYLayerProtocol WIFI_PHY_LAYER_PROTOCOL_AD =
3478 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_AD;
3479 static constexpr WifiPHYLayerProtocol WIFI_PHY_LAYER_PROTOCOL_AX =
3480 SystemProfileProto_Network_WifiPHYLayerProtocol_WIFI_PHY_LAYER_PROTOCOL_AX;
3481 static inline bool WifiPHYLayerProtocol_IsValid(int value) {
3482 return SystemProfileProto_Network_WifiPHYLayerProtocol_IsValid(value);
3483 }
3484 static constexpr WifiPHYLayerProtocol WifiPHYLayerProtocol_MIN =
3485 SystemProfileProto_Network_WifiPHYLayerProtocol_WifiPHYLayerProtocol_MIN;
3486 static constexpr WifiPHYLayerProtocol WifiPHYLayerProtocol_MAX =
3487 SystemProfileProto_Network_WifiPHYLayerProtocol_WifiPHYLayerProtocol_MAX;
3488 static constexpr int WifiPHYLayerProtocol_ARRAYSIZE =
3489 SystemProfileProto_Network_WifiPHYLayerProtocol_WifiPHYLayerProtocol_ARRAYSIZE;
3490 template<typename T>
3491 static inline const std::string& WifiPHYLayerProtocol_Name(T enum_t_value) {
3492 static_assert(::std::is_same<T, WifiPHYLayerProtocol>::value ||
3493 ::std::is_integral<T>::value,
3494 "Incorrect type passed to function WifiPHYLayerProtocol_Name.");
3495 return SystemProfileProto_Network_WifiPHYLayerProtocol_Name(enum_t_value);
3496 }
3497 static inline bool WifiPHYLayerProtocol_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
3498 WifiPHYLayerProtocol* value) {
3499 return SystemProfileProto_Network_WifiPHYLayerProtocol_Parse(name, value);
3500 }
3501
3502 typedef SystemProfileProto_Network_EffectiveConnectionType EffectiveConnectionType;
3503 static constexpr EffectiveConnectionType EFFECTIVE_CONNECTION_TYPE_UNKNOWN =
3504 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_UNKNOWN;
3505 PROTOBUF_DEPRECATED_ENUM static constexpr EffectiveConnectionType DEPRECATED_EFFECTIVE_CONNECTION_TYPE_AMBIGUOUS =
3506 SystemProfileProto_Network_EffectiveConnectionType_DEPRECATED_EFFECTIVE_CONNECTION_TYPE_AMBIGUOUS;
3507 static constexpr EffectiveConnectionType EFFECTIVE_CONNECTION_TYPE_OFFLINE =
3508 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_OFFLINE;
3509 static constexpr EffectiveConnectionType EFFECTIVE_CONNECTION_TYPE_SLOW_2G =
3510 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_SLOW_2G;
3511 static constexpr EffectiveConnectionType EFFECTIVE_CONNECTION_TYPE_2G =
3512 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_2G;
3513 static constexpr EffectiveConnectionType EFFECTIVE_CONNECTION_TYPE_3G =
3514 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_3G;
3515 static constexpr EffectiveConnectionType EFFECTIVE_CONNECTION_TYPE_4G =
3516 SystemProfileProto_Network_EffectiveConnectionType_EFFECTIVE_CONNECTION_TYPE_4G;
3517 static inline bool EffectiveConnectionType_IsValid(int value) {
3518 return SystemProfileProto_Network_EffectiveConnectionType_IsValid(value);
3519 }
3520 static constexpr EffectiveConnectionType EffectiveConnectionType_MIN =
3521 SystemProfileProto_Network_EffectiveConnectionType_EffectiveConnectionType_MIN;
3522 static constexpr EffectiveConnectionType EffectiveConnectionType_MAX =
3523 SystemProfileProto_Network_EffectiveConnectionType_EffectiveConnectionType_MAX;
3524 static constexpr int EffectiveConnectionType_ARRAYSIZE =
3525 SystemProfileProto_Network_EffectiveConnectionType_EffectiveConnectionType_ARRAYSIZE;
3526 template<typename T>
3527 static inline const std::string& EffectiveConnectionType_Name(T enum_t_value) {
3528 static_assert(::std::is_same<T, EffectiveConnectionType>::value ||
3529 ::std::is_integral<T>::value,
3530 "Incorrect type passed to function EffectiveConnectionType_Name.");
3531 return SystemProfileProto_Network_EffectiveConnectionType_Name(enum_t_value);
3532 }
3533 static inline bool EffectiveConnectionType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
3534 EffectiveConnectionType* value) {
3535 return SystemProfileProto_Network_EffectiveConnectionType_Parse(name, value);
3536 }
3537
3538 // accessors -------------------------------------------------------
3539
3540 enum : int {
3541 kConnectionTypeFieldNumber = 2,
3542 kConnectionTypeIsAmbiguousFieldNumber = 1,
3543 kWifiPhyLayerProtocolIsAmbiguousFieldNumber = 3,
3544 kWifiPhyLayerProtocolFieldNumber = 4,
3545 kMinEffectiveConnectionTypeFieldNumber = 7,
3546 kMaxEffectiveConnectionTypeFieldNumber = 8,
3547 };
3548 // optional .metrics.SystemProfileProto.Network.ConnectionType connection_type = 2;
3549 bool has_connection_type() const;
3550 private:
3551 bool _internal_has_connection_type() const;
3552 public:
3553 void clear_connection_type();
3554 ::metrics::SystemProfileProto_Network_ConnectionType connection_type() const;
3555 void set_connection_type(::metrics::SystemProfileProto_Network_ConnectionType value);
3556 private:
3557 ::metrics::SystemProfileProto_Network_ConnectionType _internal_connection_type() const;
3558 void _internal_set_connection_type(::metrics::SystemProfileProto_Network_ConnectionType value);
3559 public:
3560
3561 // optional bool connection_type_is_ambiguous = 1;
3562 bool has_connection_type_is_ambiguous() const;
3563 private:
3564 bool _internal_has_connection_type_is_ambiguous() const;
3565 public:
3566 void clear_connection_type_is_ambiguous();
3567 bool connection_type_is_ambiguous() const;
3568 void set_connection_type_is_ambiguous(bool value);
3569 private:
3570 bool _internal_connection_type_is_ambiguous() const;
3571 void _internal_set_connection_type_is_ambiguous(bool value);
3572 public:
3573
3574 // optional bool wifi_phy_layer_protocol_is_ambiguous = 3;
3575 bool has_wifi_phy_layer_protocol_is_ambiguous() const;
3576 private:
3577 bool _internal_has_wifi_phy_layer_protocol_is_ambiguous() const;
3578 public:
3579 void clear_wifi_phy_layer_protocol_is_ambiguous();
3580 bool wifi_phy_layer_protocol_is_ambiguous() const;
3581 void set_wifi_phy_layer_protocol_is_ambiguous(bool value);
3582 private:
3583 bool _internal_wifi_phy_layer_protocol_is_ambiguous() const;
3584 void _internal_set_wifi_phy_layer_protocol_is_ambiguous(bool value);
3585 public:
3586
3587 // optional .metrics.SystemProfileProto.Network.WifiPHYLayerProtocol wifi_phy_layer_protocol = 4;
3588 bool has_wifi_phy_layer_protocol() const;
3589 private:
3590 bool _internal_has_wifi_phy_layer_protocol() const;
3591 public:
3592 void clear_wifi_phy_layer_protocol();
3593 ::metrics::SystemProfileProto_Network_WifiPHYLayerProtocol wifi_phy_layer_protocol() const;
3594 void set_wifi_phy_layer_protocol(::metrics::SystemProfileProto_Network_WifiPHYLayerProtocol value);
3595 private:
3596 ::metrics::SystemProfileProto_Network_WifiPHYLayerProtocol _internal_wifi_phy_layer_protocol() const;
3597 void _internal_set_wifi_phy_layer_protocol(::metrics::SystemProfileProto_Network_WifiPHYLayerProtocol value);
3598 public:
3599
3600 // optional .metrics.SystemProfileProto.Network.EffectiveConnectionType min_effective_connection_type = 7;
3601 bool has_min_effective_connection_type() const;
3602 private:
3603 bool _internal_has_min_effective_connection_type() const;
3604 public:
3605 void clear_min_effective_connection_type();
3606 ::metrics::SystemProfileProto_Network_EffectiveConnectionType min_effective_connection_type() const;
3607 void set_min_effective_connection_type(::metrics::SystemProfileProto_Network_EffectiveConnectionType value);
3608 private:
3609 ::metrics::SystemProfileProto_Network_EffectiveConnectionType _internal_min_effective_connection_type() const;
3610 void _internal_set_min_effective_connection_type(::metrics::SystemProfileProto_Network_EffectiveConnectionType value);
3611 public:
3612
3613 // optional .metrics.SystemProfileProto.Network.EffectiveConnectionType max_effective_connection_type = 8;
3614 bool has_max_effective_connection_type() const;
3615 private:
3616 bool _internal_has_max_effective_connection_type() const;
3617 public:
3618 void clear_max_effective_connection_type();
3619 ::metrics::SystemProfileProto_Network_EffectiveConnectionType max_effective_connection_type() const;
3620 void set_max_effective_connection_type(::metrics::SystemProfileProto_Network_EffectiveConnectionType value);
3621 private:
3622 ::metrics::SystemProfileProto_Network_EffectiveConnectionType _internal_max_effective_connection_type() const;
3623 void _internal_set_max_effective_connection_type(::metrics::SystemProfileProto_Network_EffectiveConnectionType value);
3624 public:
3625
3626 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.Network)
3627 private:
3628 class _Internal;
3629
3630 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3631 typedef void InternalArenaConstructable_;
3632 typedef void DestructorSkippable_;
3633 struct Impl_ {
3634 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3635 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3636 int connection_type_;
3637 bool connection_type_is_ambiguous_;
3638 bool wifi_phy_layer_protocol_is_ambiguous_;
3639 int wifi_phy_layer_protocol_;
3640 int min_effective_connection_type_;
3641 int max_effective_connection_type_;
3642 };
3643 union { Impl_ _impl_; };
3644 friend struct ::TableStruct_system_5fprofile_2eproto;
3645 };
3646 // -------------------------------------------------------------------
3647
3648 class SystemProfileProto_GoogleUpdate_ProductInfo final :
3649 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.GoogleUpdate.ProductInfo) */ {
3650 public:
SystemProfileProto_GoogleUpdate_ProductInfo()3651 inline SystemProfileProto_GoogleUpdate_ProductInfo() : SystemProfileProto_GoogleUpdate_ProductInfo(nullptr) {}
3652 ~SystemProfileProto_GoogleUpdate_ProductInfo() override;
3653 explicit PROTOBUF_CONSTEXPR SystemProfileProto_GoogleUpdate_ProductInfo(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3654
3655 SystemProfileProto_GoogleUpdate_ProductInfo(const SystemProfileProto_GoogleUpdate_ProductInfo& from);
SystemProfileProto_GoogleUpdate_ProductInfo(SystemProfileProto_GoogleUpdate_ProductInfo && from)3656 SystemProfileProto_GoogleUpdate_ProductInfo(SystemProfileProto_GoogleUpdate_ProductInfo&& from) noexcept
3657 : SystemProfileProto_GoogleUpdate_ProductInfo() {
3658 *this = ::std::move(from);
3659 }
3660
3661 inline SystemProfileProto_GoogleUpdate_ProductInfo& operator=(const SystemProfileProto_GoogleUpdate_ProductInfo& from) {
3662 CopyFrom(from);
3663 return *this;
3664 }
3665 inline SystemProfileProto_GoogleUpdate_ProductInfo& operator=(SystemProfileProto_GoogleUpdate_ProductInfo&& from) noexcept {
3666 if (this == &from) return *this;
3667 if (GetOwningArena() == from.GetOwningArena()
3668 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3669 && GetOwningArena() != nullptr
3670 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3671 ) {
3672 InternalSwap(&from);
3673 } else {
3674 CopyFrom(from);
3675 }
3676 return *this;
3677 }
3678
unknown_fields()3679 inline const std::string& unknown_fields() const {
3680 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
3681 }
mutable_unknown_fields()3682 inline std::string* mutable_unknown_fields() {
3683 return _internal_metadata_.mutable_unknown_fields<std::string>();
3684 }
3685
default_instance()3686 static const SystemProfileProto_GoogleUpdate_ProductInfo& default_instance() {
3687 return *internal_default_instance();
3688 }
internal_default_instance()3689 static inline const SystemProfileProto_GoogleUpdate_ProductInfo* internal_default_instance() {
3690 return reinterpret_cast<const SystemProfileProto_GoogleUpdate_ProductInfo*>(
3691 &_SystemProfileProto_GoogleUpdate_ProductInfo_default_instance_);
3692 }
3693 static constexpr int kIndexInFileMessages =
3694 10;
3695
swap(SystemProfileProto_GoogleUpdate_ProductInfo & a,SystemProfileProto_GoogleUpdate_ProductInfo & b)3696 friend void swap(SystemProfileProto_GoogleUpdate_ProductInfo& a, SystemProfileProto_GoogleUpdate_ProductInfo& b) {
3697 a.Swap(&b);
3698 }
Swap(SystemProfileProto_GoogleUpdate_ProductInfo * other)3699 PROTOBUF_NOINLINE void Swap(SystemProfileProto_GoogleUpdate_ProductInfo* other) {
3700 if (other == this) return;
3701 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3702 if (GetOwningArena() != nullptr &&
3703 GetOwningArena() == other->GetOwningArena()) {
3704 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3705 if (GetOwningArena() == other->GetOwningArena()) {
3706 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3707 InternalSwap(other);
3708 } else {
3709 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3710 }
3711 }
3712 void UnsafeArenaSwap(SystemProfileProto_GoogleUpdate_ProductInfo* other) {
3713 if (other == this) return;
3714 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3715 InternalSwap(other);
3716 }
3717
3718 // implements Message ----------------------------------------------
3719
3720 SystemProfileProto_GoogleUpdate_ProductInfo* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3721 return CreateMaybeMessage<SystemProfileProto_GoogleUpdate_ProductInfo>(arena);
3722 }
3723 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
3724 void CopyFrom(const SystemProfileProto_GoogleUpdate_ProductInfo& from);
3725 void MergeFrom(const SystemProfileProto_GoogleUpdate_ProductInfo& from);
3726 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3727 bool IsInitialized() const final;
3728
3729 size_t ByteSizeLong() const final;
3730 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3731 uint8_t* _InternalSerialize(
3732 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3733 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3734
3735 private:
3736 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3737 void SharedDtor();
3738 void SetCachedSize(int size) const;
3739 void InternalSwap(SystemProfileProto_GoogleUpdate_ProductInfo* other);
3740
3741 private:
3742 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3743 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3744 return "metrics.SystemProfileProto.GoogleUpdate.ProductInfo";
3745 }
3746 protected:
3747 explicit SystemProfileProto_GoogleUpdate_ProductInfo(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3748 bool is_message_owned = false);
3749 public:
3750
3751 std::string GetTypeName() const final;
3752
3753 // nested types ----------------------------------------------------
3754
3755 typedef SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult InstallResult;
3756 static constexpr InstallResult INSTALL_RESULT_SUCCESS =
3757 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_SUCCESS;
3758 static constexpr InstallResult INSTALL_RESULT_FAILED_CUSTOM_ERROR =
3759 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_FAILED_CUSTOM_ERROR;
3760 static constexpr InstallResult INSTALL_RESULT_FAILED_MSI_ERROR =
3761 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_FAILED_MSI_ERROR;
3762 static constexpr InstallResult INSTALL_RESULT_FAILED_SYSTEM_ERROR =
3763 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_FAILED_SYSTEM_ERROR;
3764 static constexpr InstallResult INSTALL_RESULT_EXIT_CODE =
3765 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_INSTALL_RESULT_EXIT_CODE;
3766 static inline bool InstallResult_IsValid(int value) {
3767 return SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_IsValid(value);
3768 }
3769 static constexpr InstallResult InstallResult_MIN =
3770 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_InstallResult_MIN;
3771 static constexpr InstallResult InstallResult_MAX =
3772 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_InstallResult_MAX;
3773 static constexpr int InstallResult_ARRAYSIZE =
3774 SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_InstallResult_ARRAYSIZE;
3775 template<typename T>
3776 static inline const std::string& InstallResult_Name(T enum_t_value) {
3777 static_assert(::std::is_same<T, InstallResult>::value ||
3778 ::std::is_integral<T>::value,
3779 "Incorrect type passed to function InstallResult_Name.");
3780 return SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_Name(enum_t_value);
3781 }
3782 static inline bool InstallResult_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
3783 InstallResult* value) {
3784 return SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult_Parse(name, value);
3785 }
3786
3787 // accessors -------------------------------------------------------
3788
3789 enum : int {
3790 kVersionFieldNumber = 1,
3791 kLastUpdateSuccessTimestampFieldNumber = 2,
3792 kLastResultFieldNumber = 3,
3793 kLastErrorFieldNumber = 4,
3794 kLastExtraErrorFieldNumber = 5,
3795 };
3796 // optional string version = 1;
3797 bool has_version() const;
3798 private:
3799 bool _internal_has_version() const;
3800 public:
3801 void clear_version();
3802 const std::string& version() const;
3803 template <typename ArgT0 = const std::string&, typename... ArgT>
3804 void set_version(ArgT0&& arg0, ArgT... args);
3805 std::string* mutable_version();
3806 PROTOBUF_NODISCARD std::string* release_version();
3807 void set_allocated_version(std::string* version);
3808 private:
3809 const std::string& _internal_version() const;
3810 inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value);
3811 std::string* _internal_mutable_version();
3812 public:
3813
3814 // optional int64 last_update_success_timestamp = 2;
3815 bool has_last_update_success_timestamp() const;
3816 private:
3817 bool _internal_has_last_update_success_timestamp() const;
3818 public:
3819 void clear_last_update_success_timestamp();
3820 int64_t last_update_success_timestamp() const;
3821 void set_last_update_success_timestamp(int64_t value);
3822 private:
3823 int64_t _internal_last_update_success_timestamp() const;
3824 void _internal_set_last_update_success_timestamp(int64_t value);
3825 public:
3826
3827 // optional .metrics.SystemProfileProto.GoogleUpdate.ProductInfo.InstallResult last_result = 3;
3828 bool has_last_result() const;
3829 private:
3830 bool _internal_has_last_result() const;
3831 public:
3832 void clear_last_result();
3833 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult last_result() const;
3834 void set_last_result(::metrics::SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult value);
3835 private:
3836 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult _internal_last_result() const;
3837 void _internal_set_last_result(::metrics::SystemProfileProto_GoogleUpdate_ProductInfo_InstallResult value);
3838 public:
3839
3840 // optional int32 last_error = 4;
3841 bool has_last_error() const;
3842 private:
3843 bool _internal_has_last_error() const;
3844 public:
3845 void clear_last_error();
3846 int32_t last_error() const;
3847 void set_last_error(int32_t value);
3848 private:
3849 int32_t _internal_last_error() const;
3850 void _internal_set_last_error(int32_t value);
3851 public:
3852
3853 // optional int32 last_extra_error = 5;
3854 bool has_last_extra_error() const;
3855 private:
3856 bool _internal_has_last_extra_error() const;
3857 public:
3858 void clear_last_extra_error();
3859 int32_t last_extra_error() const;
3860 void set_last_extra_error(int32_t value);
3861 private:
3862 int32_t _internal_last_extra_error() const;
3863 void _internal_set_last_extra_error(int32_t value);
3864 public:
3865
3866 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.GoogleUpdate.ProductInfo)
3867 private:
3868 class _Internal;
3869
3870 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
3871 typedef void InternalArenaConstructable_;
3872 typedef void DestructorSkippable_;
3873 struct Impl_ {
3874 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
3875 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
3876 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
3877 int64_t last_update_success_timestamp_;
3878 int last_result_;
3879 int32_t last_error_;
3880 int32_t last_extra_error_;
3881 };
3882 union { Impl_ _impl_; };
3883 friend struct ::TableStruct_system_5fprofile_2eproto;
3884 };
3885 // -------------------------------------------------------------------
3886
3887 class SystemProfileProto_GoogleUpdate final :
3888 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.GoogleUpdate) */ {
3889 public:
SystemProfileProto_GoogleUpdate()3890 inline SystemProfileProto_GoogleUpdate() : SystemProfileProto_GoogleUpdate(nullptr) {}
3891 ~SystemProfileProto_GoogleUpdate() override;
3892 explicit PROTOBUF_CONSTEXPR SystemProfileProto_GoogleUpdate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
3893
3894 SystemProfileProto_GoogleUpdate(const SystemProfileProto_GoogleUpdate& from);
SystemProfileProto_GoogleUpdate(SystemProfileProto_GoogleUpdate && from)3895 SystemProfileProto_GoogleUpdate(SystemProfileProto_GoogleUpdate&& from) noexcept
3896 : SystemProfileProto_GoogleUpdate() {
3897 *this = ::std::move(from);
3898 }
3899
3900 inline SystemProfileProto_GoogleUpdate& operator=(const SystemProfileProto_GoogleUpdate& from) {
3901 CopyFrom(from);
3902 return *this;
3903 }
3904 inline SystemProfileProto_GoogleUpdate& operator=(SystemProfileProto_GoogleUpdate&& from) noexcept {
3905 if (this == &from) return *this;
3906 if (GetOwningArena() == from.GetOwningArena()
3907 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
3908 && GetOwningArena() != nullptr
3909 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
3910 ) {
3911 InternalSwap(&from);
3912 } else {
3913 CopyFrom(from);
3914 }
3915 return *this;
3916 }
3917
unknown_fields()3918 inline const std::string& unknown_fields() const {
3919 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
3920 }
mutable_unknown_fields()3921 inline std::string* mutable_unknown_fields() {
3922 return _internal_metadata_.mutable_unknown_fields<std::string>();
3923 }
3924
default_instance()3925 static const SystemProfileProto_GoogleUpdate& default_instance() {
3926 return *internal_default_instance();
3927 }
internal_default_instance()3928 static inline const SystemProfileProto_GoogleUpdate* internal_default_instance() {
3929 return reinterpret_cast<const SystemProfileProto_GoogleUpdate*>(
3930 &_SystemProfileProto_GoogleUpdate_default_instance_);
3931 }
3932 static constexpr int kIndexInFileMessages =
3933 11;
3934
swap(SystemProfileProto_GoogleUpdate & a,SystemProfileProto_GoogleUpdate & b)3935 friend void swap(SystemProfileProto_GoogleUpdate& a, SystemProfileProto_GoogleUpdate& b) {
3936 a.Swap(&b);
3937 }
Swap(SystemProfileProto_GoogleUpdate * other)3938 PROTOBUF_NOINLINE void Swap(SystemProfileProto_GoogleUpdate* other) {
3939 if (other == this) return;
3940 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
3941 if (GetOwningArena() != nullptr &&
3942 GetOwningArena() == other->GetOwningArena()) {
3943 #else // PROTOBUF_FORCE_COPY_IN_SWAP
3944 if (GetOwningArena() == other->GetOwningArena()) {
3945 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
3946 InternalSwap(other);
3947 } else {
3948 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
3949 }
3950 }
3951 void UnsafeArenaSwap(SystemProfileProto_GoogleUpdate* other) {
3952 if (other == this) return;
3953 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
3954 InternalSwap(other);
3955 }
3956
3957 // implements Message ----------------------------------------------
3958
3959 SystemProfileProto_GoogleUpdate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
3960 return CreateMaybeMessage<SystemProfileProto_GoogleUpdate>(arena);
3961 }
3962 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
3963 void CopyFrom(const SystemProfileProto_GoogleUpdate& from);
3964 void MergeFrom(const SystemProfileProto_GoogleUpdate& from);
3965 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
3966 bool IsInitialized() const final;
3967
3968 size_t ByteSizeLong() const final;
3969 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
3970 uint8_t* _InternalSerialize(
3971 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
3972 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
3973
3974 private:
3975 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
3976 void SharedDtor();
3977 void SetCachedSize(int size) const;
3978 void InternalSwap(SystemProfileProto_GoogleUpdate* other);
3979
3980 private:
3981 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
3982 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
3983 return "metrics.SystemProfileProto.GoogleUpdate";
3984 }
3985 protected:
3986 explicit SystemProfileProto_GoogleUpdate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
3987 bool is_message_owned = false);
3988 public:
3989
3990 std::string GetTypeName() const final;
3991
3992 // nested types ----------------------------------------------------
3993
3994 typedef SystemProfileProto_GoogleUpdate_ProductInfo ProductInfo;
3995
3996 // accessors -------------------------------------------------------
3997
3998 enum : int {
3999 kGoogleUpdateStatusFieldNumber = 4,
4000 kClientStatusFieldNumber = 5,
4001 kLastAutomaticStartTimestampFieldNumber = 2,
4002 kLastUpdateCheckTimestampFieldNumber = 3,
4003 kIsSystemInstallFieldNumber = 1,
4004 };
4005 // optional .metrics.SystemProfileProto.GoogleUpdate.ProductInfo google_update_status = 4;
4006 bool has_google_update_status() const;
4007 private:
4008 bool _internal_has_google_update_status() const;
4009 public:
4010 void clear_google_update_status();
4011 const ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo& google_update_status() const;
4012 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* release_google_update_status();
4013 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* mutable_google_update_status();
4014 void set_allocated_google_update_status(::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* google_update_status);
4015 private:
4016 const ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo& _internal_google_update_status() const;
4017 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* _internal_mutable_google_update_status();
4018 public:
4019 void unsafe_arena_set_allocated_google_update_status(
4020 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* google_update_status);
4021 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* unsafe_arena_release_google_update_status();
4022
4023 // optional .metrics.SystemProfileProto.GoogleUpdate.ProductInfo client_status = 5;
4024 bool has_client_status() const;
4025 private:
4026 bool _internal_has_client_status() const;
4027 public:
4028 void clear_client_status();
4029 const ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo& client_status() const;
4030 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* release_client_status();
4031 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* mutable_client_status();
4032 void set_allocated_client_status(::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* client_status);
4033 private:
4034 const ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo& _internal_client_status() const;
4035 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* _internal_mutable_client_status();
4036 public:
4037 void unsafe_arena_set_allocated_client_status(
4038 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* client_status);
4039 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* unsafe_arena_release_client_status();
4040
4041 // optional int64 last_automatic_start_timestamp = 2;
4042 bool has_last_automatic_start_timestamp() const;
4043 private:
4044 bool _internal_has_last_automatic_start_timestamp() const;
4045 public:
4046 void clear_last_automatic_start_timestamp();
4047 int64_t last_automatic_start_timestamp() const;
4048 void set_last_automatic_start_timestamp(int64_t value);
4049 private:
4050 int64_t _internal_last_automatic_start_timestamp() const;
4051 void _internal_set_last_automatic_start_timestamp(int64_t value);
4052 public:
4053
4054 // optional int64 last_update_check_timestamp = 3;
4055 bool has_last_update_check_timestamp() const;
4056 private:
4057 bool _internal_has_last_update_check_timestamp() const;
4058 public:
4059 void clear_last_update_check_timestamp();
4060 int64_t last_update_check_timestamp() const;
4061 void set_last_update_check_timestamp(int64_t value);
4062 private:
4063 int64_t _internal_last_update_check_timestamp() const;
4064 void _internal_set_last_update_check_timestamp(int64_t value);
4065 public:
4066
4067 // optional bool is_system_install = 1;
4068 bool has_is_system_install() const;
4069 private:
4070 bool _internal_has_is_system_install() const;
4071 public:
4072 void clear_is_system_install();
4073 bool is_system_install() const;
4074 void set_is_system_install(bool value);
4075 private:
4076 bool _internal_is_system_install() const;
4077 void _internal_set_is_system_install(bool value);
4078 public:
4079
4080 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.GoogleUpdate)
4081 private:
4082 class _Internal;
4083
4084 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4085 typedef void InternalArenaConstructable_;
4086 typedef void DestructorSkippable_;
4087 struct Impl_ {
4088 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4089 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4090 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* google_update_status_;
4091 ::metrics::SystemProfileProto_GoogleUpdate_ProductInfo* client_status_;
4092 int64_t last_automatic_start_timestamp_;
4093 int64_t last_update_check_timestamp_;
4094 bool is_system_install_;
4095 };
4096 union { Impl_ _impl_; };
4097 friend struct ::TableStruct_system_5fprofile_2eproto;
4098 };
4099 // -------------------------------------------------------------------
4100
4101 class SystemProfileProto_Stability final :
4102 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.Stability) */ {
4103 public:
SystemProfileProto_Stability()4104 inline SystemProfileProto_Stability() : SystemProfileProto_Stability(nullptr) {}
4105 ~SystemProfileProto_Stability() override;
4106 explicit PROTOBUF_CONSTEXPR SystemProfileProto_Stability(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4107
4108 SystemProfileProto_Stability(const SystemProfileProto_Stability& from);
SystemProfileProto_Stability(SystemProfileProto_Stability && from)4109 SystemProfileProto_Stability(SystemProfileProto_Stability&& from) noexcept
4110 : SystemProfileProto_Stability() {
4111 *this = ::std::move(from);
4112 }
4113
4114 inline SystemProfileProto_Stability& operator=(const SystemProfileProto_Stability& from) {
4115 CopyFrom(from);
4116 return *this;
4117 }
4118 inline SystemProfileProto_Stability& operator=(SystemProfileProto_Stability&& from) noexcept {
4119 if (this == &from) return *this;
4120 if (GetOwningArena() == from.GetOwningArena()
4121 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4122 && GetOwningArena() != nullptr
4123 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4124 ) {
4125 InternalSwap(&from);
4126 } else {
4127 CopyFrom(from);
4128 }
4129 return *this;
4130 }
4131
unknown_fields()4132 inline const std::string& unknown_fields() const {
4133 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
4134 }
mutable_unknown_fields()4135 inline std::string* mutable_unknown_fields() {
4136 return _internal_metadata_.mutable_unknown_fields<std::string>();
4137 }
4138
default_instance()4139 static const SystemProfileProto_Stability& default_instance() {
4140 return *internal_default_instance();
4141 }
internal_default_instance()4142 static inline const SystemProfileProto_Stability* internal_default_instance() {
4143 return reinterpret_cast<const SystemProfileProto_Stability*>(
4144 &_SystemProfileProto_Stability_default_instance_);
4145 }
4146 static constexpr int kIndexInFileMessages =
4147 12;
4148
swap(SystemProfileProto_Stability & a,SystemProfileProto_Stability & b)4149 friend void swap(SystemProfileProto_Stability& a, SystemProfileProto_Stability& b) {
4150 a.Swap(&b);
4151 }
Swap(SystemProfileProto_Stability * other)4152 PROTOBUF_NOINLINE void Swap(SystemProfileProto_Stability* other) {
4153 if (other == this) return;
4154 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4155 if (GetOwningArena() != nullptr &&
4156 GetOwningArena() == other->GetOwningArena()) {
4157 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4158 if (GetOwningArena() == other->GetOwningArena()) {
4159 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4160 InternalSwap(other);
4161 } else {
4162 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4163 }
4164 }
4165 void UnsafeArenaSwap(SystemProfileProto_Stability* other) {
4166 if (other == this) return;
4167 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4168 InternalSwap(other);
4169 }
4170
4171 // implements Message ----------------------------------------------
4172
4173 SystemProfileProto_Stability* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4174 return CreateMaybeMessage<SystemProfileProto_Stability>(arena);
4175 }
4176 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
4177 void CopyFrom(const SystemProfileProto_Stability& from);
4178 void MergeFrom(const SystemProfileProto_Stability& from);
4179 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4180 bool IsInitialized() const final;
4181
4182 size_t ByteSizeLong() const final;
4183 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4184 uint8_t* _InternalSerialize(
4185 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4186 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4187
4188 private:
4189 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4190 void SharedDtor();
4191 void SetCachedSize(int size) const;
4192 void InternalSwap(SystemProfileProto_Stability* other);
4193
4194 private:
4195 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4196 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4197 return "metrics.SystemProfileProto.Stability";
4198 }
4199 protected:
4200 explicit SystemProfileProto_Stability(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4201 bool is_message_owned = false);
4202 public:
4203
4204 std::string GetTypeName() const final;
4205
4206 // nested types ----------------------------------------------------
4207
4208 // accessors -------------------------------------------------------
4209
4210 enum : int {
4211 kIncrementalUptimeSecFieldNumber = 1,
4212 kPageLoadCountFieldNumber = 2,
4213 kOtherUserCrashCountFieldNumber = 7,
4214 kKernelCrashCountFieldNumber = 8,
4215 kUncleanSystemShutdownCountFieldNumber = 9,
4216 kLaunchCountFieldNumber = 15,
4217 kRendererLaunchCountFieldNumber = 26,
4218 kUptimeSecFieldNumber = 23,
4219 kFromPreviousRunFieldNumber = 29,
4220 kCrashCountDueToGmsCoreUpdateFieldNumber = 30,
4221 };
4222 // optional int64 incremental_uptime_sec = 1;
4223 bool has_incremental_uptime_sec() const;
4224 private:
4225 bool _internal_has_incremental_uptime_sec() const;
4226 public:
4227 void clear_incremental_uptime_sec();
4228 int64_t incremental_uptime_sec() const;
4229 void set_incremental_uptime_sec(int64_t value);
4230 private:
4231 int64_t _internal_incremental_uptime_sec() const;
4232 void _internal_set_incremental_uptime_sec(int64_t value);
4233 public:
4234
4235 // optional int32 page_load_count = 2;
4236 bool has_page_load_count() const;
4237 private:
4238 bool _internal_has_page_load_count() const;
4239 public:
4240 void clear_page_load_count();
4241 int32_t page_load_count() const;
4242 void set_page_load_count(int32_t value);
4243 private:
4244 int32_t _internal_page_load_count() const;
4245 void _internal_set_page_load_count(int32_t value);
4246 public:
4247
4248 // optional int32 other_user_crash_count = 7;
4249 bool has_other_user_crash_count() const;
4250 private:
4251 bool _internal_has_other_user_crash_count() const;
4252 public:
4253 void clear_other_user_crash_count();
4254 int32_t other_user_crash_count() const;
4255 void set_other_user_crash_count(int32_t value);
4256 private:
4257 int32_t _internal_other_user_crash_count() const;
4258 void _internal_set_other_user_crash_count(int32_t value);
4259 public:
4260
4261 // optional int32 kernel_crash_count = 8;
4262 bool has_kernel_crash_count() const;
4263 private:
4264 bool _internal_has_kernel_crash_count() const;
4265 public:
4266 void clear_kernel_crash_count();
4267 int32_t kernel_crash_count() const;
4268 void set_kernel_crash_count(int32_t value);
4269 private:
4270 int32_t _internal_kernel_crash_count() const;
4271 void _internal_set_kernel_crash_count(int32_t value);
4272 public:
4273
4274 // optional int32 unclean_system_shutdown_count = 9;
4275 bool has_unclean_system_shutdown_count() const;
4276 private:
4277 bool _internal_has_unclean_system_shutdown_count() const;
4278 public:
4279 void clear_unclean_system_shutdown_count();
4280 int32_t unclean_system_shutdown_count() const;
4281 void set_unclean_system_shutdown_count(int32_t value);
4282 private:
4283 int32_t _internal_unclean_system_shutdown_count() const;
4284 void _internal_set_unclean_system_shutdown_count(int32_t value);
4285 public:
4286
4287 // optional int32 launch_count = 15;
4288 bool has_launch_count() const;
4289 private:
4290 bool _internal_has_launch_count() const;
4291 public:
4292 void clear_launch_count();
4293 int32_t launch_count() const;
4294 void set_launch_count(int32_t value);
4295 private:
4296 int32_t _internal_launch_count() const;
4297 void _internal_set_launch_count(int32_t value);
4298 public:
4299
4300 // optional int32 renderer_launch_count = 26;
4301 bool has_renderer_launch_count() const;
4302 private:
4303 bool _internal_has_renderer_launch_count() const;
4304 public:
4305 void clear_renderer_launch_count();
4306 int32_t renderer_launch_count() const;
4307 void set_renderer_launch_count(int32_t value);
4308 private:
4309 int32_t _internal_renderer_launch_count() const;
4310 void _internal_set_renderer_launch_count(int32_t value);
4311 public:
4312
4313 // optional int64 uptime_sec = 23;
4314 bool has_uptime_sec() const;
4315 private:
4316 bool _internal_has_uptime_sec() const;
4317 public:
4318 void clear_uptime_sec();
4319 int64_t uptime_sec() const;
4320 void set_uptime_sec(int64_t value);
4321 private:
4322 int64_t _internal_uptime_sec() const;
4323 void _internal_set_uptime_sec(int64_t value);
4324 public:
4325
4326 // optional bool from_previous_run = 29;
4327 bool has_from_previous_run() const;
4328 private:
4329 bool _internal_has_from_previous_run() const;
4330 public:
4331 void clear_from_previous_run();
4332 bool from_previous_run() const;
4333 void set_from_previous_run(bool value);
4334 private:
4335 bool _internal_from_previous_run() const;
4336 void _internal_set_from_previous_run(bool value);
4337 public:
4338
4339 // optional int32 crash_count_due_to_gms_core_update = 30;
4340 bool has_crash_count_due_to_gms_core_update() const;
4341 private:
4342 bool _internal_has_crash_count_due_to_gms_core_update() const;
4343 public:
4344 void clear_crash_count_due_to_gms_core_update();
4345 int32_t crash_count_due_to_gms_core_update() const;
4346 void set_crash_count_due_to_gms_core_update(int32_t value);
4347 private:
4348 int32_t _internal_crash_count_due_to_gms_core_update() const;
4349 void _internal_set_crash_count_due_to_gms_core_update(int32_t value);
4350 public:
4351
4352 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.Stability)
4353 private:
4354 class _Internal;
4355
4356 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4357 typedef void InternalArenaConstructable_;
4358 typedef void DestructorSkippable_;
4359 struct Impl_ {
4360 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4361 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4362 int64_t incremental_uptime_sec_;
4363 int32_t page_load_count_;
4364 int32_t other_user_crash_count_;
4365 int32_t kernel_crash_count_;
4366 int32_t unclean_system_shutdown_count_;
4367 int32_t launch_count_;
4368 int32_t renderer_launch_count_;
4369 int64_t uptime_sec_;
4370 bool from_previous_run_;
4371 int32_t crash_count_due_to_gms_core_update_;
4372 };
4373 union { Impl_ _impl_; };
4374 friend struct ::TableStruct_system_5fprofile_2eproto;
4375 };
4376 // -------------------------------------------------------------------
4377
4378 class SystemProfileProto_FieldTrial final :
4379 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.FieldTrial) */ {
4380 public:
SystemProfileProto_FieldTrial()4381 inline SystemProfileProto_FieldTrial() : SystemProfileProto_FieldTrial(nullptr) {}
4382 ~SystemProfileProto_FieldTrial() override;
4383 explicit PROTOBUF_CONSTEXPR SystemProfileProto_FieldTrial(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4384
4385 SystemProfileProto_FieldTrial(const SystemProfileProto_FieldTrial& from);
SystemProfileProto_FieldTrial(SystemProfileProto_FieldTrial && from)4386 SystemProfileProto_FieldTrial(SystemProfileProto_FieldTrial&& from) noexcept
4387 : SystemProfileProto_FieldTrial() {
4388 *this = ::std::move(from);
4389 }
4390
4391 inline SystemProfileProto_FieldTrial& operator=(const SystemProfileProto_FieldTrial& from) {
4392 CopyFrom(from);
4393 return *this;
4394 }
4395 inline SystemProfileProto_FieldTrial& operator=(SystemProfileProto_FieldTrial&& from) noexcept {
4396 if (this == &from) return *this;
4397 if (GetOwningArena() == from.GetOwningArena()
4398 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4399 && GetOwningArena() != nullptr
4400 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4401 ) {
4402 InternalSwap(&from);
4403 } else {
4404 CopyFrom(from);
4405 }
4406 return *this;
4407 }
4408
unknown_fields()4409 inline const std::string& unknown_fields() const {
4410 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
4411 }
mutable_unknown_fields()4412 inline std::string* mutable_unknown_fields() {
4413 return _internal_metadata_.mutable_unknown_fields<std::string>();
4414 }
4415
default_instance()4416 static const SystemProfileProto_FieldTrial& default_instance() {
4417 return *internal_default_instance();
4418 }
internal_default_instance()4419 static inline const SystemProfileProto_FieldTrial* internal_default_instance() {
4420 return reinterpret_cast<const SystemProfileProto_FieldTrial*>(
4421 &_SystemProfileProto_FieldTrial_default_instance_);
4422 }
4423 static constexpr int kIndexInFileMessages =
4424 13;
4425
swap(SystemProfileProto_FieldTrial & a,SystemProfileProto_FieldTrial & b)4426 friend void swap(SystemProfileProto_FieldTrial& a, SystemProfileProto_FieldTrial& b) {
4427 a.Swap(&b);
4428 }
Swap(SystemProfileProto_FieldTrial * other)4429 PROTOBUF_NOINLINE void Swap(SystemProfileProto_FieldTrial* other) {
4430 if (other == this) return;
4431 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4432 if (GetOwningArena() != nullptr &&
4433 GetOwningArena() == other->GetOwningArena()) {
4434 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4435 if (GetOwningArena() == other->GetOwningArena()) {
4436 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4437 InternalSwap(other);
4438 } else {
4439 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4440 }
4441 }
4442 void UnsafeArenaSwap(SystemProfileProto_FieldTrial* other) {
4443 if (other == this) return;
4444 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4445 InternalSwap(other);
4446 }
4447
4448 // implements Message ----------------------------------------------
4449
4450 SystemProfileProto_FieldTrial* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4451 return CreateMaybeMessage<SystemProfileProto_FieldTrial>(arena);
4452 }
4453 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
4454 void CopyFrom(const SystemProfileProto_FieldTrial& from);
4455 void MergeFrom(const SystemProfileProto_FieldTrial& from);
4456 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4457 bool IsInitialized() const final;
4458
4459 size_t ByteSizeLong() const final;
4460 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4461 uint8_t* _InternalSerialize(
4462 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4463 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4464
4465 private:
4466 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4467 void SharedDtor();
4468 void SetCachedSize(int size) const;
4469 void InternalSwap(SystemProfileProto_FieldTrial* other);
4470
4471 private:
4472 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4473 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4474 return "metrics.SystemProfileProto.FieldTrial";
4475 }
4476 protected:
4477 explicit SystemProfileProto_FieldTrial(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4478 bool is_message_owned = false);
4479 public:
4480
4481 std::string GetTypeName() const final;
4482
4483 // nested types ----------------------------------------------------
4484
4485 // accessors -------------------------------------------------------
4486
4487 enum : int {
4488 kNameIdFieldNumber = 1,
4489 kGroupIdFieldNumber = 2,
4490 };
4491 // optional fixed32 name_id = 1;
4492 bool has_name_id() const;
4493 private:
4494 bool _internal_has_name_id() const;
4495 public:
4496 void clear_name_id();
4497 uint32_t name_id() const;
4498 void set_name_id(uint32_t value);
4499 private:
4500 uint32_t _internal_name_id() const;
4501 void _internal_set_name_id(uint32_t value);
4502 public:
4503
4504 // optional fixed32 group_id = 2;
4505 bool has_group_id() const;
4506 private:
4507 bool _internal_has_group_id() const;
4508 public:
4509 void clear_group_id();
4510 uint32_t group_id() const;
4511 void set_group_id(uint32_t value);
4512 private:
4513 uint32_t _internal_group_id() const;
4514 void _internal_set_group_id(uint32_t value);
4515 public:
4516
4517 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.FieldTrial)
4518 private:
4519 class _Internal;
4520
4521 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4522 typedef void InternalArenaConstructable_;
4523 typedef void DestructorSkippable_;
4524 struct Impl_ {
4525 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4526 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4527 uint32_t name_id_;
4528 uint32_t group_id_;
4529 };
4530 union { Impl_ _impl_; };
4531 friend struct ::TableStruct_system_5fprofile_2eproto;
4532 };
4533 // -------------------------------------------------------------------
4534
4535 class SystemProfileProto_ExternalAudioVideoDevice_AudioDescription final :
4536 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.ExternalAudioVideoDevice.AudioDescription) */ {
4537 public:
SystemProfileProto_ExternalAudioVideoDevice_AudioDescription()4538 inline SystemProfileProto_ExternalAudioVideoDevice_AudioDescription() : SystemProfileProto_ExternalAudioVideoDevice_AudioDescription(nullptr) {}
4539 ~SystemProfileProto_ExternalAudioVideoDevice_AudioDescription() override;
4540 explicit PROTOBUF_CONSTEXPR SystemProfileProto_ExternalAudioVideoDevice_AudioDescription(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4541
4542 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription(const SystemProfileProto_ExternalAudioVideoDevice_AudioDescription& from);
SystemProfileProto_ExternalAudioVideoDevice_AudioDescription(SystemProfileProto_ExternalAudioVideoDevice_AudioDescription && from)4543 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription(SystemProfileProto_ExternalAudioVideoDevice_AudioDescription&& from) noexcept
4544 : SystemProfileProto_ExternalAudioVideoDevice_AudioDescription() {
4545 *this = ::std::move(from);
4546 }
4547
4548 inline SystemProfileProto_ExternalAudioVideoDevice_AudioDescription& operator=(const SystemProfileProto_ExternalAudioVideoDevice_AudioDescription& from) {
4549 CopyFrom(from);
4550 return *this;
4551 }
4552 inline SystemProfileProto_ExternalAudioVideoDevice_AudioDescription& operator=(SystemProfileProto_ExternalAudioVideoDevice_AudioDescription&& from) noexcept {
4553 if (this == &from) return *this;
4554 if (GetOwningArena() == from.GetOwningArena()
4555 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4556 && GetOwningArena() != nullptr
4557 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4558 ) {
4559 InternalSwap(&from);
4560 } else {
4561 CopyFrom(from);
4562 }
4563 return *this;
4564 }
4565
unknown_fields()4566 inline const std::string& unknown_fields() const {
4567 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
4568 }
mutable_unknown_fields()4569 inline std::string* mutable_unknown_fields() {
4570 return _internal_metadata_.mutable_unknown_fields<std::string>();
4571 }
4572
default_instance()4573 static const SystemProfileProto_ExternalAudioVideoDevice_AudioDescription& default_instance() {
4574 return *internal_default_instance();
4575 }
internal_default_instance()4576 static inline const SystemProfileProto_ExternalAudioVideoDevice_AudioDescription* internal_default_instance() {
4577 return reinterpret_cast<const SystemProfileProto_ExternalAudioVideoDevice_AudioDescription*>(
4578 &_SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_default_instance_);
4579 }
4580 static constexpr int kIndexInFileMessages =
4581 14;
4582
swap(SystemProfileProto_ExternalAudioVideoDevice_AudioDescription & a,SystemProfileProto_ExternalAudioVideoDevice_AudioDescription & b)4583 friend void swap(SystemProfileProto_ExternalAudioVideoDevice_AudioDescription& a, SystemProfileProto_ExternalAudioVideoDevice_AudioDescription& b) {
4584 a.Swap(&b);
4585 }
Swap(SystemProfileProto_ExternalAudioVideoDevice_AudioDescription * other)4586 PROTOBUF_NOINLINE void Swap(SystemProfileProto_ExternalAudioVideoDevice_AudioDescription* other) {
4587 if (other == this) return;
4588 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4589 if (GetOwningArena() != nullptr &&
4590 GetOwningArena() == other->GetOwningArena()) {
4591 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4592 if (GetOwningArena() == other->GetOwningArena()) {
4593 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4594 InternalSwap(other);
4595 } else {
4596 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4597 }
4598 }
4599 void UnsafeArenaSwap(SystemProfileProto_ExternalAudioVideoDevice_AudioDescription* other) {
4600 if (other == this) return;
4601 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4602 InternalSwap(other);
4603 }
4604
4605 // implements Message ----------------------------------------------
4606
4607 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4608 return CreateMaybeMessage<SystemProfileProto_ExternalAudioVideoDevice_AudioDescription>(arena);
4609 }
4610 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
4611 void CopyFrom(const SystemProfileProto_ExternalAudioVideoDevice_AudioDescription& from);
4612 void MergeFrom(const SystemProfileProto_ExternalAudioVideoDevice_AudioDescription& from);
4613 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4614 bool IsInitialized() const final;
4615
4616 size_t ByteSizeLong() const final;
4617 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4618 uint8_t* _InternalSerialize(
4619 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4620 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4621
4622 private:
4623 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4624 void SharedDtor();
4625 void SetCachedSize(int size) const;
4626 void InternalSwap(SystemProfileProto_ExternalAudioVideoDevice_AudioDescription* other);
4627
4628 private:
4629 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4630 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4631 return "metrics.SystemProfileProto.ExternalAudioVideoDevice.AudioDescription";
4632 }
4633 protected:
4634 explicit SystemProfileProto_ExternalAudioVideoDevice_AudioDescription(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4635 bool is_message_owned = false);
4636 public:
4637
4638 std::string GetTypeName() const final;
4639
4640 // nested types ----------------------------------------------------
4641
4642 typedef SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat AudioFormat;
4643 static constexpr AudioFormat AUDIO_FORMAT_UNKNOWN =
4644 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_UNKNOWN;
4645 static constexpr AudioFormat AUDIO_FORMAT_LPCM =
4646 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_LPCM;
4647 static constexpr AudioFormat AUDIO_FORMAT_AC_3 =
4648 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_AC_3;
4649 static constexpr AudioFormat AUDIO_FORMAT_MPEG1 =
4650 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_MPEG1;
4651 static constexpr AudioFormat AUDIO_FORMAT_MP3 =
4652 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_MP3;
4653 static constexpr AudioFormat AUDIO_FORMAT_MPEG2 =
4654 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_MPEG2;
4655 static constexpr AudioFormat AUDIO_FORMAT_AAC =
4656 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_AAC;
4657 static constexpr AudioFormat AUDIO_FORMAT_DTS =
4658 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_DTS;
4659 static constexpr AudioFormat AUDIO_FORMAT_ATRAC =
4660 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_ATRAC;
4661 static constexpr AudioFormat AUDIO_FORMAT_ONE_BIT =
4662 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_ONE_BIT;
4663 static constexpr AudioFormat AUDIO_FORMAT_DD_PLUS =
4664 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_DD_PLUS;
4665 static constexpr AudioFormat AUDIO_FORMAT_DTS_HD =
4666 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_DTS_HD;
4667 static constexpr AudioFormat AUDIO_FORMAT_MLP_DOLBY_TRUEHD =
4668 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_MLP_DOLBY_TRUEHD;
4669 static constexpr AudioFormat AUDIO_FORMAT_DST_AUDIO =
4670 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_DST_AUDIO;
4671 static constexpr AudioFormat AUDIO_FORMAT_MICROSOFT_WMA_PRO =
4672 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AUDIO_FORMAT_MICROSOFT_WMA_PRO;
4673 static inline bool AudioFormat_IsValid(int value) {
4674 return SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_IsValid(value);
4675 }
4676 static constexpr AudioFormat AudioFormat_MIN =
4677 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AudioFormat_MIN;
4678 static constexpr AudioFormat AudioFormat_MAX =
4679 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AudioFormat_MAX;
4680 static constexpr int AudioFormat_ARRAYSIZE =
4681 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_AudioFormat_ARRAYSIZE;
4682 template<typename T>
4683 static inline const std::string& AudioFormat_Name(T enum_t_value) {
4684 static_assert(::std::is_same<T, AudioFormat>::value ||
4685 ::std::is_integral<T>::value,
4686 "Incorrect type passed to function AudioFormat_Name.");
4687 return SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_Name(enum_t_value);
4688 }
4689 static inline bool AudioFormat_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
4690 AudioFormat* value) {
4691 return SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat_Parse(name, value);
4692 }
4693
4694 typedef SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode OutputMode;
4695 static constexpr OutputMode ANALOG =
4696 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_ANALOG;
4697 static constexpr OutputMode DIGITAL =
4698 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_DIGITAL;
4699 static inline bool OutputMode_IsValid(int value) {
4700 return SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_IsValid(value);
4701 }
4702 static constexpr OutputMode OutputMode_MIN =
4703 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_OutputMode_MIN;
4704 static constexpr OutputMode OutputMode_MAX =
4705 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_OutputMode_MAX;
4706 static constexpr int OutputMode_ARRAYSIZE =
4707 SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_OutputMode_ARRAYSIZE;
4708 template<typename T>
4709 static inline const std::string& OutputMode_Name(T enum_t_value) {
4710 static_assert(::std::is_same<T, OutputMode>::value ||
4711 ::std::is_integral<T>::value,
4712 "Incorrect type passed to function OutputMode_Name.");
4713 return SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_Name(enum_t_value);
4714 }
4715 static inline bool OutputMode_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
4716 OutputMode* value) {
4717 return SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode_Parse(name, value);
4718 }
4719
4720 // accessors -------------------------------------------------------
4721
4722 enum : int {
4723 kSampleFrequencyHzFieldNumber = 3,
4724 kAudioFormatFieldNumber = 1,
4725 kNumChannelsFieldNumber = 2,
4726 kMaxBitRatePerSecondFieldNumber = 4,
4727 kBitDepthFieldNumber = 5,
4728 kOutputModeFieldNumber = 6,
4729 };
4730 // repeated int32 sample_frequency_hz = 3;
4731 int sample_frequency_hz_size() const;
4732 private:
4733 int _internal_sample_frequency_hz_size() const;
4734 public:
4735 void clear_sample_frequency_hz();
4736 private:
4737 int32_t _internal_sample_frequency_hz(int index) const;
4738 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
4739 _internal_sample_frequency_hz() const;
4740 void _internal_add_sample_frequency_hz(int32_t value);
4741 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
4742 _internal_mutable_sample_frequency_hz();
4743 public:
4744 int32_t sample_frequency_hz(int index) const;
4745 void set_sample_frequency_hz(int index, int32_t value);
4746 void add_sample_frequency_hz(int32_t value);
4747 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
4748 sample_frequency_hz() const;
4749 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
4750 mutable_sample_frequency_hz();
4751
4752 // optional .metrics.SystemProfileProto.ExternalAudioVideoDevice.AudioDescription.AudioFormat audio_format = 1;
4753 bool has_audio_format() const;
4754 private:
4755 bool _internal_has_audio_format() const;
4756 public:
4757 void clear_audio_format();
4758 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat audio_format() const;
4759 void set_audio_format(::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat value);
4760 private:
4761 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat _internal_audio_format() const;
4762 void _internal_set_audio_format(::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_AudioFormat value);
4763 public:
4764
4765 // optional int32 num_channels = 2;
4766 bool has_num_channels() const;
4767 private:
4768 bool _internal_has_num_channels() const;
4769 public:
4770 void clear_num_channels();
4771 int32_t num_channels() const;
4772 void set_num_channels(int32_t value);
4773 private:
4774 int32_t _internal_num_channels() const;
4775 void _internal_set_num_channels(int32_t value);
4776 public:
4777
4778 // optional int32 max_bit_rate_per_second = 4;
4779 bool has_max_bit_rate_per_second() const;
4780 private:
4781 bool _internal_has_max_bit_rate_per_second() const;
4782 public:
4783 void clear_max_bit_rate_per_second();
4784 int32_t max_bit_rate_per_second() const;
4785 void set_max_bit_rate_per_second(int32_t value);
4786 private:
4787 int32_t _internal_max_bit_rate_per_second() const;
4788 void _internal_set_max_bit_rate_per_second(int32_t value);
4789 public:
4790
4791 // optional int32 bit_depth = 5;
4792 bool has_bit_depth() const;
4793 private:
4794 bool _internal_has_bit_depth() const;
4795 public:
4796 void clear_bit_depth();
4797 int32_t bit_depth() const;
4798 void set_bit_depth(int32_t value);
4799 private:
4800 int32_t _internal_bit_depth() const;
4801 void _internal_set_bit_depth(int32_t value);
4802 public:
4803
4804 // optional .metrics.SystemProfileProto.ExternalAudioVideoDevice.AudioDescription.OutputMode output_mode = 6;
4805 bool has_output_mode() const;
4806 private:
4807 bool _internal_has_output_mode() const;
4808 public:
4809 void clear_output_mode();
4810 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode output_mode() const;
4811 void set_output_mode(::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode value);
4812 private:
4813 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode _internal_output_mode() const;
4814 void _internal_set_output_mode(::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription_OutputMode value);
4815 public:
4816
4817 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.ExternalAudioVideoDevice.AudioDescription)
4818 private:
4819 class _Internal;
4820
4821 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
4822 typedef void InternalArenaConstructable_;
4823 typedef void DestructorSkippable_;
4824 struct Impl_ {
4825 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
4826 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
4827 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > sample_frequency_hz_;
4828 int audio_format_;
4829 int32_t num_channels_;
4830 int32_t max_bit_rate_per_second_;
4831 int32_t bit_depth_;
4832 int output_mode_;
4833 };
4834 union { Impl_ _impl_; };
4835 friend struct ::TableStruct_system_5fprofile_2eproto;
4836 };
4837 // -------------------------------------------------------------------
4838
4839 class SystemProfileProto_ExternalAudioVideoDevice_CECCommand final :
4840 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.ExternalAudioVideoDevice.CECCommand) */ {
4841 public:
SystemProfileProto_ExternalAudioVideoDevice_CECCommand()4842 inline SystemProfileProto_ExternalAudioVideoDevice_CECCommand() : SystemProfileProto_ExternalAudioVideoDevice_CECCommand(nullptr) {}
4843 ~SystemProfileProto_ExternalAudioVideoDevice_CECCommand() override;
4844 explicit PROTOBUF_CONSTEXPR SystemProfileProto_ExternalAudioVideoDevice_CECCommand(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
4845
4846 SystemProfileProto_ExternalAudioVideoDevice_CECCommand(const SystemProfileProto_ExternalAudioVideoDevice_CECCommand& from);
SystemProfileProto_ExternalAudioVideoDevice_CECCommand(SystemProfileProto_ExternalAudioVideoDevice_CECCommand && from)4847 SystemProfileProto_ExternalAudioVideoDevice_CECCommand(SystemProfileProto_ExternalAudioVideoDevice_CECCommand&& from) noexcept
4848 : SystemProfileProto_ExternalAudioVideoDevice_CECCommand() {
4849 *this = ::std::move(from);
4850 }
4851
4852 inline SystemProfileProto_ExternalAudioVideoDevice_CECCommand& operator=(const SystemProfileProto_ExternalAudioVideoDevice_CECCommand& from) {
4853 CopyFrom(from);
4854 return *this;
4855 }
4856 inline SystemProfileProto_ExternalAudioVideoDevice_CECCommand& operator=(SystemProfileProto_ExternalAudioVideoDevice_CECCommand&& from) noexcept {
4857 if (this == &from) return *this;
4858 if (GetOwningArena() == from.GetOwningArena()
4859 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
4860 && GetOwningArena() != nullptr
4861 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
4862 ) {
4863 InternalSwap(&from);
4864 } else {
4865 CopyFrom(from);
4866 }
4867 return *this;
4868 }
4869
unknown_fields()4870 inline const std::string& unknown_fields() const {
4871 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
4872 }
mutable_unknown_fields()4873 inline std::string* mutable_unknown_fields() {
4874 return _internal_metadata_.mutable_unknown_fields<std::string>();
4875 }
4876
default_instance()4877 static const SystemProfileProto_ExternalAudioVideoDevice_CECCommand& default_instance() {
4878 return *internal_default_instance();
4879 }
internal_default_instance()4880 static inline const SystemProfileProto_ExternalAudioVideoDevice_CECCommand* internal_default_instance() {
4881 return reinterpret_cast<const SystemProfileProto_ExternalAudioVideoDevice_CECCommand*>(
4882 &_SystemProfileProto_ExternalAudioVideoDevice_CECCommand_default_instance_);
4883 }
4884 static constexpr int kIndexInFileMessages =
4885 15;
4886
swap(SystemProfileProto_ExternalAudioVideoDevice_CECCommand & a,SystemProfileProto_ExternalAudioVideoDevice_CECCommand & b)4887 friend void swap(SystemProfileProto_ExternalAudioVideoDevice_CECCommand& a, SystemProfileProto_ExternalAudioVideoDevice_CECCommand& b) {
4888 a.Swap(&b);
4889 }
Swap(SystemProfileProto_ExternalAudioVideoDevice_CECCommand * other)4890 PROTOBUF_NOINLINE void Swap(SystemProfileProto_ExternalAudioVideoDevice_CECCommand* other) {
4891 if (other == this) return;
4892 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
4893 if (GetOwningArena() != nullptr &&
4894 GetOwningArena() == other->GetOwningArena()) {
4895 #else // PROTOBUF_FORCE_COPY_IN_SWAP
4896 if (GetOwningArena() == other->GetOwningArena()) {
4897 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
4898 InternalSwap(other);
4899 } else {
4900 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
4901 }
4902 }
4903 void UnsafeArenaSwap(SystemProfileProto_ExternalAudioVideoDevice_CECCommand* other) {
4904 if (other == this) return;
4905 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
4906 InternalSwap(other);
4907 }
4908
4909 // implements Message ----------------------------------------------
4910
4911 SystemProfileProto_ExternalAudioVideoDevice_CECCommand* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
4912 return CreateMaybeMessage<SystemProfileProto_ExternalAudioVideoDevice_CECCommand>(arena);
4913 }
4914 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
4915 void CopyFrom(const SystemProfileProto_ExternalAudioVideoDevice_CECCommand& from);
4916 void MergeFrom(const SystemProfileProto_ExternalAudioVideoDevice_CECCommand& from);
4917 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
4918 bool IsInitialized() const final;
4919
4920 size_t ByteSizeLong() const final;
4921 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
4922 uint8_t* _InternalSerialize(
4923 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
4924 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
4925
4926 private:
4927 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
4928 void SharedDtor();
4929 void SetCachedSize(int size) const;
4930 void InternalSwap(SystemProfileProto_ExternalAudioVideoDevice_CECCommand* other);
4931
4932 private:
4933 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
4934 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
4935 return "metrics.SystemProfileProto.ExternalAudioVideoDevice.CECCommand";
4936 }
4937 protected:
4938 explicit SystemProfileProto_ExternalAudioVideoDevice_CECCommand(::PROTOBUF_NAMESPACE_ID::Arena* arena,
4939 bool is_message_owned = false);
4940 public:
4941
4942 std::string GetTypeName() const final;
4943
4944 // nested types ----------------------------------------------------
4945
4946 // accessors -------------------------------------------------------
4947
4948 enum : int {
4949 kOpcodeFieldNumber = 1,
4950 kNumReceivedDirectFieldNumber = 2,
4951 kNumReceivedBroadcastFieldNumber = 3,
4952 kNumSentDirectFieldNumber = 4,
4953 kNumSentBroadcastFieldNumber = 5,
4954 kNumAbortedUnknownReasonFieldNumber = 6,
4955 kNumAbortedUnrecognizedFieldNumber = 7,
4956 };
4957 // optional int32 opcode = 1;
4958 bool has_opcode() const;
4959 private:
4960 bool _internal_has_opcode() const;
4961 public:
4962 void clear_opcode();
4963 int32_t opcode() const;
4964 void set_opcode(int32_t value);
4965 private:
4966 int32_t _internal_opcode() const;
4967 void _internal_set_opcode(int32_t value);
4968 public:
4969
4970 // optional int32 num_received_direct = 2;
4971 bool has_num_received_direct() const;
4972 private:
4973 bool _internal_has_num_received_direct() const;
4974 public:
4975 void clear_num_received_direct();
4976 int32_t num_received_direct() const;
4977 void set_num_received_direct(int32_t value);
4978 private:
4979 int32_t _internal_num_received_direct() const;
4980 void _internal_set_num_received_direct(int32_t value);
4981 public:
4982
4983 // optional int32 num_received_broadcast = 3;
4984 bool has_num_received_broadcast() const;
4985 private:
4986 bool _internal_has_num_received_broadcast() const;
4987 public:
4988 void clear_num_received_broadcast();
4989 int32_t num_received_broadcast() const;
4990 void set_num_received_broadcast(int32_t value);
4991 private:
4992 int32_t _internal_num_received_broadcast() const;
4993 void _internal_set_num_received_broadcast(int32_t value);
4994 public:
4995
4996 // optional int32 num_sent_direct = 4;
4997 bool has_num_sent_direct() const;
4998 private:
4999 bool _internal_has_num_sent_direct() const;
5000 public:
5001 void clear_num_sent_direct();
5002 int32_t num_sent_direct() const;
5003 void set_num_sent_direct(int32_t value);
5004 private:
5005 int32_t _internal_num_sent_direct() const;
5006 void _internal_set_num_sent_direct(int32_t value);
5007 public:
5008
5009 // optional int32 num_sent_broadcast = 5;
5010 bool has_num_sent_broadcast() const;
5011 private:
5012 bool _internal_has_num_sent_broadcast() const;
5013 public:
5014 void clear_num_sent_broadcast();
5015 int32_t num_sent_broadcast() const;
5016 void set_num_sent_broadcast(int32_t value);
5017 private:
5018 int32_t _internal_num_sent_broadcast() const;
5019 void _internal_set_num_sent_broadcast(int32_t value);
5020 public:
5021
5022 // optional int32 num_aborted_unknown_reason = 6;
5023 bool has_num_aborted_unknown_reason() const;
5024 private:
5025 bool _internal_has_num_aborted_unknown_reason() const;
5026 public:
5027 void clear_num_aborted_unknown_reason();
5028 int32_t num_aborted_unknown_reason() const;
5029 void set_num_aborted_unknown_reason(int32_t value);
5030 private:
5031 int32_t _internal_num_aborted_unknown_reason() const;
5032 void _internal_set_num_aborted_unknown_reason(int32_t value);
5033 public:
5034
5035 // optional int32 num_aborted_unrecognized = 7;
5036 bool has_num_aborted_unrecognized() const;
5037 private:
5038 bool _internal_has_num_aborted_unrecognized() const;
5039 public:
5040 void clear_num_aborted_unrecognized();
5041 int32_t num_aborted_unrecognized() const;
5042 void set_num_aborted_unrecognized(int32_t value);
5043 private:
5044 int32_t _internal_num_aborted_unrecognized() const;
5045 void _internal_set_num_aborted_unrecognized(int32_t value);
5046 public:
5047
5048 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.ExternalAudioVideoDevice.CECCommand)
5049 private:
5050 class _Internal;
5051
5052 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5053 typedef void InternalArenaConstructable_;
5054 typedef void DestructorSkippable_;
5055 struct Impl_ {
5056 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5057 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5058 int32_t opcode_;
5059 int32_t num_received_direct_;
5060 int32_t num_received_broadcast_;
5061 int32_t num_sent_direct_;
5062 int32_t num_sent_broadcast_;
5063 int32_t num_aborted_unknown_reason_;
5064 int32_t num_aborted_unrecognized_;
5065 };
5066 union { Impl_ _impl_; };
5067 friend struct ::TableStruct_system_5fprofile_2eproto;
5068 };
5069 // -------------------------------------------------------------------
5070
5071 class SystemProfileProto_ExternalAudioVideoDevice final :
5072 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.ExternalAudioVideoDevice) */ {
5073 public:
SystemProfileProto_ExternalAudioVideoDevice()5074 inline SystemProfileProto_ExternalAudioVideoDevice() : SystemProfileProto_ExternalAudioVideoDevice(nullptr) {}
5075 ~SystemProfileProto_ExternalAudioVideoDevice() override;
5076 explicit PROTOBUF_CONSTEXPR SystemProfileProto_ExternalAudioVideoDevice(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5077
5078 SystemProfileProto_ExternalAudioVideoDevice(const SystemProfileProto_ExternalAudioVideoDevice& from);
SystemProfileProto_ExternalAudioVideoDevice(SystemProfileProto_ExternalAudioVideoDevice && from)5079 SystemProfileProto_ExternalAudioVideoDevice(SystemProfileProto_ExternalAudioVideoDevice&& from) noexcept
5080 : SystemProfileProto_ExternalAudioVideoDevice() {
5081 *this = ::std::move(from);
5082 }
5083
5084 inline SystemProfileProto_ExternalAudioVideoDevice& operator=(const SystemProfileProto_ExternalAudioVideoDevice& from) {
5085 CopyFrom(from);
5086 return *this;
5087 }
5088 inline SystemProfileProto_ExternalAudioVideoDevice& operator=(SystemProfileProto_ExternalAudioVideoDevice&& from) noexcept {
5089 if (this == &from) return *this;
5090 if (GetOwningArena() == from.GetOwningArena()
5091 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5092 && GetOwningArena() != nullptr
5093 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
5094 ) {
5095 InternalSwap(&from);
5096 } else {
5097 CopyFrom(from);
5098 }
5099 return *this;
5100 }
5101
unknown_fields()5102 inline const std::string& unknown_fields() const {
5103 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
5104 }
mutable_unknown_fields()5105 inline std::string* mutable_unknown_fields() {
5106 return _internal_metadata_.mutable_unknown_fields<std::string>();
5107 }
5108
default_instance()5109 static const SystemProfileProto_ExternalAudioVideoDevice& default_instance() {
5110 return *internal_default_instance();
5111 }
internal_default_instance()5112 static inline const SystemProfileProto_ExternalAudioVideoDevice* internal_default_instance() {
5113 return reinterpret_cast<const SystemProfileProto_ExternalAudioVideoDevice*>(
5114 &_SystemProfileProto_ExternalAudioVideoDevice_default_instance_);
5115 }
5116 static constexpr int kIndexInFileMessages =
5117 16;
5118
swap(SystemProfileProto_ExternalAudioVideoDevice & a,SystemProfileProto_ExternalAudioVideoDevice & b)5119 friend void swap(SystemProfileProto_ExternalAudioVideoDevice& a, SystemProfileProto_ExternalAudioVideoDevice& b) {
5120 a.Swap(&b);
5121 }
Swap(SystemProfileProto_ExternalAudioVideoDevice * other)5122 PROTOBUF_NOINLINE void Swap(SystemProfileProto_ExternalAudioVideoDevice* other) {
5123 if (other == this) return;
5124 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5125 if (GetOwningArena() != nullptr &&
5126 GetOwningArena() == other->GetOwningArena()) {
5127 #else // PROTOBUF_FORCE_COPY_IN_SWAP
5128 if (GetOwningArena() == other->GetOwningArena()) {
5129 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
5130 InternalSwap(other);
5131 } else {
5132 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5133 }
5134 }
5135 void UnsafeArenaSwap(SystemProfileProto_ExternalAudioVideoDevice* other) {
5136 if (other == this) return;
5137 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5138 InternalSwap(other);
5139 }
5140
5141 // implements Message ----------------------------------------------
5142
5143 SystemProfileProto_ExternalAudioVideoDevice* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
5144 return CreateMaybeMessage<SystemProfileProto_ExternalAudioVideoDevice>(arena);
5145 }
5146 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
5147 void CopyFrom(const SystemProfileProto_ExternalAudioVideoDevice& from);
5148 void MergeFrom(const SystemProfileProto_ExternalAudioVideoDevice& from);
5149 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5150 bool IsInitialized() const final;
5151
5152 size_t ByteSizeLong() const final;
5153 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5154 uint8_t* _InternalSerialize(
5155 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5156 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5157
5158 private:
5159 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5160 void SharedDtor();
5161 void SetCachedSize(int size) const;
5162 void InternalSwap(SystemProfileProto_ExternalAudioVideoDevice* other);
5163
5164 private:
5165 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5166 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5167 return "metrics.SystemProfileProto.ExternalAudioVideoDevice";
5168 }
5169 protected:
5170 explicit SystemProfileProto_ExternalAudioVideoDevice(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5171 bool is_message_owned = false);
5172 public:
5173
5174 std::string GetTypeName() const final;
5175
5176 // nested types ----------------------------------------------------
5177
5178 typedef SystemProfileProto_ExternalAudioVideoDevice_AudioDescription AudioDescription;
5179 typedef SystemProfileProto_ExternalAudioVideoDevice_CECCommand CECCommand;
5180
5181 typedef SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType AVDeviceType;
5182 static constexpr AVDeviceType AV_DEVICE_TYPE_UNKNOWN =
5183 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_UNKNOWN;
5184 static constexpr AVDeviceType AV_DEVICE_TYPE_TV =
5185 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_TV;
5186 static constexpr AVDeviceType AV_DEVICE_TYPE_RECORDER =
5187 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_RECORDER;
5188 static constexpr AVDeviceType AV_DEVICE_TYPE_TUNER =
5189 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_TUNER;
5190 static constexpr AVDeviceType AV_DEVICE_TYPE_PLAYER =
5191 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_PLAYER;
5192 static constexpr AVDeviceType AV_DEVICE_TYPE_AUDIO_SYSTEM =
5193 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AV_DEVICE_TYPE_AUDIO_SYSTEM;
5194 static inline bool AVDeviceType_IsValid(int value) {
5195 return SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_IsValid(value);
5196 }
5197 static constexpr AVDeviceType AVDeviceType_MIN =
5198 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AVDeviceType_MIN;
5199 static constexpr AVDeviceType AVDeviceType_MAX =
5200 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AVDeviceType_MAX;
5201 static constexpr int AVDeviceType_ARRAYSIZE =
5202 SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_AVDeviceType_ARRAYSIZE;
5203 template<typename T>
5204 static inline const std::string& AVDeviceType_Name(T enum_t_value) {
5205 static_assert(::std::is_same<T, AVDeviceType>::value ||
5206 ::std::is_integral<T>::value,
5207 "Incorrect type passed to function AVDeviceType_Name.");
5208 return SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_Name(enum_t_value);
5209 }
5210 static inline bool AVDeviceType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
5211 AVDeviceType* value) {
5212 return SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType_Parse(name, value);
5213 }
5214
5215 typedef SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding ColorEncoding;
5216 static constexpr ColorEncoding COLOR_ENCODING_UNKNOWN =
5217 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_UNKNOWN;
5218 static constexpr ColorEncoding COLOR_ENCODING_RGB =
5219 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_RGB;
5220 static constexpr ColorEncoding COLOR_ENCODING_YUV444 =
5221 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_YUV444;
5222 static constexpr ColorEncoding COLOR_ENCODING_YUV422 =
5223 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_YUV422;
5224 static constexpr ColorEncoding COLOR_ENCODING_YUV420 =
5225 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_COLOR_ENCODING_YUV420;
5226 static inline bool ColorEncoding_IsValid(int value) {
5227 return SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_IsValid(value);
5228 }
5229 static constexpr ColorEncoding ColorEncoding_MIN =
5230 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_ColorEncoding_MIN;
5231 static constexpr ColorEncoding ColorEncoding_MAX =
5232 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_ColorEncoding_MAX;
5233 static constexpr int ColorEncoding_ARRAYSIZE =
5234 SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_ColorEncoding_ARRAYSIZE;
5235 template<typename T>
5236 static inline const std::string& ColorEncoding_Name(T enum_t_value) {
5237 static_assert(::std::is_same<T, ColorEncoding>::value ||
5238 ::std::is_integral<T>::value,
5239 "Incorrect type passed to function ColorEncoding_Name.");
5240 return SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_Name(enum_t_value);
5241 }
5242 static inline bool ColorEncoding_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
5243 ColorEncoding* value) {
5244 return SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding_Parse(name, value);
5245 }
5246
5247 // accessors -------------------------------------------------------
5248
5249 enum : int {
5250 kAvDeviceTypeFieldNumber = 4,
5251 kAudioDescriptionFieldNumber = 9,
5252 kCecCommandFieldNumber = 13,
5253 kManufacturerNameFieldNumber = 1,
5254 kModelNameFieldNumber = 2,
5255 kProductCodeFieldNumber = 3,
5256 kManufactureYearFieldNumber = 5,
5257 kManufactureWeekFieldNumber = 6,
5258 kHorizontalResolutionFieldNumber = 7,
5259 kVerticalResolutionFieldNumber = 8,
5260 kPositionInSetupFieldNumber = 10,
5261 kCecVersionFieldNumber = 12,
5262 kFrameRateFieldNumber = 14,
5263 kColorEncodingFieldNumber = 15,
5264 kBitDepthFieldNumber = 16,
5265 kTmdsFieldNumber = 17,
5266 kIsInPathToTvFieldNumber = 11,
5267 kHdr10SupportFieldNumber = 18,
5268 kDolbyVisionSupportFieldNumber = 19,
5269 kYuvSupportFieldNumber = 21,
5270 kEotfSupportFieldNumber = 20,
5271 kYuv420SupportFieldNumber = 22,
5272 kMaximumSupportedHdcpVersionFieldNumber = 23,
5273 kCurrentHdcpVersionFieldNumber = 24,
5274 };
5275 // repeated .metrics.SystemProfileProto.ExternalAudioVideoDevice.AVDeviceType av_device_type = 4;
5276 int av_device_type_size() const;
5277 private:
5278 int _internal_av_device_type_size() const;
5279 public:
5280 void clear_av_device_type();
5281 private:
5282 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType _internal_av_device_type(int index) const;
5283 void _internal_add_av_device_type(::metrics::SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType value);
5284 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_av_device_type();
5285 public:
5286 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType av_device_type(int index) const;
5287 void set_av_device_type(int index, ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType value);
5288 void add_av_device_type(::metrics::SystemProfileProto_ExternalAudioVideoDevice_AVDeviceType value);
5289 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& av_device_type() const;
5290 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_av_device_type();
5291
5292 // repeated .metrics.SystemProfileProto.ExternalAudioVideoDevice.AudioDescription audio_description = 9;
5293 int audio_description_size() const;
5294 private:
5295 int _internal_audio_description_size() const;
5296 public:
5297 void clear_audio_description();
5298 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription* mutable_audio_description(int index);
5299 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription >*
5300 mutable_audio_description();
5301 private:
5302 const ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription& _internal_audio_description(int index) const;
5303 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription* _internal_add_audio_description();
5304 public:
5305 const ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription& audio_description(int index) const;
5306 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription* add_audio_description();
5307 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription >&
5308 audio_description() const;
5309
5310 // repeated .metrics.SystemProfileProto.ExternalAudioVideoDevice.CECCommand cec_command = 13;
5311 int cec_command_size() const;
5312 private:
5313 int _internal_cec_command_size() const;
5314 public:
5315 void clear_cec_command();
5316 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_CECCommand* mutable_cec_command(int index);
5317 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ExternalAudioVideoDevice_CECCommand >*
5318 mutable_cec_command();
5319 private:
5320 const ::metrics::SystemProfileProto_ExternalAudioVideoDevice_CECCommand& _internal_cec_command(int index) const;
5321 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_CECCommand* _internal_add_cec_command();
5322 public:
5323 const ::metrics::SystemProfileProto_ExternalAudioVideoDevice_CECCommand& cec_command(int index) const;
5324 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_CECCommand* add_cec_command();
5325 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ExternalAudioVideoDevice_CECCommand >&
5326 cec_command() const;
5327
5328 // optional string manufacturer_name = 1;
5329 bool has_manufacturer_name() const;
5330 private:
5331 bool _internal_has_manufacturer_name() const;
5332 public:
5333 void clear_manufacturer_name();
5334 const std::string& manufacturer_name() const;
5335 template <typename ArgT0 = const std::string&, typename... ArgT>
5336 void set_manufacturer_name(ArgT0&& arg0, ArgT... args);
5337 std::string* mutable_manufacturer_name();
5338 PROTOBUF_NODISCARD std::string* release_manufacturer_name();
5339 void set_allocated_manufacturer_name(std::string* manufacturer_name);
5340 private:
5341 const std::string& _internal_manufacturer_name() const;
5342 inline PROTOBUF_ALWAYS_INLINE void _internal_set_manufacturer_name(const std::string& value);
5343 std::string* _internal_mutable_manufacturer_name();
5344 public:
5345
5346 // optional string model_name = 2;
5347 bool has_model_name() const;
5348 private:
5349 bool _internal_has_model_name() const;
5350 public:
5351 void clear_model_name();
5352 const std::string& model_name() const;
5353 template <typename ArgT0 = const std::string&, typename... ArgT>
5354 void set_model_name(ArgT0&& arg0, ArgT... args);
5355 std::string* mutable_model_name();
5356 PROTOBUF_NODISCARD std::string* release_model_name();
5357 void set_allocated_model_name(std::string* model_name);
5358 private:
5359 const std::string& _internal_model_name() const;
5360 inline PROTOBUF_ALWAYS_INLINE void _internal_set_model_name(const std::string& value);
5361 std::string* _internal_mutable_model_name();
5362 public:
5363
5364 // optional string product_code = 3;
5365 bool has_product_code() const;
5366 private:
5367 bool _internal_has_product_code() const;
5368 public:
5369 void clear_product_code();
5370 const std::string& product_code() const;
5371 template <typename ArgT0 = const std::string&, typename... ArgT>
5372 void set_product_code(ArgT0&& arg0, ArgT... args);
5373 std::string* mutable_product_code();
5374 PROTOBUF_NODISCARD std::string* release_product_code();
5375 void set_allocated_product_code(std::string* product_code);
5376 private:
5377 const std::string& _internal_product_code() const;
5378 inline PROTOBUF_ALWAYS_INLINE void _internal_set_product_code(const std::string& value);
5379 std::string* _internal_mutable_product_code();
5380 public:
5381
5382 // optional int32 manufacture_year = 5;
5383 bool has_manufacture_year() const;
5384 private:
5385 bool _internal_has_manufacture_year() const;
5386 public:
5387 void clear_manufacture_year();
5388 int32_t manufacture_year() const;
5389 void set_manufacture_year(int32_t value);
5390 private:
5391 int32_t _internal_manufacture_year() const;
5392 void _internal_set_manufacture_year(int32_t value);
5393 public:
5394
5395 // optional int32 manufacture_week = 6;
5396 bool has_manufacture_week() const;
5397 private:
5398 bool _internal_has_manufacture_week() const;
5399 public:
5400 void clear_manufacture_week();
5401 int32_t manufacture_week() const;
5402 void set_manufacture_week(int32_t value);
5403 private:
5404 int32_t _internal_manufacture_week() const;
5405 void _internal_set_manufacture_week(int32_t value);
5406 public:
5407
5408 // optional int32 horizontal_resolution = 7;
5409 bool has_horizontal_resolution() const;
5410 private:
5411 bool _internal_has_horizontal_resolution() const;
5412 public:
5413 void clear_horizontal_resolution();
5414 int32_t horizontal_resolution() const;
5415 void set_horizontal_resolution(int32_t value);
5416 private:
5417 int32_t _internal_horizontal_resolution() const;
5418 void _internal_set_horizontal_resolution(int32_t value);
5419 public:
5420
5421 // optional int32 vertical_resolution = 8;
5422 bool has_vertical_resolution() const;
5423 private:
5424 bool _internal_has_vertical_resolution() const;
5425 public:
5426 void clear_vertical_resolution();
5427 int32_t vertical_resolution() const;
5428 void set_vertical_resolution(int32_t value);
5429 private:
5430 int32_t _internal_vertical_resolution() const;
5431 void _internal_set_vertical_resolution(int32_t value);
5432 public:
5433
5434 // optional int32 position_in_setup = 10;
5435 bool has_position_in_setup() const;
5436 private:
5437 bool _internal_has_position_in_setup() const;
5438 public:
5439 void clear_position_in_setup();
5440 int32_t position_in_setup() const;
5441 void set_position_in_setup(int32_t value);
5442 private:
5443 int32_t _internal_position_in_setup() const;
5444 void _internal_set_position_in_setup(int32_t value);
5445 public:
5446
5447 // optional int32 cec_version = 12;
5448 bool has_cec_version() const;
5449 private:
5450 bool _internal_has_cec_version() const;
5451 public:
5452 void clear_cec_version();
5453 int32_t cec_version() const;
5454 void set_cec_version(int32_t value);
5455 private:
5456 int32_t _internal_cec_version() const;
5457 void _internal_set_cec_version(int32_t value);
5458 public:
5459
5460 // optional int32 frame_rate = 14;
5461 bool has_frame_rate() const;
5462 private:
5463 bool _internal_has_frame_rate() const;
5464 public:
5465 void clear_frame_rate();
5466 int32_t frame_rate() const;
5467 void set_frame_rate(int32_t value);
5468 private:
5469 int32_t _internal_frame_rate() const;
5470 void _internal_set_frame_rate(int32_t value);
5471 public:
5472
5473 // optional .metrics.SystemProfileProto.ExternalAudioVideoDevice.ColorEncoding color_encoding = 15;
5474 bool has_color_encoding() const;
5475 private:
5476 bool _internal_has_color_encoding() const;
5477 public:
5478 void clear_color_encoding();
5479 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding color_encoding() const;
5480 void set_color_encoding(::metrics::SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding value);
5481 private:
5482 ::metrics::SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding _internal_color_encoding() const;
5483 void _internal_set_color_encoding(::metrics::SystemProfileProto_ExternalAudioVideoDevice_ColorEncoding value);
5484 public:
5485
5486 // optional int32 bit_depth = 16;
5487 bool has_bit_depth() const;
5488 private:
5489 bool _internal_has_bit_depth() const;
5490 public:
5491 void clear_bit_depth();
5492 int32_t bit_depth() const;
5493 void set_bit_depth(int32_t value);
5494 private:
5495 int32_t _internal_bit_depth() const;
5496 void _internal_set_bit_depth(int32_t value);
5497 public:
5498
5499 // optional int32 tmds = 17;
5500 bool has_tmds() const;
5501 private:
5502 bool _internal_has_tmds() const;
5503 public:
5504 void clear_tmds();
5505 int32_t tmds() const;
5506 void set_tmds(int32_t value);
5507 private:
5508 int32_t _internal_tmds() const;
5509 void _internal_set_tmds(int32_t value);
5510 public:
5511
5512 // optional bool is_in_path_to_tv = 11;
5513 bool has_is_in_path_to_tv() const;
5514 private:
5515 bool _internal_has_is_in_path_to_tv() const;
5516 public:
5517 void clear_is_in_path_to_tv();
5518 bool is_in_path_to_tv() const;
5519 void set_is_in_path_to_tv(bool value);
5520 private:
5521 bool _internal_is_in_path_to_tv() const;
5522 void _internal_set_is_in_path_to_tv(bool value);
5523 public:
5524
5525 // optional bool hdr10_support = 18;
5526 bool has_hdr10_support() const;
5527 private:
5528 bool _internal_has_hdr10_support() const;
5529 public:
5530 void clear_hdr10_support();
5531 bool hdr10_support() const;
5532 void set_hdr10_support(bool value);
5533 private:
5534 bool _internal_hdr10_support() const;
5535 void _internal_set_hdr10_support(bool value);
5536 public:
5537
5538 // optional bool dolby_vision_support = 19;
5539 bool has_dolby_vision_support() const;
5540 private:
5541 bool _internal_has_dolby_vision_support() const;
5542 public:
5543 void clear_dolby_vision_support();
5544 bool dolby_vision_support() const;
5545 void set_dolby_vision_support(bool value);
5546 private:
5547 bool _internal_dolby_vision_support() const;
5548 void _internal_set_dolby_vision_support(bool value);
5549 public:
5550
5551 // optional bool yuv_support = 21;
5552 bool has_yuv_support() const;
5553 private:
5554 bool _internal_has_yuv_support() const;
5555 public:
5556 void clear_yuv_support();
5557 bool yuv_support() const;
5558 void set_yuv_support(bool value);
5559 private:
5560 bool _internal_yuv_support() const;
5561 void _internal_set_yuv_support(bool value);
5562 public:
5563
5564 // optional int32 eotf_support = 20;
5565 bool has_eotf_support() const;
5566 private:
5567 bool _internal_has_eotf_support() const;
5568 public:
5569 void clear_eotf_support();
5570 int32_t eotf_support() const;
5571 void set_eotf_support(int32_t value);
5572 private:
5573 int32_t _internal_eotf_support() const;
5574 void _internal_set_eotf_support(int32_t value);
5575 public:
5576
5577 // optional bool yuv_420_support = 22;
5578 bool has_yuv_420_support() const;
5579 private:
5580 bool _internal_has_yuv_420_support() const;
5581 public:
5582 void clear_yuv_420_support();
5583 bool yuv_420_support() const;
5584 void set_yuv_420_support(bool value);
5585 private:
5586 bool _internal_yuv_420_support() const;
5587 void _internal_set_yuv_420_support(bool value);
5588 public:
5589
5590 // optional int32 maximum_supported_hdcp_version = 23;
5591 bool has_maximum_supported_hdcp_version() const;
5592 private:
5593 bool _internal_has_maximum_supported_hdcp_version() const;
5594 public:
5595 void clear_maximum_supported_hdcp_version();
5596 int32_t maximum_supported_hdcp_version() const;
5597 void set_maximum_supported_hdcp_version(int32_t value);
5598 private:
5599 int32_t _internal_maximum_supported_hdcp_version() const;
5600 void _internal_set_maximum_supported_hdcp_version(int32_t value);
5601 public:
5602
5603 // optional int32 current_hdcp_version = 24;
5604 bool has_current_hdcp_version() const;
5605 private:
5606 bool _internal_has_current_hdcp_version() const;
5607 public:
5608 void clear_current_hdcp_version();
5609 int32_t current_hdcp_version() const;
5610 void set_current_hdcp_version(int32_t value);
5611 private:
5612 int32_t _internal_current_hdcp_version() const;
5613 void _internal_set_current_hdcp_version(int32_t value);
5614 public:
5615
5616 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.ExternalAudioVideoDevice)
5617 private:
5618 class _Internal;
5619
5620 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5621 typedef void InternalArenaConstructable_;
5622 typedef void DestructorSkippable_;
5623 struct Impl_ {
5624 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5625 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5626 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> av_device_type_;
5627 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ExternalAudioVideoDevice_AudioDescription > audio_description_;
5628 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ExternalAudioVideoDevice_CECCommand > cec_command_;
5629 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr manufacturer_name_;
5630 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_name_;
5631 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr product_code_;
5632 int32_t manufacture_year_;
5633 int32_t manufacture_week_;
5634 int32_t horizontal_resolution_;
5635 int32_t vertical_resolution_;
5636 int32_t position_in_setup_;
5637 int32_t cec_version_;
5638 int32_t frame_rate_;
5639 int color_encoding_;
5640 int32_t bit_depth_;
5641 int32_t tmds_;
5642 bool is_in_path_to_tv_;
5643 bool hdr10_support_;
5644 bool dolby_vision_support_;
5645 bool yuv_support_;
5646 int32_t eotf_support_;
5647 bool yuv_420_support_;
5648 int32_t maximum_supported_hdcp_version_;
5649 int32_t current_hdcp_version_;
5650 };
5651 union { Impl_ _impl_; };
5652 friend struct ::TableStruct_system_5fprofile_2eproto;
5653 };
5654 // -------------------------------------------------------------------
5655
5656 class SystemProfileProto_ExternalAccessPoint final :
5657 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.ExternalAccessPoint) */ {
5658 public:
SystemProfileProto_ExternalAccessPoint()5659 inline SystemProfileProto_ExternalAccessPoint() : SystemProfileProto_ExternalAccessPoint(nullptr) {}
5660 ~SystemProfileProto_ExternalAccessPoint() override;
5661 explicit PROTOBUF_CONSTEXPR SystemProfileProto_ExternalAccessPoint(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5662
5663 SystemProfileProto_ExternalAccessPoint(const SystemProfileProto_ExternalAccessPoint& from);
SystemProfileProto_ExternalAccessPoint(SystemProfileProto_ExternalAccessPoint && from)5664 SystemProfileProto_ExternalAccessPoint(SystemProfileProto_ExternalAccessPoint&& from) noexcept
5665 : SystemProfileProto_ExternalAccessPoint() {
5666 *this = ::std::move(from);
5667 }
5668
5669 inline SystemProfileProto_ExternalAccessPoint& operator=(const SystemProfileProto_ExternalAccessPoint& from) {
5670 CopyFrom(from);
5671 return *this;
5672 }
5673 inline SystemProfileProto_ExternalAccessPoint& operator=(SystemProfileProto_ExternalAccessPoint&& from) noexcept {
5674 if (this == &from) return *this;
5675 if (GetOwningArena() == from.GetOwningArena()
5676 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5677 && GetOwningArena() != nullptr
5678 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
5679 ) {
5680 InternalSwap(&from);
5681 } else {
5682 CopyFrom(from);
5683 }
5684 return *this;
5685 }
5686
unknown_fields()5687 inline const std::string& unknown_fields() const {
5688 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
5689 }
mutable_unknown_fields()5690 inline std::string* mutable_unknown_fields() {
5691 return _internal_metadata_.mutable_unknown_fields<std::string>();
5692 }
5693
default_instance()5694 static const SystemProfileProto_ExternalAccessPoint& default_instance() {
5695 return *internal_default_instance();
5696 }
internal_default_instance()5697 static inline const SystemProfileProto_ExternalAccessPoint* internal_default_instance() {
5698 return reinterpret_cast<const SystemProfileProto_ExternalAccessPoint*>(
5699 &_SystemProfileProto_ExternalAccessPoint_default_instance_);
5700 }
5701 static constexpr int kIndexInFileMessages =
5702 17;
5703
swap(SystemProfileProto_ExternalAccessPoint & a,SystemProfileProto_ExternalAccessPoint & b)5704 friend void swap(SystemProfileProto_ExternalAccessPoint& a, SystemProfileProto_ExternalAccessPoint& b) {
5705 a.Swap(&b);
5706 }
Swap(SystemProfileProto_ExternalAccessPoint * other)5707 PROTOBUF_NOINLINE void Swap(SystemProfileProto_ExternalAccessPoint* other) {
5708 if (other == this) return;
5709 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5710 if (GetOwningArena() != nullptr &&
5711 GetOwningArena() == other->GetOwningArena()) {
5712 #else // PROTOBUF_FORCE_COPY_IN_SWAP
5713 if (GetOwningArena() == other->GetOwningArena()) {
5714 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
5715 InternalSwap(other);
5716 } else {
5717 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5718 }
5719 }
5720 void UnsafeArenaSwap(SystemProfileProto_ExternalAccessPoint* other) {
5721 if (other == this) return;
5722 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5723 InternalSwap(other);
5724 }
5725
5726 // implements Message ----------------------------------------------
5727
5728 SystemProfileProto_ExternalAccessPoint* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
5729 return CreateMaybeMessage<SystemProfileProto_ExternalAccessPoint>(arena);
5730 }
5731 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
5732 void CopyFrom(const SystemProfileProto_ExternalAccessPoint& from);
5733 void MergeFrom(const SystemProfileProto_ExternalAccessPoint& from);
5734 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5735 bool IsInitialized() const final;
5736
5737 size_t ByteSizeLong() const final;
5738 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5739 uint8_t* _InternalSerialize(
5740 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5741 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5742
5743 private:
5744 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5745 void SharedDtor();
5746 void SetCachedSize(int size) const;
5747 void InternalSwap(SystemProfileProto_ExternalAccessPoint* other);
5748
5749 private:
5750 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5751 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5752 return "metrics.SystemProfileProto.ExternalAccessPoint";
5753 }
5754 protected:
5755 explicit SystemProfileProto_ExternalAccessPoint(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5756 bool is_message_owned = false);
5757 public:
5758
5759 std::string GetTypeName() const final;
5760
5761 // nested types ----------------------------------------------------
5762
5763 // accessors -------------------------------------------------------
5764
5765 enum : int {
5766 kManufacturerFieldNumber = 1,
5767 kModelNameFieldNumber = 2,
5768 kModelNumberFieldNumber = 3,
5769 kDeviceNameFieldNumber = 4,
5770 };
5771 // optional string manufacturer = 1;
5772 bool has_manufacturer() const;
5773 private:
5774 bool _internal_has_manufacturer() const;
5775 public:
5776 void clear_manufacturer();
5777 const std::string& manufacturer() const;
5778 template <typename ArgT0 = const std::string&, typename... ArgT>
5779 void set_manufacturer(ArgT0&& arg0, ArgT... args);
5780 std::string* mutable_manufacturer();
5781 PROTOBUF_NODISCARD std::string* release_manufacturer();
5782 void set_allocated_manufacturer(std::string* manufacturer);
5783 private:
5784 const std::string& _internal_manufacturer() const;
5785 inline PROTOBUF_ALWAYS_INLINE void _internal_set_manufacturer(const std::string& value);
5786 std::string* _internal_mutable_manufacturer();
5787 public:
5788
5789 // optional string model_name = 2;
5790 bool has_model_name() const;
5791 private:
5792 bool _internal_has_model_name() const;
5793 public:
5794 void clear_model_name();
5795 const std::string& model_name() const;
5796 template <typename ArgT0 = const std::string&, typename... ArgT>
5797 void set_model_name(ArgT0&& arg0, ArgT... args);
5798 std::string* mutable_model_name();
5799 PROTOBUF_NODISCARD std::string* release_model_name();
5800 void set_allocated_model_name(std::string* model_name);
5801 private:
5802 const std::string& _internal_model_name() const;
5803 inline PROTOBUF_ALWAYS_INLINE void _internal_set_model_name(const std::string& value);
5804 std::string* _internal_mutable_model_name();
5805 public:
5806
5807 // optional string model_number = 3;
5808 bool has_model_number() const;
5809 private:
5810 bool _internal_has_model_number() const;
5811 public:
5812 void clear_model_number();
5813 const std::string& model_number() const;
5814 template <typename ArgT0 = const std::string&, typename... ArgT>
5815 void set_model_number(ArgT0&& arg0, ArgT... args);
5816 std::string* mutable_model_number();
5817 PROTOBUF_NODISCARD std::string* release_model_number();
5818 void set_allocated_model_number(std::string* model_number);
5819 private:
5820 const std::string& _internal_model_number() const;
5821 inline PROTOBUF_ALWAYS_INLINE void _internal_set_model_number(const std::string& value);
5822 std::string* _internal_mutable_model_number();
5823 public:
5824
5825 // optional string device_name = 4;
5826 bool has_device_name() const;
5827 private:
5828 bool _internal_has_device_name() const;
5829 public:
5830 void clear_device_name();
5831 const std::string& device_name() const;
5832 template <typename ArgT0 = const std::string&, typename... ArgT>
5833 void set_device_name(ArgT0&& arg0, ArgT... args);
5834 std::string* mutable_device_name();
5835 PROTOBUF_NODISCARD std::string* release_device_name();
5836 void set_allocated_device_name(std::string* device_name);
5837 private:
5838 const std::string& _internal_device_name() const;
5839 inline PROTOBUF_ALWAYS_INLINE void _internal_set_device_name(const std::string& value);
5840 std::string* _internal_mutable_device_name();
5841 public:
5842
5843 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.ExternalAccessPoint)
5844 private:
5845 class _Internal;
5846
5847 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
5848 typedef void InternalArenaConstructable_;
5849 typedef void DestructorSkippable_;
5850 struct Impl_ {
5851 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
5852 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
5853 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr manufacturer_;
5854 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_name_;
5855 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr model_number_;
5856 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_name_;
5857 };
5858 union { Impl_ _impl_; };
5859 friend struct ::TableStruct_system_5fprofile_2eproto;
5860 };
5861 // -------------------------------------------------------------------
5862
5863 class SystemProfileProto_AntiVirusProduct final :
5864 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.AntiVirusProduct) */ {
5865 public:
SystemProfileProto_AntiVirusProduct()5866 inline SystemProfileProto_AntiVirusProduct() : SystemProfileProto_AntiVirusProduct(nullptr) {}
5867 ~SystemProfileProto_AntiVirusProduct() override;
5868 explicit PROTOBUF_CONSTEXPR SystemProfileProto_AntiVirusProduct(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
5869
5870 SystemProfileProto_AntiVirusProduct(const SystemProfileProto_AntiVirusProduct& from);
SystemProfileProto_AntiVirusProduct(SystemProfileProto_AntiVirusProduct && from)5871 SystemProfileProto_AntiVirusProduct(SystemProfileProto_AntiVirusProduct&& from) noexcept
5872 : SystemProfileProto_AntiVirusProduct() {
5873 *this = ::std::move(from);
5874 }
5875
5876 inline SystemProfileProto_AntiVirusProduct& operator=(const SystemProfileProto_AntiVirusProduct& from) {
5877 CopyFrom(from);
5878 return *this;
5879 }
5880 inline SystemProfileProto_AntiVirusProduct& operator=(SystemProfileProto_AntiVirusProduct&& from) noexcept {
5881 if (this == &from) return *this;
5882 if (GetOwningArena() == from.GetOwningArena()
5883 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
5884 && GetOwningArena() != nullptr
5885 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
5886 ) {
5887 InternalSwap(&from);
5888 } else {
5889 CopyFrom(from);
5890 }
5891 return *this;
5892 }
5893
unknown_fields()5894 inline const std::string& unknown_fields() const {
5895 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
5896 }
mutable_unknown_fields()5897 inline std::string* mutable_unknown_fields() {
5898 return _internal_metadata_.mutable_unknown_fields<std::string>();
5899 }
5900
default_instance()5901 static const SystemProfileProto_AntiVirusProduct& default_instance() {
5902 return *internal_default_instance();
5903 }
internal_default_instance()5904 static inline const SystemProfileProto_AntiVirusProduct* internal_default_instance() {
5905 return reinterpret_cast<const SystemProfileProto_AntiVirusProduct*>(
5906 &_SystemProfileProto_AntiVirusProduct_default_instance_);
5907 }
5908 static constexpr int kIndexInFileMessages =
5909 18;
5910
swap(SystemProfileProto_AntiVirusProduct & a,SystemProfileProto_AntiVirusProduct & b)5911 friend void swap(SystemProfileProto_AntiVirusProduct& a, SystemProfileProto_AntiVirusProduct& b) {
5912 a.Swap(&b);
5913 }
Swap(SystemProfileProto_AntiVirusProduct * other)5914 PROTOBUF_NOINLINE void Swap(SystemProfileProto_AntiVirusProduct* other) {
5915 if (other == this) return;
5916 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
5917 if (GetOwningArena() != nullptr &&
5918 GetOwningArena() == other->GetOwningArena()) {
5919 #else // PROTOBUF_FORCE_COPY_IN_SWAP
5920 if (GetOwningArena() == other->GetOwningArena()) {
5921 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
5922 InternalSwap(other);
5923 } else {
5924 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
5925 }
5926 }
5927 void UnsafeArenaSwap(SystemProfileProto_AntiVirusProduct* other) {
5928 if (other == this) return;
5929 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
5930 InternalSwap(other);
5931 }
5932
5933 // implements Message ----------------------------------------------
5934
5935 SystemProfileProto_AntiVirusProduct* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
5936 return CreateMaybeMessage<SystemProfileProto_AntiVirusProduct>(arena);
5937 }
5938 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
5939 void CopyFrom(const SystemProfileProto_AntiVirusProduct& from);
5940 void MergeFrom(const SystemProfileProto_AntiVirusProduct& from);
5941 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
5942 bool IsInitialized() const final;
5943
5944 size_t ByteSizeLong() const final;
5945 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
5946 uint8_t* _InternalSerialize(
5947 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
5948 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
5949
5950 private:
5951 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
5952 void SharedDtor();
5953 void SetCachedSize(int size) const;
5954 void InternalSwap(SystemProfileProto_AntiVirusProduct* other);
5955
5956 private:
5957 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
5958 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
5959 return "metrics.SystemProfileProto.AntiVirusProduct";
5960 }
5961 protected:
5962 explicit SystemProfileProto_AntiVirusProduct(::PROTOBUF_NAMESPACE_ID::Arena* arena,
5963 bool is_message_owned = false);
5964 public:
5965
5966 std::string GetTypeName() const final;
5967
5968 // nested types ----------------------------------------------------
5969
5970 // accessors -------------------------------------------------------
5971
5972 enum : int {
5973 kProductNameFieldNumber = 1,
5974 kProductVersionFieldNumber = 3,
5975 kProductNameHashFieldNumber = 2,
5976 kProductVersionHashFieldNumber = 4,
5977 kProductStateFieldNumber = 5,
5978 };
5979 // optional string product_name = 1;
5980 bool has_product_name() const;
5981 private:
5982 bool _internal_has_product_name() const;
5983 public:
5984 void clear_product_name();
5985 const std::string& product_name() const;
5986 template <typename ArgT0 = const std::string&, typename... ArgT>
5987 void set_product_name(ArgT0&& arg0, ArgT... args);
5988 std::string* mutable_product_name();
5989 PROTOBUF_NODISCARD std::string* release_product_name();
5990 void set_allocated_product_name(std::string* product_name);
5991 private:
5992 const std::string& _internal_product_name() const;
5993 inline PROTOBUF_ALWAYS_INLINE void _internal_set_product_name(const std::string& value);
5994 std::string* _internal_mutable_product_name();
5995 public:
5996
5997 // optional string product_version = 3;
5998 bool has_product_version() const;
5999 private:
6000 bool _internal_has_product_version() const;
6001 public:
6002 void clear_product_version();
6003 const std::string& product_version() const;
6004 template <typename ArgT0 = const std::string&, typename... ArgT>
6005 void set_product_version(ArgT0&& arg0, ArgT... args);
6006 std::string* mutable_product_version();
6007 PROTOBUF_NODISCARD std::string* release_product_version();
6008 void set_allocated_product_version(std::string* product_version);
6009 private:
6010 const std::string& _internal_product_version() const;
6011 inline PROTOBUF_ALWAYS_INLINE void _internal_set_product_version(const std::string& value);
6012 std::string* _internal_mutable_product_version();
6013 public:
6014
6015 // optional fixed32 product_name_hash = 2;
6016 bool has_product_name_hash() const;
6017 private:
6018 bool _internal_has_product_name_hash() const;
6019 public:
6020 void clear_product_name_hash();
6021 uint32_t product_name_hash() const;
6022 void set_product_name_hash(uint32_t value);
6023 private:
6024 uint32_t _internal_product_name_hash() const;
6025 void _internal_set_product_name_hash(uint32_t value);
6026 public:
6027
6028 // optional fixed32 product_version_hash = 4;
6029 bool has_product_version_hash() const;
6030 private:
6031 bool _internal_has_product_version_hash() const;
6032 public:
6033 void clear_product_version_hash();
6034 uint32_t product_version_hash() const;
6035 void set_product_version_hash(uint32_t value);
6036 private:
6037 uint32_t _internal_product_version_hash() const;
6038 void _internal_set_product_version_hash(uint32_t value);
6039 public:
6040
6041 // optional .metrics.SystemProfileProto.AntiVirusState product_state = 5;
6042 bool has_product_state() const;
6043 private:
6044 bool _internal_has_product_state() const;
6045 public:
6046 void clear_product_state();
6047 ::metrics::SystemProfileProto_AntiVirusState product_state() const;
6048 void set_product_state(::metrics::SystemProfileProto_AntiVirusState value);
6049 private:
6050 ::metrics::SystemProfileProto_AntiVirusState _internal_product_state() const;
6051 void _internal_set_product_state(::metrics::SystemProfileProto_AntiVirusState value);
6052 public:
6053
6054 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.AntiVirusProduct)
6055 private:
6056 class _Internal;
6057
6058 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6059 typedef void InternalArenaConstructable_;
6060 typedef void DestructorSkippable_;
6061 struct Impl_ {
6062 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6063 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6064 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr product_name_;
6065 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr product_version_;
6066 uint32_t product_name_hash_;
6067 uint32_t product_version_hash_;
6068 int product_state_;
6069 };
6070 union { Impl_ _impl_; };
6071 friend struct ::TableStruct_system_5fprofile_2eproto;
6072 };
6073 // -------------------------------------------------------------------
6074
6075 class SystemProfileProto_ChromeComponent final :
6076 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.ChromeComponent) */ {
6077 public:
SystemProfileProto_ChromeComponent()6078 inline SystemProfileProto_ChromeComponent() : SystemProfileProto_ChromeComponent(nullptr) {}
6079 ~SystemProfileProto_ChromeComponent() override;
6080 explicit PROTOBUF_CONSTEXPR SystemProfileProto_ChromeComponent(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6081
6082 SystemProfileProto_ChromeComponent(const SystemProfileProto_ChromeComponent& from);
SystemProfileProto_ChromeComponent(SystemProfileProto_ChromeComponent && from)6083 SystemProfileProto_ChromeComponent(SystemProfileProto_ChromeComponent&& from) noexcept
6084 : SystemProfileProto_ChromeComponent() {
6085 *this = ::std::move(from);
6086 }
6087
6088 inline SystemProfileProto_ChromeComponent& operator=(const SystemProfileProto_ChromeComponent& from) {
6089 CopyFrom(from);
6090 return *this;
6091 }
6092 inline SystemProfileProto_ChromeComponent& operator=(SystemProfileProto_ChromeComponent&& from) noexcept {
6093 if (this == &from) return *this;
6094 if (GetOwningArena() == from.GetOwningArena()
6095 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6096 && GetOwningArena() != nullptr
6097 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
6098 ) {
6099 InternalSwap(&from);
6100 } else {
6101 CopyFrom(from);
6102 }
6103 return *this;
6104 }
6105
unknown_fields()6106 inline const std::string& unknown_fields() const {
6107 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
6108 }
mutable_unknown_fields()6109 inline std::string* mutable_unknown_fields() {
6110 return _internal_metadata_.mutable_unknown_fields<std::string>();
6111 }
6112
default_instance()6113 static const SystemProfileProto_ChromeComponent& default_instance() {
6114 return *internal_default_instance();
6115 }
internal_default_instance()6116 static inline const SystemProfileProto_ChromeComponent* internal_default_instance() {
6117 return reinterpret_cast<const SystemProfileProto_ChromeComponent*>(
6118 &_SystemProfileProto_ChromeComponent_default_instance_);
6119 }
6120 static constexpr int kIndexInFileMessages =
6121 19;
6122
swap(SystemProfileProto_ChromeComponent & a,SystemProfileProto_ChromeComponent & b)6123 friend void swap(SystemProfileProto_ChromeComponent& a, SystemProfileProto_ChromeComponent& b) {
6124 a.Swap(&b);
6125 }
Swap(SystemProfileProto_ChromeComponent * other)6126 PROTOBUF_NOINLINE void Swap(SystemProfileProto_ChromeComponent* other) {
6127 if (other == this) return;
6128 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6129 if (GetOwningArena() != nullptr &&
6130 GetOwningArena() == other->GetOwningArena()) {
6131 #else // PROTOBUF_FORCE_COPY_IN_SWAP
6132 if (GetOwningArena() == other->GetOwningArena()) {
6133 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
6134 InternalSwap(other);
6135 } else {
6136 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6137 }
6138 }
6139 void UnsafeArenaSwap(SystemProfileProto_ChromeComponent* other) {
6140 if (other == this) return;
6141 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6142 InternalSwap(other);
6143 }
6144
6145 // implements Message ----------------------------------------------
6146
6147 SystemProfileProto_ChromeComponent* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
6148 return CreateMaybeMessage<SystemProfileProto_ChromeComponent>(arena);
6149 }
6150 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
6151 void CopyFrom(const SystemProfileProto_ChromeComponent& from);
6152 void MergeFrom(const SystemProfileProto_ChromeComponent& from);
6153 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6154 bool IsInitialized() const final;
6155
6156 size_t ByteSizeLong() const final;
6157 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6158 uint8_t* _InternalSerialize(
6159 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6160 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6161
6162 private:
6163 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6164 void SharedDtor();
6165 void SetCachedSize(int size) const;
6166 void InternalSwap(SystemProfileProto_ChromeComponent* other);
6167
6168 private:
6169 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6170 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6171 return "metrics.SystemProfileProto.ChromeComponent";
6172 }
6173 protected:
6174 explicit SystemProfileProto_ChromeComponent(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6175 bool is_message_owned = false);
6176 public:
6177
6178 std::string GetTypeName() const final;
6179
6180 // nested types ----------------------------------------------------
6181
6182 // accessors -------------------------------------------------------
6183
6184 enum : int {
6185 kVersionFieldNumber = 2,
6186 kOmahaFingerprintFieldNumber = 3,
6187 kCohortHashFieldNumber = 4,
6188 kComponentIdFieldNumber = 1,
6189 };
6190 // optional string version = 2;
6191 bool has_version() const;
6192 private:
6193 bool _internal_has_version() const;
6194 public:
6195 void clear_version();
6196 const std::string& version() const;
6197 template <typename ArgT0 = const std::string&, typename... ArgT>
6198 void set_version(ArgT0&& arg0, ArgT... args);
6199 std::string* mutable_version();
6200 PROTOBUF_NODISCARD std::string* release_version();
6201 void set_allocated_version(std::string* version);
6202 private:
6203 const std::string& _internal_version() const;
6204 inline PROTOBUF_ALWAYS_INLINE void _internal_set_version(const std::string& value);
6205 std::string* _internal_mutable_version();
6206 public:
6207
6208 // optional fixed32 omaha_fingerprint = 3;
6209 bool has_omaha_fingerprint() const;
6210 private:
6211 bool _internal_has_omaha_fingerprint() const;
6212 public:
6213 void clear_omaha_fingerprint();
6214 uint32_t omaha_fingerprint() const;
6215 void set_omaha_fingerprint(uint32_t value);
6216 private:
6217 uint32_t _internal_omaha_fingerprint() const;
6218 void _internal_set_omaha_fingerprint(uint32_t value);
6219 public:
6220
6221 // optional fixed32 cohort_hash = 4;
6222 bool has_cohort_hash() const;
6223 private:
6224 bool _internal_has_cohort_hash() const;
6225 public:
6226 void clear_cohort_hash();
6227 uint32_t cohort_hash() const;
6228 void set_cohort_hash(uint32_t value);
6229 private:
6230 uint32_t _internal_cohort_hash() const;
6231 void _internal_set_cohort_hash(uint32_t value);
6232 public:
6233
6234 // optional .metrics.SystemProfileProto.ComponentId component_id = 1 [default = UNKNOWN];
6235 bool has_component_id() const;
6236 private:
6237 bool _internal_has_component_id() const;
6238 public:
6239 void clear_component_id();
6240 ::metrics::SystemProfileProto_ComponentId component_id() const;
6241 void set_component_id(::metrics::SystemProfileProto_ComponentId value);
6242 private:
6243 ::metrics::SystemProfileProto_ComponentId _internal_component_id() const;
6244 void _internal_set_component_id(::metrics::SystemProfileProto_ComponentId value);
6245 public:
6246
6247 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.ChromeComponent)
6248 private:
6249 class _Internal;
6250
6251 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6252 typedef void InternalArenaConstructable_;
6253 typedef void DestructorSkippable_;
6254 struct Impl_ {
6255 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6256 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6257 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
6258 uint32_t omaha_fingerprint_;
6259 uint32_t cohort_hash_;
6260 int component_id_;
6261 };
6262 union { Impl_ _impl_; };
6263 friend struct ::TableStruct_system_5fprofile_2eproto;
6264 };
6265 // -------------------------------------------------------------------
6266
6267 class SystemProfileProto_LinkedAndroidPhoneData final :
6268 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.LinkedAndroidPhoneData) */ {
6269 public:
SystemProfileProto_LinkedAndroidPhoneData()6270 inline SystemProfileProto_LinkedAndroidPhoneData() : SystemProfileProto_LinkedAndroidPhoneData(nullptr) {}
6271 ~SystemProfileProto_LinkedAndroidPhoneData() override;
6272 explicit PROTOBUF_CONSTEXPR SystemProfileProto_LinkedAndroidPhoneData(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6273
6274 SystemProfileProto_LinkedAndroidPhoneData(const SystemProfileProto_LinkedAndroidPhoneData& from);
SystemProfileProto_LinkedAndroidPhoneData(SystemProfileProto_LinkedAndroidPhoneData && from)6275 SystemProfileProto_LinkedAndroidPhoneData(SystemProfileProto_LinkedAndroidPhoneData&& from) noexcept
6276 : SystemProfileProto_LinkedAndroidPhoneData() {
6277 *this = ::std::move(from);
6278 }
6279
6280 inline SystemProfileProto_LinkedAndroidPhoneData& operator=(const SystemProfileProto_LinkedAndroidPhoneData& from) {
6281 CopyFrom(from);
6282 return *this;
6283 }
6284 inline SystemProfileProto_LinkedAndroidPhoneData& operator=(SystemProfileProto_LinkedAndroidPhoneData&& from) noexcept {
6285 if (this == &from) return *this;
6286 if (GetOwningArena() == from.GetOwningArena()
6287 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6288 && GetOwningArena() != nullptr
6289 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
6290 ) {
6291 InternalSwap(&from);
6292 } else {
6293 CopyFrom(from);
6294 }
6295 return *this;
6296 }
6297
unknown_fields()6298 inline const std::string& unknown_fields() const {
6299 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
6300 }
mutable_unknown_fields()6301 inline std::string* mutable_unknown_fields() {
6302 return _internal_metadata_.mutable_unknown_fields<std::string>();
6303 }
6304
default_instance()6305 static const SystemProfileProto_LinkedAndroidPhoneData& default_instance() {
6306 return *internal_default_instance();
6307 }
internal_default_instance()6308 static inline const SystemProfileProto_LinkedAndroidPhoneData* internal_default_instance() {
6309 return reinterpret_cast<const SystemProfileProto_LinkedAndroidPhoneData*>(
6310 &_SystemProfileProto_LinkedAndroidPhoneData_default_instance_);
6311 }
6312 static constexpr int kIndexInFileMessages =
6313 20;
6314
swap(SystemProfileProto_LinkedAndroidPhoneData & a,SystemProfileProto_LinkedAndroidPhoneData & b)6315 friend void swap(SystemProfileProto_LinkedAndroidPhoneData& a, SystemProfileProto_LinkedAndroidPhoneData& b) {
6316 a.Swap(&b);
6317 }
Swap(SystemProfileProto_LinkedAndroidPhoneData * other)6318 PROTOBUF_NOINLINE void Swap(SystemProfileProto_LinkedAndroidPhoneData* other) {
6319 if (other == this) return;
6320 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6321 if (GetOwningArena() != nullptr &&
6322 GetOwningArena() == other->GetOwningArena()) {
6323 #else // PROTOBUF_FORCE_COPY_IN_SWAP
6324 if (GetOwningArena() == other->GetOwningArena()) {
6325 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
6326 InternalSwap(other);
6327 } else {
6328 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6329 }
6330 }
6331 void UnsafeArenaSwap(SystemProfileProto_LinkedAndroidPhoneData* other) {
6332 if (other == this) return;
6333 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6334 InternalSwap(other);
6335 }
6336
6337 // implements Message ----------------------------------------------
6338
6339 SystemProfileProto_LinkedAndroidPhoneData* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
6340 return CreateMaybeMessage<SystemProfileProto_LinkedAndroidPhoneData>(arena);
6341 }
6342 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
6343 void CopyFrom(const SystemProfileProto_LinkedAndroidPhoneData& from);
6344 void MergeFrom(const SystemProfileProto_LinkedAndroidPhoneData& from);
6345 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6346 bool IsInitialized() const final;
6347
6348 size_t ByteSizeLong() const final;
6349 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6350 uint8_t* _InternalSerialize(
6351 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6352 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6353
6354 private:
6355 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6356 void SharedDtor();
6357 void SetCachedSize(int size) const;
6358 void InternalSwap(SystemProfileProto_LinkedAndroidPhoneData* other);
6359
6360 private:
6361 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6362 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6363 return "metrics.SystemProfileProto.LinkedAndroidPhoneData";
6364 }
6365 protected:
6366 explicit SystemProfileProto_LinkedAndroidPhoneData(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6367 bool is_message_owned = false);
6368 public:
6369
6370 std::string GetTypeName() const final;
6371
6372 // nested types ----------------------------------------------------
6373
6374 // accessors -------------------------------------------------------
6375
6376 enum : int {
6377 kPhoneModelNameHashFieldNumber = 1,
6378 kIsSmartlockEnabledFieldNumber = 2,
6379 kIsInstantTetheringEnabledFieldNumber = 3,
6380 kIsMessagesEnabledFieldNumber = 4,
6381 };
6382 // optional fixed32 phone_model_name_hash = 1;
6383 bool has_phone_model_name_hash() const;
6384 private:
6385 bool _internal_has_phone_model_name_hash() const;
6386 public:
6387 void clear_phone_model_name_hash();
6388 uint32_t phone_model_name_hash() const;
6389 void set_phone_model_name_hash(uint32_t value);
6390 private:
6391 uint32_t _internal_phone_model_name_hash() const;
6392 void _internal_set_phone_model_name_hash(uint32_t value);
6393 public:
6394
6395 // optional bool is_smartlock_enabled = 2;
6396 bool has_is_smartlock_enabled() const;
6397 private:
6398 bool _internal_has_is_smartlock_enabled() const;
6399 public:
6400 void clear_is_smartlock_enabled();
6401 bool is_smartlock_enabled() const;
6402 void set_is_smartlock_enabled(bool value);
6403 private:
6404 bool _internal_is_smartlock_enabled() const;
6405 void _internal_set_is_smartlock_enabled(bool value);
6406 public:
6407
6408 // optional bool is_instant_tethering_enabled = 3;
6409 bool has_is_instant_tethering_enabled() const;
6410 private:
6411 bool _internal_has_is_instant_tethering_enabled() const;
6412 public:
6413 void clear_is_instant_tethering_enabled();
6414 bool is_instant_tethering_enabled() const;
6415 void set_is_instant_tethering_enabled(bool value);
6416 private:
6417 bool _internal_is_instant_tethering_enabled() const;
6418 void _internal_set_is_instant_tethering_enabled(bool value);
6419 public:
6420
6421 // optional bool is_messages_enabled = 4 [deprecated = true];
6422 PROTOBUF_DEPRECATED bool has_is_messages_enabled() const;
6423 private:
6424 bool _internal_has_is_messages_enabled() const;
6425 public:
6426 PROTOBUF_DEPRECATED void clear_is_messages_enabled();
6427 PROTOBUF_DEPRECATED bool is_messages_enabled() const;
6428 PROTOBUF_DEPRECATED void set_is_messages_enabled(bool value);
6429 private:
6430 bool _internal_is_messages_enabled() const;
6431 void _internal_set_is_messages_enabled(bool value);
6432 public:
6433
6434 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.LinkedAndroidPhoneData)
6435 private:
6436 class _Internal;
6437
6438 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6439 typedef void InternalArenaConstructable_;
6440 typedef void DestructorSkippable_;
6441 struct Impl_ {
6442 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6443 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6444 uint32_t phone_model_name_hash_;
6445 bool is_smartlock_enabled_;
6446 bool is_instant_tethering_enabled_;
6447 bool is_messages_enabled_;
6448 };
6449 union { Impl_ _impl_; };
6450 friend struct ::TableStruct_system_5fprofile_2eproto;
6451 };
6452 // -------------------------------------------------------------------
6453
6454 class SystemProfileProto_DemoModeDimensions_Retailer final :
6455 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.DemoModeDimensions.Retailer) */ {
6456 public:
SystemProfileProto_DemoModeDimensions_Retailer()6457 inline SystemProfileProto_DemoModeDimensions_Retailer() : SystemProfileProto_DemoModeDimensions_Retailer(nullptr) {}
6458 ~SystemProfileProto_DemoModeDimensions_Retailer() override;
6459 explicit PROTOBUF_CONSTEXPR SystemProfileProto_DemoModeDimensions_Retailer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6460
6461 SystemProfileProto_DemoModeDimensions_Retailer(const SystemProfileProto_DemoModeDimensions_Retailer& from);
SystemProfileProto_DemoModeDimensions_Retailer(SystemProfileProto_DemoModeDimensions_Retailer && from)6462 SystemProfileProto_DemoModeDimensions_Retailer(SystemProfileProto_DemoModeDimensions_Retailer&& from) noexcept
6463 : SystemProfileProto_DemoModeDimensions_Retailer() {
6464 *this = ::std::move(from);
6465 }
6466
6467 inline SystemProfileProto_DemoModeDimensions_Retailer& operator=(const SystemProfileProto_DemoModeDimensions_Retailer& from) {
6468 CopyFrom(from);
6469 return *this;
6470 }
6471 inline SystemProfileProto_DemoModeDimensions_Retailer& operator=(SystemProfileProto_DemoModeDimensions_Retailer&& from) noexcept {
6472 if (this == &from) return *this;
6473 if (GetOwningArena() == from.GetOwningArena()
6474 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6475 && GetOwningArena() != nullptr
6476 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
6477 ) {
6478 InternalSwap(&from);
6479 } else {
6480 CopyFrom(from);
6481 }
6482 return *this;
6483 }
6484
unknown_fields()6485 inline const std::string& unknown_fields() const {
6486 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
6487 }
mutable_unknown_fields()6488 inline std::string* mutable_unknown_fields() {
6489 return _internal_metadata_.mutable_unknown_fields<std::string>();
6490 }
6491
default_instance()6492 static const SystemProfileProto_DemoModeDimensions_Retailer& default_instance() {
6493 return *internal_default_instance();
6494 }
internal_default_instance()6495 static inline const SystemProfileProto_DemoModeDimensions_Retailer* internal_default_instance() {
6496 return reinterpret_cast<const SystemProfileProto_DemoModeDimensions_Retailer*>(
6497 &_SystemProfileProto_DemoModeDimensions_Retailer_default_instance_);
6498 }
6499 static constexpr int kIndexInFileMessages =
6500 21;
6501
swap(SystemProfileProto_DemoModeDimensions_Retailer & a,SystemProfileProto_DemoModeDimensions_Retailer & b)6502 friend void swap(SystemProfileProto_DemoModeDimensions_Retailer& a, SystemProfileProto_DemoModeDimensions_Retailer& b) {
6503 a.Swap(&b);
6504 }
Swap(SystemProfileProto_DemoModeDimensions_Retailer * other)6505 PROTOBUF_NOINLINE void Swap(SystemProfileProto_DemoModeDimensions_Retailer* other) {
6506 if (other == this) return;
6507 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6508 if (GetOwningArena() != nullptr &&
6509 GetOwningArena() == other->GetOwningArena()) {
6510 #else // PROTOBUF_FORCE_COPY_IN_SWAP
6511 if (GetOwningArena() == other->GetOwningArena()) {
6512 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
6513 InternalSwap(other);
6514 } else {
6515 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6516 }
6517 }
6518 void UnsafeArenaSwap(SystemProfileProto_DemoModeDimensions_Retailer* other) {
6519 if (other == this) return;
6520 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6521 InternalSwap(other);
6522 }
6523
6524 // implements Message ----------------------------------------------
6525
6526 SystemProfileProto_DemoModeDimensions_Retailer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
6527 return CreateMaybeMessage<SystemProfileProto_DemoModeDimensions_Retailer>(arena);
6528 }
6529 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
6530 void CopyFrom(const SystemProfileProto_DemoModeDimensions_Retailer& from);
6531 void MergeFrom(const SystemProfileProto_DemoModeDimensions_Retailer& from);
6532 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6533 bool IsInitialized() const final;
6534
6535 size_t ByteSizeLong() const final;
6536 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6537 uint8_t* _InternalSerialize(
6538 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6539 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6540
6541 private:
6542 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6543 void SharedDtor();
6544 void SetCachedSize(int size) const;
6545 void InternalSwap(SystemProfileProto_DemoModeDimensions_Retailer* other);
6546
6547 private:
6548 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6549 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6550 return "metrics.SystemProfileProto.DemoModeDimensions.Retailer";
6551 }
6552 protected:
6553 explicit SystemProfileProto_DemoModeDimensions_Retailer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6554 bool is_message_owned = false);
6555 public:
6556
6557 std::string GetTypeName() const final;
6558
6559 // nested types ----------------------------------------------------
6560
6561 // accessors -------------------------------------------------------
6562
6563 enum : int {
6564 kRetailerIdFieldNumber = 1,
6565 kStoreIdFieldNumber = 2,
6566 };
6567 // optional string retailer_id = 1;
6568 bool has_retailer_id() const;
6569 private:
6570 bool _internal_has_retailer_id() const;
6571 public:
6572 void clear_retailer_id();
6573 const std::string& retailer_id() const;
6574 template <typename ArgT0 = const std::string&, typename... ArgT>
6575 void set_retailer_id(ArgT0&& arg0, ArgT... args);
6576 std::string* mutable_retailer_id();
6577 PROTOBUF_NODISCARD std::string* release_retailer_id();
6578 void set_allocated_retailer_id(std::string* retailer_id);
6579 private:
6580 const std::string& _internal_retailer_id() const;
6581 inline PROTOBUF_ALWAYS_INLINE void _internal_set_retailer_id(const std::string& value);
6582 std::string* _internal_mutable_retailer_id();
6583 public:
6584
6585 // optional string store_id = 2;
6586 bool has_store_id() const;
6587 private:
6588 bool _internal_has_store_id() const;
6589 public:
6590 void clear_store_id();
6591 const std::string& store_id() const;
6592 template <typename ArgT0 = const std::string&, typename... ArgT>
6593 void set_store_id(ArgT0&& arg0, ArgT... args);
6594 std::string* mutable_store_id();
6595 PROTOBUF_NODISCARD std::string* release_store_id();
6596 void set_allocated_store_id(std::string* store_id);
6597 private:
6598 const std::string& _internal_store_id() const;
6599 inline PROTOBUF_ALWAYS_INLINE void _internal_set_store_id(const std::string& value);
6600 std::string* _internal_mutable_store_id();
6601 public:
6602
6603 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.DemoModeDimensions.Retailer)
6604 private:
6605 class _Internal;
6606
6607 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6608 typedef void InternalArenaConstructable_;
6609 typedef void DestructorSkippable_;
6610 struct Impl_ {
6611 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6612 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6613 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr retailer_id_;
6614 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr store_id_;
6615 };
6616 union { Impl_ _impl_; };
6617 friend struct ::TableStruct_system_5fprofile_2eproto;
6618 };
6619 // -------------------------------------------------------------------
6620
6621 class SystemProfileProto_DemoModeDimensions final :
6622 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto.DemoModeDimensions) */ {
6623 public:
SystemProfileProto_DemoModeDimensions()6624 inline SystemProfileProto_DemoModeDimensions() : SystemProfileProto_DemoModeDimensions(nullptr) {}
6625 ~SystemProfileProto_DemoModeDimensions() override;
6626 explicit PROTOBUF_CONSTEXPR SystemProfileProto_DemoModeDimensions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6627
6628 SystemProfileProto_DemoModeDimensions(const SystemProfileProto_DemoModeDimensions& from);
SystemProfileProto_DemoModeDimensions(SystemProfileProto_DemoModeDimensions && from)6629 SystemProfileProto_DemoModeDimensions(SystemProfileProto_DemoModeDimensions&& from) noexcept
6630 : SystemProfileProto_DemoModeDimensions() {
6631 *this = ::std::move(from);
6632 }
6633
6634 inline SystemProfileProto_DemoModeDimensions& operator=(const SystemProfileProto_DemoModeDimensions& from) {
6635 CopyFrom(from);
6636 return *this;
6637 }
6638 inline SystemProfileProto_DemoModeDimensions& operator=(SystemProfileProto_DemoModeDimensions&& from) noexcept {
6639 if (this == &from) return *this;
6640 if (GetOwningArena() == from.GetOwningArena()
6641 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6642 && GetOwningArena() != nullptr
6643 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
6644 ) {
6645 InternalSwap(&from);
6646 } else {
6647 CopyFrom(from);
6648 }
6649 return *this;
6650 }
6651
unknown_fields()6652 inline const std::string& unknown_fields() const {
6653 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
6654 }
mutable_unknown_fields()6655 inline std::string* mutable_unknown_fields() {
6656 return _internal_metadata_.mutable_unknown_fields<std::string>();
6657 }
6658
default_instance()6659 static const SystemProfileProto_DemoModeDimensions& default_instance() {
6660 return *internal_default_instance();
6661 }
internal_default_instance()6662 static inline const SystemProfileProto_DemoModeDimensions* internal_default_instance() {
6663 return reinterpret_cast<const SystemProfileProto_DemoModeDimensions*>(
6664 &_SystemProfileProto_DemoModeDimensions_default_instance_);
6665 }
6666 static constexpr int kIndexInFileMessages =
6667 22;
6668
swap(SystemProfileProto_DemoModeDimensions & a,SystemProfileProto_DemoModeDimensions & b)6669 friend void swap(SystemProfileProto_DemoModeDimensions& a, SystemProfileProto_DemoModeDimensions& b) {
6670 a.Swap(&b);
6671 }
Swap(SystemProfileProto_DemoModeDimensions * other)6672 PROTOBUF_NOINLINE void Swap(SystemProfileProto_DemoModeDimensions* other) {
6673 if (other == this) return;
6674 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6675 if (GetOwningArena() != nullptr &&
6676 GetOwningArena() == other->GetOwningArena()) {
6677 #else // PROTOBUF_FORCE_COPY_IN_SWAP
6678 if (GetOwningArena() == other->GetOwningArena()) {
6679 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
6680 InternalSwap(other);
6681 } else {
6682 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6683 }
6684 }
6685 void UnsafeArenaSwap(SystemProfileProto_DemoModeDimensions* other) {
6686 if (other == this) return;
6687 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6688 InternalSwap(other);
6689 }
6690
6691 // implements Message ----------------------------------------------
6692
6693 SystemProfileProto_DemoModeDimensions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
6694 return CreateMaybeMessage<SystemProfileProto_DemoModeDimensions>(arena);
6695 }
6696 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
6697 void CopyFrom(const SystemProfileProto_DemoModeDimensions& from);
6698 void MergeFrom(const SystemProfileProto_DemoModeDimensions& from);
6699 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6700 bool IsInitialized() const final;
6701
6702 size_t ByteSizeLong() const final;
6703 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6704 uint8_t* _InternalSerialize(
6705 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6706 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6707
6708 private:
6709 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6710 void SharedDtor();
6711 void SetCachedSize(int size) const;
6712 void InternalSwap(SystemProfileProto_DemoModeDimensions* other);
6713
6714 private:
6715 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6716 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6717 return "metrics.SystemProfileProto.DemoModeDimensions";
6718 }
6719 protected:
6720 explicit SystemProfileProto_DemoModeDimensions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6721 bool is_message_owned = false);
6722 public:
6723
6724 std::string GetTypeName() const final;
6725
6726 // nested types ----------------------------------------------------
6727
6728 typedef SystemProfileProto_DemoModeDimensions_Retailer Retailer;
6729
6730 typedef SystemProfileProto_DemoModeDimensions_CustomizationFacet CustomizationFacet;
6731 static constexpr CustomizationFacet UNDEFINED =
6732 SystemProfileProto_DemoModeDimensions_CustomizationFacet_UNDEFINED;
6733 static constexpr CustomizationFacet CLOUD_GAMING_DEVICE =
6734 SystemProfileProto_DemoModeDimensions_CustomizationFacet_CLOUD_GAMING_DEVICE;
6735 static constexpr CustomizationFacet FEATURE_AWARE_DEVICE =
6736 SystemProfileProto_DemoModeDimensions_CustomizationFacet_FEATURE_AWARE_DEVICE;
6737 static inline bool CustomizationFacet_IsValid(int value) {
6738 return SystemProfileProto_DemoModeDimensions_CustomizationFacet_IsValid(value);
6739 }
6740 static constexpr CustomizationFacet CustomizationFacet_MIN =
6741 SystemProfileProto_DemoModeDimensions_CustomizationFacet_CustomizationFacet_MIN;
6742 static constexpr CustomizationFacet CustomizationFacet_MAX =
6743 SystemProfileProto_DemoModeDimensions_CustomizationFacet_CustomizationFacet_MAX;
6744 static constexpr int CustomizationFacet_ARRAYSIZE =
6745 SystemProfileProto_DemoModeDimensions_CustomizationFacet_CustomizationFacet_ARRAYSIZE;
6746 template<typename T>
6747 static inline const std::string& CustomizationFacet_Name(T enum_t_value) {
6748 static_assert(::std::is_same<T, CustomizationFacet>::value ||
6749 ::std::is_integral<T>::value,
6750 "Incorrect type passed to function CustomizationFacet_Name.");
6751 return SystemProfileProto_DemoModeDimensions_CustomizationFacet_Name(enum_t_value);
6752 }
6753 static inline bool CustomizationFacet_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
6754 CustomizationFacet* value) {
6755 return SystemProfileProto_DemoModeDimensions_CustomizationFacet_Parse(name, value);
6756 }
6757
6758 // accessors -------------------------------------------------------
6759
6760 enum : int {
6761 kCustomizationFacetFieldNumber = 3,
6762 kCountryFieldNumber = 1,
6763 kAppVersionFieldNumber = 4,
6764 kResourcesVersionFieldNumber = 5,
6765 kRetailerFieldNumber = 2,
6766 };
6767 // repeated .metrics.SystemProfileProto.DemoModeDimensions.CustomizationFacet customization_facet = 3 [packed = true];
6768 int customization_facet_size() const;
6769 private:
6770 int _internal_customization_facet_size() const;
6771 public:
6772 void clear_customization_facet();
6773 private:
6774 ::metrics::SystemProfileProto_DemoModeDimensions_CustomizationFacet _internal_customization_facet(int index) const;
6775 void _internal_add_customization_facet(::metrics::SystemProfileProto_DemoModeDimensions_CustomizationFacet value);
6776 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_customization_facet();
6777 public:
6778 ::metrics::SystemProfileProto_DemoModeDimensions_CustomizationFacet customization_facet(int index) const;
6779 void set_customization_facet(int index, ::metrics::SystemProfileProto_DemoModeDimensions_CustomizationFacet value);
6780 void add_customization_facet(::metrics::SystemProfileProto_DemoModeDimensions_CustomizationFacet value);
6781 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& customization_facet() const;
6782 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_customization_facet();
6783
6784 // optional string country = 1;
6785 bool has_country() const;
6786 private:
6787 bool _internal_has_country() const;
6788 public:
6789 void clear_country();
6790 const std::string& country() const;
6791 template <typename ArgT0 = const std::string&, typename... ArgT>
6792 void set_country(ArgT0&& arg0, ArgT... args);
6793 std::string* mutable_country();
6794 PROTOBUF_NODISCARD std::string* release_country();
6795 void set_allocated_country(std::string* country);
6796 private:
6797 const std::string& _internal_country() const;
6798 inline PROTOBUF_ALWAYS_INLINE void _internal_set_country(const std::string& value);
6799 std::string* _internal_mutable_country();
6800 public:
6801
6802 // optional string app_version = 4;
6803 bool has_app_version() const;
6804 private:
6805 bool _internal_has_app_version() const;
6806 public:
6807 void clear_app_version();
6808 const std::string& app_version() const;
6809 template <typename ArgT0 = const std::string&, typename... ArgT>
6810 void set_app_version(ArgT0&& arg0, ArgT... args);
6811 std::string* mutable_app_version();
6812 PROTOBUF_NODISCARD std::string* release_app_version();
6813 void set_allocated_app_version(std::string* app_version);
6814 private:
6815 const std::string& _internal_app_version() const;
6816 inline PROTOBUF_ALWAYS_INLINE void _internal_set_app_version(const std::string& value);
6817 std::string* _internal_mutable_app_version();
6818 public:
6819
6820 // optional string resources_version = 5;
6821 bool has_resources_version() const;
6822 private:
6823 bool _internal_has_resources_version() const;
6824 public:
6825 void clear_resources_version();
6826 const std::string& resources_version() const;
6827 template <typename ArgT0 = const std::string&, typename... ArgT>
6828 void set_resources_version(ArgT0&& arg0, ArgT... args);
6829 std::string* mutable_resources_version();
6830 PROTOBUF_NODISCARD std::string* release_resources_version();
6831 void set_allocated_resources_version(std::string* resources_version);
6832 private:
6833 const std::string& _internal_resources_version() const;
6834 inline PROTOBUF_ALWAYS_INLINE void _internal_set_resources_version(const std::string& value);
6835 std::string* _internal_mutable_resources_version();
6836 public:
6837
6838 // optional .metrics.SystemProfileProto.DemoModeDimensions.Retailer retailer = 2;
6839 bool has_retailer() const;
6840 private:
6841 bool _internal_has_retailer() const;
6842 public:
6843 void clear_retailer();
6844 const ::metrics::SystemProfileProto_DemoModeDimensions_Retailer& retailer() const;
6845 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_DemoModeDimensions_Retailer* release_retailer();
6846 ::metrics::SystemProfileProto_DemoModeDimensions_Retailer* mutable_retailer();
6847 void set_allocated_retailer(::metrics::SystemProfileProto_DemoModeDimensions_Retailer* retailer);
6848 private:
6849 const ::metrics::SystemProfileProto_DemoModeDimensions_Retailer& _internal_retailer() const;
6850 ::metrics::SystemProfileProto_DemoModeDimensions_Retailer* _internal_mutable_retailer();
6851 public:
6852 void unsafe_arena_set_allocated_retailer(
6853 ::metrics::SystemProfileProto_DemoModeDimensions_Retailer* retailer);
6854 ::metrics::SystemProfileProto_DemoModeDimensions_Retailer* unsafe_arena_release_retailer();
6855
6856 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto.DemoModeDimensions)
6857 private:
6858 class _Internal;
6859
6860 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
6861 typedef void InternalArenaConstructable_;
6862 typedef void DestructorSkippable_;
6863 struct Impl_ {
6864 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
6865 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
6866 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> customization_facet_;
6867 mutable std::atomic<int> _customization_facet_cached_byte_size_;
6868 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr country_;
6869 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr app_version_;
6870 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr resources_version_;
6871 ::metrics::SystemProfileProto_DemoModeDimensions_Retailer* retailer_;
6872 };
6873 union { Impl_ _impl_; };
6874 friend struct ::TableStruct_system_5fprofile_2eproto;
6875 };
6876 // -------------------------------------------------------------------
6877
6878 class SystemProfileProto final :
6879 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.SystemProfileProto) */ {
6880 public:
SystemProfileProto()6881 inline SystemProfileProto() : SystemProfileProto(nullptr) {}
6882 ~SystemProfileProto() override;
6883 explicit PROTOBUF_CONSTEXPR SystemProfileProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
6884
6885 SystemProfileProto(const SystemProfileProto& from);
SystemProfileProto(SystemProfileProto && from)6886 SystemProfileProto(SystemProfileProto&& from) noexcept
6887 : SystemProfileProto() {
6888 *this = ::std::move(from);
6889 }
6890
6891 inline SystemProfileProto& operator=(const SystemProfileProto& from) {
6892 CopyFrom(from);
6893 return *this;
6894 }
6895 inline SystemProfileProto& operator=(SystemProfileProto&& from) noexcept {
6896 if (this == &from) return *this;
6897 if (GetOwningArena() == from.GetOwningArena()
6898 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
6899 && GetOwningArena() != nullptr
6900 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
6901 ) {
6902 InternalSwap(&from);
6903 } else {
6904 CopyFrom(from);
6905 }
6906 return *this;
6907 }
6908
unknown_fields()6909 inline const std::string& unknown_fields() const {
6910 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
6911 }
mutable_unknown_fields()6912 inline std::string* mutable_unknown_fields() {
6913 return _internal_metadata_.mutable_unknown_fields<std::string>();
6914 }
6915
default_instance()6916 static const SystemProfileProto& default_instance() {
6917 return *internal_default_instance();
6918 }
internal_default_instance()6919 static inline const SystemProfileProto* internal_default_instance() {
6920 return reinterpret_cast<const SystemProfileProto*>(
6921 &_SystemProfileProto_default_instance_);
6922 }
6923 static constexpr int kIndexInFileMessages =
6924 23;
6925
swap(SystemProfileProto & a,SystemProfileProto & b)6926 friend void swap(SystemProfileProto& a, SystemProfileProto& b) {
6927 a.Swap(&b);
6928 }
Swap(SystemProfileProto * other)6929 PROTOBUF_NOINLINE void Swap(SystemProfileProto* other) {
6930 if (other == this) return;
6931 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
6932 if (GetOwningArena() != nullptr &&
6933 GetOwningArena() == other->GetOwningArena()) {
6934 #else // PROTOBUF_FORCE_COPY_IN_SWAP
6935 if (GetOwningArena() == other->GetOwningArena()) {
6936 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
6937 InternalSwap(other);
6938 } else {
6939 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
6940 }
6941 }
6942 void UnsafeArenaSwap(SystemProfileProto* other) {
6943 if (other == this) return;
6944 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
6945 InternalSwap(other);
6946 }
6947
6948 // implements Message ----------------------------------------------
6949
6950 SystemProfileProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
6951 return CreateMaybeMessage<SystemProfileProto>(arena);
6952 }
6953 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
6954 void CopyFrom(const SystemProfileProto& from);
6955 void MergeFrom(const SystemProfileProto& from);
6956 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
6957 bool IsInitialized() const final;
6958
6959 size_t ByteSizeLong() const final;
6960 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
6961 uint8_t* _InternalSerialize(
6962 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
6963 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
6964
6965 private:
6966 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
6967 void SharedDtor();
6968 void SetCachedSize(int size) const;
6969 void InternalSwap(SystemProfileProto* other);
6970
6971 private:
6972 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
6973 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
6974 return "metrics.SystemProfileProto";
6975 }
6976 protected:
6977 explicit SystemProfileProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
6978 bool is_message_owned = false);
6979 public:
6980
6981 std::string GetTypeName() const final;
6982
6983 // nested types ----------------------------------------------------
6984
6985 typedef SystemProfileProto_ClonedInstallInfo ClonedInstallInfo;
6986 typedef SystemProfileProto_OS OS;
6987 typedef SystemProfileProto_Hardware Hardware;
6988 typedef SystemProfileProto_Network Network;
6989 typedef SystemProfileProto_GoogleUpdate GoogleUpdate;
6990 typedef SystemProfileProto_Stability Stability;
6991 typedef SystemProfileProto_FieldTrial FieldTrial;
6992 typedef SystemProfileProto_ExternalAudioVideoDevice ExternalAudioVideoDevice;
6993 typedef SystemProfileProto_ExternalAccessPoint ExternalAccessPoint;
6994 typedef SystemProfileProto_AntiVirusProduct AntiVirusProduct;
6995 typedef SystemProfileProto_ChromeComponent ChromeComponent;
6996 typedef SystemProfileProto_LinkedAndroidPhoneData LinkedAndroidPhoneData;
6997 typedef SystemProfileProto_DemoModeDimensions DemoModeDimensions;
6998
6999 typedef SystemProfileProto_Channel Channel;
7000 static constexpr Channel CHANNEL_UNKNOWN =
7001 SystemProfileProto_Channel_CHANNEL_UNKNOWN;
7002 static constexpr Channel CHANNEL_CANARY =
7003 SystemProfileProto_Channel_CHANNEL_CANARY;
7004 static constexpr Channel CHANNEL_DEV =
7005 SystemProfileProto_Channel_CHANNEL_DEV;
7006 static constexpr Channel CHANNEL_BETA =
7007 SystemProfileProto_Channel_CHANNEL_BETA;
7008 static constexpr Channel CHANNEL_STABLE =
7009 SystemProfileProto_Channel_CHANNEL_STABLE;
7010 static inline bool Channel_IsValid(int value) {
7011 return SystemProfileProto_Channel_IsValid(value);
7012 }
7013 static constexpr Channel Channel_MIN =
7014 SystemProfileProto_Channel_Channel_MIN;
7015 static constexpr Channel Channel_MAX =
7016 SystemProfileProto_Channel_Channel_MAX;
7017 static constexpr int Channel_ARRAYSIZE =
7018 SystemProfileProto_Channel_Channel_ARRAYSIZE;
7019 template<typename T>
7020 static inline const std::string& Channel_Name(T enum_t_value) {
7021 static_assert(::std::is_same<T, Channel>::value ||
7022 ::std::is_integral<T>::value,
7023 "Incorrect type passed to function Channel_Name.");
7024 return SystemProfileProto_Channel_Name(enum_t_value);
7025 }
7026 static inline bool Channel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7027 Channel* value) {
7028 return SystemProfileProto_Channel_Parse(name, value);
7029 }
7030
7031 typedef SystemProfileProto_ExtensionsState ExtensionsState;
7032 static constexpr ExtensionsState NO_EXTENSIONS =
7033 SystemProfileProto_ExtensionsState_NO_EXTENSIONS;
7034 static constexpr ExtensionsState NO_OFFSTORE_VERIFIED =
7035 SystemProfileProto_ExtensionsState_NO_OFFSTORE_VERIFIED;
7036 static constexpr ExtensionsState NO_OFFSTORE_UNVERIFIED =
7037 SystemProfileProto_ExtensionsState_NO_OFFSTORE_UNVERIFIED;
7038 static constexpr ExtensionsState HAS_OFFSTORE =
7039 SystemProfileProto_ExtensionsState_HAS_OFFSTORE;
7040 static inline bool ExtensionsState_IsValid(int value) {
7041 return SystemProfileProto_ExtensionsState_IsValid(value);
7042 }
7043 static constexpr ExtensionsState ExtensionsState_MIN =
7044 SystemProfileProto_ExtensionsState_ExtensionsState_MIN;
7045 static constexpr ExtensionsState ExtensionsState_MAX =
7046 SystemProfileProto_ExtensionsState_ExtensionsState_MAX;
7047 static constexpr int ExtensionsState_ARRAYSIZE =
7048 SystemProfileProto_ExtensionsState_ExtensionsState_ARRAYSIZE;
7049 template<typename T>
7050 static inline const std::string& ExtensionsState_Name(T enum_t_value) {
7051 static_assert(::std::is_same<T, ExtensionsState>::value ||
7052 ::std::is_integral<T>::value,
7053 "Incorrect type passed to function ExtensionsState_Name.");
7054 return SystemProfileProto_ExtensionsState_Name(enum_t_value);
7055 }
7056 static inline bool ExtensionsState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7057 ExtensionsState* value) {
7058 return SystemProfileProto_ExtensionsState_Parse(name, value);
7059 }
7060
7061 typedef SystemProfileProto_UmaDefaultState UmaDefaultState;
7062 static constexpr UmaDefaultState OPT_IN =
7063 SystemProfileProto_UmaDefaultState_OPT_IN;
7064 static constexpr UmaDefaultState OPT_OUT =
7065 SystemProfileProto_UmaDefaultState_OPT_OUT;
7066 static constexpr UmaDefaultState POLICY_FORCED_ENABLED =
7067 SystemProfileProto_UmaDefaultState_POLICY_FORCED_ENABLED;
7068 static constexpr UmaDefaultState OPT_UNKNOWN =
7069 SystemProfileProto_UmaDefaultState_OPT_UNKNOWN;
7070 static inline bool UmaDefaultState_IsValid(int value) {
7071 return SystemProfileProto_UmaDefaultState_IsValid(value);
7072 }
7073 static constexpr UmaDefaultState UmaDefaultState_MIN =
7074 SystemProfileProto_UmaDefaultState_UmaDefaultState_MIN;
7075 static constexpr UmaDefaultState UmaDefaultState_MAX =
7076 SystemProfileProto_UmaDefaultState_UmaDefaultState_MAX;
7077 static constexpr int UmaDefaultState_ARRAYSIZE =
7078 SystemProfileProto_UmaDefaultState_UmaDefaultState_ARRAYSIZE;
7079 template<typename T>
7080 static inline const std::string& UmaDefaultState_Name(T enum_t_value) {
7081 static_assert(::std::is_same<T, UmaDefaultState>::value ||
7082 ::std::is_integral<T>::value,
7083 "Incorrect type passed to function UmaDefaultState_Name.");
7084 return SystemProfileProto_UmaDefaultState_Name(enum_t_value);
7085 }
7086 static inline bool UmaDefaultState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7087 UmaDefaultState* value) {
7088 return SystemProfileProto_UmaDefaultState_Parse(name, value);
7089 }
7090
7091 typedef SystemProfileProto_AntiVirusState AntiVirusState;
7092 static constexpr AntiVirusState STATE_ON =
7093 SystemProfileProto_AntiVirusState_STATE_ON;
7094 static constexpr AntiVirusState STATE_OFF =
7095 SystemProfileProto_AntiVirusState_STATE_OFF;
7096 static constexpr AntiVirusState STATE_SNOOZED =
7097 SystemProfileProto_AntiVirusState_STATE_SNOOZED;
7098 static constexpr AntiVirusState STATE_EXPIRED =
7099 SystemProfileProto_AntiVirusState_STATE_EXPIRED;
7100 static inline bool AntiVirusState_IsValid(int value) {
7101 return SystemProfileProto_AntiVirusState_IsValid(value);
7102 }
7103 static constexpr AntiVirusState AntiVirusState_MIN =
7104 SystemProfileProto_AntiVirusState_AntiVirusState_MIN;
7105 static constexpr AntiVirusState AntiVirusState_MAX =
7106 SystemProfileProto_AntiVirusState_AntiVirusState_MAX;
7107 static constexpr int AntiVirusState_ARRAYSIZE =
7108 SystemProfileProto_AntiVirusState_AntiVirusState_ARRAYSIZE;
7109 template<typename T>
7110 static inline const std::string& AntiVirusState_Name(T enum_t_value) {
7111 static_assert(::std::is_same<T, AntiVirusState>::value ||
7112 ::std::is_integral<T>::value,
7113 "Incorrect type passed to function AntiVirusState_Name.");
7114 return SystemProfileProto_AntiVirusState_Name(enum_t_value);
7115 }
7116 static inline bool AntiVirusState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7117 AntiVirusState* value) {
7118 return SystemProfileProto_AntiVirusState_Parse(name, value);
7119 }
7120
7121 typedef SystemProfileProto_ComponentId ComponentId;
7122 static constexpr ComponentId UNKNOWN =
7123 SystemProfileProto_ComponentId_UNKNOWN;
7124 static constexpr ComponentId FILE_TYPE_POLICIES =
7125 SystemProfileProto_ComponentId_FILE_TYPE_POLICIES;
7126 static constexpr ComponentId ORIGIN_TRIALS =
7127 SystemProfileProto_ComponentId_ORIGIN_TRIALS;
7128 static constexpr ComponentId PEPPER_FLASH =
7129 SystemProfileProto_ComponentId_PEPPER_FLASH;
7130 static constexpr ComponentId PEPPER_FLASH_CHROMEOS =
7131 SystemProfileProto_ComponentId_PEPPER_FLASH_CHROMEOS;
7132 static constexpr ComponentId PNACL =
7133 SystemProfileProto_ComponentId_PNACL;
7134 static constexpr ComponentId RECOVERY =
7135 SystemProfileProto_ComponentId_RECOVERY;
7136 static constexpr ComponentId SSL_ERROR_ASSISTANT =
7137 SystemProfileProto_ComponentId_SSL_ERROR_ASSISTANT;
7138 static constexpr ComponentId STH_SET =
7139 SystemProfileProto_ComponentId_STH_SET;
7140 static constexpr ComponentId CRL_SET =
7141 SystemProfileProto_ComponentId_CRL_SET;
7142 static constexpr ComponentId SUBRESOURCE_FILTER =
7143 SystemProfileProto_ComponentId_SUBRESOURCE_FILTER;
7144 static constexpr ComponentId SW_REPORTER =
7145 SystemProfileProto_ComponentId_SW_REPORTER;
7146 static constexpr ComponentId WIDEVINE_CDM =
7147 SystemProfileProto_ComponentId_WIDEVINE_CDM;
7148 static constexpr ComponentId EPSON_INKJET_PRINTER_ESCPR =
7149 SystemProfileProto_ComponentId_EPSON_INKJET_PRINTER_ESCPR;
7150 static constexpr ComponentId CROS_TERMINA =
7151 SystemProfileProto_ComponentId_CROS_TERMINA;
7152 static constexpr ComponentId STAR_CUPS_DRIVER =
7153 SystemProfileProto_ComponentId_STAR_CUPS_DRIVER;
7154 static constexpr ComponentId SPEECH_SYNTHESIS_SV_SE =
7155 SystemProfileProto_ComponentId_SPEECH_SYNTHESIS_SV_SE;
7156 static constexpr ComponentId OPTIMIZATION_HINTS =
7157 SystemProfileProto_ComponentId_OPTIMIZATION_HINTS;
7158 static constexpr ComponentId DOWNLOADABLE_STRINGS =
7159 SystemProfileProto_ComponentId_DOWNLOADABLE_STRINGS;
7160 static constexpr ComponentId VR_ASSETS =
7161 SystemProfileProto_ComponentId_VR_ASSETS;
7162 static constexpr ComponentId RTANALYTICS_LIGHT =
7163 SystemProfileProto_ComponentId_RTANALYTICS_LIGHT;
7164 static constexpr ComponentId RTANALYTICS_FULL =
7165 SystemProfileProto_ComponentId_RTANALYTICS_FULL;
7166 static constexpr ComponentId CELLULAR =
7167 SystemProfileProto_ComponentId_CELLULAR;
7168 static constexpr ComponentId DEMO_MODE_RESOURCES =
7169 SystemProfileProto_ComponentId_DEMO_MODE_RESOURCES;
7170 static constexpr ComponentId ON_DEVICE_HEAD_SUGGEST =
7171 SystemProfileProto_ComponentId_ON_DEVICE_HEAD_SUGGEST;
7172 static constexpr ComponentId CROS_SMART_DIM =
7173 SystemProfileProto_ComponentId_CROS_SMART_DIM;
7174 static constexpr ComponentId ZXCVBN_DATA =
7175 SystemProfileProto_ComponentId_ZXCVBN_DATA;
7176 static constexpr ComponentId AUTOFILL_REGEX_CONSTANTS =
7177 SystemProfileProto_ComponentId_AUTOFILL_REGEX_CONSTANTS;
7178 static constexpr ComponentId WEBVIEW_APPS_PACKAGE_NAMES_ALLOWLIST =
7179 SystemProfileProto_ComponentId_WEBVIEW_APPS_PACKAGE_NAMES_ALLOWLIST;
7180 static constexpr ComponentId MEDIA_FOUNDATION_WIDEVINE_CDM =
7181 SystemProfileProto_ComponentId_MEDIA_FOUNDATION_WIDEVINE_CDM;
7182 static constexpr ComponentId CROWD_DENY =
7183 SystemProfileProto_ComponentId_CROWD_DENY;
7184 static constexpr ComponentId APP_PROVISIONING =
7185 SystemProfileProto_ComponentId_APP_PROVISIONING;
7186 static constexpr ComponentId AUTOFILL_STATES =
7187 SystemProfileProto_ComponentId_AUTOFILL_STATES;
7188 static constexpr ComponentId CLIENT_SIDE_PHISHING =
7189 SystemProfileProto_ComponentId_CLIENT_SIDE_PHISHING;
7190 static constexpr ComponentId COMMERCE_HEURISTICS =
7191 SystemProfileProto_ComponentId_COMMERCE_HEURISTICS;
7192 static constexpr ComponentId CROW_DOMAIN_LIST =
7193 SystemProfileProto_ComponentId_CROW_DOMAIN_LIST;
7194 static constexpr ComponentId DEMO_MODE_APP =
7195 SystemProfileProto_ComponentId_DEMO_MODE_APP;
7196 static constexpr ComponentId DESKTOP_SCREENSHOT_EDITOR =
7197 SystemProfileProto_ComponentId_DESKTOP_SCREENSHOT_EDITOR;
7198 static constexpr ComponentId DESKTOP_SHARING_HUB =
7199 SystemProfileProto_ComponentId_DESKTOP_SHARING_HUB;
7200 static constexpr ComponentId FIRST_PARTY_SETS =
7201 SystemProfileProto_ComponentId_FIRST_PARTY_SETS;
7202 static constexpr ComponentId HYPHENATION =
7203 SystemProfileProto_ComponentId_HYPHENATION;
7204 static constexpr ComponentId INTERVENTION_POLICY_DATABASE =
7205 SystemProfileProto_ComponentId_INTERVENTION_POLICY_DATABASE;
7206 static constexpr ComponentId LACROS_DOGFOOD_BETA =
7207 SystemProfileProto_ComponentId_LACROS_DOGFOOD_BETA;
7208 static constexpr ComponentId LACROS_DOGFOOD_CANARY =
7209 SystemProfileProto_ComponentId_LACROS_DOGFOOD_CANARY;
7210 static constexpr ComponentId LACROS_DOGFOOD_DEV =
7211 SystemProfileProto_ComponentId_LACROS_DOGFOOD_DEV;
7212 static constexpr ComponentId LACROS_DOGFOOD_STABLE =
7213 SystemProfileProto_ComponentId_LACROS_DOGFOOD_STABLE;
7214 static constexpr ComponentId MEI_PRELOAD =
7215 SystemProfileProto_ComponentId_MEI_PRELOAD;
7216 static constexpr ComponentId PKI_METADATA =
7217 SystemProfileProto_ComponentId_PKI_METADATA;
7218 static constexpr ComponentId REAL_TIME_URL_CHECKS_ALLOWLIST =
7219 SystemProfileProto_ComponentId_REAL_TIME_URL_CHECKS_ALLOWLIST;
7220 static constexpr ComponentId RECOVERY_IMPROVED =
7221 SystemProfileProto_ComponentId_RECOVERY_IMPROVED;
7222 static constexpr ComponentId SAFETY_TIPS =
7223 SystemProfileProto_ComponentId_SAFETY_TIPS;
7224 static constexpr ComponentId SCREEN_AI =
7225 SystemProfileProto_ComponentId_SCREEN_AI;
7226 static constexpr ComponentId SMART_DIM =
7227 SystemProfileProto_ComponentId_SMART_DIM;
7228 static constexpr ComponentId SODA =
7229 SystemProfileProto_ComponentId_SODA;
7230 static constexpr ComponentId SODA_DE_DE =
7231 SystemProfileProto_ComponentId_SODA_DE_DE;
7232 static constexpr ComponentId SODA_EN_US =
7233 SystemProfileProto_ComponentId_SODA_EN_US;
7234 static constexpr ComponentId SODA_ES_ES =
7235 SystemProfileProto_ComponentId_SODA_ES_ES;
7236 static constexpr ComponentId SODA_FR_FR =
7237 SystemProfileProto_ComponentId_SODA_FR_FR;
7238 static constexpr ComponentId SODA_IT_IT =
7239 SystemProfileProto_ComponentId_SODA_IT_IT;
7240 static constexpr ComponentId SODA_JA_JP =
7241 SystemProfileProto_ComponentId_SODA_JA_JP;
7242 static constexpr ComponentId THIRD_PARTY_MODULE_LIST =
7243 SystemProfileProto_ComponentId_THIRD_PARTY_MODULE_LIST;
7244 static constexpr ComponentId TRUST_TOKEN_KEY_COMMITMENTS =
7245 SystemProfileProto_ComponentId_TRUST_TOKEN_KEY_COMMITMENTS;
7246 static constexpr ComponentId THIRD_PARTY_COOKIE_DEPRECATION_METADATA =
7247 SystemProfileProto_ComponentId_THIRD_PARTY_COOKIE_DEPRECATION_METADATA;
7248 static constexpr ComponentId GROWTH_CAMPAIGNS =
7249 SystemProfileProto_ComponentId_GROWTH_CAMPAIGNS;
7250 static inline bool ComponentId_IsValid(int value) {
7251 return SystemProfileProto_ComponentId_IsValid(value);
7252 }
7253 static constexpr ComponentId ComponentId_MIN =
7254 SystemProfileProto_ComponentId_ComponentId_MIN;
7255 static constexpr ComponentId ComponentId_MAX =
7256 SystemProfileProto_ComponentId_ComponentId_MAX;
7257 static constexpr int ComponentId_ARRAYSIZE =
7258 SystemProfileProto_ComponentId_ComponentId_ARRAYSIZE;
7259 template<typename T>
7260 static inline const std::string& ComponentId_Name(T enum_t_value) {
7261 static_assert(::std::is_same<T, ComponentId>::value ||
7262 ::std::is_integral<T>::value,
7263 "Incorrect type passed to function ComponentId_Name.");
7264 return SystemProfileProto_ComponentId_Name(enum_t_value);
7265 }
7266 static inline bool ComponentId_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7267 ComponentId* value) {
7268 return SystemProfileProto_ComponentId_Parse(name, value);
7269 }
7270
7271 typedef SystemProfileProto_AppPackageNameAllowlistFilter AppPackageNameAllowlistFilter;
7272 static constexpr AppPackageNameAllowlistFilter SERVER_SIDE_FILTER_UNSPECIFIED =
7273 SystemProfileProto_AppPackageNameAllowlistFilter_SERVER_SIDE_FILTER_UNSPECIFIED;
7274 static constexpr AppPackageNameAllowlistFilter SERVER_SIDE_FILTER_REQUIRED =
7275 SystemProfileProto_AppPackageNameAllowlistFilter_SERVER_SIDE_FILTER_REQUIRED;
7276 static constexpr AppPackageNameAllowlistFilter NO_SERVER_SIDE_FILTER_REQUIRED_FOR_SYSTEM_APPS =
7277 SystemProfileProto_AppPackageNameAllowlistFilter_NO_SERVER_SIDE_FILTER_REQUIRED_FOR_SYSTEM_APPS;
7278 static inline bool AppPackageNameAllowlistFilter_IsValid(int value) {
7279 return SystemProfileProto_AppPackageNameAllowlistFilter_IsValid(value);
7280 }
7281 static constexpr AppPackageNameAllowlistFilter AppPackageNameAllowlistFilter_MIN =
7282 SystemProfileProto_AppPackageNameAllowlistFilter_AppPackageNameAllowlistFilter_MIN;
7283 static constexpr AppPackageNameAllowlistFilter AppPackageNameAllowlistFilter_MAX =
7284 SystemProfileProto_AppPackageNameAllowlistFilter_AppPackageNameAllowlistFilter_MAX;
7285 static constexpr int AppPackageNameAllowlistFilter_ARRAYSIZE =
7286 SystemProfileProto_AppPackageNameAllowlistFilter_AppPackageNameAllowlistFilter_ARRAYSIZE;
7287 template<typename T>
7288 static inline const std::string& AppPackageNameAllowlistFilter_Name(T enum_t_value) {
7289 static_assert(::std::is_same<T, AppPackageNameAllowlistFilter>::value ||
7290 ::std::is_integral<T>::value,
7291 "Incorrect type passed to function AppPackageNameAllowlistFilter_Name.");
7292 return SystemProfileProto_AppPackageNameAllowlistFilter_Name(enum_t_value);
7293 }
7294 static inline bool AppPackageNameAllowlistFilter_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7295 AppPackageNameAllowlistFilter* value) {
7296 return SystemProfileProto_AppPackageNameAllowlistFilter_Parse(name, value);
7297 }
7298
7299 typedef SystemProfileProto_ClientSideSamplingStatus ClientSideSamplingStatus;
7300 static constexpr ClientSideSamplingStatus SAMPLING_UNKNOWN =
7301 SystemProfileProto_ClientSideSamplingStatus_SAMPLING_UNKNOWN;
7302 static constexpr ClientSideSamplingStatus SAMPLING_APPLIED =
7303 SystemProfileProto_ClientSideSamplingStatus_SAMPLING_APPLIED;
7304 static constexpr ClientSideSamplingStatus SAMPLING_NOT_APPLIED =
7305 SystemProfileProto_ClientSideSamplingStatus_SAMPLING_NOT_APPLIED;
7306 static inline bool ClientSideSamplingStatus_IsValid(int value) {
7307 return SystemProfileProto_ClientSideSamplingStatus_IsValid(value);
7308 }
7309 static constexpr ClientSideSamplingStatus ClientSideSamplingStatus_MIN =
7310 SystemProfileProto_ClientSideSamplingStatus_ClientSideSamplingStatus_MIN;
7311 static constexpr ClientSideSamplingStatus ClientSideSamplingStatus_MAX =
7312 SystemProfileProto_ClientSideSamplingStatus_ClientSideSamplingStatus_MAX;
7313 static constexpr int ClientSideSamplingStatus_ARRAYSIZE =
7314 SystemProfileProto_ClientSideSamplingStatus_ClientSideSamplingStatus_ARRAYSIZE;
7315 template<typename T>
7316 static inline const std::string& ClientSideSamplingStatus_Name(T enum_t_value) {
7317 static_assert(::std::is_same<T, ClientSideSamplingStatus>::value ||
7318 ::std::is_integral<T>::value,
7319 "Incorrect type passed to function ClientSideSamplingStatus_Name.");
7320 return SystemProfileProto_ClientSideSamplingStatus_Name(enum_t_value);
7321 }
7322 static inline bool ClientSideSamplingStatus_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7323 ClientSideSamplingStatus* value) {
7324 return SystemProfileProto_ClientSideSamplingStatus_Parse(name, value);
7325 }
7326
7327 typedef SystemProfileProto_MetricsFilteringStatus MetricsFilteringStatus;
7328 static constexpr MetricsFilteringStatus METRICS_UNKNOWN =
7329 SystemProfileProto_MetricsFilteringStatus_METRICS_UNKNOWN;
7330 static constexpr MetricsFilteringStatus METRICS_ALL =
7331 SystemProfileProto_MetricsFilteringStatus_METRICS_ALL;
7332 static constexpr MetricsFilteringStatus METRICS_ONLY_CRITICAL =
7333 SystemProfileProto_MetricsFilteringStatus_METRICS_ONLY_CRITICAL;
7334 static inline bool MetricsFilteringStatus_IsValid(int value) {
7335 return SystemProfileProto_MetricsFilteringStatus_IsValid(value);
7336 }
7337 static constexpr MetricsFilteringStatus MetricsFilteringStatus_MIN =
7338 SystemProfileProto_MetricsFilteringStatus_MetricsFilteringStatus_MIN;
7339 static constexpr MetricsFilteringStatus MetricsFilteringStatus_MAX =
7340 SystemProfileProto_MetricsFilteringStatus_MetricsFilteringStatus_MAX;
7341 static constexpr int MetricsFilteringStatus_ARRAYSIZE =
7342 SystemProfileProto_MetricsFilteringStatus_MetricsFilteringStatus_ARRAYSIZE;
7343 template<typename T>
7344 static inline const std::string& MetricsFilteringStatus_Name(T enum_t_value) {
7345 static_assert(::std::is_same<T, MetricsFilteringStatus>::value ||
7346 ::std::is_integral<T>::value,
7347 "Incorrect type passed to function MetricsFilteringStatus_Name.");
7348 return SystemProfileProto_MetricsFilteringStatus_Name(enum_t_value);
7349 }
7350 static inline bool MetricsFilteringStatus_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7351 MetricsFilteringStatus* value) {
7352 return SystemProfileProto_MetricsFilteringStatus_Parse(name, value);
7353 }
7354
7355 typedef SystemProfileProto_InstallerPackage InstallerPackage;
7356 static constexpr InstallerPackage INSTALLER_PACKAGE_UNKNOWN =
7357 SystemProfileProto_InstallerPackage_INSTALLER_PACKAGE_UNKNOWN;
7358 static constexpr InstallerPackage INSTALLER_PACKAGE_NONE =
7359 SystemProfileProto_InstallerPackage_INSTALLER_PACKAGE_NONE;
7360 static constexpr InstallerPackage INSTALLER_PACKAGE_GOOGLE_PLAY_STORE =
7361 SystemProfileProto_InstallerPackage_INSTALLER_PACKAGE_GOOGLE_PLAY_STORE;
7362 static constexpr InstallerPackage INSTALLER_PACKAGE_OTHER =
7363 SystemProfileProto_InstallerPackage_INSTALLER_PACKAGE_OTHER;
7364 static inline bool InstallerPackage_IsValid(int value) {
7365 return SystemProfileProto_InstallerPackage_IsValid(value);
7366 }
7367 static constexpr InstallerPackage InstallerPackage_MIN =
7368 SystemProfileProto_InstallerPackage_InstallerPackage_MIN;
7369 static constexpr InstallerPackage InstallerPackage_MAX =
7370 SystemProfileProto_InstallerPackage_InstallerPackage_MAX;
7371 static constexpr int InstallerPackage_ARRAYSIZE =
7372 SystemProfileProto_InstallerPackage_InstallerPackage_ARRAYSIZE;
7373 template<typename T>
7374 static inline const std::string& InstallerPackage_Name(T enum_t_value) {
7375 static_assert(::std::is_same<T, InstallerPackage>::value ||
7376 ::std::is_integral<T>::value,
7377 "Incorrect type passed to function InstallerPackage_Name.");
7378 return SystemProfileProto_InstallerPackage_Name(enum_t_value);
7379 }
7380 static inline bool InstallerPackage_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7381 InstallerPackage* value) {
7382 return SystemProfileProto_InstallerPackage_Parse(name, value);
7383 }
7384
7385 typedef SystemProfileProto_LTSChannel LTSChannel;
7386 static constexpr LTSChannel LTS_CHANNEL_UNKNOWN =
7387 SystemProfileProto_LTSChannel_LTS_CHANNEL_UNKNOWN;
7388 static constexpr LTSChannel LTS_CHANNEL_STABLE =
7389 SystemProfileProto_LTSChannel_LTS_CHANNEL_STABLE;
7390 static constexpr LTSChannel LTS_CHANNEL_LTC =
7391 SystemProfileProto_LTSChannel_LTS_CHANNEL_LTC;
7392 static constexpr LTSChannel LTS_CHANNEL_LTS =
7393 SystemProfileProto_LTSChannel_LTS_CHANNEL_LTS;
7394 static inline bool LTSChannel_IsValid(int value) {
7395 return SystemProfileProto_LTSChannel_IsValid(value);
7396 }
7397 static constexpr LTSChannel LTSChannel_MIN =
7398 SystemProfileProto_LTSChannel_LTSChannel_MIN;
7399 static constexpr LTSChannel LTSChannel_MAX =
7400 SystemProfileProto_LTSChannel_LTSChannel_MAX;
7401 static constexpr int LTSChannel_ARRAYSIZE =
7402 SystemProfileProto_LTSChannel_LTSChannel_ARRAYSIZE;
7403 template<typename T>
7404 static inline const std::string& LTSChannel_Name(T enum_t_value) {
7405 static_assert(::std::is_same<T, LTSChannel>::value ||
7406 ::std::is_integral<T>::value,
7407 "Incorrect type passed to function LTSChannel_Name.");
7408 return SystemProfileProto_LTSChannel_Name(enum_t_value);
7409 }
7410 static inline bool LTSChannel_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
7411 LTSChannel* value) {
7412 return SystemProfileProto_LTSChannel_Parse(name, value);
7413 }
7414
7415 // accessors -------------------------------------------------------
7416
7417 enum : int {
7418 kFieldTrialFieldNumber = 9,
7419 kExternalAudioVideoDeviceFieldNumber = 14,
7420 kOccupiedExtensionBucketFieldNumber = 18,
7421 kAntivirusProductFieldNumber = 23,
7422 kChromeComponentFieldNumber = 24,
7423 kExtensionInstallFieldNumber = 25,
7424 kCommandLineKeyHashFieldNumber = 38,
7425 kAppVersionFieldNumber = 2,
7426 kApplicationLocaleFieldNumber = 4,
7427 kBrandCodeFieldNumber = 12,
7428 kAppPackageNameFieldNumber = 26,
7429 kVariationsSeedVersionFieldNumber = 28,
7430 kClientUuidFieldNumber = 34,
7431 kLogWrittenByAppVersionFieldNumber = 40,
7432 kOsFieldNumber = 5,
7433 kHardwareFieldNumber = 6,
7434 kStabilityFieldNumber = 8,
7435 kGoogleUpdateFieldNumber = 11,
7436 kNetworkFieldNumber = 13,
7437 kExternalAccessPointFieldNumber = 15,
7438 kLinkedAndroidPhoneDataFieldNumber = 29,
7439 kClonedInstallInfoFieldNumber = 39,
7440 kDemoModeDimensionsFieldNumber = 41,
7441 kBuildTimestampFieldNumber = 1,
7442 kUmaEnabledDateFieldNumber = 3,
7443 kChannelFieldNumber = 10,
7444 kMultiProfileUserCountFieldNumber = 17,
7445 kInstallDateFieldNumber = 16,
7446 kOffstoreExtensionsStateFieldNumber = 19,
7447 kUmaDefaultStateFieldNumber = 22,
7448 kIsExtendedStableChannelFieldNumber = 36,
7449 kIsInstrumentedBuildFieldNumber = 20,
7450 kClientIdWasUsedForTrialAssignmentFieldNumber = 33,
7451 kLowEntropySourceFieldNumber = 31,
7452 kOldLowEntropySourceFieldNumber = 32,
7453 kInstallerPackageFieldNumber = 35,
7454 kPseudoLowEntropySourceFieldNumber = 37,
7455 kAppPackageNameAllowlistFilterFieldNumber = 42,
7456 kClientSideSamplingStatusFieldNumber = 43,
7457 kMetricsFilteringStatusFieldNumber = 44,
7458 kSessionHashFieldNumber = 46,
7459 kLtsChannelFieldNumber = 45,
7460 };
7461 // repeated .metrics.SystemProfileProto.FieldTrial field_trial = 9;
7462 int field_trial_size() const;
7463 private:
7464 int _internal_field_trial_size() const;
7465 public:
7466 void clear_field_trial();
7467 ::metrics::SystemProfileProto_FieldTrial* mutable_field_trial(int index);
7468 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_FieldTrial >*
7469 mutable_field_trial();
7470 private:
7471 const ::metrics::SystemProfileProto_FieldTrial& _internal_field_trial(int index) const;
7472 ::metrics::SystemProfileProto_FieldTrial* _internal_add_field_trial();
7473 public:
7474 const ::metrics::SystemProfileProto_FieldTrial& field_trial(int index) const;
7475 ::metrics::SystemProfileProto_FieldTrial* add_field_trial();
7476 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_FieldTrial >&
7477 field_trial() const;
7478
7479 // repeated .metrics.SystemProfileProto.ExternalAudioVideoDevice external_audio_video_device = 14;
7480 int external_audio_video_device_size() const;
7481 private:
7482 int _internal_external_audio_video_device_size() const;
7483 public:
7484 void clear_external_audio_video_device();
7485 ::metrics::SystemProfileProto_ExternalAudioVideoDevice* mutable_external_audio_video_device(int index);
7486 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ExternalAudioVideoDevice >*
7487 mutable_external_audio_video_device();
7488 private:
7489 const ::metrics::SystemProfileProto_ExternalAudioVideoDevice& _internal_external_audio_video_device(int index) const;
7490 ::metrics::SystemProfileProto_ExternalAudioVideoDevice* _internal_add_external_audio_video_device();
7491 public:
7492 const ::metrics::SystemProfileProto_ExternalAudioVideoDevice& external_audio_video_device(int index) const;
7493 ::metrics::SystemProfileProto_ExternalAudioVideoDevice* add_external_audio_video_device();
7494 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ExternalAudioVideoDevice >&
7495 external_audio_video_device() const;
7496
7497 // repeated int32 occupied_extension_bucket = 18;
7498 int occupied_extension_bucket_size() const;
7499 private:
7500 int _internal_occupied_extension_bucket_size() const;
7501 public:
7502 void clear_occupied_extension_bucket();
7503 private:
7504 int32_t _internal_occupied_extension_bucket(int index) const;
7505 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
7506 _internal_occupied_extension_bucket() const;
7507 void _internal_add_occupied_extension_bucket(int32_t value);
7508 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
7509 _internal_mutable_occupied_extension_bucket();
7510 public:
7511 int32_t occupied_extension_bucket(int index) const;
7512 void set_occupied_extension_bucket(int index, int32_t value);
7513 void add_occupied_extension_bucket(int32_t value);
7514 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
7515 occupied_extension_bucket() const;
7516 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
7517 mutable_occupied_extension_bucket();
7518
7519 // repeated .metrics.SystemProfileProto.AntiVirusProduct antivirus_product = 23;
7520 int antivirus_product_size() const;
7521 private:
7522 int _internal_antivirus_product_size() const;
7523 public:
7524 void clear_antivirus_product();
7525 ::metrics::SystemProfileProto_AntiVirusProduct* mutable_antivirus_product(int index);
7526 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_AntiVirusProduct >*
7527 mutable_antivirus_product();
7528 private:
7529 const ::metrics::SystemProfileProto_AntiVirusProduct& _internal_antivirus_product(int index) const;
7530 ::metrics::SystemProfileProto_AntiVirusProduct* _internal_add_antivirus_product();
7531 public:
7532 const ::metrics::SystemProfileProto_AntiVirusProduct& antivirus_product(int index) const;
7533 ::metrics::SystemProfileProto_AntiVirusProduct* add_antivirus_product();
7534 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_AntiVirusProduct >&
7535 antivirus_product() const;
7536
7537 // repeated .metrics.SystemProfileProto.ChromeComponent chrome_component = 24;
7538 int chrome_component_size() const;
7539 private:
7540 int _internal_chrome_component_size() const;
7541 public:
7542 void clear_chrome_component();
7543 ::metrics::SystemProfileProto_ChromeComponent* mutable_chrome_component(int index);
7544 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ChromeComponent >*
7545 mutable_chrome_component();
7546 private:
7547 const ::metrics::SystemProfileProto_ChromeComponent& _internal_chrome_component(int index) const;
7548 ::metrics::SystemProfileProto_ChromeComponent* _internal_add_chrome_component();
7549 public:
7550 const ::metrics::SystemProfileProto_ChromeComponent& chrome_component(int index) const;
7551 ::metrics::SystemProfileProto_ChromeComponent* add_chrome_component();
7552 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ChromeComponent >&
7553 chrome_component() const;
7554
7555 // repeated .metrics.ExtensionInstallProto extension_install = 25;
7556 int extension_install_size() const;
7557 private:
7558 int _internal_extension_install_size() const;
7559 public:
7560 void clear_extension_install();
7561 ::metrics::ExtensionInstallProto* mutable_extension_install(int index);
7562 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::ExtensionInstallProto >*
7563 mutable_extension_install();
7564 private:
7565 const ::metrics::ExtensionInstallProto& _internal_extension_install(int index) const;
7566 ::metrics::ExtensionInstallProto* _internal_add_extension_install();
7567 public:
7568 const ::metrics::ExtensionInstallProto& extension_install(int index) const;
7569 ::metrics::ExtensionInstallProto* add_extension_install();
7570 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::ExtensionInstallProto >&
7571 extension_install() const;
7572
7573 // repeated fixed32 command_line_key_hash = 38 [packed = true];
7574 int command_line_key_hash_size() const;
7575 private:
7576 int _internal_command_line_key_hash_size() const;
7577 public:
7578 void clear_command_line_key_hash();
7579 private:
7580 uint32_t _internal_command_line_key_hash(int index) const;
7581 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
7582 _internal_command_line_key_hash() const;
7583 void _internal_add_command_line_key_hash(uint32_t value);
7584 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
7585 _internal_mutable_command_line_key_hash();
7586 public:
7587 uint32_t command_line_key_hash(int index) const;
7588 void set_command_line_key_hash(int index, uint32_t value);
7589 void add_command_line_key_hash(uint32_t value);
7590 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >&
7591 command_line_key_hash() const;
7592 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t >*
7593 mutable_command_line_key_hash();
7594
7595 // optional string app_version = 2;
7596 bool has_app_version() const;
7597 private:
7598 bool _internal_has_app_version() const;
7599 public:
7600 void clear_app_version();
7601 const std::string& app_version() const;
7602 template <typename ArgT0 = const std::string&, typename... ArgT>
7603 void set_app_version(ArgT0&& arg0, ArgT... args);
7604 std::string* mutable_app_version();
7605 PROTOBUF_NODISCARD std::string* release_app_version();
7606 void set_allocated_app_version(std::string* app_version);
7607 private:
7608 const std::string& _internal_app_version() const;
7609 inline PROTOBUF_ALWAYS_INLINE void _internal_set_app_version(const std::string& value);
7610 std::string* _internal_mutable_app_version();
7611 public:
7612
7613 // optional string application_locale = 4;
7614 bool has_application_locale() const;
7615 private:
7616 bool _internal_has_application_locale() const;
7617 public:
7618 void clear_application_locale();
7619 const std::string& application_locale() const;
7620 template <typename ArgT0 = const std::string&, typename... ArgT>
7621 void set_application_locale(ArgT0&& arg0, ArgT... args);
7622 std::string* mutable_application_locale();
7623 PROTOBUF_NODISCARD std::string* release_application_locale();
7624 void set_allocated_application_locale(std::string* application_locale);
7625 private:
7626 const std::string& _internal_application_locale() const;
7627 inline PROTOBUF_ALWAYS_INLINE void _internal_set_application_locale(const std::string& value);
7628 std::string* _internal_mutable_application_locale();
7629 public:
7630
7631 // optional string brand_code = 12;
7632 bool has_brand_code() const;
7633 private:
7634 bool _internal_has_brand_code() const;
7635 public:
7636 void clear_brand_code();
7637 const std::string& brand_code() const;
7638 template <typename ArgT0 = const std::string&, typename... ArgT>
7639 void set_brand_code(ArgT0&& arg0, ArgT... args);
7640 std::string* mutable_brand_code();
7641 PROTOBUF_NODISCARD std::string* release_brand_code();
7642 void set_allocated_brand_code(std::string* brand_code);
7643 private:
7644 const std::string& _internal_brand_code() const;
7645 inline PROTOBUF_ALWAYS_INLINE void _internal_set_brand_code(const std::string& value);
7646 std::string* _internal_mutable_brand_code();
7647 public:
7648
7649 // optional string app_package_name = 26;
7650 bool has_app_package_name() const;
7651 private:
7652 bool _internal_has_app_package_name() const;
7653 public:
7654 void clear_app_package_name();
7655 const std::string& app_package_name() const;
7656 template <typename ArgT0 = const std::string&, typename... ArgT>
7657 void set_app_package_name(ArgT0&& arg0, ArgT... args);
7658 std::string* mutable_app_package_name();
7659 PROTOBUF_NODISCARD std::string* release_app_package_name();
7660 void set_allocated_app_package_name(std::string* app_package_name);
7661 private:
7662 const std::string& _internal_app_package_name() const;
7663 inline PROTOBUF_ALWAYS_INLINE void _internal_set_app_package_name(const std::string& value);
7664 std::string* _internal_mutable_app_package_name();
7665 public:
7666
7667 // optional string variations_seed_version = 28;
7668 bool has_variations_seed_version() const;
7669 private:
7670 bool _internal_has_variations_seed_version() const;
7671 public:
7672 void clear_variations_seed_version();
7673 const std::string& variations_seed_version() const;
7674 template <typename ArgT0 = const std::string&, typename... ArgT>
7675 void set_variations_seed_version(ArgT0&& arg0, ArgT... args);
7676 std::string* mutable_variations_seed_version();
7677 PROTOBUF_NODISCARD std::string* release_variations_seed_version();
7678 void set_allocated_variations_seed_version(std::string* variations_seed_version);
7679 private:
7680 const std::string& _internal_variations_seed_version() const;
7681 inline PROTOBUF_ALWAYS_INLINE void _internal_set_variations_seed_version(const std::string& value);
7682 std::string* _internal_mutable_variations_seed_version();
7683 public:
7684
7685 // optional string client_uuid = 34;
7686 bool has_client_uuid() const;
7687 private:
7688 bool _internal_has_client_uuid() const;
7689 public:
7690 void clear_client_uuid();
7691 const std::string& client_uuid() const;
7692 template <typename ArgT0 = const std::string&, typename... ArgT>
7693 void set_client_uuid(ArgT0&& arg0, ArgT... args);
7694 std::string* mutable_client_uuid();
7695 PROTOBUF_NODISCARD std::string* release_client_uuid();
7696 void set_allocated_client_uuid(std::string* client_uuid);
7697 private:
7698 const std::string& _internal_client_uuid() const;
7699 inline PROTOBUF_ALWAYS_INLINE void _internal_set_client_uuid(const std::string& value);
7700 std::string* _internal_mutable_client_uuid();
7701 public:
7702
7703 // optional string log_written_by_app_version = 40;
7704 bool has_log_written_by_app_version() const;
7705 private:
7706 bool _internal_has_log_written_by_app_version() const;
7707 public:
7708 void clear_log_written_by_app_version();
7709 const std::string& log_written_by_app_version() const;
7710 template <typename ArgT0 = const std::string&, typename... ArgT>
7711 void set_log_written_by_app_version(ArgT0&& arg0, ArgT... args);
7712 std::string* mutable_log_written_by_app_version();
7713 PROTOBUF_NODISCARD std::string* release_log_written_by_app_version();
7714 void set_allocated_log_written_by_app_version(std::string* log_written_by_app_version);
7715 private:
7716 const std::string& _internal_log_written_by_app_version() const;
7717 inline PROTOBUF_ALWAYS_INLINE void _internal_set_log_written_by_app_version(const std::string& value);
7718 std::string* _internal_mutable_log_written_by_app_version();
7719 public:
7720
7721 // optional .metrics.SystemProfileProto.OS os = 5;
7722 bool has_os() const;
7723 private:
7724 bool _internal_has_os() const;
7725 public:
7726 void clear_os();
7727 const ::metrics::SystemProfileProto_OS& os() const;
7728 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_OS* release_os();
7729 ::metrics::SystemProfileProto_OS* mutable_os();
7730 void set_allocated_os(::metrics::SystemProfileProto_OS* os);
7731 private:
7732 const ::metrics::SystemProfileProto_OS& _internal_os() const;
7733 ::metrics::SystemProfileProto_OS* _internal_mutable_os();
7734 public:
7735 void unsafe_arena_set_allocated_os(
7736 ::metrics::SystemProfileProto_OS* os);
7737 ::metrics::SystemProfileProto_OS* unsafe_arena_release_os();
7738
7739 // optional .metrics.SystemProfileProto.Hardware hardware = 6;
7740 bool has_hardware() const;
7741 private:
7742 bool _internal_has_hardware() const;
7743 public:
7744 void clear_hardware();
7745 const ::metrics::SystemProfileProto_Hardware& hardware() const;
7746 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_Hardware* release_hardware();
7747 ::metrics::SystemProfileProto_Hardware* mutable_hardware();
7748 void set_allocated_hardware(::metrics::SystemProfileProto_Hardware* hardware);
7749 private:
7750 const ::metrics::SystemProfileProto_Hardware& _internal_hardware() const;
7751 ::metrics::SystemProfileProto_Hardware* _internal_mutable_hardware();
7752 public:
7753 void unsafe_arena_set_allocated_hardware(
7754 ::metrics::SystemProfileProto_Hardware* hardware);
7755 ::metrics::SystemProfileProto_Hardware* unsafe_arena_release_hardware();
7756
7757 // optional .metrics.SystemProfileProto.Stability stability = 8;
7758 bool has_stability() const;
7759 private:
7760 bool _internal_has_stability() const;
7761 public:
7762 void clear_stability();
7763 const ::metrics::SystemProfileProto_Stability& stability() const;
7764 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_Stability* release_stability();
7765 ::metrics::SystemProfileProto_Stability* mutable_stability();
7766 void set_allocated_stability(::metrics::SystemProfileProto_Stability* stability);
7767 private:
7768 const ::metrics::SystemProfileProto_Stability& _internal_stability() const;
7769 ::metrics::SystemProfileProto_Stability* _internal_mutable_stability();
7770 public:
7771 void unsafe_arena_set_allocated_stability(
7772 ::metrics::SystemProfileProto_Stability* stability);
7773 ::metrics::SystemProfileProto_Stability* unsafe_arena_release_stability();
7774
7775 // optional .metrics.SystemProfileProto.GoogleUpdate google_update = 11;
7776 bool has_google_update() const;
7777 private:
7778 bool _internal_has_google_update() const;
7779 public:
7780 void clear_google_update();
7781 const ::metrics::SystemProfileProto_GoogleUpdate& google_update() const;
7782 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_GoogleUpdate* release_google_update();
7783 ::metrics::SystemProfileProto_GoogleUpdate* mutable_google_update();
7784 void set_allocated_google_update(::metrics::SystemProfileProto_GoogleUpdate* google_update);
7785 private:
7786 const ::metrics::SystemProfileProto_GoogleUpdate& _internal_google_update() const;
7787 ::metrics::SystemProfileProto_GoogleUpdate* _internal_mutable_google_update();
7788 public:
7789 void unsafe_arena_set_allocated_google_update(
7790 ::metrics::SystemProfileProto_GoogleUpdate* google_update);
7791 ::metrics::SystemProfileProto_GoogleUpdate* unsafe_arena_release_google_update();
7792
7793 // optional .metrics.SystemProfileProto.Network network = 13;
7794 bool has_network() const;
7795 private:
7796 bool _internal_has_network() const;
7797 public:
7798 void clear_network();
7799 const ::metrics::SystemProfileProto_Network& network() const;
7800 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_Network* release_network();
7801 ::metrics::SystemProfileProto_Network* mutable_network();
7802 void set_allocated_network(::metrics::SystemProfileProto_Network* network);
7803 private:
7804 const ::metrics::SystemProfileProto_Network& _internal_network() const;
7805 ::metrics::SystemProfileProto_Network* _internal_mutable_network();
7806 public:
7807 void unsafe_arena_set_allocated_network(
7808 ::metrics::SystemProfileProto_Network* network);
7809 ::metrics::SystemProfileProto_Network* unsafe_arena_release_network();
7810
7811 // optional .metrics.SystemProfileProto.ExternalAccessPoint external_access_point = 15;
7812 bool has_external_access_point() const;
7813 private:
7814 bool _internal_has_external_access_point() const;
7815 public:
7816 void clear_external_access_point();
7817 const ::metrics::SystemProfileProto_ExternalAccessPoint& external_access_point() const;
7818 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_ExternalAccessPoint* release_external_access_point();
7819 ::metrics::SystemProfileProto_ExternalAccessPoint* mutable_external_access_point();
7820 void set_allocated_external_access_point(::metrics::SystemProfileProto_ExternalAccessPoint* external_access_point);
7821 private:
7822 const ::metrics::SystemProfileProto_ExternalAccessPoint& _internal_external_access_point() const;
7823 ::metrics::SystemProfileProto_ExternalAccessPoint* _internal_mutable_external_access_point();
7824 public:
7825 void unsafe_arena_set_allocated_external_access_point(
7826 ::metrics::SystemProfileProto_ExternalAccessPoint* external_access_point);
7827 ::metrics::SystemProfileProto_ExternalAccessPoint* unsafe_arena_release_external_access_point();
7828
7829 // optional .metrics.SystemProfileProto.LinkedAndroidPhoneData linked_android_phone_data = 29;
7830 bool has_linked_android_phone_data() const;
7831 private:
7832 bool _internal_has_linked_android_phone_data() const;
7833 public:
7834 void clear_linked_android_phone_data();
7835 const ::metrics::SystemProfileProto_LinkedAndroidPhoneData& linked_android_phone_data() const;
7836 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_LinkedAndroidPhoneData* release_linked_android_phone_data();
7837 ::metrics::SystemProfileProto_LinkedAndroidPhoneData* mutable_linked_android_phone_data();
7838 void set_allocated_linked_android_phone_data(::metrics::SystemProfileProto_LinkedAndroidPhoneData* linked_android_phone_data);
7839 private:
7840 const ::metrics::SystemProfileProto_LinkedAndroidPhoneData& _internal_linked_android_phone_data() const;
7841 ::metrics::SystemProfileProto_LinkedAndroidPhoneData* _internal_mutable_linked_android_phone_data();
7842 public:
7843 void unsafe_arena_set_allocated_linked_android_phone_data(
7844 ::metrics::SystemProfileProto_LinkedAndroidPhoneData* linked_android_phone_data);
7845 ::metrics::SystemProfileProto_LinkedAndroidPhoneData* unsafe_arena_release_linked_android_phone_data();
7846
7847 // optional .metrics.SystemProfileProto.ClonedInstallInfo cloned_install_info = 39;
7848 bool has_cloned_install_info() const;
7849 private:
7850 bool _internal_has_cloned_install_info() const;
7851 public:
7852 void clear_cloned_install_info();
7853 const ::metrics::SystemProfileProto_ClonedInstallInfo& cloned_install_info() const;
7854 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_ClonedInstallInfo* release_cloned_install_info();
7855 ::metrics::SystemProfileProto_ClonedInstallInfo* mutable_cloned_install_info();
7856 void set_allocated_cloned_install_info(::metrics::SystemProfileProto_ClonedInstallInfo* cloned_install_info);
7857 private:
7858 const ::metrics::SystemProfileProto_ClonedInstallInfo& _internal_cloned_install_info() const;
7859 ::metrics::SystemProfileProto_ClonedInstallInfo* _internal_mutable_cloned_install_info();
7860 public:
7861 void unsafe_arena_set_allocated_cloned_install_info(
7862 ::metrics::SystemProfileProto_ClonedInstallInfo* cloned_install_info);
7863 ::metrics::SystemProfileProto_ClonedInstallInfo* unsafe_arena_release_cloned_install_info();
7864
7865 // optional .metrics.SystemProfileProto.DemoModeDimensions demo_mode_dimensions = 41;
7866 bool has_demo_mode_dimensions() const;
7867 private:
7868 bool _internal_has_demo_mode_dimensions() const;
7869 public:
7870 void clear_demo_mode_dimensions();
7871 const ::metrics::SystemProfileProto_DemoModeDimensions& demo_mode_dimensions() const;
7872 PROTOBUF_NODISCARD ::metrics::SystemProfileProto_DemoModeDimensions* release_demo_mode_dimensions();
7873 ::metrics::SystemProfileProto_DemoModeDimensions* mutable_demo_mode_dimensions();
7874 void set_allocated_demo_mode_dimensions(::metrics::SystemProfileProto_DemoModeDimensions* demo_mode_dimensions);
7875 private:
7876 const ::metrics::SystemProfileProto_DemoModeDimensions& _internal_demo_mode_dimensions() const;
7877 ::metrics::SystemProfileProto_DemoModeDimensions* _internal_mutable_demo_mode_dimensions();
7878 public:
7879 void unsafe_arena_set_allocated_demo_mode_dimensions(
7880 ::metrics::SystemProfileProto_DemoModeDimensions* demo_mode_dimensions);
7881 ::metrics::SystemProfileProto_DemoModeDimensions* unsafe_arena_release_demo_mode_dimensions();
7882
7883 // optional int64 build_timestamp = 1;
7884 bool has_build_timestamp() const;
7885 private:
7886 bool _internal_has_build_timestamp() const;
7887 public:
7888 void clear_build_timestamp();
7889 int64_t build_timestamp() const;
7890 void set_build_timestamp(int64_t value);
7891 private:
7892 int64_t _internal_build_timestamp() const;
7893 void _internal_set_build_timestamp(int64_t value);
7894 public:
7895
7896 // optional int64 uma_enabled_date = 3;
7897 bool has_uma_enabled_date() const;
7898 private:
7899 bool _internal_has_uma_enabled_date() const;
7900 public:
7901 void clear_uma_enabled_date();
7902 int64_t uma_enabled_date() const;
7903 void set_uma_enabled_date(int64_t value);
7904 private:
7905 int64_t _internal_uma_enabled_date() const;
7906 void _internal_set_uma_enabled_date(int64_t value);
7907 public:
7908
7909 // optional .metrics.SystemProfileProto.Channel channel = 10;
7910 bool has_channel() const;
7911 private:
7912 bool _internal_has_channel() const;
7913 public:
7914 void clear_channel();
7915 ::metrics::SystemProfileProto_Channel channel() const;
7916 void set_channel(::metrics::SystemProfileProto_Channel value);
7917 private:
7918 ::metrics::SystemProfileProto_Channel _internal_channel() const;
7919 void _internal_set_channel(::metrics::SystemProfileProto_Channel value);
7920 public:
7921
7922 // optional uint32 multi_profile_user_count = 17;
7923 bool has_multi_profile_user_count() const;
7924 private:
7925 bool _internal_has_multi_profile_user_count() const;
7926 public:
7927 void clear_multi_profile_user_count();
7928 uint32_t multi_profile_user_count() const;
7929 void set_multi_profile_user_count(uint32_t value);
7930 private:
7931 uint32_t _internal_multi_profile_user_count() const;
7932 void _internal_set_multi_profile_user_count(uint32_t value);
7933 public:
7934
7935 // optional int64 install_date = 16;
7936 bool has_install_date() const;
7937 private:
7938 bool _internal_has_install_date() const;
7939 public:
7940 void clear_install_date();
7941 int64_t install_date() const;
7942 void set_install_date(int64_t value);
7943 private:
7944 int64_t _internal_install_date() const;
7945 void _internal_set_install_date(int64_t value);
7946 public:
7947
7948 // optional .metrics.SystemProfileProto.ExtensionsState offstore_extensions_state = 19;
7949 bool has_offstore_extensions_state() const;
7950 private:
7951 bool _internal_has_offstore_extensions_state() const;
7952 public:
7953 void clear_offstore_extensions_state();
7954 ::metrics::SystemProfileProto_ExtensionsState offstore_extensions_state() const;
7955 void set_offstore_extensions_state(::metrics::SystemProfileProto_ExtensionsState value);
7956 private:
7957 ::metrics::SystemProfileProto_ExtensionsState _internal_offstore_extensions_state() const;
7958 void _internal_set_offstore_extensions_state(::metrics::SystemProfileProto_ExtensionsState value);
7959 public:
7960
7961 // optional .metrics.SystemProfileProto.UmaDefaultState uma_default_state = 22;
7962 bool has_uma_default_state() const;
7963 private:
7964 bool _internal_has_uma_default_state() const;
7965 public:
7966 void clear_uma_default_state();
7967 ::metrics::SystemProfileProto_UmaDefaultState uma_default_state() const;
7968 void set_uma_default_state(::metrics::SystemProfileProto_UmaDefaultState value);
7969 private:
7970 ::metrics::SystemProfileProto_UmaDefaultState _internal_uma_default_state() const;
7971 void _internal_set_uma_default_state(::metrics::SystemProfileProto_UmaDefaultState value);
7972 public:
7973
7974 // optional bool is_extended_stable_channel = 36 [default = false];
7975 bool has_is_extended_stable_channel() const;
7976 private:
7977 bool _internal_has_is_extended_stable_channel() const;
7978 public:
7979 void clear_is_extended_stable_channel();
7980 bool is_extended_stable_channel() const;
7981 void set_is_extended_stable_channel(bool value);
7982 private:
7983 bool _internal_is_extended_stable_channel() const;
7984 void _internal_set_is_extended_stable_channel(bool value);
7985 public:
7986
7987 // optional bool is_instrumented_build = 20 [default = false];
7988 bool has_is_instrumented_build() const;
7989 private:
7990 bool _internal_has_is_instrumented_build() const;
7991 public:
7992 void clear_is_instrumented_build();
7993 bool is_instrumented_build() const;
7994 void set_is_instrumented_build(bool value);
7995 private:
7996 bool _internal_is_instrumented_build() const;
7997 void _internal_set_is_instrumented_build(bool value);
7998 public:
7999
8000 // optional bool client_id_was_used_for_trial_assignment = 33;
8001 bool has_client_id_was_used_for_trial_assignment() const;
8002 private:
8003 bool _internal_has_client_id_was_used_for_trial_assignment() const;
8004 public:
8005 void clear_client_id_was_used_for_trial_assignment();
8006 bool client_id_was_used_for_trial_assignment() const;
8007 void set_client_id_was_used_for_trial_assignment(bool value);
8008 private:
8009 bool _internal_client_id_was_used_for_trial_assignment() const;
8010 void _internal_set_client_id_was_used_for_trial_assignment(bool value);
8011 public:
8012
8013 // optional int32 low_entropy_source = 31;
8014 bool has_low_entropy_source() const;
8015 private:
8016 bool _internal_has_low_entropy_source() const;
8017 public:
8018 void clear_low_entropy_source();
8019 int32_t low_entropy_source() const;
8020 void set_low_entropy_source(int32_t value);
8021 private:
8022 int32_t _internal_low_entropy_source() const;
8023 void _internal_set_low_entropy_source(int32_t value);
8024 public:
8025
8026 // optional int32 old_low_entropy_source = 32;
8027 bool has_old_low_entropy_source() const;
8028 private:
8029 bool _internal_has_old_low_entropy_source() const;
8030 public:
8031 void clear_old_low_entropy_source();
8032 int32_t old_low_entropy_source() const;
8033 void set_old_low_entropy_source(int32_t value);
8034 private:
8035 int32_t _internal_old_low_entropy_source() const;
8036 void _internal_set_old_low_entropy_source(int32_t value);
8037 public:
8038
8039 // optional .metrics.SystemProfileProto.InstallerPackage installer_package = 35;
8040 bool has_installer_package() const;
8041 private:
8042 bool _internal_has_installer_package() const;
8043 public:
8044 void clear_installer_package();
8045 ::metrics::SystemProfileProto_InstallerPackage installer_package() const;
8046 void set_installer_package(::metrics::SystemProfileProto_InstallerPackage value);
8047 private:
8048 ::metrics::SystemProfileProto_InstallerPackage _internal_installer_package() const;
8049 void _internal_set_installer_package(::metrics::SystemProfileProto_InstallerPackage value);
8050 public:
8051
8052 // optional int32 pseudo_low_entropy_source = 37;
8053 bool has_pseudo_low_entropy_source() const;
8054 private:
8055 bool _internal_has_pseudo_low_entropy_source() const;
8056 public:
8057 void clear_pseudo_low_entropy_source();
8058 int32_t pseudo_low_entropy_source() const;
8059 void set_pseudo_low_entropy_source(int32_t value);
8060 private:
8061 int32_t _internal_pseudo_low_entropy_source() const;
8062 void _internal_set_pseudo_low_entropy_source(int32_t value);
8063 public:
8064
8065 // optional .metrics.SystemProfileProto.AppPackageNameAllowlistFilter app_package_name_allowlist_filter = 42;
8066 bool has_app_package_name_allowlist_filter() const;
8067 private:
8068 bool _internal_has_app_package_name_allowlist_filter() const;
8069 public:
8070 void clear_app_package_name_allowlist_filter();
8071 ::metrics::SystemProfileProto_AppPackageNameAllowlistFilter app_package_name_allowlist_filter() const;
8072 void set_app_package_name_allowlist_filter(::metrics::SystemProfileProto_AppPackageNameAllowlistFilter value);
8073 private:
8074 ::metrics::SystemProfileProto_AppPackageNameAllowlistFilter _internal_app_package_name_allowlist_filter() const;
8075 void _internal_set_app_package_name_allowlist_filter(::metrics::SystemProfileProto_AppPackageNameAllowlistFilter value);
8076 public:
8077
8078 // optional .metrics.SystemProfileProto.ClientSideSamplingStatus client_side_sampling_status = 43;
8079 bool has_client_side_sampling_status() const;
8080 private:
8081 bool _internal_has_client_side_sampling_status() const;
8082 public:
8083 void clear_client_side_sampling_status();
8084 ::metrics::SystemProfileProto_ClientSideSamplingStatus client_side_sampling_status() const;
8085 void set_client_side_sampling_status(::metrics::SystemProfileProto_ClientSideSamplingStatus value);
8086 private:
8087 ::metrics::SystemProfileProto_ClientSideSamplingStatus _internal_client_side_sampling_status() const;
8088 void _internal_set_client_side_sampling_status(::metrics::SystemProfileProto_ClientSideSamplingStatus value);
8089 public:
8090
8091 // optional .metrics.SystemProfileProto.MetricsFilteringStatus metrics_filtering_status = 44;
8092 bool has_metrics_filtering_status() const;
8093 private:
8094 bool _internal_has_metrics_filtering_status() const;
8095 public:
8096 void clear_metrics_filtering_status();
8097 ::metrics::SystemProfileProto_MetricsFilteringStatus metrics_filtering_status() const;
8098 void set_metrics_filtering_status(::metrics::SystemProfileProto_MetricsFilteringStatus value);
8099 private:
8100 ::metrics::SystemProfileProto_MetricsFilteringStatus _internal_metrics_filtering_status() const;
8101 void _internal_set_metrics_filtering_status(::metrics::SystemProfileProto_MetricsFilteringStatus value);
8102 public:
8103
8104 // optional fixed64 session_hash = 46;
8105 bool has_session_hash() const;
8106 private:
8107 bool _internal_has_session_hash() const;
8108 public:
8109 void clear_session_hash();
8110 uint64_t session_hash() const;
8111 void set_session_hash(uint64_t value);
8112 private:
8113 uint64_t _internal_session_hash() const;
8114 void _internal_set_session_hash(uint64_t value);
8115 public:
8116
8117 // optional .metrics.SystemProfileProto.LTSChannel lts_channel = 45;
8118 bool has_lts_channel() const;
8119 private:
8120 bool _internal_has_lts_channel() const;
8121 public:
8122 void clear_lts_channel();
8123 ::metrics::SystemProfileProto_LTSChannel lts_channel() const;
8124 void set_lts_channel(::metrics::SystemProfileProto_LTSChannel value);
8125 private:
8126 ::metrics::SystemProfileProto_LTSChannel _internal_lts_channel() const;
8127 void _internal_set_lts_channel(::metrics::SystemProfileProto_LTSChannel value);
8128 public:
8129
8130 // @@protoc_insertion_point(class_scope:metrics.SystemProfileProto)
8131 private:
8132 class _Internal;
8133
8134 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
8135 typedef void InternalArenaConstructable_;
8136 typedef void DestructorSkippable_;
8137 struct Impl_ {
8138 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<2> _has_bits_;
8139 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
8140 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_FieldTrial > field_trial_;
8141 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ExternalAudioVideoDevice > external_audio_video_device_;
8142 ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > occupied_extension_bucket_;
8143 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_AntiVirusProduct > antivirus_product_;
8144 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::SystemProfileProto_ChromeComponent > chrome_component_;
8145 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::metrics::ExtensionInstallProto > extension_install_;
8146 ::PROTOBUF_NAMESPACE_ID::RepeatedField< uint32_t > command_line_key_hash_;
8147 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr app_version_;
8148 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr application_locale_;
8149 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr brand_code_;
8150 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr app_package_name_;
8151 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr variations_seed_version_;
8152 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr client_uuid_;
8153 ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr log_written_by_app_version_;
8154 ::metrics::SystemProfileProto_OS* os_;
8155 ::metrics::SystemProfileProto_Hardware* hardware_;
8156 ::metrics::SystemProfileProto_Stability* stability_;
8157 ::metrics::SystemProfileProto_GoogleUpdate* google_update_;
8158 ::metrics::SystemProfileProto_Network* network_;
8159 ::metrics::SystemProfileProto_ExternalAccessPoint* external_access_point_;
8160 ::metrics::SystemProfileProto_LinkedAndroidPhoneData* linked_android_phone_data_;
8161 ::metrics::SystemProfileProto_ClonedInstallInfo* cloned_install_info_;
8162 ::metrics::SystemProfileProto_DemoModeDimensions* demo_mode_dimensions_;
8163 int64_t build_timestamp_;
8164 int64_t uma_enabled_date_;
8165 int channel_;
8166 uint32_t multi_profile_user_count_;
8167 int64_t install_date_;
8168 int offstore_extensions_state_;
8169 int uma_default_state_;
8170 bool is_extended_stable_channel_;
8171 bool is_instrumented_build_;
8172 bool client_id_was_used_for_trial_assignment_;
8173 int32_t low_entropy_source_;
8174 int32_t old_low_entropy_source_;
8175 int installer_package_;
8176 int32_t pseudo_low_entropy_source_;
8177 int app_package_name_allowlist_filter_;
8178 int client_side_sampling_status_;
8179 int metrics_filtering_status_;
8180 uint64_t session_hash_;
8181 int lts_channel_;
8182 };
8183 union { Impl_ _impl_; };
8184 friend struct ::TableStruct_system_5fprofile_2eproto;
8185 };
8186 // ===================================================================
8187
8188
8189 // ===================================================================
8190
8191 #ifdef __GNUC__
8192 #pragma GCC diagnostic push
8193 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
8194 #endif // __GNUC__
8195 // SystemProfileProto_ClonedInstallInfo
8196
8197 // optional int64 last_timestamp = 1;
_internal_has_last_timestamp()8198 inline bool SystemProfileProto_ClonedInstallInfo::_internal_has_last_timestamp() const {
8199 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8200 return value;
8201 }
has_last_timestamp()8202 inline bool SystemProfileProto_ClonedInstallInfo::has_last_timestamp() const {
8203 return _internal_has_last_timestamp();
8204 }
clear_last_timestamp()8205 inline void SystemProfileProto_ClonedInstallInfo::clear_last_timestamp() {
8206 _impl_.last_timestamp_ = int64_t{0};
8207 _impl_._has_bits_[0] &= ~0x00000001u;
8208 }
_internal_last_timestamp()8209 inline int64_t SystemProfileProto_ClonedInstallInfo::_internal_last_timestamp() const {
8210 return _impl_.last_timestamp_;
8211 }
last_timestamp()8212 inline int64_t SystemProfileProto_ClonedInstallInfo::last_timestamp() const {
8213 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.ClonedInstallInfo.last_timestamp)
8214 return _internal_last_timestamp();
8215 }
_internal_set_last_timestamp(int64_t value)8216 inline void SystemProfileProto_ClonedInstallInfo::_internal_set_last_timestamp(int64_t value) {
8217 _impl_._has_bits_[0] |= 0x00000001u;
8218 _impl_.last_timestamp_ = value;
8219 }
set_last_timestamp(int64_t value)8220 inline void SystemProfileProto_ClonedInstallInfo::set_last_timestamp(int64_t value) {
8221 _internal_set_last_timestamp(value);
8222 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.ClonedInstallInfo.last_timestamp)
8223 }
8224
8225 // optional fixed64 cloned_from_client_id = 2;
_internal_has_cloned_from_client_id()8226 inline bool SystemProfileProto_ClonedInstallInfo::_internal_has_cloned_from_client_id() const {
8227 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8228 return value;
8229 }
has_cloned_from_client_id()8230 inline bool SystemProfileProto_ClonedInstallInfo::has_cloned_from_client_id() const {
8231 return _internal_has_cloned_from_client_id();
8232 }
clear_cloned_from_client_id()8233 inline void SystemProfileProto_ClonedInstallInfo::clear_cloned_from_client_id() {
8234 _impl_.cloned_from_client_id_ = uint64_t{0u};
8235 _impl_._has_bits_[0] &= ~0x00000002u;
8236 }
_internal_cloned_from_client_id()8237 inline uint64_t SystemProfileProto_ClonedInstallInfo::_internal_cloned_from_client_id() const {
8238 return _impl_.cloned_from_client_id_;
8239 }
cloned_from_client_id()8240 inline uint64_t SystemProfileProto_ClonedInstallInfo::cloned_from_client_id() const {
8241 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.ClonedInstallInfo.cloned_from_client_id)
8242 return _internal_cloned_from_client_id();
8243 }
_internal_set_cloned_from_client_id(uint64_t value)8244 inline void SystemProfileProto_ClonedInstallInfo::_internal_set_cloned_from_client_id(uint64_t value) {
8245 _impl_._has_bits_[0] |= 0x00000002u;
8246 _impl_.cloned_from_client_id_ = value;
8247 }
set_cloned_from_client_id(uint64_t value)8248 inline void SystemProfileProto_ClonedInstallInfo::set_cloned_from_client_id(uint64_t value) {
8249 _internal_set_cloned_from_client_id(value);
8250 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.ClonedInstallInfo.cloned_from_client_id)
8251 }
8252
8253 // optional int64 first_timestamp = 3;
_internal_has_first_timestamp()8254 inline bool SystemProfileProto_ClonedInstallInfo::_internal_has_first_timestamp() const {
8255 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8256 return value;
8257 }
has_first_timestamp()8258 inline bool SystemProfileProto_ClonedInstallInfo::has_first_timestamp() const {
8259 return _internal_has_first_timestamp();
8260 }
clear_first_timestamp()8261 inline void SystemProfileProto_ClonedInstallInfo::clear_first_timestamp() {
8262 _impl_.first_timestamp_ = int64_t{0};
8263 _impl_._has_bits_[0] &= ~0x00000004u;
8264 }
_internal_first_timestamp()8265 inline int64_t SystemProfileProto_ClonedInstallInfo::_internal_first_timestamp() const {
8266 return _impl_.first_timestamp_;
8267 }
first_timestamp()8268 inline int64_t SystemProfileProto_ClonedInstallInfo::first_timestamp() const {
8269 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.ClonedInstallInfo.first_timestamp)
8270 return _internal_first_timestamp();
8271 }
_internal_set_first_timestamp(int64_t value)8272 inline void SystemProfileProto_ClonedInstallInfo::_internal_set_first_timestamp(int64_t value) {
8273 _impl_._has_bits_[0] |= 0x00000004u;
8274 _impl_.first_timestamp_ = value;
8275 }
set_first_timestamp(int64_t value)8276 inline void SystemProfileProto_ClonedInstallInfo::set_first_timestamp(int64_t value) {
8277 _internal_set_first_timestamp(value);
8278 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.ClonedInstallInfo.first_timestamp)
8279 }
8280
8281 // optional int32 count = 4;
_internal_has_count()8282 inline bool SystemProfileProto_ClonedInstallInfo::_internal_has_count() const {
8283 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
8284 return value;
8285 }
has_count()8286 inline bool SystemProfileProto_ClonedInstallInfo::has_count() const {
8287 return _internal_has_count();
8288 }
clear_count()8289 inline void SystemProfileProto_ClonedInstallInfo::clear_count() {
8290 _impl_.count_ = 0;
8291 _impl_._has_bits_[0] &= ~0x00000008u;
8292 }
_internal_count()8293 inline int32_t SystemProfileProto_ClonedInstallInfo::_internal_count() const {
8294 return _impl_.count_;
8295 }
count()8296 inline int32_t SystemProfileProto_ClonedInstallInfo::count() const {
8297 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.ClonedInstallInfo.count)
8298 return _internal_count();
8299 }
_internal_set_count(int32_t value)8300 inline void SystemProfileProto_ClonedInstallInfo::_internal_set_count(int32_t value) {
8301 _impl_._has_bits_[0] |= 0x00000008u;
8302 _impl_.count_ = value;
8303 }
set_count(int32_t value)8304 inline void SystemProfileProto_ClonedInstallInfo::set_count(int32_t value) {
8305 _internal_set_count(value);
8306 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.ClonedInstallInfo.count)
8307 }
8308
8309 // -------------------------------------------------------------------
8310
8311 // SystemProfileProto_OS_Arc
8312
8313 // optional string release = 1;
_internal_has_release()8314 inline bool SystemProfileProto_OS_Arc::_internal_has_release() const {
8315 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8316 return value;
8317 }
has_release()8318 inline bool SystemProfileProto_OS_Arc::has_release() const {
8319 return _internal_has_release();
8320 }
clear_release()8321 inline void SystemProfileProto_OS_Arc::clear_release() {
8322 _impl_.release_.ClearToEmpty();
8323 _impl_._has_bits_[0] &= ~0x00000001u;
8324 }
release()8325 inline const std::string& SystemProfileProto_OS_Arc::release() const {
8326 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.OS.Arc.release)
8327 return _internal_release();
8328 }
8329 template <typename ArgT0, typename... ArgT>
8330 inline PROTOBUF_ALWAYS_INLINE
set_release(ArgT0 && arg0,ArgT...args)8331 void SystemProfileProto_OS_Arc::set_release(ArgT0&& arg0, ArgT... args) {
8332 _impl_._has_bits_[0] |= 0x00000001u;
8333 _impl_.release_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8334 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.OS.Arc.release)
8335 }
mutable_release()8336 inline std::string* SystemProfileProto_OS_Arc::mutable_release() {
8337 std::string* _s = _internal_mutable_release();
8338 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.OS.Arc.release)
8339 return _s;
8340 }
_internal_release()8341 inline const std::string& SystemProfileProto_OS_Arc::_internal_release() const {
8342 return _impl_.release_.Get();
8343 }
_internal_set_release(const std::string & value)8344 inline void SystemProfileProto_OS_Arc::_internal_set_release(const std::string& value) {
8345 _impl_._has_bits_[0] |= 0x00000001u;
8346 _impl_.release_.Set(value, GetArenaForAllocation());
8347 }
_internal_mutable_release()8348 inline std::string* SystemProfileProto_OS_Arc::_internal_mutable_release() {
8349 _impl_._has_bits_[0] |= 0x00000001u;
8350 return _impl_.release_.Mutable(GetArenaForAllocation());
8351 }
release_release()8352 inline std::string* SystemProfileProto_OS_Arc::release_release() {
8353 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.OS.Arc.release)
8354 if (!_internal_has_release()) {
8355 return nullptr;
8356 }
8357 _impl_._has_bits_[0] &= ~0x00000001u;
8358 auto* p = _impl_.release_.Release();
8359 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8360 if (_impl_.release_.IsDefault()) {
8361 _impl_.release_.Set("", GetArenaForAllocation());
8362 }
8363 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8364 return p;
8365 }
set_allocated_release(std::string * release)8366 inline void SystemProfileProto_OS_Arc::set_allocated_release(std::string* release) {
8367 if (release != nullptr) {
8368 _impl_._has_bits_[0] |= 0x00000001u;
8369 } else {
8370 _impl_._has_bits_[0] &= ~0x00000001u;
8371 }
8372 _impl_.release_.SetAllocated(release, GetArenaForAllocation());
8373 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8374 if (_impl_.release_.IsDefault()) {
8375 _impl_.release_.Set("", GetArenaForAllocation());
8376 }
8377 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8378 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.OS.Arc.release)
8379 }
8380
8381 // -------------------------------------------------------------------
8382
8383 // SystemProfileProto_OS
8384
8385 // optional string name = 1;
_internal_has_name()8386 inline bool SystemProfileProto_OS::_internal_has_name() const {
8387 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8388 return value;
8389 }
has_name()8390 inline bool SystemProfileProto_OS::has_name() const {
8391 return _internal_has_name();
8392 }
clear_name()8393 inline void SystemProfileProto_OS::clear_name() {
8394 _impl_.name_.ClearToEmpty();
8395 _impl_._has_bits_[0] &= ~0x00000001u;
8396 }
name()8397 inline const std::string& SystemProfileProto_OS::name() const {
8398 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.OS.name)
8399 return _internal_name();
8400 }
8401 template <typename ArgT0, typename... ArgT>
8402 inline PROTOBUF_ALWAYS_INLINE
set_name(ArgT0 && arg0,ArgT...args)8403 void SystemProfileProto_OS::set_name(ArgT0&& arg0, ArgT... args) {
8404 _impl_._has_bits_[0] |= 0x00000001u;
8405 _impl_.name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8406 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.OS.name)
8407 }
mutable_name()8408 inline std::string* SystemProfileProto_OS::mutable_name() {
8409 std::string* _s = _internal_mutable_name();
8410 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.OS.name)
8411 return _s;
8412 }
_internal_name()8413 inline const std::string& SystemProfileProto_OS::_internal_name() const {
8414 return _impl_.name_.Get();
8415 }
_internal_set_name(const std::string & value)8416 inline void SystemProfileProto_OS::_internal_set_name(const std::string& value) {
8417 _impl_._has_bits_[0] |= 0x00000001u;
8418 _impl_.name_.Set(value, GetArenaForAllocation());
8419 }
_internal_mutable_name()8420 inline std::string* SystemProfileProto_OS::_internal_mutable_name() {
8421 _impl_._has_bits_[0] |= 0x00000001u;
8422 return _impl_.name_.Mutable(GetArenaForAllocation());
8423 }
release_name()8424 inline std::string* SystemProfileProto_OS::release_name() {
8425 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.OS.name)
8426 if (!_internal_has_name()) {
8427 return nullptr;
8428 }
8429 _impl_._has_bits_[0] &= ~0x00000001u;
8430 auto* p = _impl_.name_.Release();
8431 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8432 if (_impl_.name_.IsDefault()) {
8433 _impl_.name_.Set("", GetArenaForAllocation());
8434 }
8435 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8436 return p;
8437 }
set_allocated_name(std::string * name)8438 inline void SystemProfileProto_OS::set_allocated_name(std::string* name) {
8439 if (name != nullptr) {
8440 _impl_._has_bits_[0] |= 0x00000001u;
8441 } else {
8442 _impl_._has_bits_[0] &= ~0x00000001u;
8443 }
8444 _impl_.name_.SetAllocated(name, GetArenaForAllocation());
8445 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8446 if (_impl_.name_.IsDefault()) {
8447 _impl_.name_.Set("", GetArenaForAllocation());
8448 }
8449 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8450 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.OS.name)
8451 }
8452
8453 // optional string version = 2;
_internal_has_version()8454 inline bool SystemProfileProto_OS::_internal_has_version() const {
8455 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
8456 return value;
8457 }
has_version()8458 inline bool SystemProfileProto_OS::has_version() const {
8459 return _internal_has_version();
8460 }
clear_version()8461 inline void SystemProfileProto_OS::clear_version() {
8462 _impl_.version_.ClearToEmpty();
8463 _impl_._has_bits_[0] &= ~0x00000002u;
8464 }
version()8465 inline const std::string& SystemProfileProto_OS::version() const {
8466 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.OS.version)
8467 return _internal_version();
8468 }
8469 template <typename ArgT0, typename... ArgT>
8470 inline PROTOBUF_ALWAYS_INLINE
set_version(ArgT0 && arg0,ArgT...args)8471 void SystemProfileProto_OS::set_version(ArgT0&& arg0, ArgT... args) {
8472 _impl_._has_bits_[0] |= 0x00000002u;
8473 _impl_.version_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8474 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.OS.version)
8475 }
mutable_version()8476 inline std::string* SystemProfileProto_OS::mutable_version() {
8477 std::string* _s = _internal_mutable_version();
8478 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.OS.version)
8479 return _s;
8480 }
_internal_version()8481 inline const std::string& SystemProfileProto_OS::_internal_version() const {
8482 return _impl_.version_.Get();
8483 }
_internal_set_version(const std::string & value)8484 inline void SystemProfileProto_OS::_internal_set_version(const std::string& value) {
8485 _impl_._has_bits_[0] |= 0x00000002u;
8486 _impl_.version_.Set(value, GetArenaForAllocation());
8487 }
_internal_mutable_version()8488 inline std::string* SystemProfileProto_OS::_internal_mutable_version() {
8489 _impl_._has_bits_[0] |= 0x00000002u;
8490 return _impl_.version_.Mutable(GetArenaForAllocation());
8491 }
release_version()8492 inline std::string* SystemProfileProto_OS::release_version() {
8493 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.OS.version)
8494 if (!_internal_has_version()) {
8495 return nullptr;
8496 }
8497 _impl_._has_bits_[0] &= ~0x00000002u;
8498 auto* p = _impl_.version_.Release();
8499 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8500 if (_impl_.version_.IsDefault()) {
8501 _impl_.version_.Set("", GetArenaForAllocation());
8502 }
8503 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8504 return p;
8505 }
set_allocated_version(std::string * version)8506 inline void SystemProfileProto_OS::set_allocated_version(std::string* version) {
8507 if (version != nullptr) {
8508 _impl_._has_bits_[0] |= 0x00000002u;
8509 } else {
8510 _impl_._has_bits_[0] &= ~0x00000002u;
8511 }
8512 _impl_.version_.SetAllocated(version, GetArenaForAllocation());
8513 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8514 if (_impl_.version_.IsDefault()) {
8515 _impl_.version_.Set("", GetArenaForAllocation());
8516 }
8517 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8518 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.OS.version)
8519 }
8520
8521 // optional string build_fingerprint = 3;
_internal_has_build_fingerprint()8522 inline bool SystemProfileProto_OS::_internal_has_build_fingerprint() const {
8523 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
8524 return value;
8525 }
has_build_fingerprint()8526 inline bool SystemProfileProto_OS::has_build_fingerprint() const {
8527 return _internal_has_build_fingerprint();
8528 }
clear_build_fingerprint()8529 inline void SystemProfileProto_OS::clear_build_fingerprint() {
8530 _impl_.build_fingerprint_.ClearToEmpty();
8531 _impl_._has_bits_[0] &= ~0x00000004u;
8532 }
build_fingerprint()8533 inline const std::string& SystemProfileProto_OS::build_fingerprint() const {
8534 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.OS.build_fingerprint)
8535 return _internal_build_fingerprint();
8536 }
8537 template <typename ArgT0, typename... ArgT>
8538 inline PROTOBUF_ALWAYS_INLINE
set_build_fingerprint(ArgT0 && arg0,ArgT...args)8539 void SystemProfileProto_OS::set_build_fingerprint(ArgT0&& arg0, ArgT... args) {
8540 _impl_._has_bits_[0] |= 0x00000004u;
8541 _impl_.build_fingerprint_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8542 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.OS.build_fingerprint)
8543 }
mutable_build_fingerprint()8544 inline std::string* SystemProfileProto_OS::mutable_build_fingerprint() {
8545 std::string* _s = _internal_mutable_build_fingerprint();
8546 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.OS.build_fingerprint)
8547 return _s;
8548 }
_internal_build_fingerprint()8549 inline const std::string& SystemProfileProto_OS::_internal_build_fingerprint() const {
8550 return _impl_.build_fingerprint_.Get();
8551 }
_internal_set_build_fingerprint(const std::string & value)8552 inline void SystemProfileProto_OS::_internal_set_build_fingerprint(const std::string& value) {
8553 _impl_._has_bits_[0] |= 0x00000004u;
8554 _impl_.build_fingerprint_.Set(value, GetArenaForAllocation());
8555 }
_internal_mutable_build_fingerprint()8556 inline std::string* SystemProfileProto_OS::_internal_mutable_build_fingerprint() {
8557 _impl_._has_bits_[0] |= 0x00000004u;
8558 return _impl_.build_fingerprint_.Mutable(GetArenaForAllocation());
8559 }
release_build_fingerprint()8560 inline std::string* SystemProfileProto_OS::release_build_fingerprint() {
8561 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.OS.build_fingerprint)
8562 if (!_internal_has_build_fingerprint()) {
8563 return nullptr;
8564 }
8565 _impl_._has_bits_[0] &= ~0x00000004u;
8566 auto* p = _impl_.build_fingerprint_.Release();
8567 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8568 if (_impl_.build_fingerprint_.IsDefault()) {
8569 _impl_.build_fingerprint_.Set("", GetArenaForAllocation());
8570 }
8571 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8572 return p;
8573 }
set_allocated_build_fingerprint(std::string * build_fingerprint)8574 inline void SystemProfileProto_OS::set_allocated_build_fingerprint(std::string* build_fingerprint) {
8575 if (build_fingerprint != nullptr) {
8576 _impl_._has_bits_[0] |= 0x00000004u;
8577 } else {
8578 _impl_._has_bits_[0] &= ~0x00000004u;
8579 }
8580 _impl_.build_fingerprint_.SetAllocated(build_fingerprint, GetArenaForAllocation());
8581 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8582 if (_impl_.build_fingerprint_.IsDefault()) {
8583 _impl_.build_fingerprint_.Set("", GetArenaForAllocation());
8584 }
8585 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8586 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.OS.build_fingerprint)
8587 }
8588
8589 // optional bool DEPRECATED_is_jailbroken = 4 [deprecated = true];
_internal_has_deprecated_is_jailbroken()8590 inline bool SystemProfileProto_OS::_internal_has_deprecated_is_jailbroken() const {
8591 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
8592 return value;
8593 }
has_deprecated_is_jailbroken()8594 inline bool SystemProfileProto_OS::has_deprecated_is_jailbroken() const {
8595 return _internal_has_deprecated_is_jailbroken();
8596 }
clear_deprecated_is_jailbroken()8597 inline void SystemProfileProto_OS::clear_deprecated_is_jailbroken() {
8598 _impl_.deprecated_is_jailbroken_ = false;
8599 _impl_._has_bits_[0] &= ~0x00000040u;
8600 }
_internal_deprecated_is_jailbroken()8601 inline bool SystemProfileProto_OS::_internal_deprecated_is_jailbroken() const {
8602 return _impl_.deprecated_is_jailbroken_;
8603 }
deprecated_is_jailbroken()8604 inline bool SystemProfileProto_OS::deprecated_is_jailbroken() const {
8605 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.OS.DEPRECATED_is_jailbroken)
8606 return _internal_deprecated_is_jailbroken();
8607 }
_internal_set_deprecated_is_jailbroken(bool value)8608 inline void SystemProfileProto_OS::_internal_set_deprecated_is_jailbroken(bool value) {
8609 _impl_._has_bits_[0] |= 0x00000040u;
8610 _impl_.deprecated_is_jailbroken_ = value;
8611 }
set_deprecated_is_jailbroken(bool value)8612 inline void SystemProfileProto_OS::set_deprecated_is_jailbroken(bool value) {
8613 _internal_set_deprecated_is_jailbroken(value);
8614 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.OS.DEPRECATED_is_jailbroken)
8615 }
8616
8617 // optional string build_number = 5;
_internal_has_build_number()8618 inline bool SystemProfileProto_OS::_internal_has_build_number() const {
8619 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
8620 return value;
8621 }
has_build_number()8622 inline bool SystemProfileProto_OS::has_build_number() const {
8623 return _internal_has_build_number();
8624 }
clear_build_number()8625 inline void SystemProfileProto_OS::clear_build_number() {
8626 _impl_.build_number_.ClearToEmpty();
8627 _impl_._has_bits_[0] &= ~0x00000008u;
8628 }
build_number()8629 inline const std::string& SystemProfileProto_OS::build_number() const {
8630 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.OS.build_number)
8631 return _internal_build_number();
8632 }
8633 template <typename ArgT0, typename... ArgT>
8634 inline PROTOBUF_ALWAYS_INLINE
set_build_number(ArgT0 && arg0,ArgT...args)8635 void SystemProfileProto_OS::set_build_number(ArgT0&& arg0, ArgT... args) {
8636 _impl_._has_bits_[0] |= 0x00000008u;
8637 _impl_.build_number_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8638 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.OS.build_number)
8639 }
mutable_build_number()8640 inline std::string* SystemProfileProto_OS::mutable_build_number() {
8641 std::string* _s = _internal_mutable_build_number();
8642 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.OS.build_number)
8643 return _s;
8644 }
_internal_build_number()8645 inline const std::string& SystemProfileProto_OS::_internal_build_number() const {
8646 return _impl_.build_number_.Get();
8647 }
_internal_set_build_number(const std::string & value)8648 inline void SystemProfileProto_OS::_internal_set_build_number(const std::string& value) {
8649 _impl_._has_bits_[0] |= 0x00000008u;
8650 _impl_.build_number_.Set(value, GetArenaForAllocation());
8651 }
_internal_mutable_build_number()8652 inline std::string* SystemProfileProto_OS::_internal_mutable_build_number() {
8653 _impl_._has_bits_[0] |= 0x00000008u;
8654 return _impl_.build_number_.Mutable(GetArenaForAllocation());
8655 }
release_build_number()8656 inline std::string* SystemProfileProto_OS::release_build_number() {
8657 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.OS.build_number)
8658 if (!_internal_has_build_number()) {
8659 return nullptr;
8660 }
8661 _impl_._has_bits_[0] &= ~0x00000008u;
8662 auto* p = _impl_.build_number_.Release();
8663 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8664 if (_impl_.build_number_.IsDefault()) {
8665 _impl_.build_number_.Set("", GetArenaForAllocation());
8666 }
8667 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8668 return p;
8669 }
set_allocated_build_number(std::string * build_number)8670 inline void SystemProfileProto_OS::set_allocated_build_number(std::string* build_number) {
8671 if (build_number != nullptr) {
8672 _impl_._has_bits_[0] |= 0x00000008u;
8673 } else {
8674 _impl_._has_bits_[0] &= ~0x00000008u;
8675 }
8676 _impl_.build_number_.SetAllocated(build_number, GetArenaForAllocation());
8677 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8678 if (_impl_.build_number_.IsDefault()) {
8679 _impl_.build_number_.Set("", GetArenaForAllocation());
8680 }
8681 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8682 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.OS.build_number)
8683 }
8684
8685 // optional string kernel_version = 6;
_internal_has_kernel_version()8686 inline bool SystemProfileProto_OS::_internal_has_kernel_version() const {
8687 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
8688 return value;
8689 }
has_kernel_version()8690 inline bool SystemProfileProto_OS::has_kernel_version() const {
8691 return _internal_has_kernel_version();
8692 }
clear_kernel_version()8693 inline void SystemProfileProto_OS::clear_kernel_version() {
8694 _impl_.kernel_version_.ClearToEmpty();
8695 _impl_._has_bits_[0] &= ~0x00000010u;
8696 }
kernel_version()8697 inline const std::string& SystemProfileProto_OS::kernel_version() const {
8698 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.OS.kernel_version)
8699 return _internal_kernel_version();
8700 }
8701 template <typename ArgT0, typename... ArgT>
8702 inline PROTOBUF_ALWAYS_INLINE
set_kernel_version(ArgT0 && arg0,ArgT...args)8703 void SystemProfileProto_OS::set_kernel_version(ArgT0&& arg0, ArgT... args) {
8704 _impl_._has_bits_[0] |= 0x00000010u;
8705 _impl_.kernel_version_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8706 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.OS.kernel_version)
8707 }
mutable_kernel_version()8708 inline std::string* SystemProfileProto_OS::mutable_kernel_version() {
8709 std::string* _s = _internal_mutable_kernel_version();
8710 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.OS.kernel_version)
8711 return _s;
8712 }
_internal_kernel_version()8713 inline const std::string& SystemProfileProto_OS::_internal_kernel_version() const {
8714 return _impl_.kernel_version_.Get();
8715 }
_internal_set_kernel_version(const std::string & value)8716 inline void SystemProfileProto_OS::_internal_set_kernel_version(const std::string& value) {
8717 _impl_._has_bits_[0] |= 0x00000010u;
8718 _impl_.kernel_version_.Set(value, GetArenaForAllocation());
8719 }
_internal_mutable_kernel_version()8720 inline std::string* SystemProfileProto_OS::_internal_mutable_kernel_version() {
8721 _impl_._has_bits_[0] |= 0x00000010u;
8722 return _impl_.kernel_version_.Mutable(GetArenaForAllocation());
8723 }
release_kernel_version()8724 inline std::string* SystemProfileProto_OS::release_kernel_version() {
8725 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.OS.kernel_version)
8726 if (!_internal_has_kernel_version()) {
8727 return nullptr;
8728 }
8729 _impl_._has_bits_[0] &= ~0x00000010u;
8730 auto* p = _impl_.kernel_version_.Release();
8731 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8732 if (_impl_.kernel_version_.IsDefault()) {
8733 _impl_.kernel_version_.Set("", GetArenaForAllocation());
8734 }
8735 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8736 return p;
8737 }
set_allocated_kernel_version(std::string * kernel_version)8738 inline void SystemProfileProto_OS::set_allocated_kernel_version(std::string* kernel_version) {
8739 if (kernel_version != nullptr) {
8740 _impl_._has_bits_[0] |= 0x00000010u;
8741 } else {
8742 _impl_._has_bits_[0] &= ~0x00000010u;
8743 }
8744 _impl_.kernel_version_.SetAllocated(kernel_version, GetArenaForAllocation());
8745 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8746 if (_impl_.kernel_version_.IsDefault()) {
8747 _impl_.kernel_version_.Set("", GetArenaForAllocation());
8748 }
8749 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8750 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.OS.kernel_version)
8751 }
8752
8753 // optional .metrics.SystemProfileProto.OS.Arc arc = 7;
_internal_has_arc()8754 inline bool SystemProfileProto_OS::_internal_has_arc() const {
8755 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
8756 PROTOBUF_ASSUME(!value || _impl_.arc_ != nullptr);
8757 return value;
8758 }
has_arc()8759 inline bool SystemProfileProto_OS::has_arc() const {
8760 return _internal_has_arc();
8761 }
clear_arc()8762 inline void SystemProfileProto_OS::clear_arc() {
8763 if (_impl_.arc_ != nullptr) _impl_.arc_->Clear();
8764 _impl_._has_bits_[0] &= ~0x00000020u;
8765 }
_internal_arc()8766 inline const ::metrics::SystemProfileProto_OS_Arc& SystemProfileProto_OS::_internal_arc() const {
8767 const ::metrics::SystemProfileProto_OS_Arc* p = _impl_.arc_;
8768 return p != nullptr ? *p : reinterpret_cast<const ::metrics::SystemProfileProto_OS_Arc&>(
8769 ::metrics::_SystemProfileProto_OS_Arc_default_instance_);
8770 }
arc()8771 inline const ::metrics::SystemProfileProto_OS_Arc& SystemProfileProto_OS::arc() const {
8772 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.OS.arc)
8773 return _internal_arc();
8774 }
unsafe_arena_set_allocated_arc(::metrics::SystemProfileProto_OS_Arc * arc)8775 inline void SystemProfileProto_OS::unsafe_arena_set_allocated_arc(
8776 ::metrics::SystemProfileProto_OS_Arc* arc) {
8777 if (GetArenaForAllocation() == nullptr) {
8778 delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.arc_);
8779 }
8780 _impl_.arc_ = arc;
8781 if (arc) {
8782 _impl_._has_bits_[0] |= 0x00000020u;
8783 } else {
8784 _impl_._has_bits_[0] &= ~0x00000020u;
8785 }
8786 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:metrics.SystemProfileProto.OS.arc)
8787 }
release_arc()8788 inline ::metrics::SystemProfileProto_OS_Arc* SystemProfileProto_OS::release_arc() {
8789 _impl_._has_bits_[0] &= ~0x00000020u;
8790 ::metrics::SystemProfileProto_OS_Arc* temp = _impl_.arc_;
8791 _impl_.arc_ = nullptr;
8792 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
8793 auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
8794 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8795 if (GetArenaForAllocation() == nullptr) { delete old; }
8796 #else // PROTOBUF_FORCE_COPY_IN_RELEASE
8797 if (GetArenaForAllocation() != nullptr) {
8798 temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
8799 }
8800 #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
8801 return temp;
8802 }
unsafe_arena_release_arc()8803 inline ::metrics::SystemProfileProto_OS_Arc* SystemProfileProto_OS::unsafe_arena_release_arc() {
8804 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.OS.arc)
8805 _impl_._has_bits_[0] &= ~0x00000020u;
8806 ::metrics::SystemProfileProto_OS_Arc* temp = _impl_.arc_;
8807 _impl_.arc_ = nullptr;
8808 return temp;
8809 }
_internal_mutable_arc()8810 inline ::metrics::SystemProfileProto_OS_Arc* SystemProfileProto_OS::_internal_mutable_arc() {
8811 _impl_._has_bits_[0] |= 0x00000020u;
8812 if (_impl_.arc_ == nullptr) {
8813 auto* p = CreateMaybeMessage<::metrics::SystemProfileProto_OS_Arc>(GetArenaForAllocation());
8814 _impl_.arc_ = p;
8815 }
8816 return _impl_.arc_;
8817 }
mutable_arc()8818 inline ::metrics::SystemProfileProto_OS_Arc* SystemProfileProto_OS::mutable_arc() {
8819 ::metrics::SystemProfileProto_OS_Arc* _msg = _internal_mutable_arc();
8820 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.OS.arc)
8821 return _msg;
8822 }
set_allocated_arc(::metrics::SystemProfileProto_OS_Arc * arc)8823 inline void SystemProfileProto_OS::set_allocated_arc(::metrics::SystemProfileProto_OS_Arc* arc) {
8824 ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
8825 if (message_arena == nullptr) {
8826 delete _impl_.arc_;
8827 }
8828 if (arc) {
8829 ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
8830 ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(arc);
8831 if (message_arena != submessage_arena) {
8832 arc = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
8833 message_arena, arc, submessage_arena);
8834 }
8835 _impl_._has_bits_[0] |= 0x00000020u;
8836 } else {
8837 _impl_._has_bits_[0] &= ~0x00000020u;
8838 }
8839 _impl_.arc_ = arc;
8840 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.OS.arc)
8841 }
8842
8843 // optional .metrics.SystemProfileProto.OS.DarkModeState dark_mode_state = 8 [default = UNKNOWN];
_internal_has_dark_mode_state()8844 inline bool SystemProfileProto_OS::_internal_has_dark_mode_state() const {
8845 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
8846 return value;
8847 }
has_dark_mode_state()8848 inline bool SystemProfileProto_OS::has_dark_mode_state() const {
8849 return _internal_has_dark_mode_state();
8850 }
clear_dark_mode_state()8851 inline void SystemProfileProto_OS::clear_dark_mode_state() {
8852 _impl_.dark_mode_state_ = 0;
8853 _impl_._has_bits_[0] &= ~0x00000080u;
8854 }
_internal_dark_mode_state()8855 inline ::metrics::SystemProfileProto_OS_DarkModeState SystemProfileProto_OS::_internal_dark_mode_state() const {
8856 return static_cast< ::metrics::SystemProfileProto_OS_DarkModeState >(_impl_.dark_mode_state_);
8857 }
dark_mode_state()8858 inline ::metrics::SystemProfileProto_OS_DarkModeState SystemProfileProto_OS::dark_mode_state() const {
8859 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.OS.dark_mode_state)
8860 return _internal_dark_mode_state();
8861 }
_internal_set_dark_mode_state(::metrics::SystemProfileProto_OS_DarkModeState value)8862 inline void SystemProfileProto_OS::_internal_set_dark_mode_state(::metrics::SystemProfileProto_OS_DarkModeState value) {
8863 assert(::metrics::SystemProfileProto_OS_DarkModeState_IsValid(value));
8864 _impl_._has_bits_[0] |= 0x00000080u;
8865 _impl_.dark_mode_state_ = value;
8866 }
set_dark_mode_state(::metrics::SystemProfileProto_OS_DarkModeState value)8867 inline void SystemProfileProto_OS::set_dark_mode_state(::metrics::SystemProfileProto_OS_DarkModeState value) {
8868 _internal_set_dark_mode_state(value);
8869 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.OS.dark_mode_state)
8870 }
8871
8872 // optional .metrics.SystemProfileProto.OS.XdgSessionType xdg_session_type = 9;
_internal_has_xdg_session_type()8873 inline bool SystemProfileProto_OS::_internal_has_xdg_session_type() const {
8874 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
8875 return value;
8876 }
has_xdg_session_type()8877 inline bool SystemProfileProto_OS::has_xdg_session_type() const {
8878 return _internal_has_xdg_session_type();
8879 }
clear_xdg_session_type()8880 inline void SystemProfileProto_OS::clear_xdg_session_type() {
8881 _impl_.xdg_session_type_ = 0;
8882 _impl_._has_bits_[0] &= ~0x00000100u;
8883 }
_internal_xdg_session_type()8884 inline ::metrics::SystemProfileProto_OS_XdgSessionType SystemProfileProto_OS::_internal_xdg_session_type() const {
8885 return static_cast< ::metrics::SystemProfileProto_OS_XdgSessionType >(_impl_.xdg_session_type_);
8886 }
xdg_session_type()8887 inline ::metrics::SystemProfileProto_OS_XdgSessionType SystemProfileProto_OS::xdg_session_type() const {
8888 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.OS.xdg_session_type)
8889 return _internal_xdg_session_type();
8890 }
_internal_set_xdg_session_type(::metrics::SystemProfileProto_OS_XdgSessionType value)8891 inline void SystemProfileProto_OS::_internal_set_xdg_session_type(::metrics::SystemProfileProto_OS_XdgSessionType value) {
8892 assert(::metrics::SystemProfileProto_OS_XdgSessionType_IsValid(value));
8893 _impl_._has_bits_[0] |= 0x00000100u;
8894 _impl_.xdg_session_type_ = value;
8895 }
set_xdg_session_type(::metrics::SystemProfileProto_OS_XdgSessionType value)8896 inline void SystemProfileProto_OS::set_xdg_session_type(::metrics::SystemProfileProto_OS_XdgSessionType value) {
8897 _internal_set_xdg_session_type(value);
8898 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.OS.xdg_session_type)
8899 }
8900
8901 // optional .metrics.SystemProfileProto.OS.XdgCurrentDesktop xdg_current_desktop = 10;
_internal_has_xdg_current_desktop()8902 inline bool SystemProfileProto_OS::_internal_has_xdg_current_desktop() const {
8903 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
8904 return value;
8905 }
has_xdg_current_desktop()8906 inline bool SystemProfileProto_OS::has_xdg_current_desktop() const {
8907 return _internal_has_xdg_current_desktop();
8908 }
clear_xdg_current_desktop()8909 inline void SystemProfileProto_OS::clear_xdg_current_desktop() {
8910 _impl_.xdg_current_desktop_ = 0;
8911 _impl_._has_bits_[0] &= ~0x00000200u;
8912 }
_internal_xdg_current_desktop()8913 inline ::metrics::SystemProfileProto_OS_XdgCurrentDesktop SystemProfileProto_OS::_internal_xdg_current_desktop() const {
8914 return static_cast< ::metrics::SystemProfileProto_OS_XdgCurrentDesktop >(_impl_.xdg_current_desktop_);
8915 }
xdg_current_desktop()8916 inline ::metrics::SystemProfileProto_OS_XdgCurrentDesktop SystemProfileProto_OS::xdg_current_desktop() const {
8917 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.OS.xdg_current_desktop)
8918 return _internal_xdg_current_desktop();
8919 }
_internal_set_xdg_current_desktop(::metrics::SystemProfileProto_OS_XdgCurrentDesktop value)8920 inline void SystemProfileProto_OS::_internal_set_xdg_current_desktop(::metrics::SystemProfileProto_OS_XdgCurrentDesktop value) {
8921 assert(::metrics::SystemProfileProto_OS_XdgCurrentDesktop_IsValid(value));
8922 _impl_._has_bits_[0] |= 0x00000200u;
8923 _impl_.xdg_current_desktop_ = value;
8924 }
set_xdg_current_desktop(::metrics::SystemProfileProto_OS_XdgCurrentDesktop value)8925 inline void SystemProfileProto_OS::set_xdg_current_desktop(::metrics::SystemProfileProto_OS_XdgCurrentDesktop value) {
8926 _internal_set_xdg_current_desktop(value);
8927 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.OS.xdg_current_desktop)
8928 }
8929
8930 // -------------------------------------------------------------------
8931
8932 // SystemProfileProto_Hardware_CPU
8933
8934 // optional string vendor_name = 1;
_internal_has_vendor_name()8935 inline bool SystemProfileProto_Hardware_CPU::_internal_has_vendor_name() const {
8936 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
8937 return value;
8938 }
has_vendor_name()8939 inline bool SystemProfileProto_Hardware_CPU::has_vendor_name() const {
8940 return _internal_has_vendor_name();
8941 }
clear_vendor_name()8942 inline void SystemProfileProto_Hardware_CPU::clear_vendor_name() {
8943 _impl_.vendor_name_.ClearToEmpty();
8944 _impl_._has_bits_[0] &= ~0x00000001u;
8945 }
vendor_name()8946 inline const std::string& SystemProfileProto_Hardware_CPU::vendor_name() const {
8947 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.Hardware.CPU.vendor_name)
8948 return _internal_vendor_name();
8949 }
8950 template <typename ArgT0, typename... ArgT>
8951 inline PROTOBUF_ALWAYS_INLINE
set_vendor_name(ArgT0 && arg0,ArgT...args)8952 void SystemProfileProto_Hardware_CPU::set_vendor_name(ArgT0&& arg0, ArgT... args) {
8953 _impl_._has_bits_[0] |= 0x00000001u;
8954 _impl_.vendor_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
8955 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.Hardware.CPU.vendor_name)
8956 }
mutable_vendor_name()8957 inline std::string* SystemProfileProto_Hardware_CPU::mutable_vendor_name() {
8958 std::string* _s = _internal_mutable_vendor_name();
8959 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.Hardware.CPU.vendor_name)
8960 return _s;
8961 }
_internal_vendor_name()8962 inline const std::string& SystemProfileProto_Hardware_CPU::_internal_vendor_name() const {
8963 return _impl_.vendor_name_.Get();
8964 }
_internal_set_vendor_name(const std::string & value)8965 inline void SystemProfileProto_Hardware_CPU::_internal_set_vendor_name(const std::string& value) {
8966 _impl_._has_bits_[0] |= 0x00000001u;
8967 _impl_.vendor_name_.Set(value, GetArenaForAllocation());
8968 }
_internal_mutable_vendor_name()8969 inline std::string* SystemProfileProto_Hardware_CPU::_internal_mutable_vendor_name() {
8970 _impl_._has_bits_[0] |= 0x00000001u;
8971 return _impl_.vendor_name_.Mutable(GetArenaForAllocation());
8972 }
release_vendor_name()8973 inline std::string* SystemProfileProto_Hardware_CPU::release_vendor_name() {
8974 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.Hardware.CPU.vendor_name)
8975 if (!_internal_has_vendor_name()) {
8976 return nullptr;
8977 }
8978 _impl_._has_bits_[0] &= ~0x00000001u;
8979 auto* p = _impl_.vendor_name_.Release();
8980 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8981 if (_impl_.vendor_name_.IsDefault()) {
8982 _impl_.vendor_name_.Set("", GetArenaForAllocation());
8983 }
8984 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8985 return p;
8986 }
set_allocated_vendor_name(std::string * vendor_name)8987 inline void SystemProfileProto_Hardware_CPU::set_allocated_vendor_name(std::string* vendor_name) {
8988 if (vendor_name != nullptr) {
8989 _impl_._has_bits_[0] |= 0x00000001u;
8990 } else {
8991 _impl_._has_bits_[0] &= ~0x00000001u;
8992 }
8993 _impl_.vendor_name_.SetAllocated(vendor_name, GetArenaForAllocation());
8994 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
8995 if (_impl_.vendor_name_.IsDefault()) {
8996 _impl_.vendor_name_.Set("", GetArenaForAllocation());
8997 }
8998 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
8999 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.Hardware.CPU.vendor_name)
9000 }
9001
9002 // optional uint32 signature = 2;
_internal_has_signature()9003 inline bool SystemProfileProto_Hardware_CPU::_internal_has_signature() const {
9004 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
9005 return value;
9006 }
has_signature()9007 inline bool SystemProfileProto_Hardware_CPU::has_signature() const {
9008 return _internal_has_signature();
9009 }
clear_signature()9010 inline void SystemProfileProto_Hardware_CPU::clear_signature() {
9011 _impl_.signature_ = 0u;
9012 _impl_._has_bits_[0] &= ~0x00000002u;
9013 }
_internal_signature()9014 inline uint32_t SystemProfileProto_Hardware_CPU::_internal_signature() const {
9015 return _impl_.signature_;
9016 }
signature()9017 inline uint32_t SystemProfileProto_Hardware_CPU::signature() const {
9018 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.Hardware.CPU.signature)
9019 return _internal_signature();
9020 }
_internal_set_signature(uint32_t value)9021 inline void SystemProfileProto_Hardware_CPU::_internal_set_signature(uint32_t value) {
9022 _impl_._has_bits_[0] |= 0x00000002u;
9023 _impl_.signature_ = value;
9024 }
set_signature(uint32_t value)9025 inline void SystemProfileProto_Hardware_CPU::set_signature(uint32_t value) {
9026 _internal_set_signature(value);
9027 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.Hardware.CPU.signature)
9028 }
9029
9030 // optional uint32 num_cores = 3;
_internal_has_num_cores()9031 inline bool SystemProfileProto_Hardware_CPU::_internal_has_num_cores() const {
9032 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
9033 return value;
9034 }
has_num_cores()9035 inline bool SystemProfileProto_Hardware_CPU::has_num_cores() const {
9036 return _internal_has_num_cores();
9037 }
clear_num_cores()9038 inline void SystemProfileProto_Hardware_CPU::clear_num_cores() {
9039 _impl_.num_cores_ = 0u;
9040 _impl_._has_bits_[0] &= ~0x00000004u;
9041 }
_internal_num_cores()9042 inline uint32_t SystemProfileProto_Hardware_CPU::_internal_num_cores() const {
9043 return _impl_.num_cores_;
9044 }
num_cores()9045 inline uint32_t SystemProfileProto_Hardware_CPU::num_cores() const {
9046 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.Hardware.CPU.num_cores)
9047 return _internal_num_cores();
9048 }
_internal_set_num_cores(uint32_t value)9049 inline void SystemProfileProto_Hardware_CPU::_internal_set_num_cores(uint32_t value) {
9050 _impl_._has_bits_[0] |= 0x00000004u;
9051 _impl_.num_cores_ = value;
9052 }
set_num_cores(uint32_t value)9053 inline void SystemProfileProto_Hardware_CPU::set_num_cores(uint32_t value) {
9054 _internal_set_num_cores(value);
9055 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.Hardware.CPU.num_cores)
9056 }
9057
9058 // optional bool is_hypervisor = 4;
_internal_has_is_hypervisor()9059 inline bool SystemProfileProto_Hardware_CPU::_internal_has_is_hypervisor() const {
9060 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
9061 return value;
9062 }
has_is_hypervisor()9063 inline bool SystemProfileProto_Hardware_CPU::has_is_hypervisor() const {
9064 return _internal_has_is_hypervisor();
9065 }
clear_is_hypervisor()9066 inline void SystemProfileProto_Hardware_CPU::clear_is_hypervisor() {
9067 _impl_.is_hypervisor_ = false;
9068 _impl_._has_bits_[0] &= ~0x00000008u;
9069 }
_internal_is_hypervisor()9070 inline bool SystemProfileProto_Hardware_CPU::_internal_is_hypervisor() const {
9071 return _impl_.is_hypervisor_;
9072 }
is_hypervisor()9073 inline bool SystemProfileProto_Hardware_CPU::is_hypervisor() const {
9074 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.Hardware.CPU.is_hypervisor)
9075 return _internal_is_hypervisor();
9076 }
_internal_set_is_hypervisor(bool value)9077 inline void SystemProfileProto_Hardware_CPU::_internal_set_is_hypervisor(bool value) {
9078 _impl_._has_bits_[0] |= 0x00000008u;
9079 _impl_.is_hypervisor_ = value;
9080 }
set_is_hypervisor(bool value)9081 inline void SystemProfileProto_Hardware_CPU::set_is_hypervisor(bool value) {
9082 _internal_set_is_hypervisor(value);
9083 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.Hardware.CPU.is_hypervisor)
9084 }
9085
9086 // -------------------------------------------------------------------
9087
9088 // SystemProfileProto_Hardware_Motherboard
9089
9090 // optional string manufacturer = 1;
_internal_has_manufacturer()9091 inline bool SystemProfileProto_Hardware_Motherboard::_internal_has_manufacturer() const {
9092 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
9093 return value;
9094 }
has_manufacturer()9095 inline bool SystemProfileProto_Hardware_Motherboard::has_manufacturer() const {
9096 return _internal_has_manufacturer();
9097 }
clear_manufacturer()9098 inline void SystemProfileProto_Hardware_Motherboard::clear_manufacturer() {
9099 _impl_.manufacturer_.ClearToEmpty();
9100 _impl_._has_bits_[0] &= ~0x00000001u;
9101 }
manufacturer()9102 inline const std::string& SystemProfileProto_Hardware_Motherboard::manufacturer() const {
9103 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.Hardware.Motherboard.manufacturer)
9104 return _internal_manufacturer();
9105 }
9106 template <typename ArgT0, typename... ArgT>
9107 inline PROTOBUF_ALWAYS_INLINE
set_manufacturer(ArgT0 && arg0,ArgT...args)9108 void SystemProfileProto_Hardware_Motherboard::set_manufacturer(ArgT0&& arg0, ArgT... args) {
9109 _impl_._has_bits_[0] |= 0x00000001u;
9110 _impl_.manufacturer_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
9111 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.Hardware.Motherboard.manufacturer)
9112 }
mutable_manufacturer()9113 inline std::string* SystemProfileProto_Hardware_Motherboard::mutable_manufacturer() {
9114 std::string* _s = _internal_mutable_manufacturer();
9115 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.Hardware.Motherboard.manufacturer)
9116 return _s;
9117 }
_internal_manufacturer()9118 inline const std::string& SystemProfileProto_Hardware_Motherboard::_internal_manufacturer() const {
9119 return _impl_.manufacturer_.Get();
9120 }
_internal_set_manufacturer(const std::string & value)9121 inline void SystemProfileProto_Hardware_Motherboard::_internal_set_manufacturer(const std::string& value) {
9122 _impl_._has_bits_[0] |= 0x00000001u;
9123 _impl_.manufacturer_.Set(value, GetArenaForAllocation());
9124 }
_internal_mutable_manufacturer()9125 inline std::string* SystemProfileProto_Hardware_Motherboard::_internal_mutable_manufacturer() {
9126 _impl_._has_bits_[0] |= 0x00000001u;
9127 return _impl_.manufacturer_.Mutable(GetArenaForAllocation());
9128 }
release_manufacturer()9129 inline std::string* SystemProfileProto_Hardware_Motherboard::release_manufacturer() {
9130 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.Hardware.Motherboard.manufacturer)
9131 if (!_internal_has_manufacturer()) {
9132 return nullptr;
9133 }
9134 _impl_._has_bits_[0] &= ~0x00000001u;
9135 auto* p = _impl_.manufacturer_.Release();
9136 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9137 if (_impl_.manufacturer_.IsDefault()) {
9138 _impl_.manufacturer_.Set("", GetArenaForAllocation());
9139 }
9140 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9141 return p;
9142 }
set_allocated_manufacturer(std::string * manufacturer)9143 inline void SystemProfileProto_Hardware_Motherboard::set_allocated_manufacturer(std::string* manufacturer) {
9144 if (manufacturer != nullptr) {
9145 _impl_._has_bits_[0] |= 0x00000001u;
9146 } else {
9147 _impl_._has_bits_[0] &= ~0x00000001u;
9148 }
9149 _impl_.manufacturer_.SetAllocated(manufacturer, GetArenaForAllocation());
9150 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9151 if (_impl_.manufacturer_.IsDefault()) {
9152 _impl_.manufacturer_.Set("", GetArenaForAllocation());
9153 }
9154 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9155 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.Hardware.Motherboard.manufacturer)
9156 }
9157
9158 // optional string model = 2;
_internal_has_model()9159 inline bool SystemProfileProto_Hardware_Motherboard::_internal_has_model() const {
9160 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
9161 return value;
9162 }
has_model()9163 inline bool SystemProfileProto_Hardware_Motherboard::has_model() const {
9164 return _internal_has_model();
9165 }
clear_model()9166 inline void SystemProfileProto_Hardware_Motherboard::clear_model() {
9167 _impl_.model_.ClearToEmpty();
9168 _impl_._has_bits_[0] &= ~0x00000002u;
9169 }
model()9170 inline const std::string& SystemProfileProto_Hardware_Motherboard::model() const {
9171 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.Hardware.Motherboard.model)
9172 return _internal_model();
9173 }
9174 template <typename ArgT0, typename... ArgT>
9175 inline PROTOBUF_ALWAYS_INLINE
set_model(ArgT0 && arg0,ArgT...args)9176 void SystemProfileProto_Hardware_Motherboard::set_model(ArgT0&& arg0, ArgT... args) {
9177 _impl_._has_bits_[0] |= 0x00000002u;
9178 _impl_.model_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
9179 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.Hardware.Motherboard.model)
9180 }
mutable_model()9181 inline std::string* SystemProfileProto_Hardware_Motherboard::mutable_model() {
9182 std::string* _s = _internal_mutable_model();
9183 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.Hardware.Motherboard.model)
9184 return _s;
9185 }
_internal_model()9186 inline const std::string& SystemProfileProto_Hardware_Motherboard::_internal_model() const {
9187 return _impl_.model_.Get();
9188 }
_internal_set_model(const std::string & value)9189 inline void SystemProfileProto_Hardware_Motherboard::_internal_set_model(const std::string& value) {
9190 _impl_._has_bits_[0] |= 0x00000002u;
9191 _impl_.model_.Set(value, GetArenaForAllocation());
9192 }
_internal_mutable_model()9193 inline std::string* SystemProfileProto_Hardware_Motherboard::_internal_mutable_model() {
9194 _impl_._has_bits_[0] |= 0x00000002u;
9195 return _impl_.model_.Mutable(GetArenaForAllocation());
9196 }
release_model()9197 inline std::string* SystemProfileProto_Hardware_Motherboard::release_model() {
9198 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.Hardware.Motherboard.model)
9199 if (!_internal_has_model()) {
9200 return nullptr;
9201 }
9202 _impl_._has_bits_[0] &= ~0x00000002u;
9203 auto* p = _impl_.model_.Release();
9204 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9205 if (_impl_.model_.IsDefault()) {
9206 _impl_.model_.Set("", GetArenaForAllocation());
9207 }
9208 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9209 return p;
9210 }
set_allocated_model(std::string * model)9211 inline void SystemProfileProto_Hardware_Motherboard::set_allocated_model(std::string* model) {
9212 if (model != nullptr) {
9213 _impl_._has_bits_[0] |= 0x00000002u;
9214 } else {
9215 _impl_._has_bits_[0] &= ~0x00000002u;
9216 }
9217 _impl_.model_.SetAllocated(model, GetArenaForAllocation());
9218 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9219 if (_impl_.model_.IsDefault()) {
9220 _impl_.model_.Set("", GetArenaForAllocation());
9221 }
9222 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9223 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.Hardware.Motherboard.model)
9224 }
9225
9226 // optional string bios_manufacturer = 3;
_internal_has_bios_manufacturer()9227 inline bool SystemProfileProto_Hardware_Motherboard::_internal_has_bios_manufacturer() const {
9228 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
9229 return value;
9230 }
has_bios_manufacturer()9231 inline bool SystemProfileProto_Hardware_Motherboard::has_bios_manufacturer() const {
9232 return _internal_has_bios_manufacturer();
9233 }
clear_bios_manufacturer()9234 inline void SystemProfileProto_Hardware_Motherboard::clear_bios_manufacturer() {
9235 _impl_.bios_manufacturer_.ClearToEmpty();
9236 _impl_._has_bits_[0] &= ~0x00000004u;
9237 }
bios_manufacturer()9238 inline const std::string& SystemProfileProto_Hardware_Motherboard::bios_manufacturer() const {
9239 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.Hardware.Motherboard.bios_manufacturer)
9240 return _internal_bios_manufacturer();
9241 }
9242 template <typename ArgT0, typename... ArgT>
9243 inline PROTOBUF_ALWAYS_INLINE
set_bios_manufacturer(ArgT0 && arg0,ArgT...args)9244 void SystemProfileProto_Hardware_Motherboard::set_bios_manufacturer(ArgT0&& arg0, ArgT... args) {
9245 _impl_._has_bits_[0] |= 0x00000004u;
9246 _impl_.bios_manufacturer_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
9247 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.Hardware.Motherboard.bios_manufacturer)
9248 }
mutable_bios_manufacturer()9249 inline std::string* SystemProfileProto_Hardware_Motherboard::mutable_bios_manufacturer() {
9250 std::string* _s = _internal_mutable_bios_manufacturer();
9251 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.Hardware.Motherboard.bios_manufacturer)
9252 return _s;
9253 }
_internal_bios_manufacturer()9254 inline const std::string& SystemProfileProto_Hardware_Motherboard::_internal_bios_manufacturer() const {
9255 return _impl_.bios_manufacturer_.Get();
9256 }
_internal_set_bios_manufacturer(const std::string & value)9257 inline void SystemProfileProto_Hardware_Motherboard::_internal_set_bios_manufacturer(const std::string& value) {
9258 _impl_._has_bits_[0] |= 0x00000004u;
9259 _impl_.bios_manufacturer_.Set(value, GetArenaForAllocation());
9260 }
_internal_mutable_bios_manufacturer()9261 inline std::string* SystemProfileProto_Hardware_Motherboard::_internal_mutable_bios_manufacturer() {
9262 _impl_._has_bits_[0] |= 0x00000004u;
9263 return _impl_.bios_manufacturer_.Mutable(GetArenaForAllocation());
9264 }
release_bios_manufacturer()9265 inline std::string* SystemProfileProto_Hardware_Motherboard::release_bios_manufacturer() {
9266 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.Hardware.Motherboard.bios_manufacturer)
9267 if (!_internal_has_bios_manufacturer()) {
9268 return nullptr;
9269 }
9270 _impl_._has_bits_[0] &= ~0x00000004u;
9271 auto* p = _impl_.bios_manufacturer_.Release();
9272 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9273 if (_impl_.bios_manufacturer_.IsDefault()) {
9274 _impl_.bios_manufacturer_.Set("", GetArenaForAllocation());
9275 }
9276 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9277 return p;
9278 }
set_allocated_bios_manufacturer(std::string * bios_manufacturer)9279 inline void SystemProfileProto_Hardware_Motherboard::set_allocated_bios_manufacturer(std::string* bios_manufacturer) {
9280 if (bios_manufacturer != nullptr) {
9281 _impl_._has_bits_[0] |= 0x00000004u;
9282 } else {
9283 _impl_._has_bits_[0] &= ~0x00000004u;
9284 }
9285 _impl_.bios_manufacturer_.SetAllocated(bios_manufacturer, GetArenaForAllocation());
9286 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9287 if (_impl_.bios_manufacturer_.IsDefault()) {
9288 _impl_.bios_manufacturer_.Set("", GetArenaForAllocation());
9289 }
9290 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9291 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.Hardware.Motherboard.bios_manufacturer)
9292 }
9293
9294 // optional string bios_version = 4;
_internal_has_bios_version()9295 inline bool SystemProfileProto_Hardware_Motherboard::_internal_has_bios_version() const {
9296 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
9297 return value;
9298 }
has_bios_version()9299 inline bool SystemProfileProto_Hardware_Motherboard::has_bios_version() const {
9300 return _internal_has_bios_version();
9301 }
clear_bios_version()9302 inline void SystemProfileProto_Hardware_Motherboard::clear_bios_version() {
9303 _impl_.bios_version_.ClearToEmpty();
9304 _impl_._has_bits_[0] &= ~0x00000008u;
9305 }
bios_version()9306 inline const std::string& SystemProfileProto_Hardware_Motherboard::bios_version() const {
9307 // @@protoc_insertion_point(field_get:metrics.SystemProfileProto.Hardware.Motherboard.bios_version)
9308 return _internal_bios_version();
9309 }
9310 template <typename ArgT0, typename... ArgT>
9311 inline PROTOBUF_ALWAYS_INLINE
set_bios_version(ArgT0 && arg0,ArgT...args)9312 void SystemProfileProto_Hardware_Motherboard::set_bios_version(ArgT0&& arg0, ArgT... args) {
9313 _impl_._has_bits_[0] |= 0x00000008u;
9314 _impl_.bios_version_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
9315 // @@protoc_insertion_point(field_set:metrics.SystemProfileProto.Hardware.Motherboard.bios_version)
9316 }
mutable_bios_version()9317 inline std::string* SystemProfileProto_Hardware_Motherboard::mutable_bios_version() {
9318 std::string* _s = _internal_mutable_bios_version();
9319 // @@protoc_insertion_point(field_mutable:metrics.SystemProfileProto.Hardware.Motherboard.bios_version)
9320 return _s;
9321 }
_internal_bios_version()9322 inline const std::string& SystemProfileProto_Hardware_Motherboard::_internal_bios_version() const {
9323 return _impl_.bios_version_.Get();
9324 }
_internal_set_bios_version(const std::string & value)9325 inline void SystemProfileProto_Hardware_Motherboard::_internal_set_bios_version(const std::string& value) {
9326 _impl_._has_bits_[0] |= 0x00000008u;
9327 _impl_.bios_version_.Set(value, GetArenaForAllocation());
9328 }
_internal_mutable_bios_version()9329 inline std::string* SystemProfileProto_Hardware_Motherboard::_internal_mutable_bios_version() {
9330 _impl_._has_bits_[0] |= 0x00000008u;
9331 return _impl_.bios_version_.Mutable(GetArenaForAllocation());
9332 }
release_bios_version()9333 inline std::string* SystemProfileProto_Hardware_Motherboard::release_bios_version() {
9334 // @@protoc_insertion_point(field_release:metrics.SystemProfileProto.Hardware.Motherboard.bios_version)
9335 if (!_internal_has_bios_version()) {
9336 return nullptr;
9337 }
9338 _impl_._has_bits_[0] &= ~0x00000008u;
9339 auto* p = _impl_.bios_version_.Release();
9340 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9341 if (_impl_.bios_version_.IsDefault()) {
9342 _impl_.bios_version_.Set("", GetArenaForAllocation());
9343 }
9344 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9345 return p;
9346 }
set_allocated_bios_version(std::string * bios_version)9347 inline void SystemProfileProto_Hardware_Motherboard::set_allocated_bios_version(std::string* bios_version) {
9348 if (bios_version != nullptr) {
9349 _impl_._has_bits_[0] |= 0x00000008u;
9350 } else {
9351 _impl_._has_bits_[0] &= ~0x00000008u;
9352 }
9353 _impl_.bios_version_.SetAllocated(bios_version, GetArenaForAllocation());
9354 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
9355 if (_impl_.bios_version_.IsDefault()) {
9356 _impl_.bios_version_.Set("", GetArenaForAllocation());
9357 }
9358 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
9359 // @@protoc_insertion_point(field_set_allocated:metrics.SystemProfileProto.Hardware.Motherboard.bios_version)
9360 }
9361
9362 // optional .metrics.SystemProfileProto.Hardware.BiosType bios_type = 5;
_internal_has_bios_type()9363 inline bool SystemProfileProto_Hardware_Motherboard::_internal_has_bios_type() const {
9364 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
9365 return value;
9366 }
has_bios_type()9367 inline bool SystemProfileProto_Hardware_Motherboard::has_bios_type() const {
9368 return _internal_has_bios_type();
9369 }
clear_bios_type()9370