1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: icing/proto/initialize.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_icing_2fproto_2finitialize_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_icing_2fproto_2finitialize_2eproto
6 
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10 
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22 
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/message_lite.h>
30 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
31 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
32 #include <google/protobuf/generated_enum_util.h>
33 #include "icing/proto/logging.pb.h"
34 #include "icing/proto/status.pb.h"
35 // @@protoc_insertion_point(includes)
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_icing_2fproto_2finitialize_2eproto
38 PROTOBUF_NAMESPACE_OPEN
39 namespace internal {
40 class AnyMetadata;
41 }  // namespace internal
42 PROTOBUF_NAMESPACE_CLOSE
43 
44 // Internal implementation detail -- do not use these members.
45 struct TableStruct_icing_2fproto_2finitialize_2eproto {
46   static const ::uint32_t offsets[];
47 };
48 namespace icing {
49 namespace lib {
50 class IcingSearchEngineFeatureInfoProto;
51 struct IcingSearchEngineFeatureInfoProtoDefaultTypeInternal;
52 extern IcingSearchEngineFeatureInfoProtoDefaultTypeInternal _IcingSearchEngineFeatureInfoProto_default_instance_;
53 class IcingSearchEngineOptions;
54 struct IcingSearchEngineOptionsDefaultTypeInternal;
55 extern IcingSearchEngineOptionsDefaultTypeInternal _IcingSearchEngineOptions_default_instance_;
56 class IcingSearchEngineVersionProto;
57 struct IcingSearchEngineVersionProtoDefaultTypeInternal;
58 extern IcingSearchEngineVersionProtoDefaultTypeInternal _IcingSearchEngineVersionProto_default_instance_;
59 class InitializeResultProto;
60 struct InitializeResultProtoDefaultTypeInternal;
61 extern InitializeResultProtoDefaultTypeInternal _InitializeResultProto_default_instance_;
62 }  // namespace lib
63 }  // namespace icing
64 PROTOBUF_NAMESPACE_OPEN
65 template<> ::icing::lib::IcingSearchEngineFeatureInfoProto* Arena::CreateMaybeMessage<::icing::lib::IcingSearchEngineFeatureInfoProto>(Arena*);
66 template<> ::icing::lib::IcingSearchEngineOptions* Arena::CreateMaybeMessage<::icing::lib::IcingSearchEngineOptions>(Arena*);
67 template<> ::icing::lib::IcingSearchEngineVersionProto* Arena::CreateMaybeMessage<::icing::lib::IcingSearchEngineVersionProto>(Arena*);
68 template<> ::icing::lib::InitializeResultProto* Arena::CreateMaybeMessage<::icing::lib::InitializeResultProto>(Arena*);
69 PROTOBUF_NAMESPACE_CLOSE
70 namespace icing {
71 namespace lib {
72 
73 enum IcingSearchEngineFeatureInfoProto_FlaggedFeatureType : int {
74   IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_UNKNOWN = 0,
75   IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_HAS_PROPERTY_OPERATOR = 1,
76   IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_EMBEDDING_INDEX = 2,
77   IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_SCORABLE_PROPERTIES = 3,
78   IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_EMBEDDING_QUANTIZATION = 4,
79   IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_SCHEMA_DATABASE = 5,
80   IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_QUALIFIED_ID_JOIN_INDEX_V3_AND_DELETE_PROPAGATE_FROM = 6
81 };
82 bool IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_IsValid(int value);
83 constexpr IcingSearchEngineFeatureInfoProto_FlaggedFeatureType IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FlaggedFeatureType_MIN = IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_UNKNOWN;
84 constexpr IcingSearchEngineFeatureInfoProto_FlaggedFeatureType IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FlaggedFeatureType_MAX = IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_QUALIFIED_ID_JOIN_INDEX_V3_AND_DELETE_PROPAGATE_FROM;
85 constexpr int IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FlaggedFeatureType_ARRAYSIZE = IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FlaggedFeatureType_MAX + 1;
86 
87 const std::string& IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_Name(IcingSearchEngineFeatureInfoProto_FlaggedFeatureType value);
88 template<typename T>
IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_Name(T enum_t_value)89 inline const std::string& IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_Name(T enum_t_value) {
90   static_assert(::std::is_same<T, IcingSearchEngineFeatureInfoProto_FlaggedFeatureType>::value ||
91     ::std::is_integral<T>::value,
92     "Incorrect type passed to function IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_Name.");
93   return IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_Name(static_cast<IcingSearchEngineFeatureInfoProto_FlaggedFeatureType>(enum_t_value));
94 }
95 bool IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_Parse(
96     ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, IcingSearchEngineFeatureInfoProto_FlaggedFeatureType* value);
97 // ===================================================================
98 
99 class IcingSearchEngineFeatureInfoProto final :
100     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:icing.lib.IcingSearchEngineFeatureInfoProto) */ {
101  public:
IcingSearchEngineFeatureInfoProto()102   inline IcingSearchEngineFeatureInfoProto() : IcingSearchEngineFeatureInfoProto(nullptr) {}
103   ~IcingSearchEngineFeatureInfoProto() override;
104   explicit PROTOBUF_CONSTEXPR IcingSearchEngineFeatureInfoProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
105 
106   IcingSearchEngineFeatureInfoProto(const IcingSearchEngineFeatureInfoProto& from);
IcingSearchEngineFeatureInfoProto(IcingSearchEngineFeatureInfoProto && from)107   IcingSearchEngineFeatureInfoProto(IcingSearchEngineFeatureInfoProto&& from) noexcept
108     : IcingSearchEngineFeatureInfoProto() {
109     *this = ::std::move(from);
110   }
111 
112   inline IcingSearchEngineFeatureInfoProto& operator=(const IcingSearchEngineFeatureInfoProto& from) {
113     if (this == &from) return *this;
114     CopyFrom(from);
115     return *this;
116   }
117   inline IcingSearchEngineFeatureInfoProto& operator=(IcingSearchEngineFeatureInfoProto&& from) noexcept {
118     if (this == &from) return *this;
119     if (GetOwningArena() == from.GetOwningArena()
120   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
121         && GetOwningArena() != nullptr
122   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
123     ) {
124       InternalSwap(&from);
125     } else {
126       CopyFrom(from);
127     }
128     return *this;
129   }
130 
unknown_fields()131   inline const std::string& unknown_fields() const {
132     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
133   }
mutable_unknown_fields()134   inline std::string* mutable_unknown_fields() {
135     return _internal_metadata_.mutable_unknown_fields<std::string>();
136   }
137 
default_instance()138   static const IcingSearchEngineFeatureInfoProto& default_instance() {
139     return *internal_default_instance();
140   }
internal_default_instance()141   static inline const IcingSearchEngineFeatureInfoProto* internal_default_instance() {
142     return reinterpret_cast<const IcingSearchEngineFeatureInfoProto*>(
143                &_IcingSearchEngineFeatureInfoProto_default_instance_);
144   }
145   static constexpr int kIndexInFileMessages =
146     0;
147 
swap(IcingSearchEngineFeatureInfoProto & a,IcingSearchEngineFeatureInfoProto & b)148   friend void swap(IcingSearchEngineFeatureInfoProto& a, IcingSearchEngineFeatureInfoProto& b) {
149     a.Swap(&b);
150   }
Swap(IcingSearchEngineFeatureInfoProto * other)151   inline void Swap(IcingSearchEngineFeatureInfoProto* other) {
152     if (other == this) return;
153   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
154     if (GetOwningArena() != nullptr &&
155         GetOwningArena() == other->GetOwningArena()) {
156    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
157     if (GetOwningArena() == other->GetOwningArena()) {
158   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
159       InternalSwap(other);
160     } else {
161       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
162     }
163   }
164   void UnsafeArenaSwap(IcingSearchEngineFeatureInfoProto* other) {
165     if (other == this) return;
166     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
167     InternalSwap(other);
168   }
169 
170   // implements Message ----------------------------------------------
171 
172   IcingSearchEngineFeatureInfoProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
173     return CreateMaybeMessage<IcingSearchEngineFeatureInfoProto>(arena);
174   }
175   IcingSearchEngineFeatureInfoProto* New() const {
176     return New(nullptr);
177   }
178   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
179   void CopyFrom(const IcingSearchEngineFeatureInfoProto& from);
180   void MergeFrom(const IcingSearchEngineFeatureInfoProto& from);
181   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
182   bool IsInitialized() const final;
183 
184   size_t ByteSizeLong() const final;
185   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
186   ::uint8_t* _InternalSerialize(
187       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
188   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
189 
190   private:
191   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
192   void SharedDtor();
193   void SetCachedSize(int size) const;
194   void InternalSwap(IcingSearchEngineFeatureInfoProto* other);
195 
196   private:
197   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
198   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
199     return "icing.lib.IcingSearchEngineFeatureInfoProto";
200   }
201   protected:
202   explicit IcingSearchEngineFeatureInfoProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
203                        bool is_message_owned = false);
204   public:
205 
206   std::string GetTypeName() const final;
207 
208   // nested types ----------------------------------------------------
209 
210   typedef IcingSearchEngineFeatureInfoProto_FlaggedFeatureType FlaggedFeatureType;
211   static constexpr FlaggedFeatureType UNKNOWN =
212     IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_UNKNOWN;
213   static constexpr FlaggedFeatureType FEATURE_HAS_PROPERTY_OPERATOR =
214     IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_HAS_PROPERTY_OPERATOR;
215   static constexpr FlaggedFeatureType FEATURE_EMBEDDING_INDEX =
216     IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_EMBEDDING_INDEX;
217   static constexpr FlaggedFeatureType FEATURE_SCORABLE_PROPERTIES =
218     IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_SCORABLE_PROPERTIES;
219   static constexpr FlaggedFeatureType FEATURE_EMBEDDING_QUANTIZATION =
220     IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_EMBEDDING_QUANTIZATION;
221   static constexpr FlaggedFeatureType FEATURE_SCHEMA_DATABASE =
222     IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_SCHEMA_DATABASE;
223   static constexpr FlaggedFeatureType FEATURE_QUALIFIED_ID_JOIN_INDEX_V3_AND_DELETE_PROPAGATE_FROM =
224     IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FEATURE_QUALIFIED_ID_JOIN_INDEX_V3_AND_DELETE_PROPAGATE_FROM;
225   static inline bool FlaggedFeatureType_IsValid(int value) {
226     return IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_IsValid(value);
227   }
228   static constexpr FlaggedFeatureType FlaggedFeatureType_MIN =
229     IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FlaggedFeatureType_MIN;
230   static constexpr FlaggedFeatureType FlaggedFeatureType_MAX =
231     IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FlaggedFeatureType_MAX;
232   static constexpr int FlaggedFeatureType_ARRAYSIZE =
233     IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_FlaggedFeatureType_ARRAYSIZE;
234   template<typename T>
235   static inline const std::string& FlaggedFeatureType_Name(T enum_t_value) {
236     static_assert(::std::is_same<T, FlaggedFeatureType>::value ||
237       ::std::is_integral<T>::value,
238       "Incorrect type passed to function FlaggedFeatureType_Name.");
239     return IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_Name(enum_t_value);
240   }
241   static inline bool FlaggedFeatureType_Parse(::PROTOBUF_NAMESPACE_ID::ConstStringParam name,
242       FlaggedFeatureType* value) {
243     return IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_Parse(name, value);
244   }
245 
246   // accessors -------------------------------------------------------
247 
248   enum : int {
249     kFeatureTypeFieldNumber = 1,
250     kNeedsDocumentStoreRebuildFieldNumber = 2,
251     kNeedsSchemaStoreRebuildFieldNumber = 3,
252     kNeedsTermIndexRebuildFieldNumber = 4,
253     kNeedsIntegerIndexRebuildFieldNumber = 5,
254     kNeedsQualifiedIdJoinIndexRebuildFieldNumber = 6,
255     kNeedsEmbeddingIndexRebuildFieldNumber = 7,
256   };
257   // optional .icing.lib.IcingSearchEngineFeatureInfoProto.FlaggedFeatureType feature_type = 1;
258   bool has_feature_type() const;
259   private:
260   bool _internal_has_feature_type() const;
261   public:
262   void clear_feature_type();
263   ::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType feature_type() const;
264   void set_feature_type(::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType value);
265   private:
266   ::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType _internal_feature_type() const;
267   void _internal_set_feature_type(::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType value);
268   public:
269 
270   // optional bool needs_document_store_rebuild = 2;
271   bool has_needs_document_store_rebuild() const;
272   private:
273   bool _internal_has_needs_document_store_rebuild() const;
274   public:
275   void clear_needs_document_store_rebuild();
276   bool needs_document_store_rebuild() const;
277   void set_needs_document_store_rebuild(bool value);
278   private:
279   bool _internal_needs_document_store_rebuild() const;
280   void _internal_set_needs_document_store_rebuild(bool value);
281   public:
282 
283   // optional bool needs_schema_store_rebuild = 3;
284   bool has_needs_schema_store_rebuild() const;
285   private:
286   bool _internal_has_needs_schema_store_rebuild() const;
287   public:
288   void clear_needs_schema_store_rebuild();
289   bool needs_schema_store_rebuild() const;
290   void set_needs_schema_store_rebuild(bool value);
291   private:
292   bool _internal_needs_schema_store_rebuild() const;
293   void _internal_set_needs_schema_store_rebuild(bool value);
294   public:
295 
296   // optional bool needs_term_index_rebuild = 4;
297   bool has_needs_term_index_rebuild() const;
298   private:
299   bool _internal_has_needs_term_index_rebuild() const;
300   public:
301   void clear_needs_term_index_rebuild();
302   bool needs_term_index_rebuild() const;
303   void set_needs_term_index_rebuild(bool value);
304   private:
305   bool _internal_needs_term_index_rebuild() const;
306   void _internal_set_needs_term_index_rebuild(bool value);
307   public:
308 
309   // optional bool needs_integer_index_rebuild = 5;
310   bool has_needs_integer_index_rebuild() const;
311   private:
312   bool _internal_has_needs_integer_index_rebuild() const;
313   public:
314   void clear_needs_integer_index_rebuild();
315   bool needs_integer_index_rebuild() const;
316   void set_needs_integer_index_rebuild(bool value);
317   private:
318   bool _internal_needs_integer_index_rebuild() const;
319   void _internal_set_needs_integer_index_rebuild(bool value);
320   public:
321 
322   // optional bool needs_qualified_id_join_index_rebuild = 6;
323   bool has_needs_qualified_id_join_index_rebuild() const;
324   private:
325   bool _internal_has_needs_qualified_id_join_index_rebuild() const;
326   public:
327   void clear_needs_qualified_id_join_index_rebuild();
328   bool needs_qualified_id_join_index_rebuild() const;
329   void set_needs_qualified_id_join_index_rebuild(bool value);
330   private:
331   bool _internal_needs_qualified_id_join_index_rebuild() const;
332   void _internal_set_needs_qualified_id_join_index_rebuild(bool value);
333   public:
334 
335   // optional bool needs_embedding_index_rebuild = 7;
336   bool has_needs_embedding_index_rebuild() const;
337   private:
338   bool _internal_has_needs_embedding_index_rebuild() const;
339   public:
340   void clear_needs_embedding_index_rebuild();
341   bool needs_embedding_index_rebuild() const;
342   void set_needs_embedding_index_rebuild(bool value);
343   private:
344   bool _internal_needs_embedding_index_rebuild() const;
345   void _internal_set_needs_embedding_index_rebuild(bool value);
346   public:
347 
348   // @@protoc_insertion_point(class_scope:icing.lib.IcingSearchEngineFeatureInfoProto)
349  private:
350   class _Internal;
351 
352   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
353   typedef void InternalArenaConstructable_;
354   typedef void DestructorSkippable_;
355   struct Impl_ {
356     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
357     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
358     int feature_type_;
359     bool needs_document_store_rebuild_;
360     bool needs_schema_store_rebuild_;
361     bool needs_term_index_rebuild_;
362     bool needs_integer_index_rebuild_;
363     bool needs_qualified_id_join_index_rebuild_;
364     bool needs_embedding_index_rebuild_;
365   };
366   union { Impl_ _impl_; };
367   friend struct ::TableStruct_icing_2fproto_2finitialize_2eproto;
368 };
369 // -------------------------------------------------------------------
370 
371 class IcingSearchEngineVersionProto final :
372     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:icing.lib.IcingSearchEngineVersionProto) */ {
373  public:
IcingSearchEngineVersionProto()374   inline IcingSearchEngineVersionProto() : IcingSearchEngineVersionProto(nullptr) {}
375   ~IcingSearchEngineVersionProto() override;
376   explicit PROTOBUF_CONSTEXPR IcingSearchEngineVersionProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
377 
378   IcingSearchEngineVersionProto(const IcingSearchEngineVersionProto& from);
IcingSearchEngineVersionProto(IcingSearchEngineVersionProto && from)379   IcingSearchEngineVersionProto(IcingSearchEngineVersionProto&& from) noexcept
380     : IcingSearchEngineVersionProto() {
381     *this = ::std::move(from);
382   }
383 
384   inline IcingSearchEngineVersionProto& operator=(const IcingSearchEngineVersionProto& from) {
385     if (this == &from) return *this;
386     CopyFrom(from);
387     return *this;
388   }
389   inline IcingSearchEngineVersionProto& operator=(IcingSearchEngineVersionProto&& from) noexcept {
390     if (this == &from) return *this;
391     if (GetOwningArena() == from.GetOwningArena()
392   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
393         && GetOwningArena() != nullptr
394   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
395     ) {
396       InternalSwap(&from);
397     } else {
398       CopyFrom(from);
399     }
400     return *this;
401   }
402 
unknown_fields()403   inline const std::string& unknown_fields() const {
404     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
405   }
mutable_unknown_fields()406   inline std::string* mutable_unknown_fields() {
407     return _internal_metadata_.mutable_unknown_fields<std::string>();
408   }
409 
default_instance()410   static const IcingSearchEngineVersionProto& default_instance() {
411     return *internal_default_instance();
412   }
internal_default_instance()413   static inline const IcingSearchEngineVersionProto* internal_default_instance() {
414     return reinterpret_cast<const IcingSearchEngineVersionProto*>(
415                &_IcingSearchEngineVersionProto_default_instance_);
416   }
417   static constexpr int kIndexInFileMessages =
418     1;
419 
swap(IcingSearchEngineVersionProto & a,IcingSearchEngineVersionProto & b)420   friend void swap(IcingSearchEngineVersionProto& a, IcingSearchEngineVersionProto& b) {
421     a.Swap(&b);
422   }
Swap(IcingSearchEngineVersionProto * other)423   inline void Swap(IcingSearchEngineVersionProto* other) {
424     if (other == this) return;
425   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
426     if (GetOwningArena() != nullptr &&
427         GetOwningArena() == other->GetOwningArena()) {
428    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
429     if (GetOwningArena() == other->GetOwningArena()) {
430   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
431       InternalSwap(other);
432     } else {
433       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
434     }
435   }
436   void UnsafeArenaSwap(IcingSearchEngineVersionProto* other) {
437     if (other == this) return;
438     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
439     InternalSwap(other);
440   }
441 
442   // implements Message ----------------------------------------------
443 
444   IcingSearchEngineVersionProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
445     return CreateMaybeMessage<IcingSearchEngineVersionProto>(arena);
446   }
447   IcingSearchEngineVersionProto* New() const {
448     return New(nullptr);
449   }
450   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
451   void CopyFrom(const IcingSearchEngineVersionProto& from);
452   void MergeFrom(const IcingSearchEngineVersionProto& from);
453   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
454   bool IsInitialized() const final;
455 
456   size_t ByteSizeLong() const final;
457   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
458   ::uint8_t* _InternalSerialize(
459       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
460   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
461 
462   private:
463   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
464   void SharedDtor();
465   void SetCachedSize(int size) const;
466   void InternalSwap(IcingSearchEngineVersionProto* other);
467 
468   private:
469   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
470   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
471     return "icing.lib.IcingSearchEngineVersionProto";
472   }
473   protected:
474   explicit IcingSearchEngineVersionProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
475                        bool is_message_owned = false);
476   public:
477 
478   std::string GetTypeName() const final;
479 
480   // nested types ----------------------------------------------------
481 
482   // accessors -------------------------------------------------------
483 
484   enum : int {
485     kEnabledFeaturesFieldNumber = 3,
486     kVersionFieldNumber = 1,
487     kMaxVersionFieldNumber = 2,
488   };
489   // repeated .icing.lib.IcingSearchEngineFeatureInfoProto enabled_features = 3;
490   int enabled_features_size() const;
491   private:
492   int _internal_enabled_features_size() const;
493   public:
494   void clear_enabled_features();
495   ::icing::lib::IcingSearchEngineFeatureInfoProto* mutable_enabled_features(int index);
496   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::icing::lib::IcingSearchEngineFeatureInfoProto >*
497       mutable_enabled_features();
498   private:
499   const ::icing::lib::IcingSearchEngineFeatureInfoProto& _internal_enabled_features(int index) const;
500   ::icing::lib::IcingSearchEngineFeatureInfoProto* _internal_add_enabled_features();
501   public:
502   const ::icing::lib::IcingSearchEngineFeatureInfoProto& enabled_features(int index) const;
503   ::icing::lib::IcingSearchEngineFeatureInfoProto* add_enabled_features();
504   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::icing::lib::IcingSearchEngineFeatureInfoProto >&
505       enabled_features() const;
506 
507   // optional int32 version = 1;
508   bool has_version() const;
509   private:
510   bool _internal_has_version() const;
511   public:
512   void clear_version();
513   ::int32_t version() const;
514   void set_version(::int32_t value);
515   private:
516   ::int32_t _internal_version() const;
517   void _internal_set_version(::int32_t value);
518   public:
519 
520   // optional int32 max_version = 2;
521   bool has_max_version() const;
522   private:
523   bool _internal_has_max_version() const;
524   public:
525   void clear_max_version();
526   ::int32_t max_version() const;
527   void set_max_version(::int32_t value);
528   private:
529   ::int32_t _internal_max_version() const;
530   void _internal_set_max_version(::int32_t value);
531   public:
532 
533   // @@protoc_insertion_point(class_scope:icing.lib.IcingSearchEngineVersionProto)
534  private:
535   class _Internal;
536 
537   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
538   typedef void InternalArenaConstructable_;
539   typedef void DestructorSkippable_;
540   struct Impl_ {
541     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
542     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
543     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::icing::lib::IcingSearchEngineFeatureInfoProto > enabled_features_;
544     ::int32_t version_;
545     ::int32_t max_version_;
546   };
547   union { Impl_ _impl_; };
548   friend struct ::TableStruct_icing_2fproto_2finitialize_2eproto;
549 };
550 // -------------------------------------------------------------------
551 
552 class IcingSearchEngineOptions final :
553     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:icing.lib.IcingSearchEngineOptions) */ {
554  public:
IcingSearchEngineOptions()555   inline IcingSearchEngineOptions() : IcingSearchEngineOptions(nullptr) {}
556   ~IcingSearchEngineOptions() override;
557   explicit PROTOBUF_CONSTEXPR IcingSearchEngineOptions(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
558 
559   IcingSearchEngineOptions(const IcingSearchEngineOptions& from);
IcingSearchEngineOptions(IcingSearchEngineOptions && from)560   IcingSearchEngineOptions(IcingSearchEngineOptions&& from) noexcept
561     : IcingSearchEngineOptions() {
562     *this = ::std::move(from);
563   }
564 
565   inline IcingSearchEngineOptions& operator=(const IcingSearchEngineOptions& from) {
566     if (this == &from) return *this;
567     CopyFrom(from);
568     return *this;
569   }
570   inline IcingSearchEngineOptions& operator=(IcingSearchEngineOptions&& from) noexcept {
571     if (this == &from) return *this;
572     if (GetOwningArena() == from.GetOwningArena()
573   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
574         && GetOwningArena() != nullptr
575   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
576     ) {
577       InternalSwap(&from);
578     } else {
579       CopyFrom(from);
580     }
581     return *this;
582   }
583 
unknown_fields()584   inline const std::string& unknown_fields() const {
585     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
586   }
mutable_unknown_fields()587   inline std::string* mutable_unknown_fields() {
588     return _internal_metadata_.mutable_unknown_fields<std::string>();
589   }
590 
default_instance()591   static const IcingSearchEngineOptions& default_instance() {
592     return *internal_default_instance();
593   }
internal_default_instance()594   static inline const IcingSearchEngineOptions* internal_default_instance() {
595     return reinterpret_cast<const IcingSearchEngineOptions*>(
596                &_IcingSearchEngineOptions_default_instance_);
597   }
598   static constexpr int kIndexInFileMessages =
599     2;
600 
swap(IcingSearchEngineOptions & a,IcingSearchEngineOptions & b)601   friend void swap(IcingSearchEngineOptions& a, IcingSearchEngineOptions& b) {
602     a.Swap(&b);
603   }
Swap(IcingSearchEngineOptions * other)604   inline void Swap(IcingSearchEngineOptions* other) {
605     if (other == this) return;
606   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
607     if (GetOwningArena() != nullptr &&
608         GetOwningArena() == other->GetOwningArena()) {
609    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
610     if (GetOwningArena() == other->GetOwningArena()) {
611   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
612       InternalSwap(other);
613     } else {
614       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
615     }
616   }
617   void UnsafeArenaSwap(IcingSearchEngineOptions* other) {
618     if (other == this) return;
619     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
620     InternalSwap(other);
621   }
622 
623   // implements Message ----------------------------------------------
624 
625   IcingSearchEngineOptions* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
626     return CreateMaybeMessage<IcingSearchEngineOptions>(arena);
627   }
628   IcingSearchEngineOptions* New() const {
629     return New(nullptr);
630   }
631   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
632   void CopyFrom(const IcingSearchEngineOptions& from);
633   void MergeFrom(const IcingSearchEngineOptions& from);
634   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
635   bool IsInitialized() const final;
636 
637   size_t ByteSizeLong() const final;
638   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
639   ::uint8_t* _InternalSerialize(
640       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
641   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
642 
643   private:
644   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
645   void SharedDtor();
646   void SetCachedSize(int size) const;
647   void InternalSwap(IcingSearchEngineOptions* other);
648 
649   private:
650   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
651   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
652     return "icing.lib.IcingSearchEngineOptions";
653   }
654   protected:
655   explicit IcingSearchEngineOptions(::PROTOBUF_NAMESPACE_ID::Arena* arena,
656                        bool is_message_owned = false);
657   public:
658 
659   std::string GetTypeName() const final;
660 
661   // nested types ----------------------------------------------------
662 
663   // accessors -------------------------------------------------------
664 
665   enum : int {
666     kBaseDirFieldNumber = 1,
667     kOptimizeRebuildIndexThresholdFieldNumber = 6,
668     kDocumentStoreNamespaceIdFingerprintFieldNumber = 5,
669     kAllowCircularSchemaDefinitionsFieldNumber = 8,
670     kPreMappingFbvFieldNumber = 9,
671     kUsePersistentHashMapFieldNumber = 10,
672     kOrphanBlobTimeToLiveMsFieldNumber = 17,
673     kLiteIndexSortAtIndexingFieldNumber = 12,
674     kUseNewQualifiedIdJoinIndexFieldNumber = 14,
675     kBuildPropertyExistenceMetadataHitsFieldNumber = 15,
676     kEnableBlobStoreFieldNumber = 16,
677     kEnableSchemaDatabaseFieldNumber = 18,
678     kEnableScorablePropertiesFieldNumber = 21,
679     kEnableEmbeddingQuantizationFieldNumber = 22,
680     kEnableRepeatedFieldJoinsFieldNumber = 24,
681     kEnableQualifiedIdJoinIndexV3AndDeletePropagateFromFieldNumber = 25,
682     kBlobStoreCompressionLevelFieldNumber = 23,
683     kMaxTokenLengthFieldNumber = 3,
684     kIndexMergeSizeFieldNumber = 4,
685     kCompressionLevelFieldNumber = 7,
686     kIntegerIndexBucketSplitThresholdFieldNumber = 11,
687     kLiteIndexSortSizeFieldNumber = 13,
688     kEnableEmbeddingIndexFieldNumber = 19,
689   };
690   // optional string base_dir = 1;
691   bool has_base_dir() const;
692   private:
693   bool _internal_has_base_dir() const;
694   public:
695   void clear_base_dir();
696   const std::string& base_dir() const;
697   template <typename ArgT0 = const std::string&, typename... ArgT>
698   void set_base_dir(ArgT0&& arg0, ArgT... args);
699   std::string* mutable_base_dir();
700   PROTOBUF_NODISCARD std::string* release_base_dir();
701   void set_allocated_base_dir(std::string* base_dir);
702   private:
703   const std::string& _internal_base_dir() const;
704   inline PROTOBUF_ALWAYS_INLINE void _internal_set_base_dir(const std::string& value);
705   std::string* _internal_mutable_base_dir();
706   public:
707 
708   // optional float optimize_rebuild_index_threshold = 6 [default = 0];
709   bool has_optimize_rebuild_index_threshold() const;
710   private:
711   bool _internal_has_optimize_rebuild_index_threshold() const;
712   public:
713   void clear_optimize_rebuild_index_threshold();
714   float optimize_rebuild_index_threshold() const;
715   void set_optimize_rebuild_index_threshold(float value);
716   private:
717   float _internal_optimize_rebuild_index_threshold() const;
718   void _internal_set_optimize_rebuild_index_threshold(float value);
719   public:
720 
721   // optional bool document_store_namespace_id_fingerprint = 5;
722   bool has_document_store_namespace_id_fingerprint() const;
723   private:
724   bool _internal_has_document_store_namespace_id_fingerprint() const;
725   public:
726   void clear_document_store_namespace_id_fingerprint();
727   bool document_store_namespace_id_fingerprint() const;
728   void set_document_store_namespace_id_fingerprint(bool value);
729   private:
730   bool _internal_document_store_namespace_id_fingerprint() const;
731   void _internal_set_document_store_namespace_id_fingerprint(bool value);
732   public:
733 
734   // optional bool allow_circular_schema_definitions = 8;
735   bool has_allow_circular_schema_definitions() const;
736   private:
737   bool _internal_has_allow_circular_schema_definitions() const;
738   public:
739   void clear_allow_circular_schema_definitions();
740   bool allow_circular_schema_definitions() const;
741   void set_allow_circular_schema_definitions(bool value);
742   private:
743   bool _internal_allow_circular_schema_definitions() const;
744   void _internal_set_allow_circular_schema_definitions(bool value);
745   public:
746 
747   // optional bool pre_mapping_fbv = 9;
748   bool has_pre_mapping_fbv() const;
749   private:
750   bool _internal_has_pre_mapping_fbv() const;
751   public:
752   void clear_pre_mapping_fbv();
753   bool pre_mapping_fbv() const;
754   void set_pre_mapping_fbv(bool value);
755   private:
756   bool _internal_pre_mapping_fbv() const;
757   void _internal_set_pre_mapping_fbv(bool value);
758   public:
759 
760   // optional bool use_persistent_hash_map = 10;
761   bool has_use_persistent_hash_map() const;
762   private:
763   bool _internal_has_use_persistent_hash_map() const;
764   public:
765   void clear_use_persistent_hash_map();
766   bool use_persistent_hash_map() const;
767   void set_use_persistent_hash_map(bool value);
768   private:
769   bool _internal_use_persistent_hash_map() const;
770   void _internal_set_use_persistent_hash_map(bool value);
771   public:
772 
773   // optional int64 orphan_blob_time_to_live_ms = 17;
774   bool has_orphan_blob_time_to_live_ms() const;
775   private:
776   bool _internal_has_orphan_blob_time_to_live_ms() const;
777   public:
778   void clear_orphan_blob_time_to_live_ms();
779   ::int64_t orphan_blob_time_to_live_ms() const;
780   void set_orphan_blob_time_to_live_ms(::int64_t value);
781   private:
782   ::int64_t _internal_orphan_blob_time_to_live_ms() const;
783   void _internal_set_orphan_blob_time_to_live_ms(::int64_t value);
784   public:
785 
786   // optional bool lite_index_sort_at_indexing = 12;
787   bool has_lite_index_sort_at_indexing() const;
788   private:
789   bool _internal_has_lite_index_sort_at_indexing() const;
790   public:
791   void clear_lite_index_sort_at_indexing();
792   bool lite_index_sort_at_indexing() const;
793   void set_lite_index_sort_at_indexing(bool value);
794   private:
795   bool _internal_lite_index_sort_at_indexing() const;
796   void _internal_set_lite_index_sort_at_indexing(bool value);
797   public:
798 
799   // optional bool use_new_qualified_id_join_index = 14;
800   bool has_use_new_qualified_id_join_index() const;
801   private:
802   bool _internal_has_use_new_qualified_id_join_index() const;
803   public:
804   void clear_use_new_qualified_id_join_index();
805   bool use_new_qualified_id_join_index() const;
806   void set_use_new_qualified_id_join_index(bool value);
807   private:
808   bool _internal_use_new_qualified_id_join_index() const;
809   void _internal_set_use_new_qualified_id_join_index(bool value);
810   public:
811 
812   // optional bool build_property_existence_metadata_hits = 15;
813   bool has_build_property_existence_metadata_hits() const;
814   private:
815   bool _internal_has_build_property_existence_metadata_hits() const;
816   public:
817   void clear_build_property_existence_metadata_hits();
818   bool build_property_existence_metadata_hits() const;
819   void set_build_property_existence_metadata_hits(bool value);
820   private:
821   bool _internal_build_property_existence_metadata_hits() const;
822   void _internal_set_build_property_existence_metadata_hits(bool value);
823   public:
824 
825   // optional bool enable_blob_store = 16;
826   bool has_enable_blob_store() const;
827   private:
828   bool _internal_has_enable_blob_store() const;
829   public:
830   void clear_enable_blob_store();
831   bool enable_blob_store() const;
832   void set_enable_blob_store(bool value);
833   private:
834   bool _internal_enable_blob_store() const;
835   void _internal_set_enable_blob_store(bool value);
836   public:
837 
838   // optional bool enable_schema_database = 18;
839   bool has_enable_schema_database() const;
840   private:
841   bool _internal_has_enable_schema_database() const;
842   public:
843   void clear_enable_schema_database();
844   bool enable_schema_database() const;
845   void set_enable_schema_database(bool value);
846   private:
847   bool _internal_enable_schema_database() const;
848   void _internal_set_enable_schema_database(bool value);
849   public:
850 
851   // optional bool enable_scorable_properties = 21;
852   bool has_enable_scorable_properties() const;
853   private:
854   bool _internal_has_enable_scorable_properties() const;
855   public:
856   void clear_enable_scorable_properties();
857   bool enable_scorable_properties() const;
858   void set_enable_scorable_properties(bool value);
859   private:
860   bool _internal_enable_scorable_properties() const;
861   void _internal_set_enable_scorable_properties(bool value);
862   public:
863 
864   // optional bool enable_embedding_quantization = 22;
865   bool has_enable_embedding_quantization() const;
866   private:
867   bool _internal_has_enable_embedding_quantization() const;
868   public:
869   void clear_enable_embedding_quantization();
870   bool enable_embedding_quantization() const;
871   void set_enable_embedding_quantization(bool value);
872   private:
873   bool _internal_enable_embedding_quantization() const;
874   void _internal_set_enable_embedding_quantization(bool value);
875   public:
876 
877   // optional bool enable_repeated_field_joins = 24;
878   bool has_enable_repeated_field_joins() const;
879   private:
880   bool _internal_has_enable_repeated_field_joins() const;
881   public:
882   void clear_enable_repeated_field_joins();
883   bool enable_repeated_field_joins() const;
884   void set_enable_repeated_field_joins(bool value);
885   private:
886   bool _internal_enable_repeated_field_joins() const;
887   void _internal_set_enable_repeated_field_joins(bool value);
888   public:
889 
890   // optional bool enable_qualified_id_join_index_v3_and_delete_propagate_from = 25;
891   bool has_enable_qualified_id_join_index_v3_and_delete_propagate_from() const;
892   private:
893   bool _internal_has_enable_qualified_id_join_index_v3_and_delete_propagate_from() const;
894   public:
895   void clear_enable_qualified_id_join_index_v3_and_delete_propagate_from();
896   bool enable_qualified_id_join_index_v3_and_delete_propagate_from() const;
897   void set_enable_qualified_id_join_index_v3_and_delete_propagate_from(bool value);
898   private:
899   bool _internal_enable_qualified_id_join_index_v3_and_delete_propagate_from() const;
900   void _internal_set_enable_qualified_id_join_index_v3_and_delete_propagate_from(bool value);
901   public:
902 
903   // optional int32 blob_store_compression_level = 23 [default = 3];
904   bool has_blob_store_compression_level() const;
905   private:
906   bool _internal_has_blob_store_compression_level() const;
907   public:
908   void clear_blob_store_compression_level();
909   ::int32_t blob_store_compression_level() const;
910   void set_blob_store_compression_level(::int32_t value);
911   private:
912   ::int32_t _internal_blob_store_compression_level() const;
913   void _internal_set_blob_store_compression_level(::int32_t value);
914   public:
915 
916   // optional int32 max_token_length = 3 [default = 30];
917   bool has_max_token_length() const;
918   private:
919   bool _internal_has_max_token_length() const;
920   public:
921   void clear_max_token_length();
922   ::int32_t max_token_length() const;
923   void set_max_token_length(::int32_t value);
924   private:
925   ::int32_t _internal_max_token_length() const;
926   void _internal_set_max_token_length(::int32_t value);
927   public:
928 
929   // optional int32 index_merge_size = 4 [default = 1048576];
930   bool has_index_merge_size() const;
931   private:
932   bool _internal_has_index_merge_size() const;
933   public:
934   void clear_index_merge_size();
935   ::int32_t index_merge_size() const;
936   void set_index_merge_size(::int32_t value);
937   private:
938   ::int32_t _internal_index_merge_size() const;
939   void _internal_set_index_merge_size(::int32_t value);
940   public:
941 
942   // optional int32 compression_level = 7 [default = 3];
943   bool has_compression_level() const;
944   private:
945   bool _internal_has_compression_level() const;
946   public:
947   void clear_compression_level();
948   ::int32_t compression_level() const;
949   void set_compression_level(::int32_t value);
950   private:
951   ::int32_t _internal_compression_level() const;
952   void _internal_set_compression_level(::int32_t value);
953   public:
954 
955   // optional int32 integer_index_bucket_split_threshold = 11 [default = 65536];
956   bool has_integer_index_bucket_split_threshold() const;
957   private:
958   bool _internal_has_integer_index_bucket_split_threshold() const;
959   public:
960   void clear_integer_index_bucket_split_threshold();
961   ::int32_t integer_index_bucket_split_threshold() const;
962   void set_integer_index_bucket_split_threshold(::int32_t value);
963   private:
964   ::int32_t _internal_integer_index_bucket_split_threshold() const;
965   void _internal_set_integer_index_bucket_split_threshold(::int32_t value);
966   public:
967 
968   // optional int32 lite_index_sort_size = 13 [default = 8192];
969   bool has_lite_index_sort_size() const;
970   private:
971   bool _internal_has_lite_index_sort_size() const;
972   public:
973   void clear_lite_index_sort_size();
974   ::int32_t lite_index_sort_size() const;
975   void set_lite_index_sort_size(::int32_t value);
976   private:
977   ::int32_t _internal_lite_index_sort_size() const;
978   void _internal_set_lite_index_sort_size(::int32_t value);
979   public:
980 
981   // optional bool enable_embedding_index = 19 [default = true];
982   bool has_enable_embedding_index() const;
983   private:
984   bool _internal_has_enable_embedding_index() const;
985   public:
986   void clear_enable_embedding_index();
987   bool enable_embedding_index() const;
988   void set_enable_embedding_index(bool value);
989   private:
990   bool _internal_enable_embedding_index() const;
991   void _internal_set_enable_embedding_index(bool value);
992   public:
993 
994   // @@protoc_insertion_point(class_scope:icing.lib.IcingSearchEngineOptions)
995  private:
996   class _Internal;
997 
998   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
999   typedef void InternalArenaConstructable_;
1000   typedef void DestructorSkippable_;
1001   struct Impl_ {
1002     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1003     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1004     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr base_dir_;
1005     float optimize_rebuild_index_threshold_;
1006     bool document_store_namespace_id_fingerprint_;
1007     bool allow_circular_schema_definitions_;
1008     bool pre_mapping_fbv_;
1009     bool use_persistent_hash_map_;
1010     ::int64_t orphan_blob_time_to_live_ms_;
1011     bool lite_index_sort_at_indexing_;
1012     bool use_new_qualified_id_join_index_;
1013     bool build_property_existence_metadata_hits_;
1014     bool enable_blob_store_;
1015     bool enable_schema_database_;
1016     bool enable_scorable_properties_;
1017     bool enable_embedding_quantization_;
1018     bool enable_repeated_field_joins_;
1019     bool enable_qualified_id_join_index_v3_and_delete_propagate_from_;
1020     ::int32_t blob_store_compression_level_;
1021     ::int32_t max_token_length_;
1022     ::int32_t index_merge_size_;
1023     ::int32_t compression_level_;
1024     ::int32_t integer_index_bucket_split_threshold_;
1025     ::int32_t lite_index_sort_size_;
1026     bool enable_embedding_index_;
1027   };
1028   union { Impl_ _impl_; };
1029   friend struct ::TableStruct_icing_2fproto_2finitialize_2eproto;
1030 };
1031 // -------------------------------------------------------------------
1032 
1033 class InitializeResultProto final :
1034     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:icing.lib.InitializeResultProto) */ {
1035  public:
InitializeResultProto()1036   inline InitializeResultProto() : InitializeResultProto(nullptr) {}
1037   ~InitializeResultProto() override;
1038   explicit PROTOBUF_CONSTEXPR InitializeResultProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
1039 
1040   InitializeResultProto(const InitializeResultProto& from);
InitializeResultProto(InitializeResultProto && from)1041   InitializeResultProto(InitializeResultProto&& from) noexcept
1042     : InitializeResultProto() {
1043     *this = ::std::move(from);
1044   }
1045 
1046   inline InitializeResultProto& operator=(const InitializeResultProto& from) {
1047     if (this == &from) return *this;
1048     CopyFrom(from);
1049     return *this;
1050   }
1051   inline InitializeResultProto& operator=(InitializeResultProto&& from) noexcept {
1052     if (this == &from) return *this;
1053     if (GetOwningArena() == from.GetOwningArena()
1054   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
1055         && GetOwningArena() != nullptr
1056   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
1057     ) {
1058       InternalSwap(&from);
1059     } else {
1060       CopyFrom(from);
1061     }
1062     return *this;
1063   }
1064 
unknown_fields()1065   inline const std::string& unknown_fields() const {
1066     return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
1067   }
mutable_unknown_fields()1068   inline std::string* mutable_unknown_fields() {
1069     return _internal_metadata_.mutable_unknown_fields<std::string>();
1070   }
1071 
default_instance()1072   static const InitializeResultProto& default_instance() {
1073     return *internal_default_instance();
1074   }
internal_default_instance()1075   static inline const InitializeResultProto* internal_default_instance() {
1076     return reinterpret_cast<const InitializeResultProto*>(
1077                &_InitializeResultProto_default_instance_);
1078   }
1079   static constexpr int kIndexInFileMessages =
1080     3;
1081 
swap(InitializeResultProto & a,InitializeResultProto & b)1082   friend void swap(InitializeResultProto& a, InitializeResultProto& b) {
1083     a.Swap(&b);
1084   }
Swap(InitializeResultProto * other)1085   inline void Swap(InitializeResultProto* other) {
1086     if (other == this) return;
1087   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
1088     if (GetOwningArena() != nullptr &&
1089         GetOwningArena() == other->GetOwningArena()) {
1090    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
1091     if (GetOwningArena() == other->GetOwningArena()) {
1092   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
1093       InternalSwap(other);
1094     } else {
1095       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
1096     }
1097   }
1098   void UnsafeArenaSwap(InitializeResultProto* other) {
1099     if (other == this) return;
1100     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
1101     InternalSwap(other);
1102   }
1103 
1104   // implements Message ----------------------------------------------
1105 
1106   InitializeResultProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
1107     return CreateMaybeMessage<InitializeResultProto>(arena);
1108   }
1109   InitializeResultProto* New() const {
1110     return New(nullptr);
1111   }
1112   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
1113   void CopyFrom(const InitializeResultProto& from);
1114   void MergeFrom(const InitializeResultProto& from);
1115   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
1116   bool IsInitialized() const final;
1117 
1118   size_t ByteSizeLong() const final;
1119   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
1120   ::uint8_t* _InternalSerialize(
1121       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
1122   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
1123 
1124   private:
1125   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
1126   void SharedDtor();
1127   void SetCachedSize(int size) const;
1128   void InternalSwap(InitializeResultProto* other);
1129 
1130   private:
1131   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
1132   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
1133     return "icing.lib.InitializeResultProto";
1134   }
1135   protected:
1136   explicit InitializeResultProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
1137                        bool is_message_owned = false);
1138   public:
1139 
1140   std::string GetTypeName() const final;
1141 
1142   // nested types ----------------------------------------------------
1143 
1144   // accessors -------------------------------------------------------
1145 
1146   enum : int {
1147     kStatusFieldNumber = 1,
1148     kInitializeStatsFieldNumber = 2,
1149   };
1150   // optional .icing.lib.StatusProto status = 1;
1151   bool has_status() const;
1152   private:
1153   bool _internal_has_status() const;
1154   public:
1155   void clear_status();
1156   const ::icing::lib::StatusProto& status() const;
1157   PROTOBUF_NODISCARD ::icing::lib::StatusProto* release_status();
1158   ::icing::lib::StatusProto* mutable_status();
1159   void set_allocated_status(::icing::lib::StatusProto* status);
1160   private:
1161   const ::icing::lib::StatusProto& _internal_status() const;
1162   ::icing::lib::StatusProto* _internal_mutable_status();
1163   public:
1164   void unsafe_arena_set_allocated_status(
1165       ::icing::lib::StatusProto* status);
1166   ::icing::lib::StatusProto* unsafe_arena_release_status();
1167 
1168   // optional .icing.lib.InitializeStatsProto initialize_stats = 2;
1169   bool has_initialize_stats() const;
1170   private:
1171   bool _internal_has_initialize_stats() const;
1172   public:
1173   void clear_initialize_stats();
1174   const ::icing::lib::InitializeStatsProto& initialize_stats() const;
1175   PROTOBUF_NODISCARD ::icing::lib::InitializeStatsProto* release_initialize_stats();
1176   ::icing::lib::InitializeStatsProto* mutable_initialize_stats();
1177   void set_allocated_initialize_stats(::icing::lib::InitializeStatsProto* initialize_stats);
1178   private:
1179   const ::icing::lib::InitializeStatsProto& _internal_initialize_stats() const;
1180   ::icing::lib::InitializeStatsProto* _internal_mutable_initialize_stats();
1181   public:
1182   void unsafe_arena_set_allocated_initialize_stats(
1183       ::icing::lib::InitializeStatsProto* initialize_stats);
1184   ::icing::lib::InitializeStatsProto* unsafe_arena_release_initialize_stats();
1185 
1186   // @@protoc_insertion_point(class_scope:icing.lib.InitializeResultProto)
1187  private:
1188   class _Internal;
1189 
1190   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
1191   typedef void InternalArenaConstructable_;
1192   typedef void DestructorSkippable_;
1193   struct Impl_ {
1194     ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
1195     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
1196     ::icing::lib::StatusProto* status_;
1197     ::icing::lib::InitializeStatsProto* initialize_stats_;
1198   };
1199   union { Impl_ _impl_; };
1200   friend struct ::TableStruct_icing_2fproto_2finitialize_2eproto;
1201 };
1202 // ===================================================================
1203 
1204 
1205 // ===================================================================
1206 
1207 #ifdef __GNUC__
1208   #pragma GCC diagnostic push
1209   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
1210 #endif  // __GNUC__
1211 // IcingSearchEngineFeatureInfoProto
1212 
1213 // optional .icing.lib.IcingSearchEngineFeatureInfoProto.FlaggedFeatureType feature_type = 1;
_internal_has_feature_type()1214 inline bool IcingSearchEngineFeatureInfoProto::_internal_has_feature_type() const {
1215   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1216   return value;
1217 }
has_feature_type()1218 inline bool IcingSearchEngineFeatureInfoProto::has_feature_type() const {
1219   return _internal_has_feature_type();
1220 }
clear_feature_type()1221 inline void IcingSearchEngineFeatureInfoProto::clear_feature_type() {
1222   _impl_.feature_type_ = 0;
1223   _impl_._has_bits_[0] &= ~0x00000001u;
1224 }
_internal_feature_type()1225 inline ::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType IcingSearchEngineFeatureInfoProto::_internal_feature_type() const {
1226   return static_cast< ::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType >(_impl_.feature_type_);
1227 }
feature_type()1228 inline ::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType IcingSearchEngineFeatureInfoProto::feature_type() const {
1229   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineFeatureInfoProto.feature_type)
1230   return _internal_feature_type();
1231 }
_internal_set_feature_type(::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType value)1232 inline void IcingSearchEngineFeatureInfoProto::_internal_set_feature_type(::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType value) {
1233   assert(::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType_IsValid(value));
1234   _impl_._has_bits_[0] |= 0x00000001u;
1235   _impl_.feature_type_ = value;
1236 }
set_feature_type(::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType value)1237 inline void IcingSearchEngineFeatureInfoProto::set_feature_type(::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType value) {
1238   _internal_set_feature_type(value);
1239   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineFeatureInfoProto.feature_type)
1240 }
1241 
1242 // optional bool needs_document_store_rebuild = 2;
_internal_has_needs_document_store_rebuild()1243 inline bool IcingSearchEngineFeatureInfoProto::_internal_has_needs_document_store_rebuild() const {
1244   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1245   return value;
1246 }
has_needs_document_store_rebuild()1247 inline bool IcingSearchEngineFeatureInfoProto::has_needs_document_store_rebuild() const {
1248   return _internal_has_needs_document_store_rebuild();
1249 }
clear_needs_document_store_rebuild()1250 inline void IcingSearchEngineFeatureInfoProto::clear_needs_document_store_rebuild() {
1251   _impl_.needs_document_store_rebuild_ = false;
1252   _impl_._has_bits_[0] &= ~0x00000002u;
1253 }
_internal_needs_document_store_rebuild()1254 inline bool IcingSearchEngineFeatureInfoProto::_internal_needs_document_store_rebuild() const {
1255   return _impl_.needs_document_store_rebuild_;
1256 }
needs_document_store_rebuild()1257 inline bool IcingSearchEngineFeatureInfoProto::needs_document_store_rebuild() const {
1258   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineFeatureInfoProto.needs_document_store_rebuild)
1259   return _internal_needs_document_store_rebuild();
1260 }
_internal_set_needs_document_store_rebuild(bool value)1261 inline void IcingSearchEngineFeatureInfoProto::_internal_set_needs_document_store_rebuild(bool value) {
1262   _impl_._has_bits_[0] |= 0x00000002u;
1263   _impl_.needs_document_store_rebuild_ = value;
1264 }
set_needs_document_store_rebuild(bool value)1265 inline void IcingSearchEngineFeatureInfoProto::set_needs_document_store_rebuild(bool value) {
1266   _internal_set_needs_document_store_rebuild(value);
1267   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineFeatureInfoProto.needs_document_store_rebuild)
1268 }
1269 
1270 // optional bool needs_schema_store_rebuild = 3;
_internal_has_needs_schema_store_rebuild()1271 inline bool IcingSearchEngineFeatureInfoProto::_internal_has_needs_schema_store_rebuild() const {
1272   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1273   return value;
1274 }
has_needs_schema_store_rebuild()1275 inline bool IcingSearchEngineFeatureInfoProto::has_needs_schema_store_rebuild() const {
1276   return _internal_has_needs_schema_store_rebuild();
1277 }
clear_needs_schema_store_rebuild()1278 inline void IcingSearchEngineFeatureInfoProto::clear_needs_schema_store_rebuild() {
1279   _impl_.needs_schema_store_rebuild_ = false;
1280   _impl_._has_bits_[0] &= ~0x00000004u;
1281 }
_internal_needs_schema_store_rebuild()1282 inline bool IcingSearchEngineFeatureInfoProto::_internal_needs_schema_store_rebuild() const {
1283   return _impl_.needs_schema_store_rebuild_;
1284 }
needs_schema_store_rebuild()1285 inline bool IcingSearchEngineFeatureInfoProto::needs_schema_store_rebuild() const {
1286   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineFeatureInfoProto.needs_schema_store_rebuild)
1287   return _internal_needs_schema_store_rebuild();
1288 }
_internal_set_needs_schema_store_rebuild(bool value)1289 inline void IcingSearchEngineFeatureInfoProto::_internal_set_needs_schema_store_rebuild(bool value) {
1290   _impl_._has_bits_[0] |= 0x00000004u;
1291   _impl_.needs_schema_store_rebuild_ = value;
1292 }
set_needs_schema_store_rebuild(bool value)1293 inline void IcingSearchEngineFeatureInfoProto::set_needs_schema_store_rebuild(bool value) {
1294   _internal_set_needs_schema_store_rebuild(value);
1295   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineFeatureInfoProto.needs_schema_store_rebuild)
1296 }
1297 
1298 // optional bool needs_term_index_rebuild = 4;
_internal_has_needs_term_index_rebuild()1299 inline bool IcingSearchEngineFeatureInfoProto::_internal_has_needs_term_index_rebuild() const {
1300   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1301   return value;
1302 }
has_needs_term_index_rebuild()1303 inline bool IcingSearchEngineFeatureInfoProto::has_needs_term_index_rebuild() const {
1304   return _internal_has_needs_term_index_rebuild();
1305 }
clear_needs_term_index_rebuild()1306 inline void IcingSearchEngineFeatureInfoProto::clear_needs_term_index_rebuild() {
1307   _impl_.needs_term_index_rebuild_ = false;
1308   _impl_._has_bits_[0] &= ~0x00000008u;
1309 }
_internal_needs_term_index_rebuild()1310 inline bool IcingSearchEngineFeatureInfoProto::_internal_needs_term_index_rebuild() const {
1311   return _impl_.needs_term_index_rebuild_;
1312 }
needs_term_index_rebuild()1313 inline bool IcingSearchEngineFeatureInfoProto::needs_term_index_rebuild() const {
1314   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineFeatureInfoProto.needs_term_index_rebuild)
1315   return _internal_needs_term_index_rebuild();
1316 }
_internal_set_needs_term_index_rebuild(bool value)1317 inline void IcingSearchEngineFeatureInfoProto::_internal_set_needs_term_index_rebuild(bool value) {
1318   _impl_._has_bits_[0] |= 0x00000008u;
1319   _impl_.needs_term_index_rebuild_ = value;
1320 }
set_needs_term_index_rebuild(bool value)1321 inline void IcingSearchEngineFeatureInfoProto::set_needs_term_index_rebuild(bool value) {
1322   _internal_set_needs_term_index_rebuild(value);
1323   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineFeatureInfoProto.needs_term_index_rebuild)
1324 }
1325 
1326 // optional bool needs_integer_index_rebuild = 5;
_internal_has_needs_integer_index_rebuild()1327 inline bool IcingSearchEngineFeatureInfoProto::_internal_has_needs_integer_index_rebuild() const {
1328   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1329   return value;
1330 }
has_needs_integer_index_rebuild()1331 inline bool IcingSearchEngineFeatureInfoProto::has_needs_integer_index_rebuild() const {
1332   return _internal_has_needs_integer_index_rebuild();
1333 }
clear_needs_integer_index_rebuild()1334 inline void IcingSearchEngineFeatureInfoProto::clear_needs_integer_index_rebuild() {
1335   _impl_.needs_integer_index_rebuild_ = false;
1336   _impl_._has_bits_[0] &= ~0x00000010u;
1337 }
_internal_needs_integer_index_rebuild()1338 inline bool IcingSearchEngineFeatureInfoProto::_internal_needs_integer_index_rebuild() const {
1339   return _impl_.needs_integer_index_rebuild_;
1340 }
needs_integer_index_rebuild()1341 inline bool IcingSearchEngineFeatureInfoProto::needs_integer_index_rebuild() const {
1342   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineFeatureInfoProto.needs_integer_index_rebuild)
1343   return _internal_needs_integer_index_rebuild();
1344 }
_internal_set_needs_integer_index_rebuild(bool value)1345 inline void IcingSearchEngineFeatureInfoProto::_internal_set_needs_integer_index_rebuild(bool value) {
1346   _impl_._has_bits_[0] |= 0x00000010u;
1347   _impl_.needs_integer_index_rebuild_ = value;
1348 }
set_needs_integer_index_rebuild(bool value)1349 inline void IcingSearchEngineFeatureInfoProto::set_needs_integer_index_rebuild(bool value) {
1350   _internal_set_needs_integer_index_rebuild(value);
1351   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineFeatureInfoProto.needs_integer_index_rebuild)
1352 }
1353 
1354 // optional bool needs_qualified_id_join_index_rebuild = 6;
_internal_has_needs_qualified_id_join_index_rebuild()1355 inline bool IcingSearchEngineFeatureInfoProto::_internal_has_needs_qualified_id_join_index_rebuild() const {
1356   bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1357   return value;
1358 }
has_needs_qualified_id_join_index_rebuild()1359 inline bool IcingSearchEngineFeatureInfoProto::has_needs_qualified_id_join_index_rebuild() const {
1360   return _internal_has_needs_qualified_id_join_index_rebuild();
1361 }
clear_needs_qualified_id_join_index_rebuild()1362 inline void IcingSearchEngineFeatureInfoProto::clear_needs_qualified_id_join_index_rebuild() {
1363   _impl_.needs_qualified_id_join_index_rebuild_ = false;
1364   _impl_._has_bits_[0] &= ~0x00000020u;
1365 }
_internal_needs_qualified_id_join_index_rebuild()1366 inline bool IcingSearchEngineFeatureInfoProto::_internal_needs_qualified_id_join_index_rebuild() const {
1367   return _impl_.needs_qualified_id_join_index_rebuild_;
1368 }
needs_qualified_id_join_index_rebuild()1369 inline bool IcingSearchEngineFeatureInfoProto::needs_qualified_id_join_index_rebuild() const {
1370   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineFeatureInfoProto.needs_qualified_id_join_index_rebuild)
1371   return _internal_needs_qualified_id_join_index_rebuild();
1372 }
_internal_set_needs_qualified_id_join_index_rebuild(bool value)1373 inline void IcingSearchEngineFeatureInfoProto::_internal_set_needs_qualified_id_join_index_rebuild(bool value) {
1374   _impl_._has_bits_[0] |= 0x00000020u;
1375   _impl_.needs_qualified_id_join_index_rebuild_ = value;
1376 }
set_needs_qualified_id_join_index_rebuild(bool value)1377 inline void IcingSearchEngineFeatureInfoProto::set_needs_qualified_id_join_index_rebuild(bool value) {
1378   _internal_set_needs_qualified_id_join_index_rebuild(value);
1379   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineFeatureInfoProto.needs_qualified_id_join_index_rebuild)
1380 }
1381 
1382 // optional bool needs_embedding_index_rebuild = 7;
_internal_has_needs_embedding_index_rebuild()1383 inline bool IcingSearchEngineFeatureInfoProto::_internal_has_needs_embedding_index_rebuild() const {
1384   bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1385   return value;
1386 }
has_needs_embedding_index_rebuild()1387 inline bool IcingSearchEngineFeatureInfoProto::has_needs_embedding_index_rebuild() const {
1388   return _internal_has_needs_embedding_index_rebuild();
1389 }
clear_needs_embedding_index_rebuild()1390 inline void IcingSearchEngineFeatureInfoProto::clear_needs_embedding_index_rebuild() {
1391   _impl_.needs_embedding_index_rebuild_ = false;
1392   _impl_._has_bits_[0] &= ~0x00000040u;
1393 }
_internal_needs_embedding_index_rebuild()1394 inline bool IcingSearchEngineFeatureInfoProto::_internal_needs_embedding_index_rebuild() const {
1395   return _impl_.needs_embedding_index_rebuild_;
1396 }
needs_embedding_index_rebuild()1397 inline bool IcingSearchEngineFeatureInfoProto::needs_embedding_index_rebuild() const {
1398   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineFeatureInfoProto.needs_embedding_index_rebuild)
1399   return _internal_needs_embedding_index_rebuild();
1400 }
_internal_set_needs_embedding_index_rebuild(bool value)1401 inline void IcingSearchEngineFeatureInfoProto::_internal_set_needs_embedding_index_rebuild(bool value) {
1402   _impl_._has_bits_[0] |= 0x00000040u;
1403   _impl_.needs_embedding_index_rebuild_ = value;
1404 }
set_needs_embedding_index_rebuild(bool value)1405 inline void IcingSearchEngineFeatureInfoProto::set_needs_embedding_index_rebuild(bool value) {
1406   _internal_set_needs_embedding_index_rebuild(value);
1407   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineFeatureInfoProto.needs_embedding_index_rebuild)
1408 }
1409 
1410 // -------------------------------------------------------------------
1411 
1412 // IcingSearchEngineVersionProto
1413 
1414 // optional int32 version = 1;
_internal_has_version()1415 inline bool IcingSearchEngineVersionProto::_internal_has_version() const {
1416   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1417   return value;
1418 }
has_version()1419 inline bool IcingSearchEngineVersionProto::has_version() const {
1420   return _internal_has_version();
1421 }
clear_version()1422 inline void IcingSearchEngineVersionProto::clear_version() {
1423   _impl_.version_ = 0;
1424   _impl_._has_bits_[0] &= ~0x00000001u;
1425 }
_internal_version()1426 inline ::int32_t IcingSearchEngineVersionProto::_internal_version() const {
1427   return _impl_.version_;
1428 }
version()1429 inline ::int32_t IcingSearchEngineVersionProto::version() const {
1430   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineVersionProto.version)
1431   return _internal_version();
1432 }
_internal_set_version(::int32_t value)1433 inline void IcingSearchEngineVersionProto::_internal_set_version(::int32_t value) {
1434   _impl_._has_bits_[0] |= 0x00000001u;
1435   _impl_.version_ = value;
1436 }
set_version(::int32_t value)1437 inline void IcingSearchEngineVersionProto::set_version(::int32_t value) {
1438   _internal_set_version(value);
1439   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineVersionProto.version)
1440 }
1441 
1442 // optional int32 max_version = 2;
_internal_has_max_version()1443 inline bool IcingSearchEngineVersionProto::_internal_has_max_version() const {
1444   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1445   return value;
1446 }
has_max_version()1447 inline bool IcingSearchEngineVersionProto::has_max_version() const {
1448   return _internal_has_max_version();
1449 }
clear_max_version()1450 inline void IcingSearchEngineVersionProto::clear_max_version() {
1451   _impl_.max_version_ = 0;
1452   _impl_._has_bits_[0] &= ~0x00000002u;
1453 }
_internal_max_version()1454 inline ::int32_t IcingSearchEngineVersionProto::_internal_max_version() const {
1455   return _impl_.max_version_;
1456 }
max_version()1457 inline ::int32_t IcingSearchEngineVersionProto::max_version() const {
1458   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineVersionProto.max_version)
1459   return _internal_max_version();
1460 }
_internal_set_max_version(::int32_t value)1461 inline void IcingSearchEngineVersionProto::_internal_set_max_version(::int32_t value) {
1462   _impl_._has_bits_[0] |= 0x00000002u;
1463   _impl_.max_version_ = value;
1464 }
set_max_version(::int32_t value)1465 inline void IcingSearchEngineVersionProto::set_max_version(::int32_t value) {
1466   _internal_set_max_version(value);
1467   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineVersionProto.max_version)
1468 }
1469 
1470 // repeated .icing.lib.IcingSearchEngineFeatureInfoProto enabled_features = 3;
_internal_enabled_features_size()1471 inline int IcingSearchEngineVersionProto::_internal_enabled_features_size() const {
1472   return _impl_.enabled_features_.size();
1473 }
enabled_features_size()1474 inline int IcingSearchEngineVersionProto::enabled_features_size() const {
1475   return _internal_enabled_features_size();
1476 }
clear_enabled_features()1477 inline void IcingSearchEngineVersionProto::clear_enabled_features() {
1478   _impl_.enabled_features_.Clear();
1479 }
mutable_enabled_features(int index)1480 inline ::icing::lib::IcingSearchEngineFeatureInfoProto* IcingSearchEngineVersionProto::mutable_enabled_features(int index) {
1481   // @@protoc_insertion_point(field_mutable:icing.lib.IcingSearchEngineVersionProto.enabled_features)
1482   return _impl_.enabled_features_.Mutable(index);
1483 }
1484 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::icing::lib::IcingSearchEngineFeatureInfoProto >*
mutable_enabled_features()1485 IcingSearchEngineVersionProto::mutable_enabled_features() {
1486   // @@protoc_insertion_point(field_mutable_list:icing.lib.IcingSearchEngineVersionProto.enabled_features)
1487   return &_impl_.enabled_features_;
1488 }
_internal_enabled_features(int index)1489 inline const ::icing::lib::IcingSearchEngineFeatureInfoProto& IcingSearchEngineVersionProto::_internal_enabled_features(int index) const {
1490   return _impl_.enabled_features_.Get(index);
1491 }
enabled_features(int index)1492 inline const ::icing::lib::IcingSearchEngineFeatureInfoProto& IcingSearchEngineVersionProto::enabled_features(int index) const {
1493   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineVersionProto.enabled_features)
1494   return _internal_enabled_features(index);
1495 }
_internal_add_enabled_features()1496 inline ::icing::lib::IcingSearchEngineFeatureInfoProto* IcingSearchEngineVersionProto::_internal_add_enabled_features() {
1497   return _impl_.enabled_features_.Add();
1498 }
add_enabled_features()1499 inline ::icing::lib::IcingSearchEngineFeatureInfoProto* IcingSearchEngineVersionProto::add_enabled_features() {
1500   ::icing::lib::IcingSearchEngineFeatureInfoProto* _add = _internal_add_enabled_features();
1501   // @@protoc_insertion_point(field_add:icing.lib.IcingSearchEngineVersionProto.enabled_features)
1502   return _add;
1503 }
1504 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::icing::lib::IcingSearchEngineFeatureInfoProto >&
enabled_features()1505 IcingSearchEngineVersionProto::enabled_features() const {
1506   // @@protoc_insertion_point(field_list:icing.lib.IcingSearchEngineVersionProto.enabled_features)
1507   return _impl_.enabled_features_;
1508 }
1509 
1510 // -------------------------------------------------------------------
1511 
1512 // IcingSearchEngineOptions
1513 
1514 // optional string base_dir = 1;
_internal_has_base_dir()1515 inline bool IcingSearchEngineOptions::_internal_has_base_dir() const {
1516   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
1517   return value;
1518 }
has_base_dir()1519 inline bool IcingSearchEngineOptions::has_base_dir() const {
1520   return _internal_has_base_dir();
1521 }
clear_base_dir()1522 inline void IcingSearchEngineOptions::clear_base_dir() {
1523   _impl_.base_dir_.ClearToEmpty();
1524   _impl_._has_bits_[0] &= ~0x00000001u;
1525 }
base_dir()1526 inline const std::string& IcingSearchEngineOptions::base_dir() const {
1527   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.base_dir)
1528   return _internal_base_dir();
1529 }
1530 template <typename ArgT0, typename... ArgT>
1531 inline PROTOBUF_ALWAYS_INLINE
set_base_dir(ArgT0 && arg0,ArgT...args)1532 void IcingSearchEngineOptions::set_base_dir(ArgT0&& arg0, ArgT... args) {
1533  _impl_._has_bits_[0] |= 0x00000001u;
1534  _impl_.base_dir_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1535   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.base_dir)
1536 }
mutable_base_dir()1537 inline std::string* IcingSearchEngineOptions::mutable_base_dir() {
1538   std::string* _s = _internal_mutable_base_dir();
1539   // @@protoc_insertion_point(field_mutable:icing.lib.IcingSearchEngineOptions.base_dir)
1540   return _s;
1541 }
_internal_base_dir()1542 inline const std::string& IcingSearchEngineOptions::_internal_base_dir() const {
1543   return _impl_.base_dir_.Get();
1544 }
_internal_set_base_dir(const std::string & value)1545 inline void IcingSearchEngineOptions::_internal_set_base_dir(const std::string& value) {
1546   _impl_._has_bits_[0] |= 0x00000001u;
1547   _impl_.base_dir_.Set(value, GetArenaForAllocation());
1548 }
_internal_mutable_base_dir()1549 inline std::string* IcingSearchEngineOptions::_internal_mutable_base_dir() {
1550   _impl_._has_bits_[0] |= 0x00000001u;
1551   return _impl_.base_dir_.Mutable(GetArenaForAllocation());
1552 }
release_base_dir()1553 inline std::string* IcingSearchEngineOptions::release_base_dir() {
1554   // @@protoc_insertion_point(field_release:icing.lib.IcingSearchEngineOptions.base_dir)
1555   if (!_internal_has_base_dir()) {
1556     return nullptr;
1557   }
1558   _impl_._has_bits_[0] &= ~0x00000001u;
1559   auto* p = _impl_.base_dir_.Release();
1560 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1561   if (_impl_.base_dir_.IsDefault()) {
1562     _impl_.base_dir_.Set("", GetArenaForAllocation());
1563   }
1564 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1565   return p;
1566 }
set_allocated_base_dir(std::string * base_dir)1567 inline void IcingSearchEngineOptions::set_allocated_base_dir(std::string* base_dir) {
1568   if (base_dir != nullptr) {
1569     _impl_._has_bits_[0] |= 0x00000001u;
1570   } else {
1571     _impl_._has_bits_[0] &= ~0x00000001u;
1572   }
1573   _impl_.base_dir_.SetAllocated(base_dir, GetArenaForAllocation());
1574 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1575   if (_impl_.base_dir_.IsDefault()) {
1576     _impl_.base_dir_.Set("", GetArenaForAllocation());
1577   }
1578 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1579   // @@protoc_insertion_point(field_set_allocated:icing.lib.IcingSearchEngineOptions.base_dir)
1580 }
1581 
1582 // optional int32 max_token_length = 3 [default = 30];
_internal_has_max_token_length()1583 inline bool IcingSearchEngineOptions::_internal_has_max_token_length() const {
1584   bool value = (_impl_._has_bits_[0] & 0x00020000u) != 0;
1585   return value;
1586 }
has_max_token_length()1587 inline bool IcingSearchEngineOptions::has_max_token_length() const {
1588   return _internal_has_max_token_length();
1589 }
clear_max_token_length()1590 inline void IcingSearchEngineOptions::clear_max_token_length() {
1591   _impl_.max_token_length_ = 30;
1592   _impl_._has_bits_[0] &= ~0x00020000u;
1593 }
_internal_max_token_length()1594 inline ::int32_t IcingSearchEngineOptions::_internal_max_token_length() const {
1595   return _impl_.max_token_length_;
1596 }
max_token_length()1597 inline ::int32_t IcingSearchEngineOptions::max_token_length() const {
1598   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.max_token_length)
1599   return _internal_max_token_length();
1600 }
_internal_set_max_token_length(::int32_t value)1601 inline void IcingSearchEngineOptions::_internal_set_max_token_length(::int32_t value) {
1602   _impl_._has_bits_[0] |= 0x00020000u;
1603   _impl_.max_token_length_ = value;
1604 }
set_max_token_length(::int32_t value)1605 inline void IcingSearchEngineOptions::set_max_token_length(::int32_t value) {
1606   _internal_set_max_token_length(value);
1607   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.max_token_length)
1608 }
1609 
1610 // optional int32 index_merge_size = 4 [default = 1048576];
_internal_has_index_merge_size()1611 inline bool IcingSearchEngineOptions::_internal_has_index_merge_size() const {
1612   bool value = (_impl_._has_bits_[0] & 0x00040000u) != 0;
1613   return value;
1614 }
has_index_merge_size()1615 inline bool IcingSearchEngineOptions::has_index_merge_size() const {
1616   return _internal_has_index_merge_size();
1617 }
clear_index_merge_size()1618 inline void IcingSearchEngineOptions::clear_index_merge_size() {
1619   _impl_.index_merge_size_ = 1048576;
1620   _impl_._has_bits_[0] &= ~0x00040000u;
1621 }
_internal_index_merge_size()1622 inline ::int32_t IcingSearchEngineOptions::_internal_index_merge_size() const {
1623   return _impl_.index_merge_size_;
1624 }
index_merge_size()1625 inline ::int32_t IcingSearchEngineOptions::index_merge_size() const {
1626   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.index_merge_size)
1627   return _internal_index_merge_size();
1628 }
_internal_set_index_merge_size(::int32_t value)1629 inline void IcingSearchEngineOptions::_internal_set_index_merge_size(::int32_t value) {
1630   _impl_._has_bits_[0] |= 0x00040000u;
1631   _impl_.index_merge_size_ = value;
1632 }
set_index_merge_size(::int32_t value)1633 inline void IcingSearchEngineOptions::set_index_merge_size(::int32_t value) {
1634   _internal_set_index_merge_size(value);
1635   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.index_merge_size)
1636 }
1637 
1638 // optional bool document_store_namespace_id_fingerprint = 5;
_internal_has_document_store_namespace_id_fingerprint()1639 inline bool IcingSearchEngineOptions::_internal_has_document_store_namespace_id_fingerprint() const {
1640   bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
1641   return value;
1642 }
has_document_store_namespace_id_fingerprint()1643 inline bool IcingSearchEngineOptions::has_document_store_namespace_id_fingerprint() const {
1644   return _internal_has_document_store_namespace_id_fingerprint();
1645 }
clear_document_store_namespace_id_fingerprint()1646 inline void IcingSearchEngineOptions::clear_document_store_namespace_id_fingerprint() {
1647   _impl_.document_store_namespace_id_fingerprint_ = false;
1648   _impl_._has_bits_[0] &= ~0x00000004u;
1649 }
_internal_document_store_namespace_id_fingerprint()1650 inline bool IcingSearchEngineOptions::_internal_document_store_namespace_id_fingerprint() const {
1651   return _impl_.document_store_namespace_id_fingerprint_;
1652 }
document_store_namespace_id_fingerprint()1653 inline bool IcingSearchEngineOptions::document_store_namespace_id_fingerprint() const {
1654   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.document_store_namespace_id_fingerprint)
1655   return _internal_document_store_namespace_id_fingerprint();
1656 }
_internal_set_document_store_namespace_id_fingerprint(bool value)1657 inline void IcingSearchEngineOptions::_internal_set_document_store_namespace_id_fingerprint(bool value) {
1658   _impl_._has_bits_[0] |= 0x00000004u;
1659   _impl_.document_store_namespace_id_fingerprint_ = value;
1660 }
set_document_store_namespace_id_fingerprint(bool value)1661 inline void IcingSearchEngineOptions::set_document_store_namespace_id_fingerprint(bool value) {
1662   _internal_set_document_store_namespace_id_fingerprint(value);
1663   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.document_store_namespace_id_fingerprint)
1664 }
1665 
1666 // optional float optimize_rebuild_index_threshold = 6 [default = 0];
_internal_has_optimize_rebuild_index_threshold()1667 inline bool IcingSearchEngineOptions::_internal_has_optimize_rebuild_index_threshold() const {
1668   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
1669   return value;
1670 }
has_optimize_rebuild_index_threshold()1671 inline bool IcingSearchEngineOptions::has_optimize_rebuild_index_threshold() const {
1672   return _internal_has_optimize_rebuild_index_threshold();
1673 }
clear_optimize_rebuild_index_threshold()1674 inline void IcingSearchEngineOptions::clear_optimize_rebuild_index_threshold() {
1675   _impl_.optimize_rebuild_index_threshold_ = 0;
1676   _impl_._has_bits_[0] &= ~0x00000002u;
1677 }
_internal_optimize_rebuild_index_threshold()1678 inline float IcingSearchEngineOptions::_internal_optimize_rebuild_index_threshold() const {
1679   return _impl_.optimize_rebuild_index_threshold_;
1680 }
optimize_rebuild_index_threshold()1681 inline float IcingSearchEngineOptions::optimize_rebuild_index_threshold() const {
1682   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.optimize_rebuild_index_threshold)
1683   return _internal_optimize_rebuild_index_threshold();
1684 }
_internal_set_optimize_rebuild_index_threshold(float value)1685 inline void IcingSearchEngineOptions::_internal_set_optimize_rebuild_index_threshold(float value) {
1686   _impl_._has_bits_[0] |= 0x00000002u;
1687   _impl_.optimize_rebuild_index_threshold_ = value;
1688 }
set_optimize_rebuild_index_threshold(float value)1689 inline void IcingSearchEngineOptions::set_optimize_rebuild_index_threshold(float value) {
1690   _internal_set_optimize_rebuild_index_threshold(value);
1691   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.optimize_rebuild_index_threshold)
1692 }
1693 
1694 // optional int32 compression_level = 7 [default = 3];
_internal_has_compression_level()1695 inline bool IcingSearchEngineOptions::_internal_has_compression_level() const {
1696   bool value = (_impl_._has_bits_[0] & 0x00080000u) != 0;
1697   return value;
1698 }
has_compression_level()1699 inline bool IcingSearchEngineOptions::has_compression_level() const {
1700   return _internal_has_compression_level();
1701 }
clear_compression_level()1702 inline void IcingSearchEngineOptions::clear_compression_level() {
1703   _impl_.compression_level_ = 3;
1704   _impl_._has_bits_[0] &= ~0x00080000u;
1705 }
_internal_compression_level()1706 inline ::int32_t IcingSearchEngineOptions::_internal_compression_level() const {
1707   return _impl_.compression_level_;
1708 }
compression_level()1709 inline ::int32_t IcingSearchEngineOptions::compression_level() const {
1710   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.compression_level)
1711   return _internal_compression_level();
1712 }
_internal_set_compression_level(::int32_t value)1713 inline void IcingSearchEngineOptions::_internal_set_compression_level(::int32_t value) {
1714   _impl_._has_bits_[0] |= 0x00080000u;
1715   _impl_.compression_level_ = value;
1716 }
set_compression_level(::int32_t value)1717 inline void IcingSearchEngineOptions::set_compression_level(::int32_t value) {
1718   _internal_set_compression_level(value);
1719   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.compression_level)
1720 }
1721 
1722 // optional bool allow_circular_schema_definitions = 8;
_internal_has_allow_circular_schema_definitions()1723 inline bool IcingSearchEngineOptions::_internal_has_allow_circular_schema_definitions() const {
1724   bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
1725   return value;
1726 }
has_allow_circular_schema_definitions()1727 inline bool IcingSearchEngineOptions::has_allow_circular_schema_definitions() const {
1728   return _internal_has_allow_circular_schema_definitions();
1729 }
clear_allow_circular_schema_definitions()1730 inline void IcingSearchEngineOptions::clear_allow_circular_schema_definitions() {
1731   _impl_.allow_circular_schema_definitions_ = false;
1732   _impl_._has_bits_[0] &= ~0x00000008u;
1733 }
_internal_allow_circular_schema_definitions()1734 inline bool IcingSearchEngineOptions::_internal_allow_circular_schema_definitions() const {
1735   return _impl_.allow_circular_schema_definitions_;
1736 }
allow_circular_schema_definitions()1737 inline bool IcingSearchEngineOptions::allow_circular_schema_definitions() const {
1738   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.allow_circular_schema_definitions)
1739   return _internal_allow_circular_schema_definitions();
1740 }
_internal_set_allow_circular_schema_definitions(bool value)1741 inline void IcingSearchEngineOptions::_internal_set_allow_circular_schema_definitions(bool value) {
1742   _impl_._has_bits_[0] |= 0x00000008u;
1743   _impl_.allow_circular_schema_definitions_ = value;
1744 }
set_allow_circular_schema_definitions(bool value)1745 inline void IcingSearchEngineOptions::set_allow_circular_schema_definitions(bool value) {
1746   _internal_set_allow_circular_schema_definitions(value);
1747   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.allow_circular_schema_definitions)
1748 }
1749 
1750 // optional bool pre_mapping_fbv = 9;
_internal_has_pre_mapping_fbv()1751 inline bool IcingSearchEngineOptions::_internal_has_pre_mapping_fbv() const {
1752   bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
1753   return value;
1754 }
has_pre_mapping_fbv()1755 inline bool IcingSearchEngineOptions::has_pre_mapping_fbv() const {
1756   return _internal_has_pre_mapping_fbv();
1757 }
clear_pre_mapping_fbv()1758 inline void IcingSearchEngineOptions::clear_pre_mapping_fbv() {
1759   _impl_.pre_mapping_fbv_ = false;
1760   _impl_._has_bits_[0] &= ~0x00000010u;
1761 }
_internal_pre_mapping_fbv()1762 inline bool IcingSearchEngineOptions::_internal_pre_mapping_fbv() const {
1763   return _impl_.pre_mapping_fbv_;
1764 }
pre_mapping_fbv()1765 inline bool IcingSearchEngineOptions::pre_mapping_fbv() const {
1766   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.pre_mapping_fbv)
1767   return _internal_pre_mapping_fbv();
1768 }
_internal_set_pre_mapping_fbv(bool value)1769 inline void IcingSearchEngineOptions::_internal_set_pre_mapping_fbv(bool value) {
1770   _impl_._has_bits_[0] |= 0x00000010u;
1771   _impl_.pre_mapping_fbv_ = value;
1772 }
set_pre_mapping_fbv(bool value)1773 inline void IcingSearchEngineOptions::set_pre_mapping_fbv(bool value) {
1774   _internal_set_pre_mapping_fbv(value);
1775   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.pre_mapping_fbv)
1776 }
1777 
1778 // optional bool use_persistent_hash_map = 10;
_internal_has_use_persistent_hash_map()1779 inline bool IcingSearchEngineOptions::_internal_has_use_persistent_hash_map() const {
1780   bool value = (_impl_._has_bits_[0] & 0x00000020u) != 0;
1781   return value;
1782 }
has_use_persistent_hash_map()1783 inline bool IcingSearchEngineOptions::has_use_persistent_hash_map() const {
1784   return _internal_has_use_persistent_hash_map();
1785 }
clear_use_persistent_hash_map()1786 inline void IcingSearchEngineOptions::clear_use_persistent_hash_map() {
1787   _impl_.use_persistent_hash_map_ = false;
1788   _impl_._has_bits_[0] &= ~0x00000020u;
1789 }
_internal_use_persistent_hash_map()1790 inline bool IcingSearchEngineOptions::_internal_use_persistent_hash_map() const {
1791   return _impl_.use_persistent_hash_map_;
1792 }
use_persistent_hash_map()1793 inline bool IcingSearchEngineOptions::use_persistent_hash_map() const {
1794   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.use_persistent_hash_map)
1795   return _internal_use_persistent_hash_map();
1796 }
_internal_set_use_persistent_hash_map(bool value)1797 inline void IcingSearchEngineOptions::_internal_set_use_persistent_hash_map(bool value) {
1798   _impl_._has_bits_[0] |= 0x00000020u;
1799   _impl_.use_persistent_hash_map_ = value;
1800 }
set_use_persistent_hash_map(bool value)1801 inline void IcingSearchEngineOptions::set_use_persistent_hash_map(bool value) {
1802   _internal_set_use_persistent_hash_map(value);
1803   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.use_persistent_hash_map)
1804 }
1805 
1806 // optional int32 integer_index_bucket_split_threshold = 11 [default = 65536];
_internal_has_integer_index_bucket_split_threshold()1807 inline bool IcingSearchEngineOptions::_internal_has_integer_index_bucket_split_threshold() const {
1808   bool value = (_impl_._has_bits_[0] & 0x00100000u) != 0;
1809   return value;
1810 }
has_integer_index_bucket_split_threshold()1811 inline bool IcingSearchEngineOptions::has_integer_index_bucket_split_threshold() const {
1812   return _internal_has_integer_index_bucket_split_threshold();
1813 }
clear_integer_index_bucket_split_threshold()1814 inline void IcingSearchEngineOptions::clear_integer_index_bucket_split_threshold() {
1815   _impl_.integer_index_bucket_split_threshold_ = 65536;
1816   _impl_._has_bits_[0] &= ~0x00100000u;
1817 }
_internal_integer_index_bucket_split_threshold()1818 inline ::int32_t IcingSearchEngineOptions::_internal_integer_index_bucket_split_threshold() const {
1819   return _impl_.integer_index_bucket_split_threshold_;
1820 }
integer_index_bucket_split_threshold()1821 inline ::int32_t IcingSearchEngineOptions::integer_index_bucket_split_threshold() const {
1822   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.integer_index_bucket_split_threshold)
1823   return _internal_integer_index_bucket_split_threshold();
1824 }
_internal_set_integer_index_bucket_split_threshold(::int32_t value)1825 inline void IcingSearchEngineOptions::_internal_set_integer_index_bucket_split_threshold(::int32_t value) {
1826   _impl_._has_bits_[0] |= 0x00100000u;
1827   _impl_.integer_index_bucket_split_threshold_ = value;
1828 }
set_integer_index_bucket_split_threshold(::int32_t value)1829 inline void IcingSearchEngineOptions::set_integer_index_bucket_split_threshold(::int32_t value) {
1830   _internal_set_integer_index_bucket_split_threshold(value);
1831   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.integer_index_bucket_split_threshold)
1832 }
1833 
1834 // optional bool lite_index_sort_at_indexing = 12;
_internal_has_lite_index_sort_at_indexing()1835 inline bool IcingSearchEngineOptions::_internal_has_lite_index_sort_at_indexing() const {
1836   bool value = (_impl_._has_bits_[0] & 0x00000080u) != 0;
1837   return value;
1838 }
has_lite_index_sort_at_indexing()1839 inline bool IcingSearchEngineOptions::has_lite_index_sort_at_indexing() const {
1840   return _internal_has_lite_index_sort_at_indexing();
1841 }
clear_lite_index_sort_at_indexing()1842 inline void IcingSearchEngineOptions::clear_lite_index_sort_at_indexing() {
1843   _impl_.lite_index_sort_at_indexing_ = false;
1844   _impl_._has_bits_[0] &= ~0x00000080u;
1845 }
_internal_lite_index_sort_at_indexing()1846 inline bool IcingSearchEngineOptions::_internal_lite_index_sort_at_indexing() const {
1847   return _impl_.lite_index_sort_at_indexing_;
1848 }
lite_index_sort_at_indexing()1849 inline bool IcingSearchEngineOptions::lite_index_sort_at_indexing() const {
1850   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.lite_index_sort_at_indexing)
1851   return _internal_lite_index_sort_at_indexing();
1852 }
_internal_set_lite_index_sort_at_indexing(bool value)1853 inline void IcingSearchEngineOptions::_internal_set_lite_index_sort_at_indexing(bool value) {
1854   _impl_._has_bits_[0] |= 0x00000080u;
1855   _impl_.lite_index_sort_at_indexing_ = value;
1856 }
set_lite_index_sort_at_indexing(bool value)1857 inline void IcingSearchEngineOptions::set_lite_index_sort_at_indexing(bool value) {
1858   _internal_set_lite_index_sort_at_indexing(value);
1859   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.lite_index_sort_at_indexing)
1860 }
1861 
1862 // optional int32 lite_index_sort_size = 13 [default = 8192];
_internal_has_lite_index_sort_size()1863 inline bool IcingSearchEngineOptions::_internal_has_lite_index_sort_size() const {
1864   bool value = (_impl_._has_bits_[0] & 0x00200000u) != 0;
1865   return value;
1866 }
has_lite_index_sort_size()1867 inline bool IcingSearchEngineOptions::has_lite_index_sort_size() const {
1868   return _internal_has_lite_index_sort_size();
1869 }
clear_lite_index_sort_size()1870 inline void IcingSearchEngineOptions::clear_lite_index_sort_size() {
1871   _impl_.lite_index_sort_size_ = 8192;
1872   _impl_._has_bits_[0] &= ~0x00200000u;
1873 }
_internal_lite_index_sort_size()1874 inline ::int32_t IcingSearchEngineOptions::_internal_lite_index_sort_size() const {
1875   return _impl_.lite_index_sort_size_;
1876 }
lite_index_sort_size()1877 inline ::int32_t IcingSearchEngineOptions::lite_index_sort_size() const {
1878   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.lite_index_sort_size)
1879   return _internal_lite_index_sort_size();
1880 }
_internal_set_lite_index_sort_size(::int32_t value)1881 inline void IcingSearchEngineOptions::_internal_set_lite_index_sort_size(::int32_t value) {
1882   _impl_._has_bits_[0] |= 0x00200000u;
1883   _impl_.lite_index_sort_size_ = value;
1884 }
set_lite_index_sort_size(::int32_t value)1885 inline void IcingSearchEngineOptions::set_lite_index_sort_size(::int32_t value) {
1886   _internal_set_lite_index_sort_size(value);
1887   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.lite_index_sort_size)
1888 }
1889 
1890 // optional bool use_new_qualified_id_join_index = 14;
_internal_has_use_new_qualified_id_join_index()1891 inline bool IcingSearchEngineOptions::_internal_has_use_new_qualified_id_join_index() const {
1892   bool value = (_impl_._has_bits_[0] & 0x00000100u) != 0;
1893   return value;
1894 }
has_use_new_qualified_id_join_index()1895 inline bool IcingSearchEngineOptions::has_use_new_qualified_id_join_index() const {
1896   return _internal_has_use_new_qualified_id_join_index();
1897 }
clear_use_new_qualified_id_join_index()1898 inline void IcingSearchEngineOptions::clear_use_new_qualified_id_join_index() {
1899   _impl_.use_new_qualified_id_join_index_ = false;
1900   _impl_._has_bits_[0] &= ~0x00000100u;
1901 }
_internal_use_new_qualified_id_join_index()1902 inline bool IcingSearchEngineOptions::_internal_use_new_qualified_id_join_index() const {
1903   return _impl_.use_new_qualified_id_join_index_;
1904 }
use_new_qualified_id_join_index()1905 inline bool IcingSearchEngineOptions::use_new_qualified_id_join_index() const {
1906   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.use_new_qualified_id_join_index)
1907   return _internal_use_new_qualified_id_join_index();
1908 }
_internal_set_use_new_qualified_id_join_index(bool value)1909 inline void IcingSearchEngineOptions::_internal_set_use_new_qualified_id_join_index(bool value) {
1910   _impl_._has_bits_[0] |= 0x00000100u;
1911   _impl_.use_new_qualified_id_join_index_ = value;
1912 }
set_use_new_qualified_id_join_index(bool value)1913 inline void IcingSearchEngineOptions::set_use_new_qualified_id_join_index(bool value) {
1914   _internal_set_use_new_qualified_id_join_index(value);
1915   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.use_new_qualified_id_join_index)
1916 }
1917 
1918 // optional bool build_property_existence_metadata_hits = 15;
_internal_has_build_property_existence_metadata_hits()1919 inline bool IcingSearchEngineOptions::_internal_has_build_property_existence_metadata_hits() const {
1920   bool value = (_impl_._has_bits_[0] & 0x00000200u) != 0;
1921   return value;
1922 }
has_build_property_existence_metadata_hits()1923 inline bool IcingSearchEngineOptions::has_build_property_existence_metadata_hits() const {
1924   return _internal_has_build_property_existence_metadata_hits();
1925 }
clear_build_property_existence_metadata_hits()1926 inline void IcingSearchEngineOptions::clear_build_property_existence_metadata_hits() {
1927   _impl_.build_property_existence_metadata_hits_ = false;
1928   _impl_._has_bits_[0] &= ~0x00000200u;
1929 }
_internal_build_property_existence_metadata_hits()1930 inline bool IcingSearchEngineOptions::_internal_build_property_existence_metadata_hits() const {
1931   return _impl_.build_property_existence_metadata_hits_;
1932 }
build_property_existence_metadata_hits()1933 inline bool IcingSearchEngineOptions::build_property_existence_metadata_hits() const {
1934   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.build_property_existence_metadata_hits)
1935   return _internal_build_property_existence_metadata_hits();
1936 }
_internal_set_build_property_existence_metadata_hits(bool value)1937 inline void IcingSearchEngineOptions::_internal_set_build_property_existence_metadata_hits(bool value) {
1938   _impl_._has_bits_[0] |= 0x00000200u;
1939   _impl_.build_property_existence_metadata_hits_ = value;
1940 }
set_build_property_existence_metadata_hits(bool value)1941 inline void IcingSearchEngineOptions::set_build_property_existence_metadata_hits(bool value) {
1942   _internal_set_build_property_existence_metadata_hits(value);
1943   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.build_property_existence_metadata_hits)
1944 }
1945 
1946 // optional bool enable_blob_store = 16;
_internal_has_enable_blob_store()1947 inline bool IcingSearchEngineOptions::_internal_has_enable_blob_store() const {
1948   bool value = (_impl_._has_bits_[0] & 0x00000400u) != 0;
1949   return value;
1950 }
has_enable_blob_store()1951 inline bool IcingSearchEngineOptions::has_enable_blob_store() const {
1952   return _internal_has_enable_blob_store();
1953 }
clear_enable_blob_store()1954 inline void IcingSearchEngineOptions::clear_enable_blob_store() {
1955   _impl_.enable_blob_store_ = false;
1956   _impl_._has_bits_[0] &= ~0x00000400u;
1957 }
_internal_enable_blob_store()1958 inline bool IcingSearchEngineOptions::_internal_enable_blob_store() const {
1959   return _impl_.enable_blob_store_;
1960 }
enable_blob_store()1961 inline bool IcingSearchEngineOptions::enable_blob_store() const {
1962   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.enable_blob_store)
1963   return _internal_enable_blob_store();
1964 }
_internal_set_enable_blob_store(bool value)1965 inline void IcingSearchEngineOptions::_internal_set_enable_blob_store(bool value) {
1966   _impl_._has_bits_[0] |= 0x00000400u;
1967   _impl_.enable_blob_store_ = value;
1968 }
set_enable_blob_store(bool value)1969 inline void IcingSearchEngineOptions::set_enable_blob_store(bool value) {
1970   _internal_set_enable_blob_store(value);
1971   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.enable_blob_store)
1972 }
1973 
1974 // optional int64 orphan_blob_time_to_live_ms = 17;
_internal_has_orphan_blob_time_to_live_ms()1975 inline bool IcingSearchEngineOptions::_internal_has_orphan_blob_time_to_live_ms() const {
1976   bool value = (_impl_._has_bits_[0] & 0x00000040u) != 0;
1977   return value;
1978 }
has_orphan_blob_time_to_live_ms()1979 inline bool IcingSearchEngineOptions::has_orphan_blob_time_to_live_ms() const {
1980   return _internal_has_orphan_blob_time_to_live_ms();
1981 }
clear_orphan_blob_time_to_live_ms()1982 inline void IcingSearchEngineOptions::clear_orphan_blob_time_to_live_ms() {
1983   _impl_.orphan_blob_time_to_live_ms_ = ::int64_t{0};
1984   _impl_._has_bits_[0] &= ~0x00000040u;
1985 }
_internal_orphan_blob_time_to_live_ms()1986 inline ::int64_t IcingSearchEngineOptions::_internal_orphan_blob_time_to_live_ms() const {
1987   return _impl_.orphan_blob_time_to_live_ms_;
1988 }
orphan_blob_time_to_live_ms()1989 inline ::int64_t IcingSearchEngineOptions::orphan_blob_time_to_live_ms() const {
1990   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.orphan_blob_time_to_live_ms)
1991   return _internal_orphan_blob_time_to_live_ms();
1992 }
_internal_set_orphan_blob_time_to_live_ms(::int64_t value)1993 inline void IcingSearchEngineOptions::_internal_set_orphan_blob_time_to_live_ms(::int64_t value) {
1994   _impl_._has_bits_[0] |= 0x00000040u;
1995   _impl_.orphan_blob_time_to_live_ms_ = value;
1996 }
set_orphan_blob_time_to_live_ms(::int64_t value)1997 inline void IcingSearchEngineOptions::set_orphan_blob_time_to_live_ms(::int64_t value) {
1998   _internal_set_orphan_blob_time_to_live_ms(value);
1999   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.orphan_blob_time_to_live_ms)
2000 }
2001 
2002 // optional bool enable_schema_database = 18;
_internal_has_enable_schema_database()2003 inline bool IcingSearchEngineOptions::_internal_has_enable_schema_database() const {
2004   bool value = (_impl_._has_bits_[0] & 0x00000800u) != 0;
2005   return value;
2006 }
has_enable_schema_database()2007 inline bool IcingSearchEngineOptions::has_enable_schema_database() const {
2008   return _internal_has_enable_schema_database();
2009 }
clear_enable_schema_database()2010 inline void IcingSearchEngineOptions::clear_enable_schema_database() {
2011   _impl_.enable_schema_database_ = false;
2012   _impl_._has_bits_[0] &= ~0x00000800u;
2013 }
_internal_enable_schema_database()2014 inline bool IcingSearchEngineOptions::_internal_enable_schema_database() const {
2015   return _impl_.enable_schema_database_;
2016 }
enable_schema_database()2017 inline bool IcingSearchEngineOptions::enable_schema_database() const {
2018   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.enable_schema_database)
2019   return _internal_enable_schema_database();
2020 }
_internal_set_enable_schema_database(bool value)2021 inline void IcingSearchEngineOptions::_internal_set_enable_schema_database(bool value) {
2022   _impl_._has_bits_[0] |= 0x00000800u;
2023   _impl_.enable_schema_database_ = value;
2024 }
set_enable_schema_database(bool value)2025 inline void IcingSearchEngineOptions::set_enable_schema_database(bool value) {
2026   _internal_set_enable_schema_database(value);
2027   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.enable_schema_database)
2028 }
2029 
2030 // optional bool enable_embedding_index = 19 [default = true];
_internal_has_enable_embedding_index()2031 inline bool IcingSearchEngineOptions::_internal_has_enable_embedding_index() const {
2032   bool value = (_impl_._has_bits_[0] & 0x00400000u) != 0;
2033   return value;
2034 }
has_enable_embedding_index()2035 inline bool IcingSearchEngineOptions::has_enable_embedding_index() const {
2036   return _internal_has_enable_embedding_index();
2037 }
clear_enable_embedding_index()2038 inline void IcingSearchEngineOptions::clear_enable_embedding_index() {
2039   _impl_.enable_embedding_index_ = true;
2040   _impl_._has_bits_[0] &= ~0x00400000u;
2041 }
_internal_enable_embedding_index()2042 inline bool IcingSearchEngineOptions::_internal_enable_embedding_index() const {
2043   return _impl_.enable_embedding_index_;
2044 }
enable_embedding_index()2045 inline bool IcingSearchEngineOptions::enable_embedding_index() const {
2046   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.enable_embedding_index)
2047   return _internal_enable_embedding_index();
2048 }
_internal_set_enable_embedding_index(bool value)2049 inline void IcingSearchEngineOptions::_internal_set_enable_embedding_index(bool value) {
2050   _impl_._has_bits_[0] |= 0x00400000u;
2051   _impl_.enable_embedding_index_ = value;
2052 }
set_enable_embedding_index(bool value)2053 inline void IcingSearchEngineOptions::set_enable_embedding_index(bool value) {
2054   _internal_set_enable_embedding_index(value);
2055   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.enable_embedding_index)
2056 }
2057 
2058 // optional bool enable_scorable_properties = 21;
_internal_has_enable_scorable_properties()2059 inline bool IcingSearchEngineOptions::_internal_has_enable_scorable_properties() const {
2060   bool value = (_impl_._has_bits_[0] & 0x00001000u) != 0;
2061   return value;
2062 }
has_enable_scorable_properties()2063 inline bool IcingSearchEngineOptions::has_enable_scorable_properties() const {
2064   return _internal_has_enable_scorable_properties();
2065 }
clear_enable_scorable_properties()2066 inline void IcingSearchEngineOptions::clear_enable_scorable_properties() {
2067   _impl_.enable_scorable_properties_ = false;
2068   _impl_._has_bits_[0] &= ~0x00001000u;
2069 }
_internal_enable_scorable_properties()2070 inline bool IcingSearchEngineOptions::_internal_enable_scorable_properties() const {
2071   return _impl_.enable_scorable_properties_;
2072 }
enable_scorable_properties()2073 inline bool IcingSearchEngineOptions::enable_scorable_properties() const {
2074   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.enable_scorable_properties)
2075   return _internal_enable_scorable_properties();
2076 }
_internal_set_enable_scorable_properties(bool value)2077 inline void IcingSearchEngineOptions::_internal_set_enable_scorable_properties(bool value) {
2078   _impl_._has_bits_[0] |= 0x00001000u;
2079   _impl_.enable_scorable_properties_ = value;
2080 }
set_enable_scorable_properties(bool value)2081 inline void IcingSearchEngineOptions::set_enable_scorable_properties(bool value) {
2082   _internal_set_enable_scorable_properties(value);
2083   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.enable_scorable_properties)
2084 }
2085 
2086 // optional bool enable_embedding_quantization = 22;
_internal_has_enable_embedding_quantization()2087 inline bool IcingSearchEngineOptions::_internal_has_enable_embedding_quantization() const {
2088   bool value = (_impl_._has_bits_[0] & 0x00002000u) != 0;
2089   return value;
2090 }
has_enable_embedding_quantization()2091 inline bool IcingSearchEngineOptions::has_enable_embedding_quantization() const {
2092   return _internal_has_enable_embedding_quantization();
2093 }
clear_enable_embedding_quantization()2094 inline void IcingSearchEngineOptions::clear_enable_embedding_quantization() {
2095   _impl_.enable_embedding_quantization_ = false;
2096   _impl_._has_bits_[0] &= ~0x00002000u;
2097 }
_internal_enable_embedding_quantization()2098 inline bool IcingSearchEngineOptions::_internal_enable_embedding_quantization() const {
2099   return _impl_.enable_embedding_quantization_;
2100 }
enable_embedding_quantization()2101 inline bool IcingSearchEngineOptions::enable_embedding_quantization() const {
2102   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.enable_embedding_quantization)
2103   return _internal_enable_embedding_quantization();
2104 }
_internal_set_enable_embedding_quantization(bool value)2105 inline void IcingSearchEngineOptions::_internal_set_enable_embedding_quantization(bool value) {
2106   _impl_._has_bits_[0] |= 0x00002000u;
2107   _impl_.enable_embedding_quantization_ = value;
2108 }
set_enable_embedding_quantization(bool value)2109 inline void IcingSearchEngineOptions::set_enable_embedding_quantization(bool value) {
2110   _internal_set_enable_embedding_quantization(value);
2111   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.enable_embedding_quantization)
2112 }
2113 
2114 // optional int32 blob_store_compression_level = 23 [default = 3];
_internal_has_blob_store_compression_level()2115 inline bool IcingSearchEngineOptions::_internal_has_blob_store_compression_level() const {
2116   bool value = (_impl_._has_bits_[0] & 0x00010000u) != 0;
2117   return value;
2118 }
has_blob_store_compression_level()2119 inline bool IcingSearchEngineOptions::has_blob_store_compression_level() const {
2120   return _internal_has_blob_store_compression_level();
2121 }
clear_blob_store_compression_level()2122 inline void IcingSearchEngineOptions::clear_blob_store_compression_level() {
2123   _impl_.blob_store_compression_level_ = 3;
2124   _impl_._has_bits_[0] &= ~0x00010000u;
2125 }
_internal_blob_store_compression_level()2126 inline ::int32_t IcingSearchEngineOptions::_internal_blob_store_compression_level() const {
2127   return _impl_.blob_store_compression_level_;
2128 }
blob_store_compression_level()2129 inline ::int32_t IcingSearchEngineOptions::blob_store_compression_level() const {
2130   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.blob_store_compression_level)
2131   return _internal_blob_store_compression_level();
2132 }
_internal_set_blob_store_compression_level(::int32_t value)2133 inline void IcingSearchEngineOptions::_internal_set_blob_store_compression_level(::int32_t value) {
2134   _impl_._has_bits_[0] |= 0x00010000u;
2135   _impl_.blob_store_compression_level_ = value;
2136 }
set_blob_store_compression_level(::int32_t value)2137 inline void IcingSearchEngineOptions::set_blob_store_compression_level(::int32_t value) {
2138   _internal_set_blob_store_compression_level(value);
2139   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.blob_store_compression_level)
2140 }
2141 
2142 // optional bool enable_repeated_field_joins = 24;
_internal_has_enable_repeated_field_joins()2143 inline bool IcingSearchEngineOptions::_internal_has_enable_repeated_field_joins() const {
2144   bool value = (_impl_._has_bits_[0] & 0x00004000u) != 0;
2145   return value;
2146 }
has_enable_repeated_field_joins()2147 inline bool IcingSearchEngineOptions::has_enable_repeated_field_joins() const {
2148   return _internal_has_enable_repeated_field_joins();
2149 }
clear_enable_repeated_field_joins()2150 inline void IcingSearchEngineOptions::clear_enable_repeated_field_joins() {
2151   _impl_.enable_repeated_field_joins_ = false;
2152   _impl_._has_bits_[0] &= ~0x00004000u;
2153 }
_internal_enable_repeated_field_joins()2154 inline bool IcingSearchEngineOptions::_internal_enable_repeated_field_joins() const {
2155   return _impl_.enable_repeated_field_joins_;
2156 }
enable_repeated_field_joins()2157 inline bool IcingSearchEngineOptions::enable_repeated_field_joins() const {
2158   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.enable_repeated_field_joins)
2159   return _internal_enable_repeated_field_joins();
2160 }
_internal_set_enable_repeated_field_joins(bool value)2161 inline void IcingSearchEngineOptions::_internal_set_enable_repeated_field_joins(bool value) {
2162   _impl_._has_bits_[0] |= 0x00004000u;
2163   _impl_.enable_repeated_field_joins_ = value;
2164 }
set_enable_repeated_field_joins(bool value)2165 inline void IcingSearchEngineOptions::set_enable_repeated_field_joins(bool value) {
2166   _internal_set_enable_repeated_field_joins(value);
2167   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.enable_repeated_field_joins)
2168 }
2169 
2170 // optional bool enable_qualified_id_join_index_v3_and_delete_propagate_from = 25;
_internal_has_enable_qualified_id_join_index_v3_and_delete_propagate_from()2171 inline bool IcingSearchEngineOptions::_internal_has_enable_qualified_id_join_index_v3_and_delete_propagate_from() const {
2172   bool value = (_impl_._has_bits_[0] & 0x00008000u) != 0;
2173   return value;
2174 }
has_enable_qualified_id_join_index_v3_and_delete_propagate_from()2175 inline bool IcingSearchEngineOptions::has_enable_qualified_id_join_index_v3_and_delete_propagate_from() const {
2176   return _internal_has_enable_qualified_id_join_index_v3_and_delete_propagate_from();
2177 }
clear_enable_qualified_id_join_index_v3_and_delete_propagate_from()2178 inline void IcingSearchEngineOptions::clear_enable_qualified_id_join_index_v3_and_delete_propagate_from() {
2179   _impl_.enable_qualified_id_join_index_v3_and_delete_propagate_from_ = false;
2180   _impl_._has_bits_[0] &= ~0x00008000u;
2181 }
_internal_enable_qualified_id_join_index_v3_and_delete_propagate_from()2182 inline bool IcingSearchEngineOptions::_internal_enable_qualified_id_join_index_v3_and_delete_propagate_from() const {
2183   return _impl_.enable_qualified_id_join_index_v3_and_delete_propagate_from_;
2184 }
enable_qualified_id_join_index_v3_and_delete_propagate_from()2185 inline bool IcingSearchEngineOptions::enable_qualified_id_join_index_v3_and_delete_propagate_from() const {
2186   // @@protoc_insertion_point(field_get:icing.lib.IcingSearchEngineOptions.enable_qualified_id_join_index_v3_and_delete_propagate_from)
2187   return _internal_enable_qualified_id_join_index_v3_and_delete_propagate_from();
2188 }
_internal_set_enable_qualified_id_join_index_v3_and_delete_propagate_from(bool value)2189 inline void IcingSearchEngineOptions::_internal_set_enable_qualified_id_join_index_v3_and_delete_propagate_from(bool value) {
2190   _impl_._has_bits_[0] |= 0x00008000u;
2191   _impl_.enable_qualified_id_join_index_v3_and_delete_propagate_from_ = value;
2192 }
set_enable_qualified_id_join_index_v3_and_delete_propagate_from(bool value)2193 inline void IcingSearchEngineOptions::set_enable_qualified_id_join_index_v3_and_delete_propagate_from(bool value) {
2194   _internal_set_enable_qualified_id_join_index_v3_and_delete_propagate_from(value);
2195   // @@protoc_insertion_point(field_set:icing.lib.IcingSearchEngineOptions.enable_qualified_id_join_index_v3_and_delete_propagate_from)
2196 }
2197 
2198 // -------------------------------------------------------------------
2199 
2200 // InitializeResultProto
2201 
2202 // optional .icing.lib.StatusProto status = 1;
_internal_has_status()2203 inline bool InitializeResultProto::_internal_has_status() const {
2204   bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
2205   PROTOBUF_ASSUME(!value || _impl_.status_ != nullptr);
2206   return value;
2207 }
has_status()2208 inline bool InitializeResultProto::has_status() const {
2209   return _internal_has_status();
2210 }
_internal_status()2211 inline const ::icing::lib::StatusProto& InitializeResultProto::_internal_status() const {
2212   const ::icing::lib::StatusProto* p = _impl_.status_;
2213   return p != nullptr ? *p : reinterpret_cast<const ::icing::lib::StatusProto&>(
2214       ::icing::lib::_StatusProto_default_instance_);
2215 }
status()2216 inline const ::icing::lib::StatusProto& InitializeResultProto::status() const {
2217   // @@protoc_insertion_point(field_get:icing.lib.InitializeResultProto.status)
2218   return _internal_status();
2219 }
unsafe_arena_set_allocated_status(::icing::lib::StatusProto * status)2220 inline void InitializeResultProto::unsafe_arena_set_allocated_status(
2221     ::icing::lib::StatusProto* status) {
2222   if (GetArenaForAllocation() == nullptr) {
2223     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.status_);
2224   }
2225   _impl_.status_ = status;
2226   if (status) {
2227     _impl_._has_bits_[0] |= 0x00000001u;
2228   } else {
2229     _impl_._has_bits_[0] &= ~0x00000001u;
2230   }
2231   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:icing.lib.InitializeResultProto.status)
2232 }
release_status()2233 inline ::icing::lib::StatusProto* InitializeResultProto::release_status() {
2234   _impl_._has_bits_[0] &= ~0x00000001u;
2235   ::icing::lib::StatusProto* temp = _impl_.status_;
2236   _impl_.status_ = nullptr;
2237 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2238   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2239   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2240   if (GetArenaForAllocation() == nullptr) { delete old; }
2241 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2242   if (GetArenaForAllocation() != nullptr) {
2243     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2244   }
2245 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2246   return temp;
2247 }
unsafe_arena_release_status()2248 inline ::icing::lib::StatusProto* InitializeResultProto::unsafe_arena_release_status() {
2249   // @@protoc_insertion_point(field_release:icing.lib.InitializeResultProto.status)
2250   _impl_._has_bits_[0] &= ~0x00000001u;
2251   ::icing::lib::StatusProto* temp = _impl_.status_;
2252   _impl_.status_ = nullptr;
2253   return temp;
2254 }
_internal_mutable_status()2255 inline ::icing::lib::StatusProto* InitializeResultProto::_internal_mutable_status() {
2256   _impl_._has_bits_[0] |= 0x00000001u;
2257   if (_impl_.status_ == nullptr) {
2258     auto* p = CreateMaybeMessage<::icing::lib::StatusProto>(GetArenaForAllocation());
2259     _impl_.status_ = p;
2260   }
2261   return _impl_.status_;
2262 }
mutable_status()2263 inline ::icing::lib::StatusProto* InitializeResultProto::mutable_status() {
2264   ::icing::lib::StatusProto* _msg = _internal_mutable_status();
2265   // @@protoc_insertion_point(field_mutable:icing.lib.InitializeResultProto.status)
2266   return _msg;
2267 }
set_allocated_status(::icing::lib::StatusProto * status)2268 inline void InitializeResultProto::set_allocated_status(::icing::lib::StatusProto* status) {
2269   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2270   if (message_arena == nullptr) {
2271     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.status_);
2272   }
2273   if (status) {
2274     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2275         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2276                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(status));
2277     if (message_arena != submessage_arena) {
2278       status = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2279           message_arena, status, submessage_arena);
2280     }
2281     _impl_._has_bits_[0] |= 0x00000001u;
2282   } else {
2283     _impl_._has_bits_[0] &= ~0x00000001u;
2284   }
2285   _impl_.status_ = status;
2286   // @@protoc_insertion_point(field_set_allocated:icing.lib.InitializeResultProto.status)
2287 }
2288 
2289 // optional .icing.lib.InitializeStatsProto initialize_stats = 2;
_internal_has_initialize_stats()2290 inline bool InitializeResultProto::_internal_has_initialize_stats() const {
2291   bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
2292   PROTOBUF_ASSUME(!value || _impl_.initialize_stats_ != nullptr);
2293   return value;
2294 }
has_initialize_stats()2295 inline bool InitializeResultProto::has_initialize_stats() const {
2296   return _internal_has_initialize_stats();
2297 }
_internal_initialize_stats()2298 inline const ::icing::lib::InitializeStatsProto& InitializeResultProto::_internal_initialize_stats() const {
2299   const ::icing::lib::InitializeStatsProto* p = _impl_.initialize_stats_;
2300   return p != nullptr ? *p : reinterpret_cast<const ::icing::lib::InitializeStatsProto&>(
2301       ::icing::lib::_InitializeStatsProto_default_instance_);
2302 }
initialize_stats()2303 inline const ::icing::lib::InitializeStatsProto& InitializeResultProto::initialize_stats() const {
2304   // @@protoc_insertion_point(field_get:icing.lib.InitializeResultProto.initialize_stats)
2305   return _internal_initialize_stats();
2306 }
unsafe_arena_set_allocated_initialize_stats(::icing::lib::InitializeStatsProto * initialize_stats)2307 inline void InitializeResultProto::unsafe_arena_set_allocated_initialize_stats(
2308     ::icing::lib::InitializeStatsProto* initialize_stats) {
2309   if (GetArenaForAllocation() == nullptr) {
2310     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.initialize_stats_);
2311   }
2312   _impl_.initialize_stats_ = initialize_stats;
2313   if (initialize_stats) {
2314     _impl_._has_bits_[0] |= 0x00000002u;
2315   } else {
2316     _impl_._has_bits_[0] &= ~0x00000002u;
2317   }
2318   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:icing.lib.InitializeResultProto.initialize_stats)
2319 }
release_initialize_stats()2320 inline ::icing::lib::InitializeStatsProto* InitializeResultProto::release_initialize_stats() {
2321   _impl_._has_bits_[0] &= ~0x00000002u;
2322   ::icing::lib::InitializeStatsProto* temp = _impl_.initialize_stats_;
2323   _impl_.initialize_stats_ = nullptr;
2324 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
2325   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
2326   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2327   if (GetArenaForAllocation() == nullptr) { delete old; }
2328 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
2329   if (GetArenaForAllocation() != nullptr) {
2330     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
2331   }
2332 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
2333   return temp;
2334 }
unsafe_arena_release_initialize_stats()2335 inline ::icing::lib::InitializeStatsProto* InitializeResultProto::unsafe_arena_release_initialize_stats() {
2336   // @@protoc_insertion_point(field_release:icing.lib.InitializeResultProto.initialize_stats)
2337   _impl_._has_bits_[0] &= ~0x00000002u;
2338   ::icing::lib::InitializeStatsProto* temp = _impl_.initialize_stats_;
2339   _impl_.initialize_stats_ = nullptr;
2340   return temp;
2341 }
_internal_mutable_initialize_stats()2342 inline ::icing::lib::InitializeStatsProto* InitializeResultProto::_internal_mutable_initialize_stats() {
2343   _impl_._has_bits_[0] |= 0x00000002u;
2344   if (_impl_.initialize_stats_ == nullptr) {
2345     auto* p = CreateMaybeMessage<::icing::lib::InitializeStatsProto>(GetArenaForAllocation());
2346     _impl_.initialize_stats_ = p;
2347   }
2348   return _impl_.initialize_stats_;
2349 }
mutable_initialize_stats()2350 inline ::icing::lib::InitializeStatsProto* InitializeResultProto::mutable_initialize_stats() {
2351   ::icing::lib::InitializeStatsProto* _msg = _internal_mutable_initialize_stats();
2352   // @@protoc_insertion_point(field_mutable:icing.lib.InitializeResultProto.initialize_stats)
2353   return _msg;
2354 }
set_allocated_initialize_stats(::icing::lib::InitializeStatsProto * initialize_stats)2355 inline void InitializeResultProto::set_allocated_initialize_stats(::icing::lib::InitializeStatsProto* initialize_stats) {
2356   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
2357   if (message_arena == nullptr) {
2358     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.initialize_stats_);
2359   }
2360   if (initialize_stats) {
2361     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
2362         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
2363                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(initialize_stats));
2364     if (message_arena != submessage_arena) {
2365       initialize_stats = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
2366           message_arena, initialize_stats, submessage_arena);
2367     }
2368     _impl_._has_bits_[0] |= 0x00000002u;
2369   } else {
2370     _impl_._has_bits_[0] &= ~0x00000002u;
2371   }
2372   _impl_.initialize_stats_ = initialize_stats;
2373   // @@protoc_insertion_point(field_set_allocated:icing.lib.InitializeResultProto.initialize_stats)
2374 }
2375 
2376 #ifdef __GNUC__
2377   #pragma GCC diagnostic pop
2378 #endif  // __GNUC__
2379 // -------------------------------------------------------------------
2380 
2381 // -------------------------------------------------------------------
2382 
2383 // -------------------------------------------------------------------
2384 
2385 
2386 // @@protoc_insertion_point(namespace_scope)
2387 
2388 }  // namespace lib
2389 }  // namespace icing
2390 
2391 PROTOBUF_NAMESPACE_OPEN
2392 
2393 template <> struct is_proto_enum< ::icing::lib::IcingSearchEngineFeatureInfoProto_FlaggedFeatureType> : ::std::true_type {};
2394 
2395 PROTOBUF_NAMESPACE_CLOSE
2396 
2397 // @@protoc_insertion_point(global_scope)
2398 
2399 #include <google/protobuf/port_undef.inc>
2400 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_icing_2fproto_2finitialize_2eproto
2401