1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: icing/proto/internal/scorable_property_set.proto
3
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_icing_2fproto_2finternal_2fscorable_5fproperty_5fset_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_icing_2fproto_2finternal_2fscorable_5fproperty_5fset_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 // @@protoc_insertion_point(includes)
33 #include <google/protobuf/port_def.inc>
34 #define PROTOBUF_INTERNAL_EXPORT_icing_2fproto_2finternal_2fscorable_5fproperty_5fset_2eproto
35 PROTOBUF_NAMESPACE_OPEN
36 namespace internal {
37 class AnyMetadata;
38 } // namespace internal
39 PROTOBUF_NAMESPACE_CLOSE
40
41 // Internal implementation detail -- do not use these members.
42 struct TableStruct_icing_2fproto_2finternal_2fscorable_5fproperty_5fset_2eproto {
43 static const ::uint32_t offsets[];
44 };
45 namespace icing {
46 namespace lib {
47 class ScorablePropertyProto;
48 struct ScorablePropertyProtoDefaultTypeInternal;
49 extern ScorablePropertyProtoDefaultTypeInternal _ScorablePropertyProto_default_instance_;
50 class ScorablePropertySetProto;
51 struct ScorablePropertySetProtoDefaultTypeInternal;
52 extern ScorablePropertySetProtoDefaultTypeInternal _ScorablePropertySetProto_default_instance_;
53 } // namespace lib
54 } // namespace icing
55 PROTOBUF_NAMESPACE_OPEN
56 template<> ::icing::lib::ScorablePropertyProto* Arena::CreateMaybeMessage<::icing::lib::ScorablePropertyProto>(Arena*);
57 template<> ::icing::lib::ScorablePropertySetProto* Arena::CreateMaybeMessage<::icing::lib::ScorablePropertySetProto>(Arena*);
58 PROTOBUF_NAMESPACE_CLOSE
59 namespace icing {
60 namespace lib {
61
62 // ===================================================================
63
64 class ScorablePropertyProto final :
65 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:icing.lib.ScorablePropertyProto) */ {
66 public:
ScorablePropertyProto()67 inline ScorablePropertyProto() : ScorablePropertyProto(nullptr) {}
68 ~ScorablePropertyProto() override;
69 explicit PROTOBUF_CONSTEXPR ScorablePropertyProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
70
71 ScorablePropertyProto(const ScorablePropertyProto& from);
ScorablePropertyProto(ScorablePropertyProto && from)72 ScorablePropertyProto(ScorablePropertyProto&& from) noexcept
73 : ScorablePropertyProto() {
74 *this = ::std::move(from);
75 }
76
77 inline ScorablePropertyProto& operator=(const ScorablePropertyProto& from) {
78 if (this == &from) return *this;
79 CopyFrom(from);
80 return *this;
81 }
82 inline ScorablePropertyProto& operator=(ScorablePropertyProto&& from) noexcept {
83 if (this == &from) return *this;
84 if (GetOwningArena() == from.GetOwningArena()
85 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
86 && GetOwningArena() != nullptr
87 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
88 ) {
89 InternalSwap(&from);
90 } else {
91 CopyFrom(from);
92 }
93 return *this;
94 }
95
unknown_fields()96 inline const std::string& unknown_fields() const {
97 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
98 }
mutable_unknown_fields()99 inline std::string* mutable_unknown_fields() {
100 return _internal_metadata_.mutable_unknown_fields<std::string>();
101 }
102
default_instance()103 static const ScorablePropertyProto& default_instance() {
104 return *internal_default_instance();
105 }
internal_default_instance()106 static inline const ScorablePropertyProto* internal_default_instance() {
107 return reinterpret_cast<const ScorablePropertyProto*>(
108 &_ScorablePropertyProto_default_instance_);
109 }
110 static constexpr int kIndexInFileMessages =
111 0;
112
swap(ScorablePropertyProto & a,ScorablePropertyProto & b)113 friend void swap(ScorablePropertyProto& a, ScorablePropertyProto& b) {
114 a.Swap(&b);
115 }
Swap(ScorablePropertyProto * other)116 inline void Swap(ScorablePropertyProto* other) {
117 if (other == this) return;
118 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
119 if (GetOwningArena() != nullptr &&
120 GetOwningArena() == other->GetOwningArena()) {
121 #else // PROTOBUF_FORCE_COPY_IN_SWAP
122 if (GetOwningArena() == other->GetOwningArena()) {
123 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
124 InternalSwap(other);
125 } else {
126 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
127 }
128 }
129 void UnsafeArenaSwap(ScorablePropertyProto* other) {
130 if (other == this) return;
131 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
132 InternalSwap(other);
133 }
134
135 // implements Message ----------------------------------------------
136
137 ScorablePropertyProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
138 return CreateMaybeMessage<ScorablePropertyProto>(arena);
139 }
140 ScorablePropertyProto* New() const {
141 return New(nullptr);
142 }
143 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
144 void CopyFrom(const ScorablePropertyProto& from);
145 void MergeFrom(const ScorablePropertyProto& from);
146 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
147 bool IsInitialized() const final;
148
149 size_t ByteSizeLong() const final;
150 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
151 ::uint8_t* _InternalSerialize(
152 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
153 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
154
155 private:
156 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
157 void SharedDtor();
158 void SetCachedSize(int size) const;
159 void InternalSwap(ScorablePropertyProto* other);
160
161 private:
162 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
163 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
164 return "icing.lib.ScorablePropertyProto";
165 }
166 protected:
167 explicit ScorablePropertyProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
168 bool is_message_owned = false);
169 public:
170
171 std::string GetTypeName() const final;
172
173 // nested types ----------------------------------------------------
174
175 // accessors -------------------------------------------------------
176
177 enum : int {
178 kInt64ValuesFieldNumber = 1,
179 kDoubleValuesFieldNumber = 2,
180 kBooleanValuesFieldNumber = 3,
181 };
182 // repeated int64 int64_values = 1 [packed = true];
183 int int64_values_size() const;
184 private:
185 int _internal_int64_values_size() const;
186 public:
187 void clear_int64_values();
188 private:
189 ::int64_t _internal_int64_values(int index) const;
190 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
191 _internal_int64_values() const;
192 void _internal_add_int64_values(::int64_t value);
193 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
194 _internal_mutable_int64_values();
195 public:
196 ::int64_t int64_values(int index) const;
197 void set_int64_values(int index, ::int64_t value);
198 void add_int64_values(::int64_t value);
199 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
200 int64_values() const;
201 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
202 mutable_int64_values();
203
204 // repeated double double_values = 2 [packed = true];
205 int double_values_size() const;
206 private:
207 int _internal_double_values_size() const;
208 public:
209 void clear_double_values();
210 private:
211 double _internal_double_values(int index) const;
212 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
213 _internal_double_values() const;
214 void _internal_add_double_values(double value);
215 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
216 _internal_mutable_double_values();
217 public:
218 double double_values(int index) const;
219 void set_double_values(int index, double value);
220 void add_double_values(double value);
221 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
222 double_values() const;
223 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
224 mutable_double_values();
225
226 // repeated bool boolean_values = 3 [packed = true];
227 int boolean_values_size() const;
228 private:
229 int _internal_boolean_values_size() const;
230 public:
231 void clear_boolean_values();
232 private:
233 bool _internal_boolean_values(int index) const;
234 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
235 _internal_boolean_values() const;
236 void _internal_add_boolean_values(bool value);
237 ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
238 _internal_mutable_boolean_values();
239 public:
240 bool boolean_values(int index) const;
241 void set_boolean_values(int index, bool value);
242 void add_boolean_values(bool value);
243 const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
244 boolean_values() const;
245 ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
246 mutable_boolean_values();
247
248 // @@protoc_insertion_point(class_scope:icing.lib.ScorablePropertyProto)
249 private:
250 class _Internal;
251
252 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
253 typedef void InternalArenaConstructable_;
254 typedef void DestructorSkippable_;
255 struct Impl_ {
256 ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t > int64_values_;
257 mutable std::atomic<int> _int64_values_cached_byte_size_;
258 ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > double_values_;
259 ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool > boolean_values_;
260 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
261 };
262 union { Impl_ _impl_; };
263 friend struct ::TableStruct_icing_2fproto_2finternal_2fscorable_5fproperty_5fset_2eproto;
264 };
265 // -------------------------------------------------------------------
266
267 class ScorablePropertySetProto final :
268 public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:icing.lib.ScorablePropertySetProto) */ {
269 public:
ScorablePropertySetProto()270 inline ScorablePropertySetProto() : ScorablePropertySetProto(nullptr) {}
271 ~ScorablePropertySetProto() override;
272 explicit PROTOBUF_CONSTEXPR ScorablePropertySetProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
273
274 ScorablePropertySetProto(const ScorablePropertySetProto& from);
ScorablePropertySetProto(ScorablePropertySetProto && from)275 ScorablePropertySetProto(ScorablePropertySetProto&& from) noexcept
276 : ScorablePropertySetProto() {
277 *this = ::std::move(from);
278 }
279
280 inline ScorablePropertySetProto& operator=(const ScorablePropertySetProto& from) {
281 if (this == &from) return *this;
282 CopyFrom(from);
283 return *this;
284 }
285 inline ScorablePropertySetProto& operator=(ScorablePropertySetProto&& from) noexcept {
286 if (this == &from) return *this;
287 if (GetOwningArena() == from.GetOwningArena()
288 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
289 && GetOwningArena() != nullptr
290 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
291 ) {
292 InternalSwap(&from);
293 } else {
294 CopyFrom(from);
295 }
296 return *this;
297 }
298
unknown_fields()299 inline const std::string& unknown_fields() const {
300 return _internal_metadata_.unknown_fields<std::string>(::PROTOBUF_NAMESPACE_ID::internal::GetEmptyString);
301 }
mutable_unknown_fields()302 inline std::string* mutable_unknown_fields() {
303 return _internal_metadata_.mutable_unknown_fields<std::string>();
304 }
305
default_instance()306 static const ScorablePropertySetProto& default_instance() {
307 return *internal_default_instance();
308 }
internal_default_instance()309 static inline const ScorablePropertySetProto* internal_default_instance() {
310 return reinterpret_cast<const ScorablePropertySetProto*>(
311 &_ScorablePropertySetProto_default_instance_);
312 }
313 static constexpr int kIndexInFileMessages =
314 1;
315
swap(ScorablePropertySetProto & a,ScorablePropertySetProto & b)316 friend void swap(ScorablePropertySetProto& a, ScorablePropertySetProto& b) {
317 a.Swap(&b);
318 }
Swap(ScorablePropertySetProto * other)319 inline void Swap(ScorablePropertySetProto* other) {
320 if (other == this) return;
321 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
322 if (GetOwningArena() != nullptr &&
323 GetOwningArena() == other->GetOwningArena()) {
324 #else // PROTOBUF_FORCE_COPY_IN_SWAP
325 if (GetOwningArena() == other->GetOwningArena()) {
326 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
327 InternalSwap(other);
328 } else {
329 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
330 }
331 }
332 void UnsafeArenaSwap(ScorablePropertySetProto* other) {
333 if (other == this) return;
334 GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
335 InternalSwap(other);
336 }
337
338 // implements Message ----------------------------------------------
339
340 ScorablePropertySetProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
341 return CreateMaybeMessage<ScorablePropertySetProto>(arena);
342 }
343 ScorablePropertySetProto* New() const {
344 return New(nullptr);
345 }
346 void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from) final;
347 void CopyFrom(const ScorablePropertySetProto& from);
348 void MergeFrom(const ScorablePropertySetProto& from);
349 PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
350 bool IsInitialized() const final;
351
352 size_t ByteSizeLong() const final;
353 const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
354 ::uint8_t* _InternalSerialize(
355 ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
356 int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
357
358 private:
359 void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
360 void SharedDtor();
361 void SetCachedSize(int size) const;
362 void InternalSwap(ScorablePropertySetProto* other);
363
364 private:
365 friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
366 static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
367 return "icing.lib.ScorablePropertySetProto";
368 }
369 protected:
370 explicit ScorablePropertySetProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
371 bool is_message_owned = false);
372 public:
373
374 std::string GetTypeName() const final;
375
376 // nested types ----------------------------------------------------
377
378 // accessors -------------------------------------------------------
379
380 enum : int {
381 kPropertiesFieldNumber = 1,
382 };
383 // repeated .icing.lib.ScorablePropertyProto properties = 1;
384 int properties_size() const;
385 private:
386 int _internal_properties_size() const;
387 public:
388 void clear_properties();
389 ::icing::lib::ScorablePropertyProto* mutable_properties(int index);
390 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::icing::lib::ScorablePropertyProto >*
391 mutable_properties();
392 private:
393 const ::icing::lib::ScorablePropertyProto& _internal_properties(int index) const;
394 ::icing::lib::ScorablePropertyProto* _internal_add_properties();
395 public:
396 const ::icing::lib::ScorablePropertyProto& properties(int index) const;
397 ::icing::lib::ScorablePropertyProto* add_properties();
398 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::icing::lib::ScorablePropertyProto >&
399 properties() const;
400
401 // @@protoc_insertion_point(class_scope:icing.lib.ScorablePropertySetProto)
402 private:
403 class _Internal;
404
405 template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
406 typedef void InternalArenaConstructable_;
407 typedef void DestructorSkippable_;
408 struct Impl_ {
409 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::icing::lib::ScorablePropertyProto > properties_;
410 mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
411 };
412 union { Impl_ _impl_; };
413 friend struct ::TableStruct_icing_2fproto_2finternal_2fscorable_5fproperty_5fset_2eproto;
414 };
415 // ===================================================================
416
417
418 // ===================================================================
419
420 #ifdef __GNUC__
421 #pragma GCC diagnostic push
422 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
423 #endif // __GNUC__
424 // ScorablePropertyProto
425
426 // repeated int64 int64_values = 1 [packed = true];
_internal_int64_values_size()427 inline int ScorablePropertyProto::_internal_int64_values_size() const {
428 return _impl_.int64_values_.size();
429 }
int64_values_size()430 inline int ScorablePropertyProto::int64_values_size() const {
431 return _internal_int64_values_size();
432 }
clear_int64_values()433 inline void ScorablePropertyProto::clear_int64_values() {
434 _impl_.int64_values_.Clear();
435 }
_internal_int64_values(int index)436 inline ::int64_t ScorablePropertyProto::_internal_int64_values(int index) const {
437 return _impl_.int64_values_.Get(index);
438 }
int64_values(int index)439 inline ::int64_t ScorablePropertyProto::int64_values(int index) const {
440 // @@protoc_insertion_point(field_get:icing.lib.ScorablePropertyProto.int64_values)
441 return _internal_int64_values(index);
442 }
set_int64_values(int index,::int64_t value)443 inline void ScorablePropertyProto::set_int64_values(int index, ::int64_t value) {
444 _impl_.int64_values_.Set(index, value);
445 // @@protoc_insertion_point(field_set:icing.lib.ScorablePropertyProto.int64_values)
446 }
_internal_add_int64_values(::int64_t value)447 inline void ScorablePropertyProto::_internal_add_int64_values(::int64_t value) {
448 _impl_.int64_values_.Add(value);
449 }
add_int64_values(::int64_t value)450 inline void ScorablePropertyProto::add_int64_values(::int64_t value) {
451 _internal_add_int64_values(value);
452 // @@protoc_insertion_point(field_add:icing.lib.ScorablePropertyProto.int64_values)
453 }
454 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
_internal_int64_values()455 ScorablePropertyProto::_internal_int64_values() const {
456 return _impl_.int64_values_;
457 }
458 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
int64_values()459 ScorablePropertyProto::int64_values() const {
460 // @@protoc_insertion_point(field_list:icing.lib.ScorablePropertyProto.int64_values)
461 return _internal_int64_values();
462 }
463 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
_internal_mutable_int64_values()464 ScorablePropertyProto::_internal_mutable_int64_values() {
465 return &_impl_.int64_values_;
466 }
467 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
mutable_int64_values()468 ScorablePropertyProto::mutable_int64_values() {
469 // @@protoc_insertion_point(field_mutable_list:icing.lib.ScorablePropertyProto.int64_values)
470 return _internal_mutable_int64_values();
471 }
472
473 // repeated double double_values = 2 [packed = true];
_internal_double_values_size()474 inline int ScorablePropertyProto::_internal_double_values_size() const {
475 return _impl_.double_values_.size();
476 }
double_values_size()477 inline int ScorablePropertyProto::double_values_size() const {
478 return _internal_double_values_size();
479 }
clear_double_values()480 inline void ScorablePropertyProto::clear_double_values() {
481 _impl_.double_values_.Clear();
482 }
_internal_double_values(int index)483 inline double ScorablePropertyProto::_internal_double_values(int index) const {
484 return _impl_.double_values_.Get(index);
485 }
double_values(int index)486 inline double ScorablePropertyProto::double_values(int index) const {
487 // @@protoc_insertion_point(field_get:icing.lib.ScorablePropertyProto.double_values)
488 return _internal_double_values(index);
489 }
set_double_values(int index,double value)490 inline void ScorablePropertyProto::set_double_values(int index, double value) {
491 _impl_.double_values_.Set(index, value);
492 // @@protoc_insertion_point(field_set:icing.lib.ScorablePropertyProto.double_values)
493 }
_internal_add_double_values(double value)494 inline void ScorablePropertyProto::_internal_add_double_values(double value) {
495 _impl_.double_values_.Add(value);
496 }
add_double_values(double value)497 inline void ScorablePropertyProto::add_double_values(double value) {
498 _internal_add_double_values(value);
499 // @@protoc_insertion_point(field_add:icing.lib.ScorablePropertyProto.double_values)
500 }
501 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
_internal_double_values()502 ScorablePropertyProto::_internal_double_values() const {
503 return _impl_.double_values_;
504 }
505 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
double_values()506 ScorablePropertyProto::double_values() const {
507 // @@protoc_insertion_point(field_list:icing.lib.ScorablePropertyProto.double_values)
508 return _internal_double_values();
509 }
510 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
_internal_mutable_double_values()511 ScorablePropertyProto::_internal_mutable_double_values() {
512 return &_impl_.double_values_;
513 }
514 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
mutable_double_values()515 ScorablePropertyProto::mutable_double_values() {
516 // @@protoc_insertion_point(field_mutable_list:icing.lib.ScorablePropertyProto.double_values)
517 return _internal_mutable_double_values();
518 }
519
520 // repeated bool boolean_values = 3 [packed = true];
_internal_boolean_values_size()521 inline int ScorablePropertyProto::_internal_boolean_values_size() const {
522 return _impl_.boolean_values_.size();
523 }
boolean_values_size()524 inline int ScorablePropertyProto::boolean_values_size() const {
525 return _internal_boolean_values_size();
526 }
clear_boolean_values()527 inline void ScorablePropertyProto::clear_boolean_values() {
528 _impl_.boolean_values_.Clear();
529 }
_internal_boolean_values(int index)530 inline bool ScorablePropertyProto::_internal_boolean_values(int index) const {
531 return _impl_.boolean_values_.Get(index);
532 }
boolean_values(int index)533 inline bool ScorablePropertyProto::boolean_values(int index) const {
534 // @@protoc_insertion_point(field_get:icing.lib.ScorablePropertyProto.boolean_values)
535 return _internal_boolean_values(index);
536 }
set_boolean_values(int index,bool value)537 inline void ScorablePropertyProto::set_boolean_values(int index, bool value) {
538 _impl_.boolean_values_.Set(index, value);
539 // @@protoc_insertion_point(field_set:icing.lib.ScorablePropertyProto.boolean_values)
540 }
_internal_add_boolean_values(bool value)541 inline void ScorablePropertyProto::_internal_add_boolean_values(bool value) {
542 _impl_.boolean_values_.Add(value);
543 }
add_boolean_values(bool value)544 inline void ScorablePropertyProto::add_boolean_values(bool value) {
545 _internal_add_boolean_values(value);
546 // @@protoc_insertion_point(field_add:icing.lib.ScorablePropertyProto.boolean_values)
547 }
548 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
_internal_boolean_values()549 ScorablePropertyProto::_internal_boolean_values() const {
550 return _impl_.boolean_values_;
551 }
552 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
boolean_values()553 ScorablePropertyProto::boolean_values() const {
554 // @@protoc_insertion_point(field_list:icing.lib.ScorablePropertyProto.boolean_values)
555 return _internal_boolean_values();
556 }
557 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
_internal_mutable_boolean_values()558 ScorablePropertyProto::_internal_mutable_boolean_values() {
559 return &_impl_.boolean_values_;
560 }
561 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
mutable_boolean_values()562 ScorablePropertyProto::mutable_boolean_values() {
563 // @@protoc_insertion_point(field_mutable_list:icing.lib.ScorablePropertyProto.boolean_values)
564 return _internal_mutable_boolean_values();
565 }
566
567 // -------------------------------------------------------------------
568
569 // ScorablePropertySetProto
570
571 // repeated .icing.lib.ScorablePropertyProto properties = 1;
_internal_properties_size()572 inline int ScorablePropertySetProto::_internal_properties_size() const {
573 return _impl_.properties_.size();
574 }
properties_size()575 inline int ScorablePropertySetProto::properties_size() const {
576 return _internal_properties_size();
577 }
clear_properties()578 inline void ScorablePropertySetProto::clear_properties() {
579 _impl_.properties_.Clear();
580 }
mutable_properties(int index)581 inline ::icing::lib::ScorablePropertyProto* ScorablePropertySetProto::mutable_properties(int index) {
582 // @@protoc_insertion_point(field_mutable:icing.lib.ScorablePropertySetProto.properties)
583 return _impl_.properties_.Mutable(index);
584 }
585 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::icing::lib::ScorablePropertyProto >*
mutable_properties()586 ScorablePropertySetProto::mutable_properties() {
587 // @@protoc_insertion_point(field_mutable_list:icing.lib.ScorablePropertySetProto.properties)
588 return &_impl_.properties_;
589 }
_internal_properties(int index)590 inline const ::icing::lib::ScorablePropertyProto& ScorablePropertySetProto::_internal_properties(int index) const {
591 return _impl_.properties_.Get(index);
592 }
properties(int index)593 inline const ::icing::lib::ScorablePropertyProto& ScorablePropertySetProto::properties(int index) const {
594 // @@protoc_insertion_point(field_get:icing.lib.ScorablePropertySetProto.properties)
595 return _internal_properties(index);
596 }
_internal_add_properties()597 inline ::icing::lib::ScorablePropertyProto* ScorablePropertySetProto::_internal_add_properties() {
598 return _impl_.properties_.Add();
599 }
add_properties()600 inline ::icing::lib::ScorablePropertyProto* ScorablePropertySetProto::add_properties() {
601 ::icing::lib::ScorablePropertyProto* _add = _internal_add_properties();
602 // @@protoc_insertion_point(field_add:icing.lib.ScorablePropertySetProto.properties)
603 return _add;
604 }
605 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::icing::lib::ScorablePropertyProto >&
properties()606 ScorablePropertySetProto::properties() const {
607 // @@protoc_insertion_point(field_list:icing.lib.ScorablePropertySetProto.properties)
608 return _impl_.properties_;
609 }
610
611 #ifdef __GNUC__
612 #pragma GCC diagnostic pop
613 #endif // __GNUC__
614 // -------------------------------------------------------------------
615
616
617 // @@protoc_insertion_point(namespace_scope)
618
619 } // namespace lib
620 } // namespace icing
621
622 // @@protoc_insertion_point(global_scope)
623
624 #include <google/protobuf/port_undef.inc>
625 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_icing_2fproto_2finternal_2fscorable_5fproperty_5fset_2eproto
626