NCBI C++ ToolKit
dbsnp.pb.h
Go to the documentation of this file.

Go to the SVN repository for this file.

1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: objects/dbsnp/primary_track/dbsnp.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_2eproto
6 
7 #include <limits>
8 #include <string>
9 
10 #include <google/protobuf/port_def.inc>
11 #if PROTOBUF_VERSION < 3014000
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 3014000 < 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/metadata_lite.h>
29 #include <google/protobuf/generated_message_reflection.h>
30 #include <google/protobuf/message.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/unknown_field_set.h>
34 // @@protoc_insertion_point(includes)
35 #include <google/protobuf/port_def.inc>
36 #define PROTOBUF_INTERNAL_EXPORT_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_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::AuxiliaryParseTableField aux[]
48  PROTOBUF_SECTION_VARIABLE(protodesc_cold);
49  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2]
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[];
54 };
55 extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_2eproto;
56 namespace ncbi {
57 namespace grpcapi {
58 namespace dbsnp {
59 namespace primary_track {
60 class PrimaryTrackReply;
61 class PrimaryTrackReplyDefaultTypeInternal;
62 extern PrimaryTrackReplyDefaultTypeInternal _PrimaryTrackReply_default_instance_;
63 class SeqIdRequestStringAccverUnion;
64 class SeqIdRequestStringAccverUnionDefaultTypeInternal;
65 extern SeqIdRequestStringAccverUnionDefaultTypeInternal _SeqIdRequestStringAccverUnion_default_instance_;
66 } // namespace primary_track
67 } // namespace dbsnp
68 } // namespace grpcapi
69 } // namespace ncbi
70 PROTOBUF_NAMESPACE_OPEN
71 template<> ::ncbi::grpcapi::dbsnp::primary_track::PrimaryTrackReply* Arena::CreateMaybeMessage<::ncbi::grpcapi::dbsnp::primary_track::PrimaryTrackReply>(Arena*);
72 template<> ::ncbi::grpcapi::dbsnp::primary_track::SeqIdRequestStringAccverUnion* Arena::CreateMaybeMessage<::ncbi::grpcapi::dbsnp::primary_track::SeqIdRequestStringAccverUnion>(Arena*);
73 PROTOBUF_NAMESPACE_CLOSE
74 namespace ncbi {
75 namespace grpcapi {
76 namespace dbsnp {
77 namespace primary_track {
78 
79 // ===================================================================
80 
81 class SeqIdRequestStringAccverUnion PROTOBUF_FINAL :
82  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion) */ {
83  public:
84  inline SeqIdRequestStringAccverUnion() : SeqIdRequestStringAccverUnion(nullptr) {}
86 
87  SeqIdRequestStringAccverUnion(const SeqIdRequestStringAccverUnion& from);
88  SeqIdRequestStringAccverUnion(SeqIdRequestStringAccverUnion&& from) noexcept
89  : SeqIdRequestStringAccverUnion() {
90  *this = ::std::move(from);
91  }
92 
93  inline SeqIdRequestStringAccverUnion& operator=(const SeqIdRequestStringAccverUnion& from) {
94  CopyFrom(from);
95  return *this;
96  }
97  inline SeqIdRequestStringAccverUnion& operator=(SeqIdRequestStringAccverUnion&& from) noexcept {
98  if (GetArena() == from.GetArena()) {
99  if (this != &from) InternalSwap(&from);
100  } else {
101  CopyFrom(from);
102  }
103  return *this;
104  }
105 
106  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
107  return GetDescriptor();
108  }
109  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
110  return GetMetadataStatic().descriptor;
111  }
112  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
113  return GetMetadataStatic().reflection;
114  }
115  static const SeqIdRequestStringAccverUnion& default_instance();
116 
118  kAccver = 1,
119  kGi = 2,
120  ACCVER_OR_GI_NOT_SET = 0,
121  };
122 
123  static inline const SeqIdRequestStringAccverUnion* internal_default_instance() {
124  return reinterpret_cast<const SeqIdRequestStringAccverUnion*>(
126  }
127  static constexpr int kIndexInFileMessages =
128  0;
129 
130  friend void swap(SeqIdRequestStringAccverUnion& a, SeqIdRequestStringAccverUnion& b) {
131  a.Swap(&b);
132  }
133  inline void Swap(SeqIdRequestStringAccverUnion* other) {
134  if (other == this) return;
135  if (GetArena() == other->GetArena()) {
136  InternalSwap(other);
137  } else {
138  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
139  }
140  }
141  void UnsafeArenaSwap(SeqIdRequestStringAccverUnion* other) {
142  if (other == this) return;
143  GOOGLE_DCHECK(GetArena() == other->GetArena());
144  InternalSwap(other);
145  }
146 
147  // implements Message ----------------------------------------------
148 
149  inline SeqIdRequestStringAccverUnion* New() const final {
150  return CreateMaybeMessage<SeqIdRequestStringAccverUnion>(nullptr);
151  }
152 
153  SeqIdRequestStringAccverUnion* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
154  return CreateMaybeMessage<SeqIdRequestStringAccverUnion>(arena);
155  }
156  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
157  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
158  void CopyFrom(const SeqIdRequestStringAccverUnion& from);
159  void MergeFrom(const SeqIdRequestStringAccverUnion& from);
160  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
161  bool IsInitialized() const final;
162 
163  size_t ByteSizeLong() const final;
164  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
165  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
166  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
167  int GetCachedSize() const final { return _cached_size_.Get(); }
168 
169  private:
170  inline void SharedCtor();
171  inline void SharedDtor();
172  void SetCachedSize(int size) const final;
173  void InternalSwap(SeqIdRequestStringAccverUnion* other);
174  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
175  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
176  return "ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion";
177  }
178  protected:
179  explicit SeqIdRequestStringAccverUnion(::PROTOBUF_NAMESPACE_ID::Arena* arena);
180  private:
181  static void ArenaDtor(void* object);
182  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
183  public:
184 
185  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
186  private:
187  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
188  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_2eproto);
189  return ::descriptor_table_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_2eproto.file_level_metadata[kIndexInFileMessages];
190  }
191 
192  public:
193 
194  // nested types ----------------------------------------------------
195 
196  // accessors -------------------------------------------------------
197 
198  enum : int {
199  kAccverFieldNumber = 1,
200  kGiFieldNumber = 2,
201  };
202  // string accver = 1;
203  private:
204  bool _internal_has_accver() const;
205  public:
206  void clear_accver();
207  const std::string& accver() const;
210  void set_accver(const char* value);
211  void set_accver(const char* value, size_t size);
215  private:
219  public:
220 
221  // uint64 gi = 2;
222  private:
223  bool _internal_has_gi() const;
224  public:
225  void clear_gi();
228  private:
231  public:
232 
235  // @@protoc_insertion_point(class_scope:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion)
236  private:
237  class _Internal;
239  void set_has_gi();
240 
241  inline bool has_accver_or_gi() const;
242  inline void clear_has_accver_or_gi();
243 
244  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
246  typedef void DestructorSkippable_;
249  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr accver_;
251  } accver_or_gi_;
252  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
254 
255  friend struct ::TableStruct_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_2eproto;
256 };
257 // -------------------------------------------------------------------
258 
259 class PrimaryTrackReply PROTOBUF_FINAL :
260  public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply) */ {
261  public:
262  inline PrimaryTrackReply() : PrimaryTrackReply(nullptr) {}
264 
265  PrimaryTrackReply(const PrimaryTrackReply& from);
266  PrimaryTrackReply(PrimaryTrackReply&& from) noexcept
267  : PrimaryTrackReply() {
268  *this = ::std::move(from);
269  }
270 
271  inline PrimaryTrackReply& operator=(const PrimaryTrackReply& from) {
272  CopyFrom(from);
273  return *this;
274  }
275  inline PrimaryTrackReply& operator=(PrimaryTrackReply&& from) noexcept {
276  if (GetArena() == from.GetArena()) {
277  if (this != &from) InternalSwap(&from);
278  } else {
279  CopyFrom(from);
280  }
281  return *this;
282  }
283 
284  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
285  return GetDescriptor();
286  }
287  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
288  return GetMetadataStatic().descriptor;
289  }
290  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
291  return GetMetadataStatic().reflection;
292  }
293  static const PrimaryTrackReply& default_instance();
294 
295  static inline const PrimaryTrackReply* internal_default_instance() {
296  return reinterpret_cast<const PrimaryTrackReply*>(
298  }
299  static constexpr int kIndexInFileMessages =
300  1;
301 
302  friend void swap(PrimaryTrackReply& a, PrimaryTrackReply& b) {
303  a.Swap(&b);
304  }
305  inline void Swap(PrimaryTrackReply* other) {
306  if (other == this) return;
307  if (GetArena() == other->GetArena()) {
308  InternalSwap(other);
309  } else {
310  ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
311  }
312  }
313  void UnsafeArenaSwap(PrimaryTrackReply* other) {
314  if (other == this) return;
315  GOOGLE_DCHECK(GetArena() == other->GetArena());
316  InternalSwap(other);
317  }
318 
319  // implements Message ----------------------------------------------
320 
321  inline PrimaryTrackReply* New() const final {
322  return CreateMaybeMessage<PrimaryTrackReply>(nullptr);
323  }
324 
325  PrimaryTrackReply* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
326  return CreateMaybeMessage<PrimaryTrackReply>(arena);
327  }
328  void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
329  void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
330  void CopyFrom(const PrimaryTrackReply& from);
331  void MergeFrom(const PrimaryTrackReply& from);
332  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
333  bool IsInitialized() const final;
334 
335  size_t ByteSizeLong() const final;
336  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
337  ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
338  ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
339  int GetCachedSize() const final { return _cached_size_.Get(); }
340 
341  private:
342  inline void SharedCtor();
343  inline void SharedDtor();
344  void SetCachedSize(int size) const final;
345  void InternalSwap(PrimaryTrackReply* other);
346  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
347  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
348  return "ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply";
349  }
350  protected:
351  explicit PrimaryTrackReply(::PROTOBUF_NAMESPACE_ID::Arena* arena);
352  private:
353  static void ArenaDtor(void* object);
354  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
355  public:
356 
357  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
358  private:
359  static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
360  ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_2eproto);
361  return ::descriptor_table_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_2eproto.file_level_metadata[kIndexInFileMessages];
362  }
363 
364  public:
365 
366  // nested types ----------------------------------------------------
367 
368  // accessors -------------------------------------------------------
369 
370  enum : int {
371  kNaTrackAccWithFilterFieldNumber = 1,
372  kTmsTrackIdFieldNumber = 2,
373  };
374  // string na_track_acc_with_filter = 1;
380  void set_na_track_acc_with_filter(const char* value, size_t size);
383  void set_allocated_na_track_acc_with_filter(std::string* na_track_acc_with_filter);
384  private:
388  public:
389 
390  // string tms_track_id = 2;
392  const std::string& tms_track_id() const;
395  void set_tms_track_id(const char* value);
396  void set_tms_track_id(const char* value, size_t size);
400  private:
404  public:
405 
406  // @@protoc_insertion_point(class_scope:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply)
407  private:
408  class _Internal;
409 
410  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
412  typedef void DestructorSkippable_;
413  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr na_track_acc_with_filter_;
414  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tms_track_id_;
415  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
416  friend struct ::TableStruct_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_2eproto;
417 };
418 // ===================================================================
419 
420 
421 // ===================================================================
422 
423 #ifdef __GNUC__
424  #pragma GCC diagnostic push
425  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
426 #endif // __GNUC__
427 // SeqIdRequestStringAccverUnion
428 
429 // string accver = 1;
430 inline bool SeqIdRequestStringAccverUnion::_internal_has_accver() const {
431  return accver_or_gi_case() == kAccver;
432 }
433 inline void SeqIdRequestStringAccverUnion::set_has_accver() {
434  _oneof_case_[0] = kAccver;
435 }
436 inline void SeqIdRequestStringAccverUnion::clear_accver() {
437  if (_internal_has_accver()) {
438  accver_or_gi_.accver_.Destroy(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
439  clear_has_accver_or_gi();
440  }
441 }
442 inline const std::string& SeqIdRequestStringAccverUnion::accver() const {
443  // @@protoc_insertion_point(field_get:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion.accver)
444  return _internal_accver();
445 }
446 inline void SeqIdRequestStringAccverUnion::set_accver(const std::string& value) {
447  _internal_set_accver(value);
448  // @@protoc_insertion_point(field_set:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion.accver)
449 }
450 inline std::string* SeqIdRequestStringAccverUnion::mutable_accver() {
451  // @@protoc_insertion_point(field_mutable:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion.accver)
452  return _internal_mutable_accver();
453 }
454 inline const std::string& SeqIdRequestStringAccverUnion::_internal_accver() const {
455  if (_internal_has_accver()) {
456  return accver_or_gi_.accver_.Get();
457  }
458  return ::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited();
459 }
460 inline void SeqIdRequestStringAccverUnion::_internal_set_accver(const std::string& value) {
461  if (!_internal_has_accver()) {
462  clear_accver_or_gi();
463  set_has_accver();
464  accver_or_gi_.accver_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
465  }
466  accver_or_gi_.accver_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
467 }
468 inline void SeqIdRequestStringAccverUnion::set_accver(std::string&& value) {
469  // @@protoc_insertion_point(field_set:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion.accver)
470  if (!_internal_has_accver()) {
471  clear_accver_or_gi();
472  set_has_accver();
473  accver_or_gi_.accver_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
474  }
475  accver_or_gi_.accver_.Set(
476  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
477  // @@protoc_insertion_point(field_set_rvalue:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion.accver)
478 }
479 inline void SeqIdRequestStringAccverUnion::set_accver(const char* value) {
480  GOOGLE_DCHECK(value != nullptr);
481  if (!_internal_has_accver()) {
482  clear_accver_or_gi();
483  set_has_accver();
484  accver_or_gi_.accver_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
485  }
486  accver_or_gi_.accver_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{},
487  ::std::string(value), GetArena());
488  // @@protoc_insertion_point(field_set_char:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion.accver)
489 }
490 inline void SeqIdRequestStringAccverUnion::set_accver(const char* value,
491  size_t size) {
492  if (!_internal_has_accver()) {
493  clear_accver_or_gi();
494  set_has_accver();
495  accver_or_gi_.accver_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
496  }
497  accver_or_gi_.accver_.Set(
498  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
499  reinterpret_cast<const char*>(value), size),
500  GetArena());
501  // @@protoc_insertion_point(field_set_pointer:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion.accver)
502 }
503 inline std::string* SeqIdRequestStringAccverUnion::_internal_mutable_accver() {
504  if (!_internal_has_accver()) {
505  clear_accver_or_gi();
506  set_has_accver();
507  accver_or_gi_.accver_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
508  }
509  return accver_or_gi_.accver_.Mutable(
510  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
511 }
512 inline std::string* SeqIdRequestStringAccverUnion::release_accver() {
513  // @@protoc_insertion_point(field_release:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion.accver)
514  if (_internal_has_accver()) {
515  clear_has_accver_or_gi();
516  return accver_or_gi_.accver_.ReleaseNonDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
517  } else {
518  return nullptr;
519  }
520 }
521 inline void SeqIdRequestStringAccverUnion::set_allocated_accver(std::string* accver) {
522  if (has_accver_or_gi()) {
523  clear_accver_or_gi();
524  }
525  if (accver != nullptr) {
526  set_has_accver();
527  accver_or_gi_.accver_.UnsafeSetDefault(accver);
528  ::PROTOBUF_NAMESPACE_ID::Arena* arena = GetArena();
529  if (arena != nullptr) {
530  arena->Own(accver);
531  }
532  }
533  // @@protoc_insertion_point(field_set_allocated:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion.accver)
534 }
535 
536 // uint64 gi = 2;
537 inline bool SeqIdRequestStringAccverUnion::_internal_has_gi() const {
538  return accver_or_gi_case() == kGi;
539 }
540 inline void SeqIdRequestStringAccverUnion::set_has_gi() {
541  _oneof_case_[0] = kGi;
542 }
543 inline void SeqIdRequestStringAccverUnion::clear_gi() {
544  if (_internal_has_gi()) {
545  accver_or_gi_.gi_ = PROTOBUF_ULONGLONG(0);
546  clear_has_accver_or_gi();
547  }
548 }
549 inline ::PROTOBUF_NAMESPACE_ID::uint64 SeqIdRequestStringAccverUnion::_internal_gi() const {
550  if (_internal_has_gi()) {
551  return accver_or_gi_.gi_;
552  }
553  return PROTOBUF_ULONGLONG(0);
554 }
555 inline void SeqIdRequestStringAccverUnion::_internal_set_gi(::PROTOBUF_NAMESPACE_ID::uint64 value) {
556  if (!_internal_has_gi()) {
557  clear_accver_or_gi();
558  set_has_gi();
559  }
560  accver_or_gi_.gi_ = value;
561 }
562 inline ::PROTOBUF_NAMESPACE_ID::uint64 SeqIdRequestStringAccverUnion::gi() const {
563  // @@protoc_insertion_point(field_get:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion.gi)
564  return _internal_gi();
565 }
566 inline void SeqIdRequestStringAccverUnion::set_gi(::PROTOBUF_NAMESPACE_ID::uint64 value) {
567  _internal_set_gi(value);
568  // @@protoc_insertion_point(field_set:ncbi.grpcapi.dbsnp.primary_track.SeqIdRequestStringAccverUnion.gi)
569 }
570 
571 inline bool SeqIdRequestStringAccverUnion::has_accver_or_gi() const {
572  return accver_or_gi_case() != ACCVER_OR_GI_NOT_SET;
573 }
574 inline void SeqIdRequestStringAccverUnion::clear_has_accver_or_gi() {
575  _oneof_case_[0] = ACCVER_OR_GI_NOT_SET;
576 }
577 inline SeqIdRequestStringAccverUnion::AccverOrGiCase SeqIdRequestStringAccverUnion::accver_or_gi_case() const {
578  return SeqIdRequestStringAccverUnion::AccverOrGiCase(_oneof_case_[0]);
579 }
580 // -------------------------------------------------------------------
581 
582 // PrimaryTrackReply
583 
584 // string na_track_acc_with_filter = 1;
585 inline void PrimaryTrackReply::clear_na_track_acc_with_filter() {
586  na_track_acc_with_filter_.ClearToEmpty();
587 }
588 inline const std::string& PrimaryTrackReply::na_track_acc_with_filter() const {
589  // @@protoc_insertion_point(field_get:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.na_track_acc_with_filter)
590  return _internal_na_track_acc_with_filter();
591 }
592 inline void PrimaryTrackReply::set_na_track_acc_with_filter(const std::string& value) {
593  _internal_set_na_track_acc_with_filter(value);
594  // @@protoc_insertion_point(field_set:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.na_track_acc_with_filter)
595 }
596 inline std::string* PrimaryTrackReply::mutable_na_track_acc_with_filter() {
597  // @@protoc_insertion_point(field_mutable:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.na_track_acc_with_filter)
598  return _internal_mutable_na_track_acc_with_filter();
599 }
600 inline const std::string& PrimaryTrackReply::_internal_na_track_acc_with_filter() const {
601  return na_track_acc_with_filter_.Get();
602 }
603 inline void PrimaryTrackReply::_internal_set_na_track_acc_with_filter(const std::string& value) {
604 
605  na_track_acc_with_filter_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
606 }
607 inline void PrimaryTrackReply::set_na_track_acc_with_filter(std::string&& value) {
608 
609  na_track_acc_with_filter_.Set(
610  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
611  // @@protoc_insertion_point(field_set_rvalue:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.na_track_acc_with_filter)
612 }
613 inline void PrimaryTrackReply::set_na_track_acc_with_filter(const char* value) {
614  GOOGLE_DCHECK(value != nullptr);
615 
616  na_track_acc_with_filter_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
617  // @@protoc_insertion_point(field_set_char:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.na_track_acc_with_filter)
618 }
619 inline void PrimaryTrackReply::set_na_track_acc_with_filter(const char* value,
620  size_t size) {
621 
622  na_track_acc_with_filter_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
623  reinterpret_cast<const char*>(value), size), GetArena());
624  // @@protoc_insertion_point(field_set_pointer:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.na_track_acc_with_filter)
625 }
626 inline std::string* PrimaryTrackReply::_internal_mutable_na_track_acc_with_filter() {
627 
628  return na_track_acc_with_filter_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
629 }
630 inline std::string* PrimaryTrackReply::release_na_track_acc_with_filter() {
631  // @@protoc_insertion_point(field_release:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.na_track_acc_with_filter)
632  return na_track_acc_with_filter_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
633 }
634 inline void PrimaryTrackReply::set_allocated_na_track_acc_with_filter(std::string* na_track_acc_with_filter) {
635  if (na_track_acc_with_filter != nullptr) {
636 
637  } else {
638 
639  }
640  na_track_acc_with_filter_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), na_track_acc_with_filter,
641  GetArena());
642  // @@protoc_insertion_point(field_set_allocated:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.na_track_acc_with_filter)
643 }
644 
645 // string tms_track_id = 2;
646 inline void PrimaryTrackReply::clear_tms_track_id() {
647  tms_track_id_.ClearToEmpty();
648 }
649 inline const std::string& PrimaryTrackReply::tms_track_id() const {
650  // @@protoc_insertion_point(field_get:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.tms_track_id)
651  return _internal_tms_track_id();
652 }
653 inline void PrimaryTrackReply::set_tms_track_id(const std::string& value) {
654  _internal_set_tms_track_id(value);
655  // @@protoc_insertion_point(field_set:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.tms_track_id)
656 }
657 inline std::string* PrimaryTrackReply::mutable_tms_track_id() {
658  // @@protoc_insertion_point(field_mutable:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.tms_track_id)
659  return _internal_mutable_tms_track_id();
660 }
661 inline const std::string& PrimaryTrackReply::_internal_tms_track_id() const {
662  return tms_track_id_.Get();
663 }
664 inline void PrimaryTrackReply::_internal_set_tms_track_id(const std::string& value) {
665 
666  tms_track_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArena());
667 }
668 inline void PrimaryTrackReply::set_tms_track_id(std::string&& value) {
669 
670  tms_track_id_.Set(
671  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::move(value), GetArena());
672  // @@protoc_insertion_point(field_set_rvalue:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.tms_track_id)
673 }
674 inline void PrimaryTrackReply::set_tms_track_id(const char* value) {
675  GOOGLE_DCHECK(value != nullptr);
676 
677  tms_track_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(value), GetArena());
678  // @@protoc_insertion_point(field_set_char:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.tms_track_id)
679 }
680 inline void PrimaryTrackReply::set_tms_track_id(const char* value,
681  size_t size) {
682 
683  tms_track_id_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
684  reinterpret_cast<const char*>(value), size), GetArena());
685  // @@protoc_insertion_point(field_set_pointer:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.tms_track_id)
686 }
687 inline std::string* PrimaryTrackReply::_internal_mutable_tms_track_id() {
688 
689  return tms_track_id_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArena());
690 }
691 inline std::string* PrimaryTrackReply::release_tms_track_id() {
692  // @@protoc_insertion_point(field_release:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.tms_track_id)
693  return tms_track_id_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
694 }
695 inline void PrimaryTrackReply::set_allocated_tms_track_id(std::string* tms_track_id) {
696  if (tms_track_id != nullptr) {
697 
698  } else {
699 
700  }
701  tms_track_id_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), tms_track_id,
702  GetArena());
703  // @@protoc_insertion_point(field_set_allocated:ncbi.grpcapi.dbsnp.primary_track.PrimaryTrackReply.tms_track_id)
704 }
705 
706 #ifdef __GNUC__
707  #pragma GCC diagnostic pop
708 #endif // __GNUC__
709 // -------------------------------------------------------------------
710 
711 
712 // @@protoc_insertion_point(namespace_scope)
713 
714 } // namespace primary_track
715 } // namespace dbsnp
716 } // namespace grpcapi
717 } // namespace ncbi
718 
719 // @@protoc_insertion_point(global_scope)
720 
721 #include <google/protobuf/port_undef.inc>
722 #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_2eproto
#define static
uint8_t uint8
Definition: city.h:69
uint64_t uint64
Definition: city.h:71
uint32_t uint32
Definition: city.h:70
void set_tms_track_id(const std::string &value)
void set_allocated_tms_track_id(std::string *tms_track_id)
SeqIdRequestStringAccverUnion(::PROTOBUF_NAMESPACE_ID::Arena *arena)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * GetDescriptor()
Definition: dbsnp.pb.h:109
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr na_track_acc_with_filter_
Definition: dbsnp.pb.h:413
::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final
const std::string & _internal_tms_track_id() const
PrimaryTrackReply(::PROTOBUF_NAMESPACE_ID::Arena *arena)
void set_allocated_na_track_acc_with_filter(std::string *na_track_acc_with_filter)
SeqIdRequestStringAccverUnion(const SeqIdRequestStringAccverUnion &from)
friend void swap(PrimaryTrackReply &a, PrimaryTrackReply &b)
Definition: dbsnp.pb.h:302
::PROTOBUF_NAMESPACE_ID::uint64 gi() const
void set_na_track_acc_with_filter(const std::string &value)
void InternalSwap(SeqIdRequestStringAccverUnion *other)
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
void _internal_set_gi(::PROTOBUF_NAMESPACE_ID::uint64 value)
PrimaryTrackReply(const PrimaryTrackReply &from)
static const ::PROTOBUF_NAMESPACE_ID::Descriptor * descriptor()
Definition: dbsnp.pb.h:106
PrimaryTrackReply & operator=(const PrimaryTrackReply &from)
Definition: dbsnp.pb.h:271
PrimaryTrackReply * New() const final
Definition: dbsnp.pb.h:321
friend void swap(SeqIdRequestStringAccverUnion &a, SeqIdRequestStringAccverUnion &b)
Definition: dbsnp.pb.h:130
void _internal_set_accver(const std::string &value)
void _internal_set_na_track_acc_with_filter(const std::string &value)
const std::string & _internal_na_track_acc_with_filter() const
PrimaryTrackReply & operator=(PrimaryTrackReply &&from) noexcept
Definition: dbsnp.pb.h:275
void set_accver(const char *value, size_t size)
::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName()
Definition: dbsnp.pb.h:175
void MergeFrom(const SeqIdRequestStringAccverUnion &from)
void MergeFrom(const PrimaryTrackReply &from)
PrimaryTrackReply * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: dbsnp.pb.h:325
static const SeqIdRequestStringAccverUnion & default_instance()
void set_na_track_acc_with_filter(std::string &&value)
SeqIdRequestStringAccverUnion & operator=(const SeqIdRequestStringAccverUnion &from)
Definition: dbsnp.pb.h:93
void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena *arena)
mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_
Definition: dbsnp.pb.h:252
static const SeqIdRequestStringAccverUnion * internal_default_instance()
Definition: dbsnp.pb.h:123
SeqIdRequestStringAccverUnion * New() const final
Definition: dbsnp.pb.h:149
SeqIdRequestStringAccverUnion * New(::PROTOBUF_NAMESPACE_ID::Arena *arena) const final
Definition: dbsnp.pb.h:153
void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
SeqIdRequestStringAccverUnion & operator=(SeqIdRequestStringAccverUnion &&from) noexcept
Definition: dbsnp.pb.h:97
void _internal_set_tms_track_id(const std::string &value)
::PROTOBUF_NAMESPACE_ID::uint64 _internal_gi() const
static const PrimaryTrackReply & default_instance()
static const PrimaryTrackReply * internal_default_instance()
Definition: dbsnp.pb.h:295
static const ::PROTOBUF_NAMESPACE_ID::Reflection * GetReflection()
Definition: dbsnp.pb.h:112
void set_tms_track_id(const char *value, size_t size)
void CopyFrom(const PrimaryTrackReply &from)
void CopyFrom(const SeqIdRequestStringAccverUnion &from)
void set_gi(::PROTOBUF_NAMESPACE_ID::uint64 value)
void UnsafeArenaSwap(PrimaryTrackReply *other)
Definition: dbsnp.pb.h:313
void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message &from) final
void UnsafeArenaSwap(SeqIdRequestStringAccverUnion *other)
Definition: dbsnp.pb.h:141
SeqIdRequestStringAccverUnion(SeqIdRequestStringAccverUnion &&from) noexcept
Definition: dbsnp.pb.h:88
const std::string & na_track_acc_with_filter() const
void set_na_track_acc_with_filter(const char *value, size_t size)
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tms_track_id_
Definition: dbsnp.pb.h:414
PrimaryTrackReply(PrimaryTrackReply &&from) noexcept
Definition: dbsnp.pb.h:266
void Swap(SeqIdRequestStringAccverUnion *other)
Definition: dbsnp.pb.h:133
const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_objects_2fdbsnp_2fprimary_5ftrack_2fdbsnp_2eproto
CS_CONTEXT * ctx
Definition: t0006.c:12
static const char * schema
Definition: stats.c:20
string
Definition: cgiapp.hpp:687
const struct ncbi::grid::netcache::search::fields::SIZE size
SeqIdRequestStringAccverUnionDefaultTypeInternal _SeqIdRequestStringAccverUnion_default_instance_
PrimaryTrackReplyDefaultTypeInternal _PrimaryTrackReply_default_instance_
Magic spell ;-) needed for some weird compilers... very empiric.
const GenericPointer< typename T::ValueType > T2 value
Definition: pointer.h:1227
unsigned int a
Definition: ncbi_localip.c:102
#define nullptr
Definition: ncbimisc.hpp:45
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[2] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]
Definition: dbsnp.pb.h:52
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] PROTOBUF_SECTION_VARIABLE(protodesc_cold)
static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]
Definition: dbsnp.pb.h:51
static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]
Definition: dbsnp.pb.h:53
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr accver_
Definition: dbsnp.pb.h:249
static wxAcceleratorEntry entries[3]
#define const
Definition: zconf.h:232
Modified on Thu Jun 13 17:33:14 2024 by modify_doxy.py rev. 669887