1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: extension_install.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_extension_5finstall_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_extension_5finstall_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 // @@protoc_insertion_point(includes)
33 #include <google/protobuf/port_def.inc>
34 #define PROTOBUF_INTERNAL_EXPORT_extension_5finstall_2eproto
35 PROTOBUF_NAMESPACE_OPEN
36 namespace internal {
37 class AnyMetadata;
38 } // namespace internal
39 PROTOBUF_NAMESPACE_CLOSE
40
41 // Internal implementation detail -- do not use these members.
42 struct TableStruct_extension_5finstall_2eproto {
43 static const uint32_t offsets[];
44 };
45 namespace metrics {
46 class ExtensionInstallProto;
47 struct ExtensionInstallProtoDefaultTypeInternal;
48 extern ExtensionInstallProtoDefaultTypeInternal _ExtensionInstallProto_default_instance_;
49 } // namespace metrics
50 PROTOBUF_NAMESPACE_OPEN
51 template<> ::metrics::ExtensionInstallProto* Arena::CreateMaybeMessage<::metrics::ExtensionInstallProto>(Arena*);
52 PROTOBUF_NAMESPACE_CLOSE
53 namespace metrics {
54
55 enum ExtensionInstallProto_Type : int {
56 ExtensionInstallProto_Type_UNKNOWN_TYPE = 0,
57 ExtensionInstallProto_Type_EXTENSION = 1,
58 ExtensionInstallProto_Type_THEME = 2,
59 ExtensionInstallProto_Type_USER_SCRIPT = 3,
60 ExtensionInstallProto_Type_HOSTED_APP = 4,
61 ExtensionInstallProto_Type_LEGACY_PACKAGED_APP = 5,
62 ExtensionInstallProto_Type_PLATFORM_APP = 6,
63 ExtensionInstallProto_Type_SHARED_MODULE = 7,
64 ExtensionInstallProto_Type_LOGIN_SCREEN_EXTENSION = 8
65 };
66 bool ExtensionInstallProto_Type_IsValid(int value);
67 constexpr ExtensionInstallProto_Type ExtensionInstallProto_Type_Type_MIN = ExtensionInstallProto_Type_UNKNOWN_TYPE;
68 constexpr ExtensionInstallProto_Type ExtensionInstallProto_Type_Type_MAX = ExtensionInstallProto_Type_LOGIN_SCREEN_EXTENSION;
69 constexpr int ExtensionInstallProto_Type_Type_ARRAYSIZE = ExtensionInstallProto_Type_Type_MAX + 1;
70
71 const std::string& ExtensionInstallProto_Type_Name(ExtensionInstallProto_Type value);
72 template<typename T>
ExtensionInstallProto_Type_Name(T enum_t_value)73 inline const std::string& ExtensionInstallProto_Type_Name(T enum_t_value) {
74 static_assert(::std::is_same<T, ExtensionInstallProto_Type>::value ||
75 ::std::is_integral<T>::value,
76 "Incorrect type passed to function ExtensionInstallProto_Type_Name.");
77 return ExtensionInstallProto_Type_Name(static_cast<ExtensionInstallProto_Type>(enum_t_value));
78 }
79 bool ExtensionInstallProto_Type_Parse(
80 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ExtensionInstallProto_Type* value);
81 enum ExtensionInstallProto_InstallLocation : int {
82 ExtensionInstallProto_InstallLocation_UNKNOWN_LOCATION = 0,
83 ExtensionInstallProto_InstallLocation_INTERNAL = 1,
84 ExtensionInstallProto_InstallLocation_EXTERNAL_PREF = 2,
85 ExtensionInstallProto_InstallLocation_EXTERNAL_REGISTRY = 3,
86 ExtensionInstallProto_InstallLocation_UNPACKED = 4,
87 ExtensionInstallProto_InstallLocation_COMPONENT = 5,
88 ExtensionInstallProto_InstallLocation_EXTERNAL_PREF_DOWNLOAD = 6,
89 ExtensionInstallProto_InstallLocation_EXTERNAL_POLICY_DOWNLOAD = 7,
90 ExtensionInstallProto_InstallLocation_COMMAND_LINE = 8,
91 ExtensionInstallProto_InstallLocation_EXTERNAL_POLICY = 9,
92 ExtensionInstallProto_InstallLocation_EXTERNAL_COMPONENT = 10
93 };
94 bool ExtensionInstallProto_InstallLocation_IsValid(int value);
95 constexpr ExtensionInstallProto_InstallLocation ExtensionInstallProto_InstallLocation_InstallLocation_MIN = ExtensionInstallProto_InstallLocation_UNKNOWN_LOCATION;
96 constexpr ExtensionInstallProto_InstallLocation ExtensionInstallProto_InstallLocation_InstallLocation_MAX = ExtensionInstallProto_InstallLocation_EXTERNAL_COMPONENT;
97 constexpr int ExtensionInstallProto_InstallLocation_InstallLocation_ARRAYSIZE = ExtensionInstallProto_InstallLocation_InstallLocation_MAX + 1;
98
99 const std::string& ExtensionInstallProto_InstallLocation_Name(ExtensionInstallProto_InstallLocation value);
100 template<typename T>
ExtensionInstallProto_InstallLocation_Name(T enum_t_value)101 inline const std::string& ExtensionInstallProto_InstallLocation_Name(T enum_t_value) {
102 static_assert(::std::is_same<T, ExtensionInstallProto_InstallLocation>::value ||
103 ::std::is_integral<T>::value,
104 "Incorrect type passed to function ExtensionInstallProto_InstallLocation_Name.");
105 return ExtensionInstallProto_InstallLocation_Name(static_cast<ExtensionInstallProto_InstallLocation>(enum_t_value));
106 }
107 bool ExtensionInstallProto_InstallLocation_Parse(
108 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ExtensionInstallProto_InstallLocation* value);
109 enum ExtensionInstallProto_ActionType : int {
110 ExtensionInstallProto_ActionType_NO_ACTION = 0,
111 ExtensionInstallProto_ActionType_BROWSER_ACTION = 1,
112 ExtensionInstallProto_ActionType_PAGE_ACTION = 2,
113 ExtensionInstallProto_ActionType_SYSTEM_INDICATOR = 3
114 };
115 bool ExtensionInstallProto_ActionType_IsValid(int value);
116 constexpr ExtensionInstallProto_ActionType ExtensionInstallProto_ActionType_ActionType_MIN = ExtensionInstallProto_ActionType_NO_ACTION;
117 constexpr ExtensionInstallProto_ActionType ExtensionInstallProto_ActionType_ActionType_MAX = ExtensionInstallProto_ActionType_SYSTEM_INDICATOR;
118 constexpr int ExtensionInstallProto_ActionType_ActionType_ARRAYSIZE = ExtensionInstallProto_ActionType_ActionType_MAX + 1;
119
120 const std::string& ExtensionInstallProto_ActionType_Name(ExtensionInstallProto_ActionType value);
121 template<typename T>
ExtensionInstallProto_ActionType_Name(T enum_t_value)122 inline const std::string& ExtensionInstallProto_ActionType_Name(T enum_t_value) {
123 static_assert(::std::is_same<T, ExtensionInstallProto_ActionType>::value ||
124 ::std::is_integral<T>::value,
125 "Incorrect type passed to function ExtensionInstallProto_ActionType_Name.");
126 return ExtensionInstallProto_ActionType_Name(static_cast<ExtensionInstallProto_ActionType>(enum_t_value));
127 }
128 bool ExtensionInstallProto_ActionType_Parse(
129 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ExtensionInstallProto_ActionType* value);
130 enum ExtensionInstallProto_BackgroundScriptType : int {
131 ExtensionInstallProto_BackgroundScriptType_NO_BACKGROUND_SCRIPT = 0,
132 ExtensionInstallProto_BackgroundScriptType_PERSISTENT_BACKGROUND_PAGE = 1,
133 ExtensionInstallProto_BackgroundScriptType_EVENT_PAGE = 2,
134 ExtensionInstallProto_BackgroundScriptType_SERVICE_WORKER = 3
135 };
136 bool ExtensionInstallProto_BackgroundScriptType_IsValid(int value);
137 constexpr ExtensionInstallProto_BackgroundScriptType ExtensionInstallProto_BackgroundScriptType_BackgroundScriptType_MIN = ExtensionInstallProto_BackgroundScriptType_NO_BACKGROUND_SCRIPT;
138 constexpr ExtensionInstallProto_BackgroundScriptType ExtensionInstallProto_BackgroundScriptType_BackgroundScriptType_MAX = ExtensionInstallProto_BackgroundScriptType_SERVICE_WORKER;
139 constexpr int ExtensionInstallProto_BackgroundScriptType_BackgroundScriptType_ARRAYSIZE = ExtensionInstallProto_BackgroundScriptType_BackgroundScriptType_MAX + 1;
140
141 const std::string& ExtensionInstallProto_BackgroundScriptType_Name(ExtensionInstallProto_BackgroundScriptType value);
142 template<typename T>
ExtensionInstallProto_BackgroundScriptType_Name(T enum_t_value)143 inline const std::string& ExtensionInstallProto_BackgroundScriptType_Name(T enum_t_value) {
144 static_assert(::std::is_same<T, ExtensionInstallProto_BackgroundScriptType>::value ||
145 ::std::is_integral<T>::value,
146 "Incorrect type passed to function ExtensionInstallProto_BackgroundScriptType_Name.");
147 return ExtensionInstallProto_BackgroundScriptType_Name(static_cast<ExtensionInstallProto_BackgroundScriptType>(enum_t_value));
148 }
149 bool ExtensionInstallProto_BackgroundScriptType_Parse(
150 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ExtensionInstallProto_BackgroundScriptType* value);
151 enum ExtensionInstallProto_DisableReason : int {
152 ExtensionInstallProto_DisableReason_USER_ACTION = 0,
153 ExtensionInstallProto_DisableReason_PERMISSIONS_INCREASE = 1,
154 ExtensionInstallProto_DisableReason_RELOAD = 2,
155 ExtensionInstallProto_DisableReason_UNSUPPORTED_REQUIREMENT = 3,
156 ExtensionInstallProto_DisableReason_SIDELOAD_WIPEOUT = 4,
157 ExtensionInstallProto_DisableReason_UNKNOWN_FROM_SYNC = 5,
158 ExtensionInstallProto_DisableReason_NOT_VERIFIED = 6,
159 ExtensionInstallProto_DisableReason_GREYLIST = 7,
160 ExtensionInstallProto_DisableReason_CORRUPTED = 8,
161 ExtensionInstallProto_DisableReason_REMOTE_INSTALL = 9,
162 ExtensionInstallProto_DisableReason_EXTERNAL_EXTENSION = 10,
163 ExtensionInstallProto_DisableReason_UPDATE_REQUIRED_BY_POLICY = 11,
164 ExtensionInstallProto_DisableReason_CUSTODIAN_APPROVAL_REQUIRED = 12,
165 ExtensionInstallProto_DisableReason_BLOCKED_BY_POLICY = 13,
166 ExtensionInstallProto_DisableReason_REINSTALL = 16,
167 ExtensionInstallProto_DisableReason_NOT_ALLOWLISTED = 17,
168 ExtensionInstallProto_DisableReason_NOT_ASH_KEEPLISTED = 18,
169 ExtensionInstallProto_DisableReason_PUBLISHED_IN_STORE_REQUIRED_BY_POLICY = 19
170 };
171 bool ExtensionInstallProto_DisableReason_IsValid(int value);
172 constexpr ExtensionInstallProto_DisableReason ExtensionInstallProto_DisableReason_DisableReason_MIN = ExtensionInstallProto_DisableReason_USER_ACTION;
173 constexpr ExtensionInstallProto_DisableReason ExtensionInstallProto_DisableReason_DisableReason_MAX = ExtensionInstallProto_DisableReason_PUBLISHED_IN_STORE_REQUIRED_BY_POLICY;
174 constexpr int ExtensionInstallProto_DisableReason_DisableReason_ARRAYSIZE = ExtensionInstallProto_DisableReason_DisableReason_MAX + 1;
175
176 const std::string& ExtensionInstallProto_DisableReason_Name(ExtensionInstallProto_DisableReason value);
177 template<typename T>
ExtensionInstallProto_DisableReason_Name(T enum_t_value)178 inline const std::string& ExtensionInstallProto_DisableReason_Name(T enum_t_value) {
179 static_assert(::std::is_same<T, ExtensionInstallProto_DisableReason>::value ||
180 ::std::is_integral<T>::value,
181 "Incorrect type passed to function ExtensionInstallProto_DisableReason_Name.");
182 return ExtensionInstallProto_DisableReason_Name(static_cast<ExtensionInstallProto_DisableReason>(enum_t_value));
183 }
184 bool ExtensionInstallProto_DisableReason_Parse(
185 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ExtensionInstallProto_DisableReason* value);
186 enum ExtensionInstallProto_BlacklistState : int {
187 ExtensionInstallProto_BlacklistState_NOT_BLACKLISTED = 0,
188 ExtensionInstallProto_BlacklistState_BLACKLISTED_MALWARE = 1,
189 ExtensionInstallProto_BlacklistState_BLACKLISTED_SECURITY_VULNERABILITY = 2,
190 ExtensionInstallProto_BlacklistState_BLACKLISTED_CWS_POLICY_VIOLATION = 3,
191 ExtensionInstallProto_BlacklistState_BLACKLISTED_POTENTIALLY_UNWANTED = 4,
192 ExtensionInstallProto_BlacklistState_BLACKLISTED_UNKNOWN = 5
193 };
194 bool ExtensionInstallProto_BlacklistState_IsValid(int value);
195 constexpr ExtensionInstallProto_BlacklistState ExtensionInstallProto_BlacklistState_BlacklistState_MIN = ExtensionInstallProto_BlacklistState_NOT_BLACKLISTED;
196 constexpr ExtensionInstallProto_BlacklistState ExtensionInstallProto_BlacklistState_BlacklistState_MAX = ExtensionInstallProto_BlacklistState_BLACKLISTED_UNKNOWN;
197 constexpr int ExtensionInstallProto_BlacklistState_BlacklistState_ARRAYSIZE = ExtensionInstallProto_BlacklistState_BlacklistState_MAX + 1;
198
199 const std::string& ExtensionInstallProto_BlacklistState_Name(ExtensionInstallProto_BlacklistState value);
200 template<typename T>
ExtensionInstallProto_BlacklistState_Name(T enum_t_value)201 inline const std::string& ExtensionInstallProto_BlacklistState_Name(T enum_t_value) {
202 static_assert(::std::is_same<T, ExtensionInstallProto_BlacklistState>::value ||
203 ::std::is_integral<T>::value,
204 "Incorrect type passed to function ExtensionInstallProto_BlacklistState_Name.");
205 return ExtensionInstallProto_BlacklistState_Name(static_cast<ExtensionInstallProto_BlacklistState>(enum_t_value));
206 }
207 bool ExtensionInstallProto_BlacklistState_Parse(
208 ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, ExtensionInstallProto_BlacklistState* value);
209 // ===================================================================
210
211 class ExtensionInstallProto final :
212 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:metrics.ExtensionInstallProto) */ {
213 public:
ExtensionInstallProto()214 inline ExtensionInstallProto() : ExtensionInstallProto(nullptr) {}
215 ~ExtensionInstallProto() override;
216 explicit PROTOBUF_CONSTEXPR ExtensionInstallProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
217
218 ExtensionInstallProto(const ExtensionInstallProto& from);
ExtensionInstallProto(ExtensionInstallProto && from)219 ExtensionInstallProto(ExtensionInstallProto&& from) noexcept
220 : ExtensionInstallProto() {
221 *this = ::std::move(from);
222 }
223
224 inline ExtensionInstallProto& operator=(const ExtensionInstallProto& from) {
225 CopyFrom(from);
226 return *this;
227 }
228 inline ExtensionInstallProto& operator=(ExtensionInstallProto&& from) noexcept {
229 if (this == &from) return *this;
230 if (GetOwningArena() == from.GetOwningArena()
231 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
232 && GetOwningArena() != nullptr
233 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
234 ) {
235 InternalSwap(&from);
236 } else {
237 CopyFrom(from);
238 }
239 return *this;
240 }
241
unknown_fields()242 inline const std::string& unknown_fields() const {
243 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
244 }
mutable_unknown_fields()245 inline std::string* mutable_unknown_fields() {
246 return _internal_metadata_.mutable_unknown_fields<std::string>();
247 }
248
default_instance()249 static const ExtensionInstallProto& default_instance() {
250 return *internal_default_instance();
251 }
internal_default_instance()252 static inline const ExtensionInstallProto* internal_default_instance() {
253 return reinterpret_cast<const ExtensionInstallProto*>(
254 &_ExtensionInstallProto_default_instance_);
255 }
256 static constexpr int kIndexInFileMessages =
257 0;
258
swap(ExtensionInstallProto & a,ExtensionInstallProto & b)259 friend void swap(ExtensionInstallProto& a, ExtensionInstallProto& b) {
260 a.Swap(&b);
261 }
Swap(ExtensionInstallProto * other)262 PROTOBUF_NOINLINE void Swap(ExtensionInstallProto* other) {
263 if (other == this) return;
264 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
265 if (GetOwningArena() != nullptr &&
266 GetOwningArena() == other->GetOwningArena()) {
267 #else // PROTOBUF_FORCE_COPY_IN_SWAP
268 if (GetOwningArena() == other->GetOwningArena()) {
269 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
270 InternalSwap(other);
271 } else {
272 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
273 }
274 }
275 void UnsafeArenaSwap(ExtensionInstallProto* other) {
276 if (other == this) return;
277 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
278 InternalSwap(other);
279 }
280
281 // implements Message ----------------------------------------------
282
283 ExtensionInstallProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
284 return CreateMaybeMessage<ExtensionInstallProto>(arena);
285 }
286 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
287 void CopyFrom(const ExtensionInstallProto& from);
288 void MergeFrom(const ExtensionInstallProto& from);
289 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
290 bool IsInitialized() const final;
291
292 size_t ByteSizeLong() const final;
293 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
294 uint8_t* _InternalSerialize(
295 uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
296 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
297
298 private:
299 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
300 void SharedDtor();
301 void SetCachedSize(int size) const;
302 void InternalSwap(ExtensionInstallProto* other);
303
304 private:
305 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
306 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
307 return "metrics.ExtensionInstallProto";
308 }
309 protected:
310 explicit ExtensionInstallProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
311 bool is_message_owned = false);
312 public:
313
314 std::string GetTypeName() const final;
315
316 // nested types ----------------------------------------------------
317
318 typedef ExtensionInstallProto_Type Type;
319 static constexpr Type UNKNOWN_TYPE =
320 ExtensionInstallProto_Type_UNKNOWN_TYPE;
321 static constexpr Type EXTENSION =
322 ExtensionInstallProto_Type_EXTENSION;
323 static constexpr Type THEME =
324 ExtensionInstallProto_Type_THEME;
325 static constexpr Type USER_SCRIPT =
326 ExtensionInstallProto_Type_USER_SCRIPT;
327 static constexpr Type HOSTED_APP =
328 ExtensionInstallProto_Type_HOSTED_APP;
329 static constexpr Type LEGACY_PACKAGED_APP =
330 ExtensionInstallProto_Type_LEGACY_PACKAGED_APP;
331 static constexpr Type PLATFORM_APP =
332 ExtensionInstallProto_Type_PLATFORM_APP;
333 static constexpr Type SHARED_MODULE =
334 ExtensionInstallProto_Type_SHARED_MODULE;
335 static constexpr Type LOGIN_SCREEN_EXTENSION =
336 ExtensionInstallProto_Type_LOGIN_SCREEN_EXTENSION;
337 static inline bool Type_IsValid(int value) {
338 return ExtensionInstallProto_Type_IsValid(value);
339 }
340 static constexpr Type Type_MIN =
341 ExtensionInstallProto_Type_Type_MIN;
342 static constexpr Type Type_MAX =
343 ExtensionInstallProto_Type_Type_MAX;
344 static constexpr int Type_ARRAYSIZE =
345 ExtensionInstallProto_Type_Type_ARRAYSIZE;
346 template<typename T>
347 static inline const std::string& Type_Name(T enum_t_value) {
348 static_assert(::std::is_same<T, Type>::value ||
349 ::std::is_integral<T>::value,
350 "Incorrect type passed to function Type_Name.");
351 return ExtensionInstallProto_Type_Name(enum_t_value);
352 }
353 static inline bool Type_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
354 Type* value) {
355 return ExtensionInstallProto_Type_Parse(name, value);
356 }
357
358 typedef ExtensionInstallProto_InstallLocation InstallLocation;
359 static constexpr InstallLocation UNKNOWN_LOCATION =
360 ExtensionInstallProto_InstallLocation_UNKNOWN_LOCATION;
361 static constexpr InstallLocation INTERNAL =
362 ExtensionInstallProto_InstallLocation_INTERNAL;
363 static constexpr InstallLocation EXTERNAL_PREF =
364 ExtensionInstallProto_InstallLocation_EXTERNAL_PREF;
365 static constexpr InstallLocation EXTERNAL_REGISTRY =
366 ExtensionInstallProto_InstallLocation_EXTERNAL_REGISTRY;
367 static constexpr InstallLocation UNPACKED =
368 ExtensionInstallProto_InstallLocation_UNPACKED;
369 static constexpr InstallLocation COMPONENT =
370 ExtensionInstallProto_InstallLocation_COMPONENT;
371 static constexpr InstallLocation EXTERNAL_PREF_DOWNLOAD =
372 ExtensionInstallProto_InstallLocation_EXTERNAL_PREF_DOWNLOAD;
373 static constexpr InstallLocation EXTERNAL_POLICY_DOWNLOAD =
374 ExtensionInstallProto_InstallLocation_EXTERNAL_POLICY_DOWNLOAD;
375 static constexpr InstallLocation COMMAND_LINE =
376 ExtensionInstallProto_InstallLocation_COMMAND_LINE;
377 static constexpr InstallLocation EXTERNAL_POLICY =
378 ExtensionInstallProto_InstallLocation_EXTERNAL_POLICY;
379 static constexpr InstallLocation EXTERNAL_COMPONENT =
380 ExtensionInstallProto_InstallLocation_EXTERNAL_COMPONENT;
381 static inline bool InstallLocation_IsValid(int value) {
382 return ExtensionInstallProto_InstallLocation_IsValid(value);
383 }
384 static constexpr InstallLocation InstallLocation_MIN =
385 ExtensionInstallProto_InstallLocation_InstallLocation_MIN;
386 static constexpr InstallLocation InstallLocation_MAX =
387 ExtensionInstallProto_InstallLocation_InstallLocation_MAX;
388 static constexpr int InstallLocation_ARRAYSIZE =
389 ExtensionInstallProto_InstallLocation_InstallLocation_ARRAYSIZE;
390 template<typename T>
391 static inline const std::string& InstallLocation_Name(T enum_t_value) {
392 static_assert(::std::is_same<T, InstallLocation>::value ||
393 ::std::is_integral<T>::value,
394 "Incorrect type passed to function InstallLocation_Name.");
395 return ExtensionInstallProto_InstallLocation_Name(enum_t_value);
396 }
397 static inline bool InstallLocation_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
398 InstallLocation* value) {
399 return ExtensionInstallProto_InstallLocation_Parse(name, value);
400 }
401
402 typedef ExtensionInstallProto_ActionType ActionType;
403 static constexpr ActionType NO_ACTION =
404 ExtensionInstallProto_ActionType_NO_ACTION;
405 static constexpr ActionType BROWSER_ACTION =
406 ExtensionInstallProto_ActionType_BROWSER_ACTION;
407 static constexpr ActionType PAGE_ACTION =
408 ExtensionInstallProto_ActionType_PAGE_ACTION;
409 static constexpr ActionType SYSTEM_INDICATOR =
410 ExtensionInstallProto_ActionType_SYSTEM_INDICATOR;
411 static inline bool ActionType_IsValid(int value) {
412 return ExtensionInstallProto_ActionType_IsValid(value);
413 }
414 static constexpr ActionType ActionType_MIN =
415 ExtensionInstallProto_ActionType_ActionType_MIN;
416 static constexpr ActionType ActionType_MAX =
417 ExtensionInstallProto_ActionType_ActionType_MAX;
418 static constexpr int ActionType_ARRAYSIZE =
419 ExtensionInstallProto_ActionType_ActionType_ARRAYSIZE;
420 template<typename T>
421 static inline const std::string& ActionType_Name(T enum_t_value) {
422 static_assert(::std::is_same<T, ActionType>::value ||
423 ::std::is_integral<T>::value,
424 "Incorrect type passed to function ActionType_Name.");
425 return ExtensionInstallProto_ActionType_Name(enum_t_value);
426 }
427 static inline bool ActionType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
428 ActionType* value) {
429 return ExtensionInstallProto_ActionType_Parse(name, value);
430 }
431
432 typedef ExtensionInstallProto_BackgroundScriptType BackgroundScriptType;
433 static constexpr BackgroundScriptType NO_BACKGROUND_SCRIPT =
434 ExtensionInstallProto_BackgroundScriptType_NO_BACKGROUND_SCRIPT;
435 static constexpr BackgroundScriptType PERSISTENT_BACKGROUND_PAGE =
436 ExtensionInstallProto_BackgroundScriptType_PERSISTENT_BACKGROUND_PAGE;
437 static constexpr BackgroundScriptType EVENT_PAGE =
438 ExtensionInstallProto_BackgroundScriptType_EVENT_PAGE;
439 static constexpr BackgroundScriptType SERVICE_WORKER =
440 ExtensionInstallProto_BackgroundScriptType_SERVICE_WORKER;
441 static inline bool BackgroundScriptType_IsValid(int value) {
442 return ExtensionInstallProto_BackgroundScriptType_IsValid(value);
443 }
444 static constexpr BackgroundScriptType BackgroundScriptType_MIN =
445 ExtensionInstallProto_BackgroundScriptType_BackgroundScriptType_MIN;
446 static constexpr BackgroundScriptType BackgroundScriptType_MAX =
447 ExtensionInstallProto_BackgroundScriptType_BackgroundScriptType_MAX;
448 static constexpr int BackgroundScriptType_ARRAYSIZE =
449 ExtensionInstallProto_BackgroundScriptType_BackgroundScriptType_ARRAYSIZE;
450 template<typename T>
451 static inline const std::string& BackgroundScriptType_Name(T enum_t_value) {
452 static_assert(::std::is_same<T, BackgroundScriptType>::value ||
453 ::std::is_integral<T>::value,
454 "Incorrect type passed to function BackgroundScriptType_Name.");
455 return ExtensionInstallProto_BackgroundScriptType_Name(enum_t_value);
456 }
457 static inline bool BackgroundScriptType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
458 BackgroundScriptType* value) {
459 return ExtensionInstallProto_BackgroundScriptType_Parse(name, value);
460 }
461
462 typedef ExtensionInstallProto_DisableReason DisableReason;
463 static constexpr DisableReason USER_ACTION =
464 ExtensionInstallProto_DisableReason_USER_ACTION;
465 static constexpr DisableReason PERMISSIONS_INCREASE =
466 ExtensionInstallProto_DisableReason_PERMISSIONS_INCREASE;
467 static constexpr DisableReason RELOAD =
468 ExtensionInstallProto_DisableReason_RELOAD;
469 static constexpr DisableReason UNSUPPORTED_REQUIREMENT =
470 ExtensionInstallProto_DisableReason_UNSUPPORTED_REQUIREMENT;
471 static constexpr DisableReason SIDELOAD_WIPEOUT =
472 ExtensionInstallProto_DisableReason_SIDELOAD_WIPEOUT;
473 static constexpr DisableReason UNKNOWN_FROM_SYNC =
474 ExtensionInstallProto_DisableReason_UNKNOWN_FROM_SYNC;
475 static constexpr DisableReason NOT_VERIFIED =
476 ExtensionInstallProto_DisableReason_NOT_VERIFIED;
477 static constexpr DisableReason GREYLIST =
478 ExtensionInstallProto_DisableReason_GREYLIST;
479 static constexpr DisableReason CORRUPTED =
480 ExtensionInstallProto_DisableReason_CORRUPTED;
481 static constexpr DisableReason REMOTE_INSTALL =
482 ExtensionInstallProto_DisableReason_REMOTE_INSTALL;
483 static constexpr DisableReason EXTERNAL_EXTENSION =
484 ExtensionInstallProto_DisableReason_EXTERNAL_EXTENSION;
485 static constexpr DisableReason UPDATE_REQUIRED_BY_POLICY =
486 ExtensionInstallProto_DisableReason_UPDATE_REQUIRED_BY_POLICY;
487 static constexpr DisableReason CUSTODIAN_APPROVAL_REQUIRED =
488 ExtensionInstallProto_DisableReason_CUSTODIAN_APPROVAL_REQUIRED;
489 static constexpr DisableReason BLOCKED_BY_POLICY =
490 ExtensionInstallProto_DisableReason_BLOCKED_BY_POLICY;
491 static constexpr DisableReason REINSTALL =
492 ExtensionInstallProto_DisableReason_REINSTALL;
493 static constexpr DisableReason NOT_ALLOWLISTED =
494 ExtensionInstallProto_DisableReason_NOT_ALLOWLISTED;
495 static constexpr DisableReason NOT_ASH_KEEPLISTED =
496 ExtensionInstallProto_DisableReason_NOT_ASH_KEEPLISTED;
497 static constexpr DisableReason PUBLISHED_IN_STORE_REQUIRED_BY_POLICY =
498 ExtensionInstallProto_DisableReason_PUBLISHED_IN_STORE_REQUIRED_BY_POLICY;
499 static inline bool DisableReason_IsValid(int value) {
500 return ExtensionInstallProto_DisableReason_IsValid(value);
501 }
502 static constexpr DisableReason DisableReason_MIN =
503 ExtensionInstallProto_DisableReason_DisableReason_MIN;
504 static constexpr DisableReason DisableReason_MAX =
505 ExtensionInstallProto_DisableReason_DisableReason_MAX;
506 static constexpr int DisableReason_ARRAYSIZE =
507 ExtensionInstallProto_DisableReason_DisableReason_ARRAYSIZE;
508 template<typename T>
509 static inline const std::string& DisableReason_Name(T enum_t_value) {
510 static_assert(::std::is_same<T, DisableReason>::value ||
511 ::std::is_integral<T>::value,
512 "Incorrect type passed to function DisableReason_Name.");
513 return ExtensionInstallProto_DisableReason_Name(enum_t_value);
514 }
515 static inline bool DisableReason_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
516 DisableReason* value) {
517 return ExtensionInstallProto_DisableReason_Parse(name, value);
518 }
519
520 typedef ExtensionInstallProto_BlacklistState BlacklistState;
521 static constexpr BlacklistState NOT_BLACKLISTED =
522 ExtensionInstallProto_BlacklistState_NOT_BLACKLISTED;
523 static constexpr BlacklistState BLACKLISTED_MALWARE =
524 ExtensionInstallProto_BlacklistState_BLACKLISTED_MALWARE;
525 static constexpr BlacklistState BLACKLISTED_SECURITY_VULNERABILITY =
526 ExtensionInstallProto_BlacklistState_BLACKLISTED_SECURITY_VULNERABILITY;
527 static constexpr BlacklistState BLACKLISTED_CWS_POLICY_VIOLATION =
528 ExtensionInstallProto_BlacklistState_BLACKLISTED_CWS_POLICY_VIOLATION;
529 static constexpr BlacklistState BLACKLISTED_POTENTIALLY_UNWANTED =
530 ExtensionInstallProto_BlacklistState_BLACKLISTED_POTENTIALLY_UNWANTED;
531 static constexpr BlacklistState BLACKLISTED_UNKNOWN =
532 ExtensionInstallProto_BlacklistState_BLACKLISTED_UNKNOWN;
533 static inline bool BlacklistState_IsValid(int value) {
534 return ExtensionInstallProto_BlacklistState_IsValid(value);
535 }
536 static constexpr BlacklistState BlacklistState_MIN =
537 ExtensionInstallProto_BlacklistState_BlacklistState_MIN;
538 static constexpr BlacklistState BlacklistState_MAX =
539 ExtensionInstallProto_BlacklistState_BlacklistState_MAX;
540 static constexpr int BlacklistState_ARRAYSIZE =
541 ExtensionInstallProto_BlacklistState_BlacklistState_ARRAYSIZE;
542 template<typename T>
543 static inline const std::string& BlacklistState_Name(T enum_t_value) {
544 static_assert(::std::is_same<T, BlacklistState>::value ||
545 ::std::is_integral<T>::value,
546 "Incorrect type passed to function BlacklistState_Name.");
547 return ExtensionInstallProto_BlacklistState_Name(enum_t_value);
548 }
549 static inline bool BlacklistState_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
550 BlacklistState* value) {
551 return ExtensionInstallProto_BlacklistState_Parse(name, value);
552 }
553
554 // accessors -------------------------------------------------------
555
556 enum : int {
557 kDisableReasonsFieldNumber = 14,
558 kTypeFieldNumber = 1,
559 kInstallLocationFieldNumber = 2,
560 kManifestVersionFieldNumber = 3,
561 kActionTypeFieldNumber = 4,
562 kHasFileAccessFieldNumber = 5,
563 kHasIncognitoAccessFieldNumber = 6,
564 kIsFromStoreFieldNumber = 7,
565 kUpdatesFromStoreFieldNumber = 8,
566 kIsFromBookmarkFieldNumber = 9,
567 kIsConvertedFromUserScriptFieldNumber = 10,
568 kIsDefaultInstalledFieldNumber = 11,
569 kIsOemInstalledFieldNumber = 12,
570 kBackgroundScriptTypeFieldNumber = 13,
571 kBlacklistStateFieldNumber = 15,
572 kInstalledInThisSamplePeriodFieldNumber = 16,
573 };
574 // repeated .metrics.ExtensionInstallProto.DisableReason disable_reasons = 14;
575 int disable_reasons_size() const;
576 private:
577 int _internal_disable_reasons_size() const;
578 public:
579 void clear_disable_reasons();
580 private:
581 ::metrics::ExtensionInstallProto_DisableReason _internal_disable_reasons(int index) const;
582 void _internal_add_disable_reasons(::metrics::ExtensionInstallProto_DisableReason value);
583 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* _internal_mutable_disable_reasons();
584 public:
585 ::metrics::ExtensionInstallProto_DisableReason disable_reasons(int index) const;
586 void set_disable_reasons(int index, ::metrics::ExtensionInstallProto_DisableReason value);
587 void add_disable_reasons(::metrics::ExtensionInstallProto_DisableReason value);
588 const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>& disable_reasons() const;
589 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>* mutable_disable_reasons();
590
591 // optional .metrics.ExtensionInstallProto.Type type = 1;
592 bool has_type() const;
593 private:
594 bool _internal_has_type() const;
595 public:
596 void clear_type();
597 ::metrics::ExtensionInstallProto_Type type() const;
598 void set_type(::metrics::ExtensionInstallProto_Type value);
599 private:
600 ::metrics::ExtensionInstallProto_Type _internal_type() const;
601 void _internal_set_type(::metrics::ExtensionInstallProto_Type value);
602 public:
603
604 // optional .metrics.ExtensionInstallProto.InstallLocation install_location = 2;
605 bool has_install_location() const;
606 private:
607 bool _internal_has_install_location() const;
608 public:
609 void clear_install_location();
610 ::metrics::ExtensionInstallProto_InstallLocation install_location() const;
611 void set_install_location(::metrics::ExtensionInstallProto_InstallLocation value);
612 private:
613 ::metrics::ExtensionInstallProto_InstallLocation _internal_install_location() const;
614 void _internal_set_install_location(::metrics::ExtensionInstallProto_InstallLocation value);
615 public:
616
617 // optional int32 manifest_version = 3;
618 bool has_manifest_version() const;
619 private:
620 bool _internal_has_manifest_version() const;
621 public:
622 void clear_manifest_version();
623 int32_t manifest_version() const;
624 void set_manifest_version(int32_t value);
625 private:
626 int32_t _internal_manifest_version() const;
627 void _internal_set_manifest_version(int32_t value);
628 public:
629
630 // optional .metrics.ExtensionInstallProto.ActionType action_type = 4;
631 bool has_action_type() const;
632 private:
633 bool _internal_has_action_type() const;
634 public:
635 void clear_action_type();
636 ::metrics::ExtensionInstallProto_ActionType action_type() const;
637 void set_action_type(::metrics::ExtensionInstallProto_ActionType value);
638 private:
639 ::metrics::ExtensionInstallProto_ActionType _internal_action_type() const;
640 void _internal_set_action_type(::metrics::ExtensionInstallProto_ActionType value);
641 public:
642
643 // optional bool has_file_access = 5;
644 bool has_has_file_access() const;
645 private:
646 bool _internal_has_has_file_access() const;
647 public:
648 void clear_has_file_access();
649 bool has_file_access() const;
650 void set_has_file_access(bool value);
651 private:
652 bool _internal_has_file_access() const;
653 void _internal_set_has_file_access(bool value);
654 public:
655
656 // optional bool has_incognito_access = 6;
657 bool has_has_incognito_access() const;
658 private:
659 bool _internal_has_has_incognito_access() const;
660 public:
661 void clear_has_incognito_access();
662 bool has_incognito_access() const;
663 void set_has_incognito_access(bool value);
664 private:
665 bool _internal_has_incognito_access() const;
666 void _internal_set_has_incognito_access(bool value);
667 public:
668
669 // optional bool is_from_store = 7;
670 bool has_is_from_store() const;
671 private:
672 bool _internal_has_is_from_store() const;
673 public:
674 void clear_is_from_store();
675 bool is_from_store() const;
676 void set_is_from_store(bool value);
677 private:
678 bool _internal_is_from_store() const;
679 void _internal_set_is_from_store(bool value);
680 public:
681
682 // optional bool updates_from_store = 8;
683 bool has_updates_from_store() const;
684 private:
685 bool _internal_has_updates_from_store() const;
686 public:
687 void clear_updates_from_store();
688 bool updates_from_store() const;
689 void set_updates_from_store(bool value);
690 private:
691 bool _internal_updates_from_store() const;
692 void _internal_set_updates_from_store(bool value);
693 public:
694
695 // optional bool is_from_bookmark = 9;
696 bool has_is_from_bookmark() const;
697 private:
698 bool _internal_has_is_from_bookmark() const;
699 public:
700 void clear_is_from_bookmark();
701 bool is_from_bookmark() const;
702 void set_is_from_bookmark(bool value);
703 private:
704 bool _internal_is_from_bookmark() const;
705 void _internal_set_is_from_bookmark(bool value);
706 public:
707
708 // optional bool is_converted_from_user_script = 10;
709 bool has_is_converted_from_user_script() const;
710 private:
711 bool _internal_has_is_converted_from_user_script() const;
712 public:
713 void clear_is_converted_from_user_script();
714 bool is_converted_from_user_script() const;
715 void set_is_converted_from_user_script(bool value);
716 private:
717 bool _internal_is_converted_from_user_script() const;
718 void _internal_set_is_converted_from_user_script(bool value);
719 public:
720
721 // optional bool is_default_installed = 11;
722 bool has_is_default_installed() const;
723 private:
724 bool _internal_has_is_default_installed() const;
725 public:
726 void clear_is_default_installed();
727 bool is_default_installed() const;
728 void set_is_default_installed(bool value);
729 private:
730 bool _internal_is_default_installed() const;
731 void _internal_set_is_default_installed(bool value);
732 public:
733
734 // optional bool is_oem_installed = 12;
735 bool has_is_oem_installed() const;
736 private:
737 bool _internal_has_is_oem_installed() const;
738 public:
739 void clear_is_oem_installed();
740 bool is_oem_installed() const;
741 void set_is_oem_installed(bool value);
742 private:
743 bool _internal_is_oem_installed() const;
744 void _internal_set_is_oem_installed(bool value);
745 public:
746
747 // optional .metrics.ExtensionInstallProto.BackgroundScriptType background_script_type = 13;
748 bool has_background_script_type() const;
749 private:
750 bool _internal_has_background_script_type() const;
751 public:
752 void clear_background_script_type();
753 ::metrics::ExtensionInstallProto_BackgroundScriptType background_script_type() const;
754 void set_background_script_type(::metrics::ExtensionInstallProto_BackgroundScriptType value);
755 private:
756 ::metrics::ExtensionInstallProto_BackgroundScriptType _internal_background_script_type() const;
757 void _internal_set_background_script_type(::metrics::ExtensionInstallProto_BackgroundScriptType value);
758 public:
759
760 // optional .metrics.ExtensionInstallProto.BlacklistState blacklist_state = 15;
761 bool has_blacklist_state() const;
762 private:
763 bool _internal_has_blacklist_state() const;
764 public:
765 void clear_blacklist_state();
766 ::metrics::ExtensionInstallProto_BlacklistState blacklist_state() const;
767 void set_blacklist_state(::metrics::ExtensionInstallProto_BlacklistState value);
768 private:
769 ::metrics::ExtensionInstallProto_BlacklistState _internal_blacklist_state() const;
770 void _internal_set_blacklist_state(::metrics::ExtensionInstallProto_BlacklistState value);
771 public:
772
773 // optional bool installed_in_this_sample_period = 16;
774 bool has_installed_in_this_sample_period() const;
775 private:
776 bool _internal_has_installed_in_this_sample_period() const;
777 public:
778 void clear_installed_in_this_sample_period();
779 bool installed_in_this_sample_period() const;
780 void set_installed_in_this_sample_period(bool value);
781 private:
782 bool _internal_installed_in_this_sample_period() const;
783 void _internal_set_installed_in_this_sample_period(bool value);
784 public:
785
786 // @@protoc_insertion_point(class_scope:metrics.ExtensionInstallProto)
787 private:
788 class _Internal;
789
790 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
791 typedef void InternalArenaConstructable_;
792 typedef void DestructorSkippable_;
793 struct Impl_ {
794 ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
795 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
796 ::PROTOBUF_NAMESPACE_ID::RepeatedField<int> disable_reasons_;
797 int type_;
798 int install_location_;
799 int32_t manifest_version_;
800 int action_type_;
801 bool has_file_access_;
802 bool has_incognito_access_;
803 bool is_from_store_;
804 bool updates_from_store_;
805 bool is_from_bookmark_;
806 bool is_converted_from_user_script_;
807 bool is_default_installed_;
808 bool is_oem_installed_;
809 int background_script_type_;
810 int blacklist_state_;
811 bool installed_in_this_sample_period_;
812 };
813 union { Impl_ _impl_; };
814 friend struct ::TableStruct_extension_5finstall_2eproto;
815 };
816 // ===================================================================
817
818
819 // ===================================================================
820
821 #ifdef __GNUC__
822 #pragma GCC diagnostic push
823 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
824 #endif // __GNUC__
825 // ExtensionInstallProto
826
827 // optional .metrics.ExtensionInstallProto.Type type = 1;
_internal_has_type()828 inline bool ExtensionInstallProto::_internal_has_type() const {
829 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
830 return value;
831 }
has_type()832 inline bool ExtensionInstallProto::has_type() const {
833 return _internal_has_type();
834 }
clear_type()835 inline void ExtensionInstallProto::clear_type() {
836 _impl_.type_ = 0;
837 _impl_._has_bits_[0] &= ~0x00000001u;
838 }
_internal_type()839 inline ::metrics::ExtensionInstallProto_Type ExtensionInstallProto::_internal_type() const {
840 return static_cast< ::metrics::ExtensionInstallProto_Type >(_impl_.type_);
841 }
type()842 inline ::metrics::ExtensionInstallProto_Type ExtensionInstallProto::type() const {
843 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.type)
844 return _internal_type();
845 }
_internal_set_type(::metrics::ExtensionInstallProto_Type value)846 inline void ExtensionInstallProto::_internal_set_type(::metrics::ExtensionInstallProto_Type value) {
847 assert(::metrics::ExtensionInstallProto_Type_IsValid(value));
848 _impl_._has_bits_[0] |= 0x00000001u;
849 _impl_.type_ = value;
850 }
set_type(::metrics::ExtensionInstallProto_Type value)851 inline void ExtensionInstallProto::set_type(::metrics::ExtensionInstallProto_Type value) {
852 _internal_set_type(value);
853 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.type)
854 }
855
856 // optional .metrics.ExtensionInstallProto.InstallLocation install_location = 2;
_internal_has_install_location()857 inline bool ExtensionInstallProto::_internal_has_install_location() const {
858 bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
859 return value;
860 }
has_install_location()861 inline bool ExtensionInstallProto::has_install_location() const {
862 return _internal_has_install_location();
863 }
clear_install_location()864 inline void ExtensionInstallProto::clear_install_location() {
865 _impl_.install_location_ = 0;
866 _impl_._has_bits_[0] &= ~0x00000002u;
867 }
_internal_install_location()868 inline ::metrics::ExtensionInstallProto_InstallLocation ExtensionInstallProto::_internal_install_location() const {
869 return static_cast< ::metrics::ExtensionInstallProto_InstallLocation >(_impl_.install_location_);
870 }
install_location()871 inline ::metrics::ExtensionInstallProto_InstallLocation ExtensionInstallProto::install_location() const {
872 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.install_location)
873 return _internal_install_location();
874 }
_internal_set_install_location(::metrics::ExtensionInstallProto_InstallLocation value)875 inline void ExtensionInstallProto::_internal_set_install_location(::metrics::ExtensionInstallProto_InstallLocation value) {
876 assert(::metrics::ExtensionInstallProto_InstallLocation_IsValid(value));
877 _impl_._has_bits_[0] |= 0x00000002u;
878 _impl_.install_location_ = value;
879 }
set_install_location(::metrics::ExtensionInstallProto_InstallLocation value)880 inline void ExtensionInstallProto::set_install_location(::metrics::ExtensionInstallProto_InstallLocation value) {
881 _internal_set_install_location(value);
882 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.install_location)
883 }
884
885 // optional int32 manifest_version = 3;
_internal_has_manifest_version()886 inline bool ExtensionInstallProto::_internal_has_manifest_version() const {
887 bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
888 return value;
889 }
has_manifest_version()890 inline bool ExtensionInstallProto::has_manifest_version() const {
891 return _internal_has_manifest_version();
892 }
clear_manifest_version()893 inline void ExtensionInstallProto::clear_manifest_version() {
894 _impl_.manifest_version_ = 0;
895 _impl_._has_bits_[0] &= ~0x00000004u;
896 }
_internal_manifest_version()897 inline int32_t ExtensionInstallProto::_internal_manifest_version() const {
898 return _impl_.manifest_version_;
899 }
manifest_version()900 inline int32_t ExtensionInstallProto::manifest_version() const {
901 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.manifest_version)
902 return _internal_manifest_version();
903 }
_internal_set_manifest_version(int32_t value)904 inline void ExtensionInstallProto::_internal_set_manifest_version(int32_t value) {
905 _impl_._has_bits_[0] |= 0x00000004u;
906 _impl_.manifest_version_ = value;
907 }
set_manifest_version(int32_t value)908 inline void ExtensionInstallProto::set_manifest_version(int32_t value) {
909 _internal_set_manifest_version(value);
910 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.manifest_version)
911 }
912
913 // optional .metrics.ExtensionInstallProto.ActionType action_type = 4;
_internal_has_action_type()914 inline bool ExtensionInstallProto::_internal_has_action_type() const {
915 bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
916 return value;
917 }
has_action_type()918 inline bool ExtensionInstallProto::has_action_type() const {
919 return _internal_has_action_type();
920 }
clear_action_type()921 inline void ExtensionInstallProto::clear_action_type() {
922 _impl_.action_type_ = 0;
923 _impl_._has_bits_[0] &= ~0x00000008u;
924 }
_internal_action_type()925 inline ::metrics::ExtensionInstallProto_ActionType ExtensionInstallProto::_internal_action_type() const {
926 return static_cast< ::metrics::ExtensionInstallProto_ActionType >(_impl_.action_type_);
927 }
action_type()928 inline ::metrics::ExtensionInstallProto_ActionType ExtensionInstallProto::action_type() const {
929 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.action_type)
930 return _internal_action_type();
931 }
_internal_set_action_type(::metrics::ExtensionInstallProto_ActionType value)932 inline void ExtensionInstallProto::_internal_set_action_type(::metrics::ExtensionInstallProto_ActionType value) {
933 assert(::metrics::ExtensionInstallProto_ActionType_IsValid(value));
934 _impl_._has_bits_[0] |= 0x00000008u;
935 _impl_.action_type_ = value;
936 }
set_action_type(::metrics::ExtensionInstallProto_ActionType value)937 inline void ExtensionInstallProto::set_action_type(::metrics::ExtensionInstallProto_ActionType value) {
938 _internal_set_action_type(value);
939 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.action_type)
940 }
941
942 // optional bool has_file_access = 5;
_internal_has_has_file_access()943 inline bool ExtensionInstallProto::_internal_has_has_file_access() const {
944 bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
945 return value;
946 }
has_has_file_access()947 inline bool ExtensionInstallProto::has_has_file_access() const {
948 return _internal_has_has_file_access();
949 }
clear_has_file_access()950 inline void ExtensionInstallProto::clear_has_file_access() {
951 _impl_.has_file_access_ = false;
952 _impl_._has_bits_[0] &= ~0x00000010u;
953 }
_internal_has_file_access()954 inline bool ExtensionInstallProto::_internal_has_file_access() const {
955 return _impl_.has_file_access_;
956 }
has_file_access()957 inline bool ExtensionInstallProto::has_file_access() const {
958 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.has_file_access)
959 return _internal_has_file_access();
960 }
_internal_set_has_file_access(bool value)961 inline void ExtensionInstallProto::_internal_set_has_file_access(bool value) {
962 _impl_._has_bits_[0] |= 0x00000010u;
963 _impl_.has_file_access_ = value;
964 }
set_has_file_access(bool value)965 inline void ExtensionInstallProto::set_has_file_access(bool value) {
966 _internal_set_has_file_access(value);
967 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.has_file_access)
968 }
969
970 // optional bool has_incognito_access = 6;
_internal_has_has_incognito_access()971 inline bool ExtensionInstallProto::_internal_has_has_incognito_access() const {
972 bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
973 return value;
974 }
has_has_incognito_access()975 inline bool ExtensionInstallProto::has_has_incognito_access() const {
976 return _internal_has_has_incognito_access();
977 }
clear_has_incognito_access()978 inline void ExtensionInstallProto::clear_has_incognito_access() {
979 _impl_.has_incognito_access_ = false;
980 _impl_._has_bits_[0] &= ~0x00000020u;
981 }
_internal_has_incognito_access()982 inline bool ExtensionInstallProto::_internal_has_incognito_access() const {
983 return _impl_.has_incognito_access_;
984 }
has_incognito_access()985 inline bool ExtensionInstallProto::has_incognito_access() const {
986 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.has_incognito_access)
987 return _internal_has_incognito_access();
988 }
_internal_set_has_incognito_access(bool value)989 inline void ExtensionInstallProto::_internal_set_has_incognito_access(bool value) {
990 _impl_._has_bits_[0] |= 0x00000020u;
991 _impl_.has_incognito_access_ = value;
992 }
set_has_incognito_access(bool value)993 inline void ExtensionInstallProto::set_has_incognito_access(bool value) {
994 _internal_set_has_incognito_access(value);
995 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.has_incognito_access)
996 }
997
998 // optional bool is_from_store = 7;
_internal_has_is_from_store()999 inline bool ExtensionInstallProto::_internal_has_is_from_store() const {
1000 bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1001 return value;
1002 }
has_is_from_store()1003 inline bool ExtensionInstallProto::has_is_from_store() const {
1004 return _internal_has_is_from_store();
1005 }
clear_is_from_store()1006 inline void ExtensionInstallProto::clear_is_from_store() {
1007 _impl_.is_from_store_ = false;
1008 _impl_._has_bits_[0] &= ~0x00000040u;
1009 }
_internal_is_from_store()1010 inline bool ExtensionInstallProto::_internal_is_from_store() const {
1011 return _impl_.is_from_store_;
1012 }
is_from_store()1013 inline bool ExtensionInstallProto::is_from_store() const {
1014 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.is_from_store)
1015 return _internal_is_from_store();
1016 }
_internal_set_is_from_store(bool value)1017 inline void ExtensionInstallProto::_internal_set_is_from_store(bool value) {
1018 _impl_._has_bits_[0] |= 0x00000040u;
1019 _impl_.is_from_store_ = value;
1020 }
set_is_from_store(bool value)1021 inline void ExtensionInstallProto::set_is_from_store(bool value) {
1022 _internal_set_is_from_store(value);
1023 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.is_from_store)
1024 }
1025
1026 // optional bool updates_from_store = 8;
_internal_has_updates_from_store()1027 inline bool ExtensionInstallProto::_internal_has_updates_from_store() const {
1028 bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1029 return value;
1030 }
has_updates_from_store()1031 inline bool ExtensionInstallProto::has_updates_from_store() const {
1032 return _internal_has_updates_from_store();
1033 }
clear_updates_from_store()1034 inline void ExtensionInstallProto::clear_updates_from_store() {
1035 _impl_.updates_from_store_ = false;
1036 _impl_._has_bits_[0] &= ~0x00000080u;
1037 }
_internal_updates_from_store()1038 inline bool ExtensionInstallProto::_internal_updates_from_store() const {
1039 return _impl_.updates_from_store_;
1040 }
updates_from_store()1041 inline bool ExtensionInstallProto::updates_from_store() const {
1042 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.updates_from_store)
1043 return _internal_updates_from_store();
1044 }
_internal_set_updates_from_store(bool value)1045 inline void ExtensionInstallProto::_internal_set_updates_from_store(bool value) {
1046 _impl_._has_bits_[0] |= 0x00000080u;
1047 _impl_.updates_from_store_ = value;
1048 }
set_updates_from_store(bool value)1049 inline void ExtensionInstallProto::set_updates_from_store(bool value) {
1050 _internal_set_updates_from_store(value);
1051 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.updates_from_store)
1052 }
1053
1054 // optional bool is_from_bookmark = 9;
_internal_has_is_from_bookmark()1055 inline bool ExtensionInstallProto::_internal_has_is_from_bookmark() const {
1056 bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1057 return value;
1058 }
has_is_from_bookmark()1059 inline bool ExtensionInstallProto::has_is_from_bookmark() const {
1060 return _internal_has_is_from_bookmark();
1061 }
clear_is_from_bookmark()1062 inline void ExtensionInstallProto::clear_is_from_bookmark() {
1063 _impl_.is_from_bookmark_ = false;
1064 _impl_._has_bits_[0] &= ~0x00000100u;
1065 }
_internal_is_from_bookmark()1066 inline bool ExtensionInstallProto::_internal_is_from_bookmark() const {
1067 return _impl_.is_from_bookmark_;
1068 }
is_from_bookmark()1069 inline bool ExtensionInstallProto::is_from_bookmark() const {
1070 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.is_from_bookmark)
1071 return _internal_is_from_bookmark();
1072 }
_internal_set_is_from_bookmark(bool value)1073 inline void ExtensionInstallProto::_internal_set_is_from_bookmark(bool value) {
1074 _impl_._has_bits_[0] |= 0x00000100u;
1075 _impl_.is_from_bookmark_ = value;
1076 }
set_is_from_bookmark(bool value)1077 inline void ExtensionInstallProto::set_is_from_bookmark(bool value) {
1078 _internal_set_is_from_bookmark(value);
1079 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.is_from_bookmark)
1080 }
1081
1082 // optional bool is_converted_from_user_script = 10;
_internal_has_is_converted_from_user_script()1083 inline bool ExtensionInstallProto::_internal_has_is_converted_from_user_script() const {
1084 bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1085 return value;
1086 }
has_is_converted_from_user_script()1087 inline bool ExtensionInstallProto::has_is_converted_from_user_script() const {
1088 return _internal_has_is_converted_from_user_script();
1089 }
clear_is_converted_from_user_script()1090 inline void ExtensionInstallProto::clear_is_converted_from_user_script() {
1091 _impl_.is_converted_from_user_script_ = false;
1092 _impl_._has_bits_[0] &= ~0x00000200u;
1093 }
_internal_is_converted_from_user_script()1094 inline bool ExtensionInstallProto::_internal_is_converted_from_user_script() const {
1095 return _impl_.is_converted_from_user_script_;
1096 }
is_converted_from_user_script()1097 inline bool ExtensionInstallProto::is_converted_from_user_script() const {
1098 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.is_converted_from_user_script)
1099 return _internal_is_converted_from_user_script();
1100 }
_internal_set_is_converted_from_user_script(bool value)1101 inline void ExtensionInstallProto::_internal_set_is_converted_from_user_script(bool value) {
1102 _impl_._has_bits_[0] |= 0x00000200u;
1103 _impl_.is_converted_from_user_script_ = value;
1104 }
set_is_converted_from_user_script(bool value)1105 inline void ExtensionInstallProto::set_is_converted_from_user_script(bool value) {
1106 _internal_set_is_converted_from_user_script(value);
1107 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.is_converted_from_user_script)
1108 }
1109
1110 // optional bool is_default_installed = 11;
_internal_has_is_default_installed()1111 inline bool ExtensionInstallProto::_internal_has_is_default_installed() const {
1112 bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
1113 return value;
1114 }
has_is_default_installed()1115 inline bool ExtensionInstallProto::has_is_default_installed() const {
1116 return _internal_has_is_default_installed();
1117 }
clear_is_default_installed()1118 inline void ExtensionInstallProto::clear_is_default_installed() {
1119 _impl_.is_default_installed_ = false;
1120 _impl_._has_bits_[0] &= ~0x00000400u;
1121 }
_internal_is_default_installed()1122 inline bool ExtensionInstallProto::_internal_is_default_installed() const {
1123 return _impl_.is_default_installed_;
1124 }
is_default_installed()1125 inline bool ExtensionInstallProto::is_default_installed() const {
1126 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.is_default_installed)
1127 return _internal_is_default_installed();
1128 }
_internal_set_is_default_installed(bool value)1129 inline void ExtensionInstallProto::_internal_set_is_default_installed(bool value) {
1130 _impl_._has_bits_[0] |= 0x00000400u;
1131 _impl_.is_default_installed_ = value;
1132 }
set_is_default_installed(bool value)1133 inline void ExtensionInstallProto::set_is_default_installed(bool value) {
1134 _internal_set_is_default_installed(value);
1135 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.is_default_installed)
1136 }
1137
1138 // optional bool is_oem_installed = 12;
_internal_has_is_oem_installed()1139 inline bool ExtensionInstallProto::_internal_has_is_oem_installed() const {
1140 bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
1141 return value;
1142 }
has_is_oem_installed()1143 inline bool ExtensionInstallProto::has_is_oem_installed() const {
1144 return _internal_has_is_oem_installed();
1145 }
clear_is_oem_installed()1146 inline void ExtensionInstallProto::clear_is_oem_installed() {
1147 _impl_.is_oem_installed_ = false;
1148 _impl_._has_bits_[0] &= ~0x00000800u;
1149 }
_internal_is_oem_installed()1150 inline bool ExtensionInstallProto::_internal_is_oem_installed() const {
1151 return _impl_.is_oem_installed_;
1152 }
is_oem_installed()1153 inline bool ExtensionInstallProto::is_oem_installed() const {
1154 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.is_oem_installed)
1155 return _internal_is_oem_installed();
1156 }
_internal_set_is_oem_installed(bool value)1157 inline void ExtensionInstallProto::_internal_set_is_oem_installed(bool value) {
1158 _impl_._has_bits_[0] |= 0x00000800u;
1159 _impl_.is_oem_installed_ = value;
1160 }
set_is_oem_installed(bool value)1161 inline void ExtensionInstallProto::set_is_oem_installed(bool value) {
1162 _internal_set_is_oem_installed(value);
1163 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.is_oem_installed)
1164 }
1165
1166 // optional .metrics.ExtensionInstallProto.BackgroundScriptType background_script_type = 13;
_internal_has_background_script_type()1167 inline bool ExtensionInstallProto::_internal_has_background_script_type() const {
1168 bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
1169 return value;
1170 }
has_background_script_type()1171 inline bool ExtensionInstallProto::has_background_script_type() const {
1172 return _internal_has_background_script_type();
1173 }
clear_background_script_type()1174 inline void ExtensionInstallProto::clear_background_script_type() {
1175 _impl_.background_script_type_ = 0;
1176 _impl_._has_bits_[0] &= ~0x00001000u;
1177 }
_internal_background_script_type()1178 inline ::metrics::ExtensionInstallProto_BackgroundScriptType ExtensionInstallProto::_internal_background_script_type() const {
1179 return static_cast< ::metrics::ExtensionInstallProto_BackgroundScriptType >(_impl_.background_script_type_);
1180 }
background_script_type()1181 inline ::metrics::ExtensionInstallProto_BackgroundScriptType ExtensionInstallProto::background_script_type() const {
1182 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.background_script_type)
1183 return _internal_background_script_type();
1184 }
_internal_set_background_script_type(::metrics::ExtensionInstallProto_BackgroundScriptType value)1185 inline void ExtensionInstallProto::_internal_set_background_script_type(::metrics::ExtensionInstallProto_BackgroundScriptType value) {
1186 assert(::metrics::ExtensionInstallProto_BackgroundScriptType_IsValid(value));
1187 _impl_._has_bits_[0] |= 0x00001000u;
1188 _impl_.background_script_type_ = value;
1189 }
set_background_script_type(::metrics::ExtensionInstallProto_BackgroundScriptType value)1190 inline void ExtensionInstallProto::set_background_script_type(::metrics::ExtensionInstallProto_BackgroundScriptType value) {
1191 _internal_set_background_script_type(value);
1192 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.background_script_type)
1193 }
1194
1195 // repeated .metrics.ExtensionInstallProto.DisableReason disable_reasons = 14;
_internal_disable_reasons_size()1196 inline int ExtensionInstallProto::_internal_disable_reasons_size() const {
1197 return _impl_.disable_reasons_.size();
1198 }
disable_reasons_size()1199 inline int ExtensionInstallProto::disable_reasons_size() const {
1200 return _internal_disable_reasons_size();
1201 }
clear_disable_reasons()1202 inline void ExtensionInstallProto::clear_disable_reasons() {
1203 _impl_.disable_reasons_.Clear();
1204 }
_internal_disable_reasons(int index)1205 inline ::metrics::ExtensionInstallProto_DisableReason ExtensionInstallProto::_internal_disable_reasons(int index) const {
1206 return static_cast< ::metrics::ExtensionInstallProto_DisableReason >(_impl_.disable_reasons_.Get(index));
1207 }
disable_reasons(int index)1208 inline ::metrics::ExtensionInstallProto_DisableReason ExtensionInstallProto::disable_reasons(int index) const {
1209 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.disable_reasons)
1210 return _internal_disable_reasons(index);
1211 }
set_disable_reasons(int index,::metrics::ExtensionInstallProto_DisableReason value)1212 inline void ExtensionInstallProto::set_disable_reasons(int index, ::metrics::ExtensionInstallProto_DisableReason value) {
1213 assert(::metrics::ExtensionInstallProto_DisableReason_IsValid(value));
1214 _impl_.disable_reasons_.Set(index, value);
1215 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.disable_reasons)
1216 }
_internal_add_disable_reasons(::metrics::ExtensionInstallProto_DisableReason value)1217 inline void ExtensionInstallProto::_internal_add_disable_reasons(::metrics::ExtensionInstallProto_DisableReason value) {
1218 assert(::metrics::ExtensionInstallProto_DisableReason_IsValid(value));
1219 _impl_.disable_reasons_.Add(value);
1220 }
add_disable_reasons(::metrics::ExtensionInstallProto_DisableReason value)1221 inline void ExtensionInstallProto::add_disable_reasons(::metrics::ExtensionInstallProto_DisableReason value) {
1222 _internal_add_disable_reasons(value);
1223 // @@protoc_insertion_point(field_add:metrics.ExtensionInstallProto.disable_reasons)
1224 }
1225 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>&
disable_reasons()1226 ExtensionInstallProto::disable_reasons() const {
1227 // @@protoc_insertion_point(field_list:metrics.ExtensionInstallProto.disable_reasons)
1228 return _impl_.disable_reasons_;
1229 }
1230 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
_internal_mutable_disable_reasons()1231 ExtensionInstallProto::_internal_mutable_disable_reasons() {
1232 return &_impl_.disable_reasons_;
1233 }
1234 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField<int>*
mutable_disable_reasons()1235 ExtensionInstallProto::mutable_disable_reasons() {
1236 // @@protoc_insertion_point(field_mutable_list:metrics.ExtensionInstallProto.disable_reasons)
1237 return _internal_mutable_disable_reasons();
1238 }
1239
1240 // optional .metrics.ExtensionInstallProto.BlacklistState blacklist_state = 15;
_internal_has_blacklist_state()1241 inline bool ExtensionInstallProto::_internal_has_blacklist_state() const {
1242 bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
1243 return value;
1244 }
has_blacklist_state()1245 inline bool ExtensionInstallProto::has_blacklist_state() const {
1246 return _internal_has_blacklist_state();
1247 }
clear_blacklist_state()1248 inline void ExtensionInstallProto::clear_blacklist_state() {
1249 _impl_.blacklist_state_ = 0;
1250 _impl_._has_bits_[0] &= ~0x00002000u;
1251 }
_internal_blacklist_state()1252 inline ::metrics::ExtensionInstallProto_BlacklistState ExtensionInstallProto::_internal_blacklist_state() const {
1253 return static_cast< ::metrics::ExtensionInstallProto_BlacklistState >(_impl_.blacklist_state_);
1254 }
blacklist_state()1255 inline ::metrics::ExtensionInstallProto_BlacklistState ExtensionInstallProto::blacklist_state() const {
1256 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.blacklist_state)
1257 return _internal_blacklist_state();
1258 }
_internal_set_blacklist_state(::metrics::ExtensionInstallProto_BlacklistState value)1259 inline void ExtensionInstallProto::_internal_set_blacklist_state(::metrics::ExtensionInstallProto_BlacklistState value) {
1260 assert(::metrics::ExtensionInstallProto_BlacklistState_IsValid(value));
1261 _impl_._has_bits_[0] |= 0x00002000u;
1262 _impl_.blacklist_state_ = value;
1263 }
set_blacklist_state(::metrics::ExtensionInstallProto_BlacklistState value)1264 inline void ExtensionInstallProto::set_blacklist_state(::metrics::ExtensionInstallProto_BlacklistState value) {
1265 _internal_set_blacklist_state(value);
1266 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.blacklist_state)
1267 }
1268
1269 // optional bool installed_in_this_sample_period = 16;
_internal_has_installed_in_this_sample_period()1270 inline bool ExtensionInstallProto::_internal_has_installed_in_this_sample_period() const {
1271 bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
1272 return value;
1273 }
has_installed_in_this_sample_period()1274 inline bool ExtensionInstallProto::has_installed_in_this_sample_period() const {
1275 return _internal_has_installed_in_this_sample_period();
1276 }
clear_installed_in_this_sample_period()1277 inline void ExtensionInstallProto::clear_installed_in_this_sample_period() {
1278 _impl_.installed_in_this_sample_period_ = false;
1279 _impl_._has_bits_[0] &= ~0x00004000u;
1280 }
_internal_installed_in_this_sample_period()1281 inline bool ExtensionInstallProto::_internal_installed_in_this_sample_period() const {
1282 return _impl_.installed_in_this_sample_period_;
1283 }
installed_in_this_sample_period()1284 inline bool ExtensionInstallProto::installed_in_this_sample_period() const {
1285 // @@protoc_insertion_point(field_get:metrics.ExtensionInstallProto.installed_in_this_sample_period)
1286 return _internal_installed_in_this_sample_period();
1287 }
_internal_set_installed_in_this_sample_period(bool value)1288 inline void ExtensionInstallProto::_internal_set_installed_in_this_sample_period(bool value) {
1289 _impl_._has_bits_[0] |= 0x00004000u;
1290 _impl_.installed_in_this_sample_period_ = value;
1291 }
set_installed_in_this_sample_period(bool value)1292 inline void ExtensionInstallProto::set_installed_in_this_sample_period(bool value) {
1293 _internal_set_installed_in_this_sample_period(value);
1294 // @@protoc_insertion_point(field_set:metrics.ExtensionInstallProto.installed_in_this_sample_period)
1295 }
1296
1297 #ifdef __GNUC__
1298 #pragma GCC diagnostic pop
1299 #endif // __GNUC__
1300
1301 // @@protoc_insertion_point(namespace_scope)
1302
1303 } // namespace metrics
1304
1305 PROTOBUF_NAMESPACE_OPEN
1306
1307 template <> struct is_proto_enum< ::metrics::ExtensionInstallProto_Type> : ::std::true_type {};
1308 template <> struct is_proto_enum< ::metrics::ExtensionInstallProto_InstallLocation> : ::std::true_type {};
1309 template <> struct is_proto_enum< ::metrics::ExtensionInstallProto_ActionType> : ::std::true_type {};
1310 template <> struct is_proto_enum< ::metrics::ExtensionInstallProto_BackgroundScriptType> : ::std::true_type {};
1311 template <> struct is_proto_enum< ::metrics::ExtensionInstallProto_DisableReason> : ::std::true_type {};
1312 template <> struct is_proto_enum< ::metrics::ExtensionInstallProto_BlacklistState> : ::std::true_type {};
1313
1314 PROTOBUF_NAMESPACE_CLOSE
1315
1316 // @@protoc_insertion_point(global_scope)
1317
1318 #include <google/protobuf/port_undef.inc>
1319 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_extension_5finstall_2eproto
1320