/Users/deen/code/yugabyte-db/build/debugcov-clang-dynamic-arm64-ninja/src/yb/util/opid.pb.h
| Line | Count | Source (jump to first uncovered line) | 
| 1 |  | // Generated by the protocol buffer compiler.  DO NOT EDIT! | 
| 2 |  | // source: yb/util/opid.proto | 
| 3 |  |  | 
| 4 |  | #ifndef PROTOBUF_yb_2futil_2fopid_2eproto__INCLUDED | 
| 5 |  | #define PROTOBUF_yb_2futil_2fopid_2eproto__INCLUDED | 
| 6 |  |  | 
| 7 |  | #include <string> | 
| 8 |  |  | 
| 9 |  | #include <google/protobuf/stubs/common.h> | 
| 10 |  |  | 
| 11 |  | #if GOOGLE_PROTOBUF_VERSION < 3005000 | 
| 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 3005001 < GOOGLE_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/io/coded_stream.h> | 
| 23 |  | #include <google/protobuf/arena.h> | 
| 24 |  | #include <google/protobuf/arenastring.h> | 
| 25 |  | #include <google/protobuf/generated_message_table_driven.h> | 
| 26 |  | #include <google/protobuf/generated_message_util.h> | 
| 27 |  | #include <google/protobuf/metadata.h> | 
| 28 |  | #include <google/protobuf/message.h> | 
| 29 |  | #include <google/protobuf/repeated_field.h>  // IWYU pragma: export | 
| 30 |  | #include <google/protobuf/extension_set.h>  // IWYU pragma: export | 
| 31 |  | #include <google/protobuf/unknown_field_set.h> | 
| 32 |  | // @@protoc_insertion_point(includes) | 
| 33 |  |  | 
| 34 |  | namespace protobuf_yb_2futil_2fopid_2eproto { | 
| 35 |  | // Internal implementation detail -- do not use these members. | 
| 36 |  | struct TableStruct { | 
| 37 |  |   static const ::google::protobuf::internal::ParseTableField entries[]; | 
| 38 |  |   static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; | 
| 39 |  |   static const ::google::protobuf::internal::ParseTable schema[1]; | 
| 40 |  |   static const ::google::protobuf::internal::FieldMetadata field_metadata[]; | 
| 41 |  |   static const ::google::protobuf::internal::SerializationTable serialization_table[]; | 
| 42 |  |   static const ::google::protobuf::uint32 offsets[]; | 
| 43 |  | }; | 
| 44 |  | void AddDescriptors(); | 
| 45 |  | void InitDefaultsOpIdPBImpl(); | 
| 46 |  | void InitDefaultsOpIdPB(); | 
| 47 | 28.1k | inline void InitDefaults() { | 
| 48 | 28.1k |   InitDefaultsOpIdPB(); | 
| 49 | 28.1k | } | 
| 50 |  | }  // namespace protobuf_yb_2futil_2fopid_2eproto | 
| 51 |  | namespace yb { | 
| 52 |  | class OpIdPB; | 
| 53 |  | class OpIdPBDefaultTypeInternal; | 
| 54 |  | extern OpIdPBDefaultTypeInternal _OpIdPB_default_instance_; | 
| 55 |  | }  // namespace yb | 
| 56 |  | namespace yb { | 
| 57 |  |  | 
| 58 |  | // =================================================================== | 
| 59 |  |  | 
| 60 |  | class OpIdPB : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:yb.OpIdPB) */ { | 
| 61 |  |  public: | 
| 62 |  |   OpIdPB(); | 
| 63 |  |   virtual ~OpIdPB(); | 
| 64 |  |  | 
| 65 |  |   OpIdPB(const OpIdPB& from); | 
| 66 |  |  | 
| 67 | 115 |   inline OpIdPB& operator=(const OpIdPB& from) { | 
| 68 | 115 |     CopyFrom(from); | 
| 69 | 115 |     return *this; | 
| 70 | 115 |   } | 
| 71 |  |   #if LANG_CXX11 | 
| 72 |  |   OpIdPB(OpIdPB&& from) noexcept | 
| 73 | 451 |     : OpIdPB() { | 
| 74 | 451 |     *this = ::std::move(from); | 
| 75 | 451 |   } Unexecuted instantiation: yb::OpIdPB::OpIdPB(yb::OpIdPB&&)yb::OpIdPB::OpIdPB(yb::OpIdPB&&)| Line | Count | Source |  | 73 | 451 |     : OpIdPB() { |  | 74 | 451 |     *this = ::std::move(from); |  | 75 | 451 |   } | 
 | 
| 76 |  |  | 
| 77 | 451k |   inline OpIdPB& operator=(OpIdPB&& from) noexcept { | 
| 78 | 451k |     if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { | 
| 79 | 451k |       if (this != &from451k) InternalSwap(&from); | 
| 80 | 451k |     } else { | 
| 81 | 8 |       CopyFrom(from); | 
| 82 | 8 |     } | 
| 83 | 451k |     return *this; | 
| 84 | 451k |   } | 
| 85 |  |   #endif | 
| 86 | 0 |   inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const { | 
| 87 | 0 |     return _internal_metadata_.unknown_fields(); | 
| 88 | 0 |   } | 
| 89 | 0 |   inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() { | 
| 90 | 0 |     return _internal_metadata_.mutable_unknown_fields(); | 
| 91 | 0 |   } | 
| 92 |  |  | 
| 93 |  |   static const ::google::protobuf::Descriptor* descriptor(); | 
| 94 |  |   static const OpIdPB& default_instance(); | 
| 95 |  |  | 
| 96 |  |   static void InitAsDefaultInstance();  // FOR INTERNAL USE ONLY | 
| 97 | 306M |   static inline const OpIdPB* internal_default_instance() { | 
| 98 | 306M |     return reinterpret_cast<const OpIdPB*>( | 
| 99 | 306M |                &_OpIdPB_default_instance_); | 
| 100 | 306M |   } | 
| 101 |  |   static PROTOBUF_CONSTEXPR int const kIndexInFileMessages = | 
| 102 |  |     0; | 
| 103 |  |  | 
| 104 |  |   void Swap(OpIdPB* other); | 
| 105 | 0 |   friend void swap(OpIdPB& a, OpIdPB& b) { | 
| 106 | 0 |     a.Swap(&b); | 
| 107 | 0 |   } | 
| 108 |  |  | 
| 109 |  |   // implements Message ---------------------------------------------- | 
| 110 |  |  | 
| 111 | 0 |   inline OpIdPB* New() const PROTOBUF_FINAL { return New(NULL); } | 
| 112 |  |  | 
| 113 |  |   OpIdPB* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL; | 
| 114 |  |   void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 
| 115 |  |   void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL; | 
| 116 |  |   void CopyFrom(const OpIdPB& from); | 
| 117 |  |   void MergeFrom(const OpIdPB& from); | 
| 118 |  |   void Clear() PROTOBUF_FINAL; | 
| 119 |  |   bool IsInitialized() const PROTOBUF_FINAL; | 
| 120 |  |  | 
| 121 |  |   size_t ByteSizeLong() const PROTOBUF_FINAL; | 
| 122 |  |   bool MergePartialFromCodedStream( | 
| 123 |  |       ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL; | 
| 124 |  |   void SerializeWithCachedSizes( | 
| 125 |  |       ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL; | 
| 126 |  |   ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray( | 
| 127 |  |       bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL; | 
| 128 | 204M |   int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; } | 
| 129 |  |   private: | 
| 130 |  |   void SharedCtor(); | 
| 131 |  |   void SharedDtor(); | 
| 132 |  |   void SetCachedSize(int size) const PROTOBUF_FINAL; | 
| 133 |  |   void InternalSwap(OpIdPB* other); | 
| 134 |  |   private: | 
| 135 | 904k |   inline ::google::protobuf::Arena* GetArenaNoVirtual() const { | 
| 136 | 904k |     return NULL; | 
| 137 | 904k |   } | 
| 138 | 0 |   inline void* MaybeArenaPtr() const { | 
| 139 | 0 |     return NULL; | 
| 140 | 0 |   } | 
| 141 |  |   public: | 
| 142 |  |  | 
| 143 |  |   ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL; | 
| 144 |  |  | 
| 145 |  |   // nested types ---------------------------------------------------- | 
| 146 |  |  | 
| 147 |  |   // accessors ------------------------------------------------------- | 
| 148 |  |  | 
| 149 |  |   // required int64 term = 1; | 
| 150 |  |   bool has_term() const; | 
| 151 |  |   void clear_term(); | 
| 152 |  |   static const int kTermFieldNumber = 1; | 
| 153 |  |   ::google::protobuf::int64 term() const; | 
| 154 |  |   void set_term(::google::protobuf::int64 value); | 
| 155 |  |  | 
| 156 |  |   // required int64 index = 2; | 
| 157 |  |   bool has_index() const; | 
| 158 |  |   void clear_index(); | 
| 159 |  |   static const int kIndexFieldNumber = 2; | 
| 160 |  |   ::google::protobuf::int64 index() const; | 
| 161 |  |   void set_index(::google::protobuf::int64 value); | 
| 162 |  |  | 
| 163 |  |   // @@protoc_insertion_point(class_scope:yb.OpIdPB) | 
| 164 |  |  private: | 
| 165 |  |   void set_has_term(); | 
| 166 |  |   void clear_has_term(); | 
| 167 |  |   void set_has_index(); | 
| 168 |  |   void clear_has_index(); | 
| 169 |  |  | 
| 170 |  |   // helper for ByteSizeLong() | 
| 171 |  |   size_t RequiredFieldsByteSizeFallback() const; | 
| 172 |  |  | 
| 173 |  |   ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_; | 
| 174 |  |   ::google::protobuf::internal::HasBits<1> _has_bits_; | 
| 175 |  |   mutable int _cached_size_; | 
| 176 |  |   ::google::protobuf::int64 term_; | 
| 177 |  |   ::google::protobuf::int64 index_; | 
| 178 |  |   friend struct ::protobuf_yb_2futil_2fopid_2eproto::TableStruct; | 
| 179 |  |   friend void ::protobuf_yb_2futil_2fopid_2eproto::InitDefaultsOpIdPBImpl(); | 
| 180 |  | }; | 
| 181 |  | // =================================================================== | 
| 182 |  |  | 
| 183 |  |  | 
| 184 |  | // =================================================================== | 
| 185 |  |  | 
| 186 |  | #ifdef __GNUC__ | 
| 187 |  |   #pragma GCC diagnostic push | 
| 188 |  |   #pragma GCC diagnostic ignored "-Wstrict-aliasing" | 
| 189 |  | #endif  // __GNUC__ | 
| 190 |  | // OpIdPB | 
| 191 |  |  | 
| 192 |  | // required int64 term = 1; | 
| 193 | 0 | inline bool OpIdPB::has_term() const { | 
| 194 | 0 |   return (_has_bits_[0] & 0x00000001u) != 0; | 
| 195 | 0 | } | 
| 196 | 437M | inline void OpIdPB::set_has_term() { | 
| 197 | 437M |   _has_bits_[0] |= 0x00000001u; | 
| 198 | 437M | } | 
| 199 | 0 | inline void OpIdPB::clear_has_term() { | 
| 200 | 0 |   _has_bits_[0] &= ~0x00000001u; | 
| 201 | 0 | } | 
| 202 | 0 | inline void OpIdPB::clear_term() { | 
| 203 | 0 |   term_ = GOOGLE_LONGLONG(0); | 
| 204 | 0 |   clear_has_term(); | 
| 205 | 0 | } | 
| 206 | 1.15G | inline ::google::protobuf::int64 OpIdPB::term() const { | 
| 207 |  |   // @@protoc_insertion_point(field_get:yb.OpIdPB.term) | 
| 208 | 1.15G |   return term_; | 
| 209 | 1.15G | } | 
| 210 | 281M | inline void OpIdPB::set_term(::google::protobuf::int64 value) { | 
| 211 | 281M |   set_has_term(); | 
| 212 | 281M |   term_ = value; | 
| 213 |  |   // @@protoc_insertion_point(field_set:yb.OpIdPB.term) | 
| 214 | 281M | } | 
| 215 |  |  | 
| 216 |  | // required int64 index = 2; | 
| 217 | 0 | inline bool OpIdPB::has_index() const { | 
| 218 | 0 |   return (_has_bits_[0] & 0x00000002u) != 0; | 
| 219 | 0 | } | 
| 220 | 437M | inline void OpIdPB::set_has_index() { | 
| 221 | 437M |   _has_bits_[0] |= 0x00000002u; | 
| 222 | 437M | } | 
| 223 | 0 | inline void OpIdPB::clear_has_index() { | 
| 224 | 0 |   _has_bits_[0] &= ~0x00000002u; | 
| 225 | 0 | } | 
| 226 | 0 | inline void OpIdPB::clear_index() { | 
| 227 | 0 |   index_ = GOOGLE_LONGLONG(0); | 
| 228 | 0 |   clear_has_index(); | 
| 229 | 0 | } | 
| 230 | 1.49G | inline ::google::protobuf::int64 OpIdPB::index() const { | 
| 231 |  |   // @@protoc_insertion_point(field_get:yb.OpIdPB.index) | 
| 232 | 1.49G |   return index_; | 
| 233 | 1.49G | } | 
| 234 | 281M | inline void OpIdPB::set_index(::google::protobuf::int64 value) { | 
| 235 | 281M |   set_has_index(); | 
| 236 | 281M |   index_ = value; | 
| 237 |  |   // @@protoc_insertion_point(field_set:yb.OpIdPB.index) | 
| 238 | 281M | } | 
| 239 |  |  | 
| 240 |  | #ifdef __GNUC__ | 
| 241 |  |   #pragma GCC diagnostic pop | 
| 242 |  | #endif  // __GNUC__ | 
| 243 |  |  | 
| 244 |  | // @@protoc_insertion_point(namespace_scope) | 
| 245 |  |  | 
| 246 |  | }  // namespace yb | 
| 247 |  |  | 
| 248 |  | // @@protoc_insertion_point(global_scope) | 
| 249 |  |  | 
| 250 |  | #endif  // PROTOBUF_yb_2futil_2fopid_2eproto__INCLUDED |