Shaka Player Embedded
database.pb.h
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: shaka/src/js/idb/database.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_shaka_2fsrc_2fjs_2fidb_2fdatabase_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_shaka_2fsrc_2fjs_2fidb_2fdatabase_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3009000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3009002 < PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21 
22 #include <google/protobuf/port_undef.inc>
23 #include <google/protobuf/io/coded_stream.h>
24 #include <google/protobuf/arena.h>
25 #include <google/protobuf/arenastring.h>
26 #include <google/protobuf/generated_message_table_driven.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/inlined_string_field.h>
29 #include <google/protobuf/metadata_lite.h>
30 #include <google/protobuf/message_lite.h>
31 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
32 #include <google/protobuf/extension_set.h> // IWYU pragma: export
33 #include <google/protobuf/generated_enum_util.h>
34 // @@protoc_insertion_point(includes)
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_shaka_2fsrc_2fjs_2fidb_2fdatabase_2eproto
37 PROTOBUF_NAMESPACE_OPEN
38 namespace internal {
39 class AnyMetadata;
40 } // namespace internal
41 PROTOBUF_NAMESPACE_CLOSE
42 
43 // Internal implementation detail -- do not use these members.
45  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
46  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
47  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
48  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
49  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
50  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
51  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
52  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
53  static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
54 };
55 namespace shaka {
56 namespace proto {
57 class Object;
60 class Object_Entry;
63 class Value;
66 } // namespace proto
67 } // namespace shaka
68 PROTOBUF_NAMESPACE_OPEN
69 template<> ::shaka::proto::Object* Arena::CreateMaybeMessage<::shaka::proto::Object>(Arena*);
70 template<> ::shaka::proto::Object_Entry* Arena::CreateMaybeMessage<::shaka::proto::Object_Entry>(Arena*);
71 template<> ::shaka::proto::Value* Arena::CreateMaybeMessage<::shaka::proto::Value>(Arena*);
72 PROTOBUF_NAMESPACE_CLOSE
73 namespace shaka {
74 namespace proto {
75 
76 enum ValueType : int {
77  Unknown = 0,
78  Undefined = 1,
79  Null = 2,
80  Boolean = 3,
81  Number = 4,
82  String = 5,
83  Symbol = 6,
84  Function = 7,
85  Array = 8,
86  Promise = 9,
91  Int8Array = 14,
92  Uint8Array = 15,
94  Int16Array = 17,
96  Int32Array = 19,
100  DataView = 23,
102 };
103 bool ValueType_IsValid(int value);
106 constexpr int ValueType_ARRAYSIZE = ValueType_MAX + 1;
107 
108 const std::string& ValueType_Name(ValueType value);
109 template<typename T>
110 inline const std::string& ValueType_Name(T enum_t_value) {
111  static_assert(::std::is_same<T, ValueType>::value ||
112  ::std::is_integral<T>::value,
113  "Incorrect type passed to function ValueType_Name.");
114  return ValueType_Name(static_cast<ValueType>(enum_t_value));
115 }
116 bool ValueType_Parse(
117  const std::string& name, ValueType* value);
118 // ===================================================================
119 
121  public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:shaka.proto.Object.Entry) */ {
122  public:
123  Object_Entry();
124  virtual ~Object_Entry();
125 
126  Object_Entry(const Object_Entry& from);
127  Object_Entry(Object_Entry&& from) noexcept
128  : Object_Entry() {
129  *this = ::std::move(from);
130  }
131 
132  inline Object_Entry& operator=(const Object_Entry& from) {
133  CopyFrom(from);
134  return *this;
135  }
136  inline Object_Entry& operator=(Object_Entry&& from) noexcept {
137  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
138  if (this != &from) InternalSwap(&from);
139  } else {
140  CopyFrom(from);
141  }
142  return *this;
143  }
144 
145  inline const std::string& unknown_fields() const {
146  return _internal_metadata_.unknown_fields();
147  }
148  inline std::string* mutable_unknown_fields() {
149  return _internal_metadata_.mutable_unknown_fields();
150  }
151 
152  static const Object_Entry& default_instance();
153 
154  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
155  static inline const Object_Entry* internal_default_instance() {
156  return reinterpret_cast<const Object_Entry*>(
158  }
159  static constexpr int kIndexInFileMessages =
160  0;
161 
162  friend void swap(Object_Entry& a, Object_Entry& b) {
163  a.Swap(&b);
164  }
165  inline void Swap(Object_Entry* other) {
166  if (other == this) return;
167  InternalSwap(other);
168  }
169 
170  // implements Message ----------------------------------------------
171 
172  inline Object_Entry* New() const final {
173  return CreateMaybeMessage<Object_Entry>(nullptr);
174  }
175 
176  Object_Entry* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
177  return CreateMaybeMessage<Object_Entry>(arena);
178  }
179  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
180  final;
181  void CopyFrom(const Object_Entry& from);
182  void MergeFrom(const Object_Entry& from);
183  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
184  bool IsInitialized() const final;
185 
186  size_t ByteSizeLong() const final;
187  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
188  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
189  #else
190  bool MergePartialFromCodedStream(
191  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
192  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
193  void SerializeWithCachedSizes(
194  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
195  void DiscardUnknownFields();
196  int GetCachedSize() const final { return _cached_size_.Get(); }
197 
198  private:
199  inline void SharedCtor();
200  inline void SharedDtor();
201  void SetCachedSize(int size) const;
202  void InternalSwap(Object_Entry* other);
203  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
204  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
205  return "shaka.proto.Object.Entry";
206  }
207  private:
208  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
209  return nullptr;
210  }
211  inline void* MaybeArenaPtr() const {
212  return nullptr;
213  }
214  public:
215 
216  std::string GetTypeName() const final;
217 
218  // nested types ----------------------------------------------------
219 
220  // accessors -------------------------------------------------------
221 
222  enum : int {
223  kKeyFieldNumber = 1,
224  kValueFieldNumber = 2,
225  };
226  // required string key = 1;
227  bool has_key() const;
228  void clear_key();
229  const std::string& key() const;
230  void set_key(const std::string& value);
231  void set_key(std::string&& value);
232  void set_key(const char* value);
233  void set_key(const char* value, size_t size);
234  std::string* mutable_key();
235  std::string* release_key();
236  void set_allocated_key(std::string* key);
237 
238  // required .shaka.proto.Value value = 2;
239  bool has_value() const;
240  void clear_value();
241  const ::shaka::proto::Value& value() const;
242  ::shaka::proto::Value* release_value();
243  ::shaka::proto::Value* mutable_value();
244  void set_allocated_value(::shaka::proto::Value* value);
245 
246  // @@protoc_insertion_point(class_scope:shaka.proto.Object.Entry)
247  private:
248  class _Internal;
249 
250  // helper for ByteSizeLong()
251  size_t RequiredFieldsByteSizeFallback() const;
252 
253  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
254  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
255  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
256  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr key_;
257  ::shaka::proto::Value* value_;
258  friend struct ::TableStruct_shaka_2fsrc_2fjs_2fidb_2fdatabase_2eproto;
259 };
260 // -------------------------------------------------------------------
261 
262 class Object :
263  public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:shaka.proto.Object) */ {
264  public:
265  Object();
266  virtual ~Object();
267 
268  Object(const Object& from);
269  Object(Object&& from) noexcept
270  : Object() {
271  *this = ::std::move(from);
272  }
273 
274  inline Object& operator=(const Object& from) {
275  CopyFrom(from);
276  return *this;
277  }
278  inline Object& operator=(Object&& from) noexcept {
279  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
280  if (this != &from) InternalSwap(&from);
281  } else {
282  CopyFrom(from);
283  }
284  return *this;
285  }
286 
287  inline const std::string& unknown_fields() const {
288  return _internal_metadata_.unknown_fields();
289  }
290  inline std::string* mutable_unknown_fields() {
291  return _internal_metadata_.mutable_unknown_fields();
292  }
293 
294  static const Object& default_instance();
295 
296  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
297  static inline const Object* internal_default_instance() {
298  return reinterpret_cast<const Object*>(
300  }
301  static constexpr int kIndexInFileMessages =
302  1;
303 
304  friend void swap(Object& a, Object& b) {
305  a.Swap(&b);
306  }
307  inline void Swap(Object* other) {
308  if (other == this) return;
309  InternalSwap(other);
310  }
311 
312  // implements Message ----------------------------------------------
313 
314  inline Object* New() const final {
315  return CreateMaybeMessage<Object>(nullptr);
316  }
317 
318  Object* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
319  return CreateMaybeMessage<Object>(arena);
320  }
321  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
322  final;
323  void CopyFrom(const Object& from);
324  void MergeFrom(const Object& from);
325  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
326  bool IsInitialized() const final;
327 
328  size_t ByteSizeLong() const final;
329  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
330  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
331  #else
332  bool MergePartialFromCodedStream(
333  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
334  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
335  void SerializeWithCachedSizes(
336  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
337  void DiscardUnknownFields();
338  int GetCachedSize() const final { return _cached_size_.Get(); }
339 
340  private:
341  inline void SharedCtor();
342  inline void SharedDtor();
343  void SetCachedSize(int size) const;
344  void InternalSwap(Object* other);
345  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
346  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
347  return "shaka.proto.Object";
348  }
349  private:
350  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
351  return nullptr;
352  }
353  inline void* MaybeArenaPtr() const {
354  return nullptr;
355  }
356  public:
357 
358  std::string GetTypeName() const final;
359 
360  // nested types ----------------------------------------------------
361 
363 
364  // accessors -------------------------------------------------------
365 
366  enum : int {
367  kEntriesFieldNumber = 1,
368  kArrayLengthFieldNumber = 2,
369  };
370  // repeated .shaka.proto.Object.Entry entries = 1;
371  int entries_size() const;
372  void clear_entries();
373  ::shaka::proto::Object_Entry* mutable_entries(int index);
374  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::shaka::proto::Object_Entry >*
375  mutable_entries();
376  const ::shaka::proto::Object_Entry& entries(int index) const;
377  ::shaka::proto::Object_Entry* add_entries();
378  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::shaka::proto::Object_Entry >&
379  entries() const;
380 
381  // optional uint32 array_length = 2;
382  bool has_array_length() const;
383  void clear_array_length();
384  ::PROTOBUF_NAMESPACE_ID::uint32 array_length() const;
385  void set_array_length(::PROTOBUF_NAMESPACE_ID::uint32 value);
386 
387  // @@protoc_insertion_point(class_scope:shaka.proto.Object)
388  private:
389  class _Internal;
390 
391  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
392  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
393  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
394  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::shaka::proto::Object_Entry > entries_;
395  ::PROTOBUF_NAMESPACE_ID::uint32 array_length_;
396  friend struct ::TableStruct_shaka_2fsrc_2fjs_2fidb_2fdatabase_2eproto;
397 };
398 // -------------------------------------------------------------------
399 
400 class Value :
401  public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:shaka.proto.Value) */ {
402  public:
403  Value();
404  virtual ~Value();
405 
406  Value(const Value& from);
407  Value(Value&& from) noexcept
408  : Value() {
409  *this = ::std::move(from);
410  }
411 
412  inline Value& operator=(const Value& from) {
413  CopyFrom(from);
414  return *this;
415  }
416  inline Value& operator=(Value&& from) noexcept {
417  if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
418  if (this != &from) InternalSwap(&from);
419  } else {
420  CopyFrom(from);
421  }
422  return *this;
423  }
424 
425  inline const std::string& unknown_fields() const {
426  return _internal_metadata_.unknown_fields();
427  }
428  inline std::string* mutable_unknown_fields() {
429  return _internal_metadata_.mutable_unknown_fields();
430  }
431 
432  static const Value& default_instance();
433 
434  enum ValueCase {
435  kValueBool = 2,
436  kValueNumber = 3,
437  kValueString = 4,
438  kValueObject = 5,
439  kValueBytes = 6,
440  VALUE_NOT_SET = 0,
441  };
442 
443  static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
444  static inline const Value* internal_default_instance() {
445  return reinterpret_cast<const Value*>(
447  }
448  static constexpr int kIndexInFileMessages =
449  2;
450 
451  friend void swap(Value& a, Value& b) {
452  a.Swap(&b);
453  }
454  inline void Swap(Value* other) {
455  if (other == this) return;
456  InternalSwap(other);
457  }
458 
459  // implements Message ----------------------------------------------
460 
461  inline Value* New() const final {
462  return CreateMaybeMessage<Value>(nullptr);
463  }
464 
465  Value* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
466  return CreateMaybeMessage<Value>(arena);
467  }
468  void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)
469  final;
470  void CopyFrom(const Value& from);
471  void MergeFrom(const Value& from);
472  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
473  bool IsInitialized() const final;
474 
475  size_t ByteSizeLong() const final;
476  #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
477  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
478  #else
479  bool MergePartialFromCodedStream(
480  ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final;
481  #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER
482  void SerializeWithCachedSizes(
483  ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final;
484  void DiscardUnknownFields();
485  int GetCachedSize() const final { return _cached_size_.Get(); }
486 
487  private:
488  inline void SharedCtor();
489  inline void SharedDtor();
490  void SetCachedSize(int size) const;
491  void InternalSwap(Value* other);
492  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
493  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
494  return "shaka.proto.Value";
495  }
496  private:
497  inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const {
498  return nullptr;
499  }
500  inline void* MaybeArenaPtr() const {
501  return nullptr;
502  }
503  public:
504 
505  std::string GetTypeName() const final;
506 
507  // nested types ----------------------------------------------------
508 
509  // accessors -------------------------------------------------------
510 
511  enum : int {
512  kKindFieldNumber = 1,
513  kValueBoolFieldNumber = 2,
514  kValueNumberFieldNumber = 3,
515  kValueStringFieldNumber = 4,
516  kValueObjectFieldNumber = 5,
517  kValueBytesFieldNumber = 6,
518  };
519  // required .shaka.proto.ValueType kind = 1;
520  bool has_kind() const;
521  void clear_kind();
522  ::shaka::proto::ValueType kind() const;
523  void set_kind(::shaka::proto::ValueType value);
524 
525  // optional bool value_bool = 2;
526  bool has_value_bool() const;
527  void clear_value_bool();
528  bool value_bool() const;
529  void set_value_bool(bool value);
530 
531  // optional double value_number = 3;
532  bool has_value_number() const;
533  void clear_value_number();
534  double value_number() const;
535  void set_value_number(double value);
536 
537  // optional string value_string = 4;
538  bool has_value_string() const;
539  void clear_value_string();
540  const std::string& value_string() const;
541  void set_value_string(const std::string& value);
542  void set_value_string(std::string&& value);
543  void set_value_string(const char* value);
544  void set_value_string(const char* value, size_t size);
545  std::string* mutable_value_string();
546  std::string* release_value_string();
547  void set_allocated_value_string(std::string* value_string);
548 
549  // optional .shaka.proto.Object value_object = 5;
550  bool has_value_object() const;
551  void clear_value_object();
552  const ::shaka::proto::Object& value_object() const;
553  ::shaka::proto::Object* release_value_object();
554  ::shaka::proto::Object* mutable_value_object();
555  void set_allocated_value_object(::shaka::proto::Object* value_object);
556 
557  // optional bytes value_bytes = 6;
558  bool has_value_bytes() const;
559  void clear_value_bytes();
560  const std::string& value_bytes() const;
561  void set_value_bytes(const std::string& value);
562  void set_value_bytes(std::string&& value);
563  void set_value_bytes(const char* value);
564  void set_value_bytes(const void* value, size_t size);
565  std::string* mutable_value_bytes();
566  std::string* release_value_bytes();
567  void set_allocated_value_bytes(std::string* value_bytes);
568 
569  void clear_value();
570  ValueCase value_case() const;
571  // @@protoc_insertion_point(class_scope:shaka.proto.Value)
572  private:
573  class _Internal;
574  void set_has_value_bool();
575  void set_has_value_number();
576  void set_has_value_string();
577  void set_has_value_object();
578  void set_has_value_bytes();
579 
580  inline bool has_value() const;
581  inline void clear_has_value();
582 
583  ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArenaLite _internal_metadata_;
584  ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_;
585  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
586  int kind_;
587  union ValueUnion {
588  ValueUnion() {}
589  bool value_bool_;
590  double value_number_;
591  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_string_;
592  ::shaka::proto::Object* value_object_;
593  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr value_bytes_;
594  } value_;
595  ::PROTOBUF_NAMESPACE_ID::uint32 _oneof_case_[1];
596 
597  friend struct ::TableStruct_shaka_2fsrc_2fjs_2fidb_2fdatabase_2eproto;
598 };
599 // ===================================================================
600 
601 
602 // ===================================================================
603 
604 #ifdef __GNUC__
605  #pragma GCC diagnostic push
606  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
607 #endif // __GNUC__
608 // Object_Entry
609 
610 // required string key = 1;
611 inline bool Object_Entry::has_key() const {
612  return (_has_bits_[0] & 0x00000001u) != 0;
613 }
614 inline void Object_Entry::clear_key() {
615  key_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
616  _has_bits_[0] &= ~0x00000001u;
617 }
618 inline const std::string& Object_Entry::key() const {
619  // @@protoc_insertion_point(field_get:shaka.proto.Object.Entry.key)
620  return key_.GetNoArena();
621 }
622 inline void Object_Entry::set_key(const std::string& value) {
623  _has_bits_[0] |= 0x00000001u;
624  key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
625  // @@protoc_insertion_point(field_set:shaka.proto.Object.Entry.key)
626 }
627 inline void Object_Entry::set_key(std::string&& value) {
628  _has_bits_[0] |= 0x00000001u;
629  key_.SetNoArena(
630  &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
631  // @@protoc_insertion_point(field_set_rvalue:shaka.proto.Object.Entry.key)
632 }
633 inline void Object_Entry::set_key(const char* value) {
634  GOOGLE_DCHECK(value != nullptr);
635  _has_bits_[0] |= 0x00000001u;
636  key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
637  // @@protoc_insertion_point(field_set_char:shaka.proto.Object.Entry.key)
638 }
639 inline void Object_Entry::set_key(const char* value, size_t size) {
640  _has_bits_[0] |= 0x00000001u;
641  key_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
642  ::std::string(reinterpret_cast<const char*>(value), size));
643  // @@protoc_insertion_point(field_set_pointer:shaka.proto.Object.Entry.key)
644 }
645 inline std::string* Object_Entry::mutable_key() {
646  _has_bits_[0] |= 0x00000001u;
647  // @@protoc_insertion_point(field_mutable:shaka.proto.Object.Entry.key)
648  return key_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
649 }
650 inline std::string* Object_Entry::release_key() {
651  // @@protoc_insertion_point(field_release:shaka.proto.Object.Entry.key)
652  if (!has_key()) {
653  return nullptr;
654  }
655  _has_bits_[0] &= ~0x00000001u;
656  return key_.ReleaseNonDefaultNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
657 }
658 inline void Object_Entry::set_allocated_key(std::string* key) {
659  if (key != nullptr) {
660  _has_bits_[0] |= 0x00000001u;
661  } else {
662  _has_bits_[0] &= ~0x00000001u;
663  }
664  key_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), key);
665  // @@protoc_insertion_point(field_set_allocated:shaka.proto.Object.Entry.key)
666 }
667 
668 // required .shaka.proto.Value value = 2;
669 inline bool Object_Entry::has_value() const {
670  return (_has_bits_[0] & 0x00000002u) != 0;
671 }
672 inline void Object_Entry::clear_value() {
673  if (value_ != nullptr) value_->Clear();
674  _has_bits_[0] &= ~0x00000002u;
675 }
676 inline const ::shaka::proto::Value& Object_Entry::value() const {
677  const ::shaka::proto::Value* p = value_;
678  // @@protoc_insertion_point(field_get:shaka.proto.Object.Entry.value)
679  return p != nullptr ? *p : *reinterpret_cast<const ::shaka::proto::Value*>(
681 }
682 inline ::shaka::proto::Value* Object_Entry::release_value() {
683  // @@protoc_insertion_point(field_release:shaka.proto.Object.Entry.value)
684  _has_bits_[0] &= ~0x00000002u;
685  ::shaka::proto::Value* temp = value_;
686  value_ = nullptr;
687  return temp;
688 }
689 inline ::shaka::proto::Value* Object_Entry::mutable_value() {
690  _has_bits_[0] |= 0x00000002u;
691  if (value_ == nullptr) {
692  auto* p = CreateMaybeMessage<::shaka::proto::Value>(GetArenaNoVirtual());
693  value_ = p;
694  }
695  // @@protoc_insertion_point(field_mutable:shaka.proto.Object.Entry.value)
696  return value_;
697 }
698 inline void Object_Entry::set_allocated_value(::shaka::proto::Value* value) {
699  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual();
700  if (message_arena == nullptr) {
701  delete value_;
702  }
703  if (value) {
704  ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr;
705  if (message_arena != submessage_arena) {
706  value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
707  message_arena, value, submessage_arena);
708  }
709  _has_bits_[0] |= 0x00000002u;
710  } else {
711  _has_bits_[0] &= ~0x00000002u;
712  }
713  value_ = value;
714  // @@protoc_insertion_point(field_set_allocated:shaka.proto.Object.Entry.value)
715 }
716 
717 // -------------------------------------------------------------------
718 
719 // Object
720 
721 // repeated .shaka.proto.Object.Entry entries = 1;
722 inline int Object::entries_size() const {
723  return entries_.size();
724 }
725 inline void Object::clear_entries() {
726  entries_.Clear();
727 }
728 inline ::shaka::proto::Object_Entry* Object::mutable_entries(int index) {
729  // @@protoc_insertion_point(field_mutable:shaka.proto.Object.entries)
730  return entries_.Mutable(index);
731 }
732 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::shaka::proto::Object_Entry >*
733 Object::mutable_entries() {
734  // @@protoc_insertion_point(field_mutable_list:shaka.proto.Object.entries)
735  return &entries_;
736 }
737 inline const ::shaka::proto::Object_Entry& Object::entries(int index) const {
738  // @@protoc_insertion_point(field_get:shaka.proto.Object.entries)
739  return entries_.Get(index);
740 }
741 inline ::shaka::proto::Object_Entry* Object::add_entries() {
742  // @@protoc_insertion_point(field_add:shaka.proto.Object.entries)
743  return entries_.Add();
744 }
745 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::shaka::proto::Object_Entry >&
746 Object::entries() const {
747  // @@protoc_insertion_point(field_list:shaka.proto.Object.entries)
748  return entries_;
749 }
750 
751 // optional uint32 array_length = 2;
752 inline bool Object::has_array_length() const {
753  return (_has_bits_[0] & 0x00000001u) != 0;
754 }
755 inline void Object::clear_array_length() {
756  array_length_ = 0u;
757  _has_bits_[0] &= ~0x00000001u;
758 }
759 inline ::PROTOBUF_NAMESPACE_ID::uint32 Object::array_length() const {
760  // @@protoc_insertion_point(field_get:shaka.proto.Object.array_length)
761  return array_length_;
762 }
763 inline void Object::set_array_length(::PROTOBUF_NAMESPACE_ID::uint32 value) {
764  _has_bits_[0] |= 0x00000001u;
765  array_length_ = value;
766  // @@protoc_insertion_point(field_set:shaka.proto.Object.array_length)
767 }
768 
769 // -------------------------------------------------------------------
770 
771 // Value
772 
773 // required .shaka.proto.ValueType kind = 1;
774 inline bool Value::has_kind() const {
775  return (_has_bits_[0] & 0x00000001u) != 0;
776 }
777 inline void Value::clear_kind() {
778  kind_ = 0;
779  _has_bits_[0] &= ~0x00000001u;
780 }
781 inline ::shaka::proto::ValueType Value::kind() const {
782  // @@protoc_insertion_point(field_get:shaka.proto.Value.kind)
783  return static_cast< ::shaka::proto::ValueType >(kind_);
784 }
785 inline void Value::set_kind(::shaka::proto::ValueType value) {
786  assert(::shaka::proto::ValueType_IsValid(value));
787  _has_bits_[0] |= 0x00000001u;
788  kind_ = value;
789  // @@protoc_insertion_point(field_set:shaka.proto.Value.kind)
790 }
791 
792 // optional bool value_bool = 2;
793 inline bool Value::has_value_bool() const {
794  return value_case() == kValueBool;
795 }
796 inline void Value::set_has_value_bool() {
797  _oneof_case_[0] = kValueBool;
798 }
799 inline void Value::clear_value_bool() {
800  if (has_value_bool()) {
801  value_.value_bool_ = false;
802  clear_has_value();
803  }
804 }
805 inline bool Value::value_bool() const {
806  // @@protoc_insertion_point(field_get:shaka.proto.Value.value_bool)
807  if (has_value_bool()) {
808  return value_.value_bool_;
809  }
810  return false;
811 }
812 inline void Value::set_value_bool(bool value) {
813  if (!has_value_bool()) {
814  clear_value();
815  set_has_value_bool();
816  }
817  value_.value_bool_ = value;
818  // @@protoc_insertion_point(field_set:shaka.proto.Value.value_bool)
819 }
820 
821 // optional double value_number = 3;
822 inline bool Value::has_value_number() const {
823  return value_case() == kValueNumber;
824 }
825 inline void Value::set_has_value_number() {
826  _oneof_case_[0] = kValueNumber;
827 }
828 inline void Value::clear_value_number() {
829  if (has_value_number()) {
830  value_.value_number_ = 0;
831  clear_has_value();
832  }
833 }
834 inline double Value::value_number() const {
835  // @@protoc_insertion_point(field_get:shaka.proto.Value.value_number)
836  if (has_value_number()) {
837  return value_.value_number_;
838  }
839  return 0;
840 }
841 inline void Value::set_value_number(double value) {
842  if (!has_value_number()) {
843  clear_value();
844  set_has_value_number();
845  }
846  value_.value_number_ = value;
847  // @@protoc_insertion_point(field_set:shaka.proto.Value.value_number)
848 }
849 
850 // optional string value_string = 4;
851 inline bool Value::has_value_string() const {
852  return value_case() == kValueString;
853 }
854 inline void Value::set_has_value_string() {
855  _oneof_case_[0] = kValueString;
856 }
857 inline void Value::clear_value_string() {
858  if (has_value_string()) {
859  value_.value_string_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
860  clear_has_value();
861  }
862 }
863 inline const std::string& Value::value_string() const {
864  // @@protoc_insertion_point(field_get:shaka.proto.Value.value_string)
865  if (has_value_string()) {
866  return value_.value_string_.GetNoArena();
867  }
868  return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
869 }
870 inline void Value::set_value_string(const std::string& value) {
871  // @@protoc_insertion_point(field_set:shaka.proto.Value.value_string)
872  if (!has_value_string()) {
873  clear_value();
874  set_has_value_string();
875  value_.value_string_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
876  }
877  value_.value_string_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
878  // @@protoc_insertion_point(field_set:shaka.proto.Value.value_string)
879 }
880 inline void Value::set_value_string(std::string&& value) {
881  // @@protoc_insertion_point(field_set:shaka.proto.Value.value_string)
882  if (!has_value_string()) {
883  clear_value();
884  set_has_value_string();
885  value_.value_string_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
886  }
887  value_.value_string_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
888  // @@protoc_insertion_point(field_set_rvalue:shaka.proto.Value.value_string)
889 }
890 inline void Value::set_value_string(const char* value) {
891  GOOGLE_DCHECK(value != nullptr);
892  if (!has_value_string()) {
893  clear_value();
894  set_has_value_string();
895  value_.value_string_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
896  }
897  value_.value_string_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
898  ::std::string(value));
899  // @@protoc_insertion_point(field_set_char:shaka.proto.Value.value_string)
900 }
901 inline void Value::set_value_string(const char* value, size_t size) {
902  if (!has_value_string()) {
903  clear_value();
904  set_has_value_string();
905  value_.value_string_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
906  }
907  value_.value_string_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
908  reinterpret_cast<const char*>(value), size));
909  // @@protoc_insertion_point(field_set_pointer:shaka.proto.Value.value_string)
910 }
911 inline std::string* Value::mutable_value_string() {
912  if (!has_value_string()) {
913  clear_value();
914  set_has_value_string();
915  value_.value_string_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
916  }
917  // @@protoc_insertion_point(field_mutable:shaka.proto.Value.value_string)
918  return value_.value_string_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
919 }
920 inline std::string* Value::release_value_string() {
921  // @@protoc_insertion_point(field_release:shaka.proto.Value.value_string)
922  if (has_value_string()) {
923  clear_has_value();
924  return value_.value_string_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
925  } else {
926  return nullptr;
927  }
928 }
929 inline void Value::set_allocated_value_string(std::string* value_string) {
930  if (has_value()) {
931  clear_value();
932  }
933  if (value_string != nullptr) {
934  set_has_value_string();
935  value_.value_string_.UnsafeSetDefault(value_string);
936  }
937  // @@protoc_insertion_point(field_set_allocated:shaka.proto.Value.value_string)
938 }
939 
940 // optional .shaka.proto.Object value_object = 5;
941 inline bool Value::has_value_object() const {
942  return value_case() == kValueObject;
943 }
944 inline void Value::set_has_value_object() {
945  _oneof_case_[0] = kValueObject;
946 }
947 inline void Value::clear_value_object() {
948  if (has_value_object()) {
949  delete value_.value_object_;
950  clear_has_value();
951  }
952 }
953 inline ::shaka::proto::Object* Value::release_value_object() {
954  // @@protoc_insertion_point(field_release:shaka.proto.Value.value_object)
955  if (has_value_object()) {
956  clear_has_value();
957  ::shaka::proto::Object* temp = value_.value_object_;
958  value_.value_object_ = nullptr;
959  return temp;
960  } else {
961  return nullptr;
962  }
963 }
964 inline const ::shaka::proto::Object& Value::value_object() const {
965  // @@protoc_insertion_point(field_get:shaka.proto.Value.value_object)
966  return has_value_object()
967  ? *value_.value_object_
969 }
970 inline ::shaka::proto::Object* Value::mutable_value_object() {
971  if (!has_value_object()) {
972  clear_value();
973  set_has_value_object();
974  value_.value_object_ = CreateMaybeMessage< ::shaka::proto::Object >(
975  GetArenaNoVirtual());
976  }
977  // @@protoc_insertion_point(field_mutable:shaka.proto.Value.value_object)
978  return value_.value_object_;
979 }
980 
981 // optional bytes value_bytes = 6;
982 inline bool Value::has_value_bytes() const {
983  return value_case() == kValueBytes;
984 }
985 inline void Value::set_has_value_bytes() {
986  _oneof_case_[0] = kValueBytes;
987 }
988 inline void Value::clear_value_bytes() {
989  if (has_value_bytes()) {
990  value_.value_bytes_.DestroyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
991  clear_has_value();
992  }
993 }
994 inline const std::string& Value::value_bytes() const {
995  // @@protoc_insertion_point(field_get:shaka.proto.Value.value_bytes)
996  if (has_value_bytes()) {
997  return value_.value_bytes_.GetNoArena();
998  }
999  return *&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
1000 }
1001 inline void Value::set_value_bytes(const std::string& value) {
1002  // @@protoc_insertion_point(field_set:shaka.proto.Value.value_bytes)
1003  if (!has_value_bytes()) {
1004  clear_value();
1005  set_has_value_bytes();
1006  value_.value_bytes_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1007  }
1008  value_.value_bytes_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value);
1009  // @@protoc_insertion_point(field_set:shaka.proto.Value.value_bytes)
1010 }
1011 inline void Value::set_value_bytes(std::string&& value) {
1012  // @@protoc_insertion_point(field_set:shaka.proto.Value.value_bytes)
1013  if (!has_value_bytes()) {
1014  clear_value();
1015  set_has_value_bytes();
1016  value_.value_bytes_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1017  }
1018  value_.value_bytes_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
1019  // @@protoc_insertion_point(field_set_rvalue:shaka.proto.Value.value_bytes)
1020 }
1021 inline void Value::set_value_bytes(const char* value) {
1022  GOOGLE_DCHECK(value != nullptr);
1023  if (!has_value_bytes()) {
1024  clear_value();
1025  set_has_value_bytes();
1026  value_.value_bytes_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1027  }
1028  value_.value_bytes_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(),
1029  ::std::string(value));
1030  // @@protoc_insertion_point(field_set_char:shaka.proto.Value.value_bytes)
1031 }
1032 inline void Value::set_value_bytes(const void* value, size_t size) {
1033  if (!has_value_bytes()) {
1034  clear_value();
1035  set_has_value_bytes();
1036  value_.value_bytes_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1037  }
1038  value_.value_bytes_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
1039  reinterpret_cast<const char*>(value), size));
1040  // @@protoc_insertion_point(field_set_pointer:shaka.proto.Value.value_bytes)
1041 }
1042 inline std::string* Value::mutable_value_bytes() {
1043  if (!has_value_bytes()) {
1044  clear_value();
1045  set_has_value_bytes();
1046  value_.value_bytes_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1047  }
1048  // @@protoc_insertion_point(field_mutable:shaka.proto.Value.value_bytes)
1049  return value_.value_bytes_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1050 }
1051 inline std::string* Value::release_value_bytes() {
1052  // @@protoc_insertion_point(field_release:shaka.proto.Value.value_bytes)
1053  if (has_value_bytes()) {
1054  clear_has_value();
1055  return value_.value_bytes_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
1056  } else {
1057  return nullptr;
1058  }
1059 }
1060 inline void Value::set_allocated_value_bytes(std::string* value_bytes) {
1061  if (has_value()) {
1062  clear_value();
1063  }
1064  if (value_bytes != nullptr) {
1065  set_has_value_bytes();
1066  value_.value_bytes_.UnsafeSetDefault(value_bytes);
1067  }
1068  // @@protoc_insertion_point(field_set_allocated:shaka.proto.Value.value_bytes)
1069 }
1070 
1071 inline bool Value::has_value() const {
1072  return value_case() != VALUE_NOT_SET;
1073 }
1074 inline void Value::clear_has_value() {
1075  _oneof_case_[0] = VALUE_NOT_SET;
1076 }
1077 inline Value::ValueCase Value::value_case() const {
1078  return Value::ValueCase(_oneof_case_[0]);
1079 }
1080 #ifdef __GNUC__
1081  #pragma GCC diagnostic pop
1082 #endif // __GNUC__
1083 // -------------------------------------------------------------------
1084 
1085 // -------------------------------------------------------------------
1086 
1087 
1088 // @@protoc_insertion_point(namespace_scope)
1089 
1090 } // namespace proto
1091 } // namespace shaka
1092 
1093 PROTOBUF_NAMESPACE_OPEN
1094 
1095 template <> struct is_proto_enum< ::shaka::proto::ValueType> : ::std::true_type {};
1096 
1097 PROTOBUF_NAMESPACE_CLOSE
1098 
1099 // @@protoc_insertion_point(global_scope)
1100 
1101 #include <google/protobuf/port_undef.inc>
1102 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_shaka_2fsrc_2fjs_2fidb_2fdatabase_2eproto
static const Object_Entry * internal_default_instance()
Definition: database.pb.h:155
void Swap(Value *other)
Definition: database.pb.h:454
std::string * mutable_unknown_fields()
Definition: database.pb.h:148
Object & operator=(const Object &from)
Definition: database.pb.h:274
static const Value * internal_default_instance()
Definition: database.pb.h:444
std::string * mutable_unknown_fields()
Definition: database.pb.h:290
const std::string & unknown_fields() const
Definition: database.pb.h:425
const char * name
Value & operator=(Value &&from) noexcept
Definition: database.pb.h:416
Object_Entry(Object_Entry &&from) noexcept
Definition: database.pb.h:127
friend void swap(Object &a, Object &b)
Definition: database.pb.h:304
int GetCachedSize() const final
Definition: database.pb.h:338
Value & operator=(const Value &from)
Definition: database.pb.h:412
constexpr int ValueType_ARRAYSIZE
Definition: database.pb.h:106
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition: database.pb.cc:932
static const Object * internal_default_instance()
Definition: database.pb.h:297
friend void swap(Value &a, Value &b)
Definition: database.pb.h:451
Object_Entry & operator=(const Object_Entry &from)
Definition: database.pb.h:132
Object_Entry * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: database.pb.h:176
bool ValueType_Parse(const std::string &name, ValueType *value)
Definition: database.pb.cc:198
Object & operator=(Object &&from) noexcept
Definition: database.pb.h:278
constexpr ValueType ValueType_MIN
Definition: database.pb.h:104
Object * New() const final
Definition: database.pb.h:314
Object(Object &&from) noexcept
Definition: database.pb.h:269
bool ValueType_IsValid(int value)
Definition: database.pb.cc:65
Definition: database.pb.cc:215
class shaka::proto::ObjectDefaultTypeInternal _Object_default_instance_
Definition: database.pb.h:58
Value * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: database.pb.h:465
Object * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: database.pb.h:318
Value(Value &&from) noexcept
Definition: database.pb.h:407
Object_Entry & operator=(Object_Entry &&from) noexcept
Definition: database.pb.h:136
int GetCachedSize() const final
Definition: database.pb.h:196
class shaka::proto::ValueDefaultTypeInternal _Value_default_instance_
Definition: database.pb.h:64
class shaka::proto::Object_EntryDefaultTypeInternal _Object_Entry_default_instance_
Definition: database.pb.h:61
const std::string & unknown_fields() const
Definition: database.pb.h:287
Object_Entry Entry
Definition: database.pb.h:362
Definition: database.pb.h:120
const std::string & unknown_fields() const
Definition: database.pb.h:145
const std::string & ValueType_Name(T enum_t_value)
Definition: database.pb.h:110
void Swap(Object_Entry *other)
Definition: database.pb.h:165
friend void swap(Object_Entry &a, Object_Entry &b)
Definition: database.pb.h:162
Value * New() const final
Definition: database.pb.h:461
std::string * mutable_unknown_fields()
Definition: database.pb.h:428
constexpr ValueType ValueType_MAX
Definition: database.pb.h:105
void Swap(Object *other)
Definition: database.pb.h:307
Object_Entry * New() const final
Definition: database.pb.h:172
int GetCachedSize() const final
Definition: database.pb.h:485