github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/c-deps/libroach/protos/storage/enginepb/mvcc3.pb.h (about) 1 // Generated by the protocol buffer compiler. DO NOT EDIT! 2 // source: storage/enginepb/mvcc3.proto 3 4 #ifndef PROTOBUF_INCLUDED_storage_2fenginepb_2fmvcc3_2eproto 5 #define PROTOBUF_INCLUDED_storage_2fenginepb_2fmvcc3_2eproto 6 7 #include <string> 8 9 #include <google/protobuf/stubs/common.h> 10 11 #if GOOGLE_PROTOBUF_VERSION < 3006000 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 3006000 < 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/inlined_string_field.h> 28 #include <google/protobuf/metadata_lite.h> 29 #include <google/protobuf/message_lite.h> 30 #include <google/protobuf/repeated_field.h> // IWYU pragma: export 31 #include <google/protobuf/extension_set.h> // IWYU pragma: export 32 #include "util/hlc/timestamp.pb.h" 33 // @@protoc_insertion_point(includes) 34 #define PROTOBUF_INTERNAL_EXPORT_protobuf_storage_2fenginepb_2fmvcc3_2eproto 35 36 namespace protobuf_storage_2fenginepb_2fmvcc3_2eproto { 37 // Internal implementation detail -- do not use these members. 38 struct TableStruct { 39 static const ::google::protobuf::internal::ParseTableField entries[]; 40 static const ::google::protobuf::internal::AuxillaryParseTableField aux[]; 41 static const ::google::protobuf::internal::ParseTable schema[12]; 42 static const ::google::protobuf::internal::FieldMetadata field_metadata[]; 43 static const ::google::protobuf::internal::SerializationTable serialization_table[]; 44 static const ::google::protobuf::uint32 offsets[]; 45 }; 46 } // namespace protobuf_storage_2fenginepb_2fmvcc3_2eproto 47 namespace cockroach { 48 namespace storage { 49 namespace enginepb { 50 class IgnoredSeqNumRange; 51 class IgnoredSeqNumRangeDefaultTypeInternal; 52 extern IgnoredSeqNumRangeDefaultTypeInternal _IgnoredSeqNumRange_default_instance_; 53 class MVCCAbortIntentOp; 54 class MVCCAbortIntentOpDefaultTypeInternal; 55 extern MVCCAbortIntentOpDefaultTypeInternal _MVCCAbortIntentOp_default_instance_; 56 class MVCCAbortTxnOp; 57 class MVCCAbortTxnOpDefaultTypeInternal; 58 extern MVCCAbortTxnOpDefaultTypeInternal _MVCCAbortTxnOp_default_instance_; 59 class MVCCCommitIntentOp; 60 class MVCCCommitIntentOpDefaultTypeInternal; 61 extern MVCCCommitIntentOpDefaultTypeInternal _MVCCCommitIntentOp_default_instance_; 62 class MVCCLogicalOp; 63 class MVCCLogicalOpDefaultTypeInternal; 64 extern MVCCLogicalOpDefaultTypeInternal _MVCCLogicalOp_default_instance_; 65 class MVCCPersistentStats; 66 class MVCCPersistentStatsDefaultTypeInternal; 67 extern MVCCPersistentStatsDefaultTypeInternal _MVCCPersistentStats_default_instance_; 68 class MVCCStatsDelta; 69 class MVCCStatsDeltaDefaultTypeInternal; 70 extern MVCCStatsDeltaDefaultTypeInternal _MVCCStatsDelta_default_instance_; 71 class MVCCUpdateIntentOp; 72 class MVCCUpdateIntentOpDefaultTypeInternal; 73 extern MVCCUpdateIntentOpDefaultTypeInternal _MVCCUpdateIntentOp_default_instance_; 74 class MVCCWriteIntentOp; 75 class MVCCWriteIntentOpDefaultTypeInternal; 76 extern MVCCWriteIntentOpDefaultTypeInternal _MVCCWriteIntentOp_default_instance_; 77 class MVCCWriteValueOp; 78 class MVCCWriteValueOpDefaultTypeInternal; 79 extern MVCCWriteValueOpDefaultTypeInternal _MVCCWriteValueOp_default_instance_; 80 class RangeAppliedState; 81 class RangeAppliedStateDefaultTypeInternal; 82 extern RangeAppliedStateDefaultTypeInternal _RangeAppliedState_default_instance_; 83 class TxnMeta; 84 class TxnMetaDefaultTypeInternal; 85 extern TxnMetaDefaultTypeInternal _TxnMeta_default_instance_; 86 } // namespace enginepb 87 } // namespace storage 88 } // namespace cockroach 89 namespace google { 90 namespace protobuf { 91 template<> ::cockroach::storage::enginepb::IgnoredSeqNumRange* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::IgnoredSeqNumRange>(Arena*); 92 template<> ::cockroach::storage::enginepb::MVCCAbortIntentOp* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::MVCCAbortIntentOp>(Arena*); 93 template<> ::cockroach::storage::enginepb::MVCCAbortTxnOp* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::MVCCAbortTxnOp>(Arena*); 94 template<> ::cockroach::storage::enginepb::MVCCCommitIntentOp* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::MVCCCommitIntentOp>(Arena*); 95 template<> ::cockroach::storage::enginepb::MVCCLogicalOp* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::MVCCLogicalOp>(Arena*); 96 template<> ::cockroach::storage::enginepb::MVCCPersistentStats* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::MVCCPersistentStats>(Arena*); 97 template<> ::cockroach::storage::enginepb::MVCCStatsDelta* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::MVCCStatsDelta>(Arena*); 98 template<> ::cockroach::storage::enginepb::MVCCUpdateIntentOp* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::MVCCUpdateIntentOp>(Arena*); 99 template<> ::cockroach::storage::enginepb::MVCCWriteIntentOp* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::MVCCWriteIntentOp>(Arena*); 100 template<> ::cockroach::storage::enginepb::MVCCWriteValueOp* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::MVCCWriteValueOp>(Arena*); 101 template<> ::cockroach::storage::enginepb::RangeAppliedState* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::RangeAppliedState>(Arena*); 102 template<> ::cockroach::storage::enginepb::TxnMeta* Arena::CreateMaybeMessage<::cockroach::storage::enginepb::TxnMeta>(Arena*); 103 } // namespace protobuf 104 } // namespace google 105 namespace cockroach { 106 namespace storage { 107 namespace enginepb { 108 109 // =================================================================== 110 111 class TxnMeta : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.TxnMeta) */ { 112 public: 113 TxnMeta(); 114 virtual ~TxnMeta(); 115 116 TxnMeta(const TxnMeta& from); 117 118 inline TxnMeta& operator=(const TxnMeta& from) { 119 CopyFrom(from); 120 return *this; 121 } 122 #if LANG_CXX11 123 TxnMeta(TxnMeta&& from) noexcept 124 : TxnMeta() { 125 *this = ::std::move(from); 126 } 127 128 inline TxnMeta& operator=(TxnMeta&& from) noexcept { 129 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 130 if (this != &from) InternalSwap(&from); 131 } else { 132 CopyFrom(from); 133 } 134 return *this; 135 } 136 #endif 137 static const TxnMeta& default_instance(); 138 139 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 140 static inline const TxnMeta* internal_default_instance() { 141 return reinterpret_cast<const TxnMeta*>( 142 &_TxnMeta_default_instance_); 143 } 144 static constexpr int kIndexInFileMessages = 145 0; 146 147 void Swap(TxnMeta* other); 148 friend void swap(TxnMeta& a, TxnMeta& b) { 149 a.Swap(&b); 150 } 151 152 // implements Message ---------------------------------------------- 153 154 inline TxnMeta* New() const final { 155 return CreateMaybeMessage<TxnMeta>(NULL); 156 } 157 158 TxnMeta* New(::google::protobuf::Arena* arena) const final { 159 return CreateMaybeMessage<TxnMeta>(arena); 160 } 161 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 162 final; 163 void CopyFrom(const TxnMeta& from); 164 void MergeFrom(const TxnMeta& from); 165 void Clear() final; 166 bool IsInitialized() const final; 167 168 size_t ByteSizeLong() const final; 169 bool MergePartialFromCodedStream( 170 ::google::protobuf::io::CodedInputStream* input) final; 171 void SerializeWithCachedSizes( 172 ::google::protobuf::io::CodedOutputStream* output) const final; 173 void DiscardUnknownFields(); 174 int GetCachedSize() const final { return _cached_size_.Get(); } 175 176 private: 177 void SharedCtor(); 178 void SharedDtor(); 179 void SetCachedSize(int size) const; 180 void InternalSwap(TxnMeta* other); 181 private: 182 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 183 return NULL; 184 } 185 inline void* MaybeArenaPtr() const { 186 return NULL; 187 } 188 public: 189 190 ::std::string GetTypeName() const final; 191 192 // nested types ---------------------------------------------------- 193 194 // accessors ------------------------------------------------------- 195 196 void clear_id(); 197 static const int kIdFieldNumber = 1; 198 const ::std::string& id() const; 199 void set_id(const ::std::string& value); 200 #if LANG_CXX11 201 void set_id(::std::string&& value); 202 #endif 203 void set_id(const char* value); 204 void set_id(const void* value, size_t size); 205 ::std::string* mutable_id(); 206 ::std::string* release_id(); 207 void set_allocated_id(::std::string* id); 208 209 // bytes key = 3; 210 void clear_key(); 211 static const int kKeyFieldNumber = 3; 212 const ::std::string& key() const; 213 void set_key(const ::std::string& value); 214 #if LANG_CXX11 215 void set_key(::std::string&& value); 216 #endif 217 void set_key(const char* value); 218 void set_key(const void* value, size_t size); 219 ::std::string* mutable_key(); 220 ::std::string* release_key(); 221 void set_allocated_key(::std::string* key); 222 223 bool has_write_timestamp() const; 224 void clear_write_timestamp(); 225 static const int kWriteTimestampFieldNumber = 5; 226 private: 227 const ::cockroach::util::hlc::Timestamp& _internal_write_timestamp() const; 228 public: 229 const ::cockroach::util::hlc::Timestamp& write_timestamp() const; 230 ::cockroach::util::hlc::Timestamp* release_write_timestamp(); 231 ::cockroach::util::hlc::Timestamp* mutable_write_timestamp(); 232 void set_allocated_write_timestamp(::cockroach::util::hlc::Timestamp* write_timestamp); 233 234 bool has_min_timestamp() const; 235 void clear_min_timestamp(); 236 static const int kMinTimestampFieldNumber = 9; 237 private: 238 const ::cockroach::util::hlc::Timestamp& _internal_min_timestamp() const; 239 public: 240 const ::cockroach::util::hlc::Timestamp& min_timestamp() const; 241 ::cockroach::util::hlc::Timestamp* release_min_timestamp(); 242 ::cockroach::util::hlc::Timestamp* mutable_min_timestamp(); 243 void set_allocated_min_timestamp(::cockroach::util::hlc::Timestamp* min_timestamp); 244 245 void clear_epoch(); 246 static const int kEpochFieldNumber = 4; 247 ::google::protobuf::int32 epoch() const; 248 void set_epoch(::google::protobuf::int32 value); 249 250 void clear_priority(); 251 static const int kPriorityFieldNumber = 6; 252 ::google::protobuf::int32 priority() const; 253 void set_priority(::google::protobuf::int32 value); 254 255 void clear_sequence(); 256 static const int kSequenceFieldNumber = 7; 257 ::google::protobuf::int32 sequence() const; 258 void set_sequence(::google::protobuf::int32 value); 259 260 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.TxnMeta) 261 private: 262 263 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 264 ::google::protobuf::internal::ArenaStringPtr id_; 265 ::google::protobuf::internal::ArenaStringPtr key_; 266 ::cockroach::util::hlc::Timestamp* write_timestamp_; 267 ::cockroach::util::hlc::Timestamp* min_timestamp_; 268 ::google::protobuf::int32 epoch_; 269 ::google::protobuf::int32 priority_; 270 ::google::protobuf::int32 sequence_; 271 mutable ::google::protobuf::internal::CachedSize _cached_size_; 272 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 273 }; 274 // ------------------------------------------------------------------- 275 276 class IgnoredSeqNumRange : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.IgnoredSeqNumRange) */ { 277 public: 278 IgnoredSeqNumRange(); 279 virtual ~IgnoredSeqNumRange(); 280 281 IgnoredSeqNumRange(const IgnoredSeqNumRange& from); 282 283 inline IgnoredSeqNumRange& operator=(const IgnoredSeqNumRange& from) { 284 CopyFrom(from); 285 return *this; 286 } 287 #if LANG_CXX11 288 IgnoredSeqNumRange(IgnoredSeqNumRange&& from) noexcept 289 : IgnoredSeqNumRange() { 290 *this = ::std::move(from); 291 } 292 293 inline IgnoredSeqNumRange& operator=(IgnoredSeqNumRange&& from) noexcept { 294 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 295 if (this != &from) InternalSwap(&from); 296 } else { 297 CopyFrom(from); 298 } 299 return *this; 300 } 301 #endif 302 static const IgnoredSeqNumRange& default_instance(); 303 304 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 305 static inline const IgnoredSeqNumRange* internal_default_instance() { 306 return reinterpret_cast<const IgnoredSeqNumRange*>( 307 &_IgnoredSeqNumRange_default_instance_); 308 } 309 static constexpr int kIndexInFileMessages = 310 1; 311 312 void Swap(IgnoredSeqNumRange* other); 313 friend void swap(IgnoredSeqNumRange& a, IgnoredSeqNumRange& b) { 314 a.Swap(&b); 315 } 316 317 // implements Message ---------------------------------------------- 318 319 inline IgnoredSeqNumRange* New() const final { 320 return CreateMaybeMessage<IgnoredSeqNumRange>(NULL); 321 } 322 323 IgnoredSeqNumRange* New(::google::protobuf::Arena* arena) const final { 324 return CreateMaybeMessage<IgnoredSeqNumRange>(arena); 325 } 326 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 327 final; 328 void CopyFrom(const IgnoredSeqNumRange& from); 329 void MergeFrom(const IgnoredSeqNumRange& from); 330 void Clear() final; 331 bool IsInitialized() const final; 332 333 size_t ByteSizeLong() const final; 334 bool MergePartialFromCodedStream( 335 ::google::protobuf::io::CodedInputStream* input) final; 336 void SerializeWithCachedSizes( 337 ::google::protobuf::io::CodedOutputStream* output) const final; 338 void DiscardUnknownFields(); 339 int GetCachedSize() const final { return _cached_size_.Get(); } 340 341 private: 342 void SharedCtor(); 343 void SharedDtor(); 344 void SetCachedSize(int size) const; 345 void InternalSwap(IgnoredSeqNumRange* other); 346 private: 347 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 348 return NULL; 349 } 350 inline void* MaybeArenaPtr() const { 351 return NULL; 352 } 353 public: 354 355 ::std::string GetTypeName() const final; 356 357 // nested types ---------------------------------------------------- 358 359 // accessors ------------------------------------------------------- 360 361 void clear_start(); 362 static const int kStartFieldNumber = 1; 363 ::google::protobuf::int32 start() const; 364 void set_start(::google::protobuf::int32 value); 365 366 void clear_end(); 367 static const int kEndFieldNumber = 2; 368 ::google::protobuf::int32 end() const; 369 void set_end(::google::protobuf::int32 value); 370 371 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.IgnoredSeqNumRange) 372 private: 373 374 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 375 ::google::protobuf::int32 start_; 376 ::google::protobuf::int32 end_; 377 mutable ::google::protobuf::internal::CachedSize _cached_size_; 378 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 379 }; 380 // ------------------------------------------------------------------- 381 382 class MVCCStatsDelta : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.MVCCStatsDelta) */ { 383 public: 384 MVCCStatsDelta(); 385 virtual ~MVCCStatsDelta(); 386 387 MVCCStatsDelta(const MVCCStatsDelta& from); 388 389 inline MVCCStatsDelta& operator=(const MVCCStatsDelta& from) { 390 CopyFrom(from); 391 return *this; 392 } 393 #if LANG_CXX11 394 MVCCStatsDelta(MVCCStatsDelta&& from) noexcept 395 : MVCCStatsDelta() { 396 *this = ::std::move(from); 397 } 398 399 inline MVCCStatsDelta& operator=(MVCCStatsDelta&& from) noexcept { 400 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 401 if (this != &from) InternalSwap(&from); 402 } else { 403 CopyFrom(from); 404 } 405 return *this; 406 } 407 #endif 408 static const MVCCStatsDelta& default_instance(); 409 410 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 411 static inline const MVCCStatsDelta* internal_default_instance() { 412 return reinterpret_cast<const MVCCStatsDelta*>( 413 &_MVCCStatsDelta_default_instance_); 414 } 415 static constexpr int kIndexInFileMessages = 416 2; 417 418 void Swap(MVCCStatsDelta* other); 419 friend void swap(MVCCStatsDelta& a, MVCCStatsDelta& b) { 420 a.Swap(&b); 421 } 422 423 // implements Message ---------------------------------------------- 424 425 inline MVCCStatsDelta* New() const final { 426 return CreateMaybeMessage<MVCCStatsDelta>(NULL); 427 } 428 429 MVCCStatsDelta* New(::google::protobuf::Arena* arena) const final { 430 return CreateMaybeMessage<MVCCStatsDelta>(arena); 431 } 432 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 433 final; 434 void CopyFrom(const MVCCStatsDelta& from); 435 void MergeFrom(const MVCCStatsDelta& from); 436 void Clear() final; 437 bool IsInitialized() const final; 438 439 size_t ByteSizeLong() const final; 440 bool MergePartialFromCodedStream( 441 ::google::protobuf::io::CodedInputStream* input) final; 442 void SerializeWithCachedSizes( 443 ::google::protobuf::io::CodedOutputStream* output) const final; 444 void DiscardUnknownFields(); 445 int GetCachedSize() const final { return _cached_size_.Get(); } 446 447 private: 448 void SharedCtor(); 449 void SharedDtor(); 450 void SetCachedSize(int size) const; 451 void InternalSwap(MVCCStatsDelta* other); 452 private: 453 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 454 return NULL; 455 } 456 inline void* MaybeArenaPtr() const { 457 return NULL; 458 } 459 public: 460 461 ::std::string GetTypeName() const final; 462 463 // nested types ---------------------------------------------------- 464 465 // accessors ------------------------------------------------------- 466 467 // sfixed64 last_update_nanos = 1; 468 void clear_last_update_nanos(); 469 static const int kLastUpdateNanosFieldNumber = 1; 470 ::google::protobuf::int64 last_update_nanos() const; 471 void set_last_update_nanos(::google::protobuf::int64 value); 472 473 // sfixed64 intent_age = 2; 474 void clear_intent_age(); 475 static const int kIntentAgeFieldNumber = 2; 476 ::google::protobuf::int64 intent_age() const; 477 void set_intent_age(::google::protobuf::int64 value); 478 479 void clear_gc_bytes_age(); 480 static const int kGcBytesAgeFieldNumber = 3; 481 ::google::protobuf::int64 gc_bytes_age() const; 482 void set_gc_bytes_age(::google::protobuf::int64 value); 483 484 // sint64 live_bytes = 4; 485 void clear_live_bytes(); 486 static const int kLiveBytesFieldNumber = 4; 487 ::google::protobuf::int64 live_bytes() const; 488 void set_live_bytes(::google::protobuf::int64 value); 489 490 // sint64 live_count = 5; 491 void clear_live_count(); 492 static const int kLiveCountFieldNumber = 5; 493 ::google::protobuf::int64 live_count() const; 494 void set_live_count(::google::protobuf::int64 value); 495 496 // sint64 key_bytes = 6; 497 void clear_key_bytes(); 498 static const int kKeyBytesFieldNumber = 6; 499 ::google::protobuf::int64 key_bytes() const; 500 void set_key_bytes(::google::protobuf::int64 value); 501 502 // sint64 key_count = 7; 503 void clear_key_count(); 504 static const int kKeyCountFieldNumber = 7; 505 ::google::protobuf::int64 key_count() const; 506 void set_key_count(::google::protobuf::int64 value); 507 508 // sint64 val_bytes = 8; 509 void clear_val_bytes(); 510 static const int kValBytesFieldNumber = 8; 511 ::google::protobuf::int64 val_bytes() const; 512 void set_val_bytes(::google::protobuf::int64 value); 513 514 // sint64 val_count = 9; 515 void clear_val_count(); 516 static const int kValCountFieldNumber = 9; 517 ::google::protobuf::int64 val_count() const; 518 void set_val_count(::google::protobuf::int64 value); 519 520 // sint64 intent_bytes = 10; 521 void clear_intent_bytes(); 522 static const int kIntentBytesFieldNumber = 10; 523 ::google::protobuf::int64 intent_bytes() const; 524 void set_intent_bytes(::google::protobuf::int64 value); 525 526 // sint64 intent_count = 11; 527 void clear_intent_count(); 528 static const int kIntentCountFieldNumber = 11; 529 ::google::protobuf::int64 intent_count() const; 530 void set_intent_count(::google::protobuf::int64 value); 531 532 // sint64 sys_bytes = 12; 533 void clear_sys_bytes(); 534 static const int kSysBytesFieldNumber = 12; 535 ::google::protobuf::int64 sys_bytes() const; 536 void set_sys_bytes(::google::protobuf::int64 value); 537 538 // sint64 sys_count = 13; 539 void clear_sys_count(); 540 static const int kSysCountFieldNumber = 13; 541 ::google::protobuf::int64 sys_count() const; 542 void set_sys_count(::google::protobuf::int64 value); 543 544 // int64 contains_estimates = 14; 545 void clear_contains_estimates(); 546 static const int kContainsEstimatesFieldNumber = 14; 547 ::google::protobuf::int64 contains_estimates() const; 548 void set_contains_estimates(::google::protobuf::int64 value); 549 550 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.MVCCStatsDelta) 551 private: 552 553 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 554 ::google::protobuf::int64 last_update_nanos_; 555 ::google::protobuf::int64 intent_age_; 556 ::google::protobuf::int64 gc_bytes_age_; 557 ::google::protobuf::int64 live_bytes_; 558 ::google::protobuf::int64 live_count_; 559 ::google::protobuf::int64 key_bytes_; 560 ::google::protobuf::int64 key_count_; 561 ::google::protobuf::int64 val_bytes_; 562 ::google::protobuf::int64 val_count_; 563 ::google::protobuf::int64 intent_bytes_; 564 ::google::protobuf::int64 intent_count_; 565 ::google::protobuf::int64 sys_bytes_; 566 ::google::protobuf::int64 sys_count_; 567 ::google::protobuf::int64 contains_estimates_; 568 mutable ::google::protobuf::internal::CachedSize _cached_size_; 569 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 570 }; 571 // ------------------------------------------------------------------- 572 573 class MVCCPersistentStats : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.MVCCPersistentStats) */ { 574 public: 575 MVCCPersistentStats(); 576 virtual ~MVCCPersistentStats(); 577 578 MVCCPersistentStats(const MVCCPersistentStats& from); 579 580 inline MVCCPersistentStats& operator=(const MVCCPersistentStats& from) { 581 CopyFrom(from); 582 return *this; 583 } 584 #if LANG_CXX11 585 MVCCPersistentStats(MVCCPersistentStats&& from) noexcept 586 : MVCCPersistentStats() { 587 *this = ::std::move(from); 588 } 589 590 inline MVCCPersistentStats& operator=(MVCCPersistentStats&& from) noexcept { 591 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 592 if (this != &from) InternalSwap(&from); 593 } else { 594 CopyFrom(from); 595 } 596 return *this; 597 } 598 #endif 599 static const MVCCPersistentStats& default_instance(); 600 601 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 602 static inline const MVCCPersistentStats* internal_default_instance() { 603 return reinterpret_cast<const MVCCPersistentStats*>( 604 &_MVCCPersistentStats_default_instance_); 605 } 606 static constexpr int kIndexInFileMessages = 607 3; 608 609 void Swap(MVCCPersistentStats* other); 610 friend void swap(MVCCPersistentStats& a, MVCCPersistentStats& b) { 611 a.Swap(&b); 612 } 613 614 // implements Message ---------------------------------------------- 615 616 inline MVCCPersistentStats* New() const final { 617 return CreateMaybeMessage<MVCCPersistentStats>(NULL); 618 } 619 620 MVCCPersistentStats* New(::google::protobuf::Arena* arena) const final { 621 return CreateMaybeMessage<MVCCPersistentStats>(arena); 622 } 623 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 624 final; 625 void CopyFrom(const MVCCPersistentStats& from); 626 void MergeFrom(const MVCCPersistentStats& from); 627 void Clear() final; 628 bool IsInitialized() const final; 629 630 size_t ByteSizeLong() const final; 631 bool MergePartialFromCodedStream( 632 ::google::protobuf::io::CodedInputStream* input) final; 633 void SerializeWithCachedSizes( 634 ::google::protobuf::io::CodedOutputStream* output) const final; 635 void DiscardUnknownFields(); 636 int GetCachedSize() const final { return _cached_size_.Get(); } 637 638 private: 639 void SharedCtor(); 640 void SharedDtor(); 641 void SetCachedSize(int size) const; 642 void InternalSwap(MVCCPersistentStats* other); 643 private: 644 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 645 return NULL; 646 } 647 inline void* MaybeArenaPtr() const { 648 return NULL; 649 } 650 public: 651 652 ::std::string GetTypeName() const final; 653 654 // nested types ---------------------------------------------------- 655 656 // accessors ------------------------------------------------------- 657 658 // sfixed64 last_update_nanos = 1; 659 void clear_last_update_nanos(); 660 static const int kLastUpdateNanosFieldNumber = 1; 661 ::google::protobuf::int64 last_update_nanos() const; 662 void set_last_update_nanos(::google::protobuf::int64 value); 663 664 // sfixed64 intent_age = 2; 665 void clear_intent_age(); 666 static const int kIntentAgeFieldNumber = 2; 667 ::google::protobuf::int64 intent_age() const; 668 void set_intent_age(::google::protobuf::int64 value); 669 670 void clear_gc_bytes_age(); 671 static const int kGcBytesAgeFieldNumber = 3; 672 ::google::protobuf::int64 gc_bytes_age() const; 673 void set_gc_bytes_age(::google::protobuf::int64 value); 674 675 // int64 live_bytes = 4; 676 void clear_live_bytes(); 677 static const int kLiveBytesFieldNumber = 4; 678 ::google::protobuf::int64 live_bytes() const; 679 void set_live_bytes(::google::protobuf::int64 value); 680 681 // int64 live_count = 5; 682 void clear_live_count(); 683 static const int kLiveCountFieldNumber = 5; 684 ::google::protobuf::int64 live_count() const; 685 void set_live_count(::google::protobuf::int64 value); 686 687 // int64 key_bytes = 6; 688 void clear_key_bytes(); 689 static const int kKeyBytesFieldNumber = 6; 690 ::google::protobuf::int64 key_bytes() const; 691 void set_key_bytes(::google::protobuf::int64 value); 692 693 // int64 key_count = 7; 694 void clear_key_count(); 695 static const int kKeyCountFieldNumber = 7; 696 ::google::protobuf::int64 key_count() const; 697 void set_key_count(::google::protobuf::int64 value); 698 699 // int64 val_bytes = 8; 700 void clear_val_bytes(); 701 static const int kValBytesFieldNumber = 8; 702 ::google::protobuf::int64 val_bytes() const; 703 void set_val_bytes(::google::protobuf::int64 value); 704 705 // int64 val_count = 9; 706 void clear_val_count(); 707 static const int kValCountFieldNumber = 9; 708 ::google::protobuf::int64 val_count() const; 709 void set_val_count(::google::protobuf::int64 value); 710 711 // int64 intent_bytes = 10; 712 void clear_intent_bytes(); 713 static const int kIntentBytesFieldNumber = 10; 714 ::google::protobuf::int64 intent_bytes() const; 715 void set_intent_bytes(::google::protobuf::int64 value); 716 717 // int64 intent_count = 11; 718 void clear_intent_count(); 719 static const int kIntentCountFieldNumber = 11; 720 ::google::protobuf::int64 intent_count() const; 721 void set_intent_count(::google::protobuf::int64 value); 722 723 // int64 sys_bytes = 12; 724 void clear_sys_bytes(); 725 static const int kSysBytesFieldNumber = 12; 726 ::google::protobuf::int64 sys_bytes() const; 727 void set_sys_bytes(::google::protobuf::int64 value); 728 729 // int64 sys_count = 13; 730 void clear_sys_count(); 731 static const int kSysCountFieldNumber = 13; 732 ::google::protobuf::int64 sys_count() const; 733 void set_sys_count(::google::protobuf::int64 value); 734 735 // int64 contains_estimates = 14; 736 void clear_contains_estimates(); 737 static const int kContainsEstimatesFieldNumber = 14; 738 ::google::protobuf::int64 contains_estimates() const; 739 void set_contains_estimates(::google::protobuf::int64 value); 740 741 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.MVCCPersistentStats) 742 private: 743 744 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 745 ::google::protobuf::int64 last_update_nanos_; 746 ::google::protobuf::int64 intent_age_; 747 ::google::protobuf::int64 gc_bytes_age_; 748 ::google::protobuf::int64 live_bytes_; 749 ::google::protobuf::int64 live_count_; 750 ::google::protobuf::int64 key_bytes_; 751 ::google::protobuf::int64 key_count_; 752 ::google::protobuf::int64 val_bytes_; 753 ::google::protobuf::int64 val_count_; 754 ::google::protobuf::int64 intent_bytes_; 755 ::google::protobuf::int64 intent_count_; 756 ::google::protobuf::int64 sys_bytes_; 757 ::google::protobuf::int64 sys_count_; 758 ::google::protobuf::int64 contains_estimates_; 759 mutable ::google::protobuf::internal::CachedSize _cached_size_; 760 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 761 }; 762 // ------------------------------------------------------------------- 763 764 class RangeAppliedState : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.RangeAppliedState) */ { 765 public: 766 RangeAppliedState(); 767 virtual ~RangeAppliedState(); 768 769 RangeAppliedState(const RangeAppliedState& from); 770 771 inline RangeAppliedState& operator=(const RangeAppliedState& from) { 772 CopyFrom(from); 773 return *this; 774 } 775 #if LANG_CXX11 776 RangeAppliedState(RangeAppliedState&& from) noexcept 777 : RangeAppliedState() { 778 *this = ::std::move(from); 779 } 780 781 inline RangeAppliedState& operator=(RangeAppliedState&& from) noexcept { 782 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 783 if (this != &from) InternalSwap(&from); 784 } else { 785 CopyFrom(from); 786 } 787 return *this; 788 } 789 #endif 790 static const RangeAppliedState& default_instance(); 791 792 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 793 static inline const RangeAppliedState* internal_default_instance() { 794 return reinterpret_cast<const RangeAppliedState*>( 795 &_RangeAppliedState_default_instance_); 796 } 797 static constexpr int kIndexInFileMessages = 798 4; 799 800 void Swap(RangeAppliedState* other); 801 friend void swap(RangeAppliedState& a, RangeAppliedState& b) { 802 a.Swap(&b); 803 } 804 805 // implements Message ---------------------------------------------- 806 807 inline RangeAppliedState* New() const final { 808 return CreateMaybeMessage<RangeAppliedState>(NULL); 809 } 810 811 RangeAppliedState* New(::google::protobuf::Arena* arena) const final { 812 return CreateMaybeMessage<RangeAppliedState>(arena); 813 } 814 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 815 final; 816 void CopyFrom(const RangeAppliedState& from); 817 void MergeFrom(const RangeAppliedState& from); 818 void Clear() final; 819 bool IsInitialized() const final; 820 821 size_t ByteSizeLong() const final; 822 bool MergePartialFromCodedStream( 823 ::google::protobuf::io::CodedInputStream* input) final; 824 void SerializeWithCachedSizes( 825 ::google::protobuf::io::CodedOutputStream* output) const final; 826 void DiscardUnknownFields(); 827 int GetCachedSize() const final { return _cached_size_.Get(); } 828 829 private: 830 void SharedCtor(); 831 void SharedDtor(); 832 void SetCachedSize(int size) const; 833 void InternalSwap(RangeAppliedState* other); 834 private: 835 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 836 return NULL; 837 } 838 inline void* MaybeArenaPtr() const { 839 return NULL; 840 } 841 public: 842 843 ::std::string GetTypeName() const final; 844 845 // nested types ---------------------------------------------------- 846 847 // accessors ------------------------------------------------------- 848 849 bool has_range_stats() const; 850 void clear_range_stats(); 851 static const int kRangeStatsFieldNumber = 3; 852 private: 853 const ::cockroach::storage::enginepb::MVCCPersistentStats& _internal_range_stats() const; 854 public: 855 const ::cockroach::storage::enginepb::MVCCPersistentStats& range_stats() const; 856 ::cockroach::storage::enginepb::MVCCPersistentStats* release_range_stats(); 857 ::cockroach::storage::enginepb::MVCCPersistentStats* mutable_range_stats(); 858 void set_allocated_range_stats(::cockroach::storage::enginepb::MVCCPersistentStats* range_stats); 859 860 // uint64 raft_applied_index = 1; 861 void clear_raft_applied_index(); 862 static const int kRaftAppliedIndexFieldNumber = 1; 863 ::google::protobuf::uint64 raft_applied_index() const; 864 void set_raft_applied_index(::google::protobuf::uint64 value); 865 866 // uint64 lease_applied_index = 2; 867 void clear_lease_applied_index(); 868 static const int kLeaseAppliedIndexFieldNumber = 2; 869 ::google::protobuf::uint64 lease_applied_index() const; 870 void set_lease_applied_index(::google::protobuf::uint64 value); 871 872 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.RangeAppliedState) 873 private: 874 875 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 876 ::cockroach::storage::enginepb::MVCCPersistentStats* range_stats_; 877 ::google::protobuf::uint64 raft_applied_index_; 878 ::google::protobuf::uint64 lease_applied_index_; 879 mutable ::google::protobuf::internal::CachedSize _cached_size_; 880 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 881 }; 882 // ------------------------------------------------------------------- 883 884 class MVCCWriteValueOp : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.MVCCWriteValueOp) */ { 885 public: 886 MVCCWriteValueOp(); 887 virtual ~MVCCWriteValueOp(); 888 889 MVCCWriteValueOp(const MVCCWriteValueOp& from); 890 891 inline MVCCWriteValueOp& operator=(const MVCCWriteValueOp& from) { 892 CopyFrom(from); 893 return *this; 894 } 895 #if LANG_CXX11 896 MVCCWriteValueOp(MVCCWriteValueOp&& from) noexcept 897 : MVCCWriteValueOp() { 898 *this = ::std::move(from); 899 } 900 901 inline MVCCWriteValueOp& operator=(MVCCWriteValueOp&& from) noexcept { 902 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 903 if (this != &from) InternalSwap(&from); 904 } else { 905 CopyFrom(from); 906 } 907 return *this; 908 } 909 #endif 910 static const MVCCWriteValueOp& default_instance(); 911 912 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 913 static inline const MVCCWriteValueOp* internal_default_instance() { 914 return reinterpret_cast<const MVCCWriteValueOp*>( 915 &_MVCCWriteValueOp_default_instance_); 916 } 917 static constexpr int kIndexInFileMessages = 918 5; 919 920 void Swap(MVCCWriteValueOp* other); 921 friend void swap(MVCCWriteValueOp& a, MVCCWriteValueOp& b) { 922 a.Swap(&b); 923 } 924 925 // implements Message ---------------------------------------------- 926 927 inline MVCCWriteValueOp* New() const final { 928 return CreateMaybeMessage<MVCCWriteValueOp>(NULL); 929 } 930 931 MVCCWriteValueOp* New(::google::protobuf::Arena* arena) const final { 932 return CreateMaybeMessage<MVCCWriteValueOp>(arena); 933 } 934 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 935 final; 936 void CopyFrom(const MVCCWriteValueOp& from); 937 void MergeFrom(const MVCCWriteValueOp& from); 938 void Clear() final; 939 bool IsInitialized() const final; 940 941 size_t ByteSizeLong() const final; 942 bool MergePartialFromCodedStream( 943 ::google::protobuf::io::CodedInputStream* input) final; 944 void SerializeWithCachedSizes( 945 ::google::protobuf::io::CodedOutputStream* output) const final; 946 void DiscardUnknownFields(); 947 int GetCachedSize() const final { return _cached_size_.Get(); } 948 949 private: 950 void SharedCtor(); 951 void SharedDtor(); 952 void SetCachedSize(int size) const; 953 void InternalSwap(MVCCWriteValueOp* other); 954 private: 955 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 956 return NULL; 957 } 958 inline void* MaybeArenaPtr() const { 959 return NULL; 960 } 961 public: 962 963 ::std::string GetTypeName() const final; 964 965 // nested types ---------------------------------------------------- 966 967 // accessors ------------------------------------------------------- 968 969 // bytes key = 1; 970 void clear_key(); 971 static const int kKeyFieldNumber = 1; 972 const ::std::string& key() const; 973 void set_key(const ::std::string& value); 974 #if LANG_CXX11 975 void set_key(::std::string&& value); 976 #endif 977 void set_key(const char* value); 978 void set_key(const void* value, size_t size); 979 ::std::string* mutable_key(); 980 ::std::string* release_key(); 981 void set_allocated_key(::std::string* key); 982 983 // bytes value = 3; 984 void clear_value(); 985 static const int kValueFieldNumber = 3; 986 const ::std::string& value() const; 987 void set_value(const ::std::string& value); 988 #if LANG_CXX11 989 void set_value(::std::string&& value); 990 #endif 991 void set_value(const char* value); 992 void set_value(const void* value, size_t size); 993 ::std::string* mutable_value(); 994 ::std::string* release_value(); 995 void set_allocated_value(::std::string* value); 996 997 // bytes prev_value = 4; 998 void clear_prev_value(); 999 static const int kPrevValueFieldNumber = 4; 1000 const ::std::string& prev_value() const; 1001 void set_prev_value(const ::std::string& value); 1002 #if LANG_CXX11 1003 void set_prev_value(::std::string&& value); 1004 #endif 1005 void set_prev_value(const char* value); 1006 void set_prev_value(const void* value, size_t size); 1007 ::std::string* mutable_prev_value(); 1008 ::std::string* release_prev_value(); 1009 void set_allocated_prev_value(::std::string* prev_value); 1010 1011 bool has_timestamp() const; 1012 void clear_timestamp(); 1013 static const int kTimestampFieldNumber = 2; 1014 private: 1015 const ::cockroach::util::hlc::Timestamp& _internal_timestamp() const; 1016 public: 1017 const ::cockroach::util::hlc::Timestamp& timestamp() const; 1018 ::cockroach::util::hlc::Timestamp* release_timestamp(); 1019 ::cockroach::util::hlc::Timestamp* mutable_timestamp(); 1020 void set_allocated_timestamp(::cockroach::util::hlc::Timestamp* timestamp); 1021 1022 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.MVCCWriteValueOp) 1023 private: 1024 1025 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 1026 ::google::protobuf::internal::ArenaStringPtr key_; 1027 ::google::protobuf::internal::ArenaStringPtr value_; 1028 ::google::protobuf::internal::ArenaStringPtr prev_value_; 1029 ::cockroach::util::hlc::Timestamp* timestamp_; 1030 mutable ::google::protobuf::internal::CachedSize _cached_size_; 1031 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 1032 }; 1033 // ------------------------------------------------------------------- 1034 1035 class MVCCWriteIntentOp : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.MVCCWriteIntentOp) */ { 1036 public: 1037 MVCCWriteIntentOp(); 1038 virtual ~MVCCWriteIntentOp(); 1039 1040 MVCCWriteIntentOp(const MVCCWriteIntentOp& from); 1041 1042 inline MVCCWriteIntentOp& operator=(const MVCCWriteIntentOp& from) { 1043 CopyFrom(from); 1044 return *this; 1045 } 1046 #if LANG_CXX11 1047 MVCCWriteIntentOp(MVCCWriteIntentOp&& from) noexcept 1048 : MVCCWriteIntentOp() { 1049 *this = ::std::move(from); 1050 } 1051 1052 inline MVCCWriteIntentOp& operator=(MVCCWriteIntentOp&& from) noexcept { 1053 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 1054 if (this != &from) InternalSwap(&from); 1055 } else { 1056 CopyFrom(from); 1057 } 1058 return *this; 1059 } 1060 #endif 1061 static const MVCCWriteIntentOp& default_instance(); 1062 1063 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 1064 static inline const MVCCWriteIntentOp* internal_default_instance() { 1065 return reinterpret_cast<const MVCCWriteIntentOp*>( 1066 &_MVCCWriteIntentOp_default_instance_); 1067 } 1068 static constexpr int kIndexInFileMessages = 1069 6; 1070 1071 void Swap(MVCCWriteIntentOp* other); 1072 friend void swap(MVCCWriteIntentOp& a, MVCCWriteIntentOp& b) { 1073 a.Swap(&b); 1074 } 1075 1076 // implements Message ---------------------------------------------- 1077 1078 inline MVCCWriteIntentOp* New() const final { 1079 return CreateMaybeMessage<MVCCWriteIntentOp>(NULL); 1080 } 1081 1082 MVCCWriteIntentOp* New(::google::protobuf::Arena* arena) const final { 1083 return CreateMaybeMessage<MVCCWriteIntentOp>(arena); 1084 } 1085 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 1086 final; 1087 void CopyFrom(const MVCCWriteIntentOp& from); 1088 void MergeFrom(const MVCCWriteIntentOp& from); 1089 void Clear() final; 1090 bool IsInitialized() const final; 1091 1092 size_t ByteSizeLong() const final; 1093 bool MergePartialFromCodedStream( 1094 ::google::protobuf::io::CodedInputStream* input) final; 1095 void SerializeWithCachedSizes( 1096 ::google::protobuf::io::CodedOutputStream* output) const final; 1097 void DiscardUnknownFields(); 1098 int GetCachedSize() const final { return _cached_size_.Get(); } 1099 1100 private: 1101 void SharedCtor(); 1102 void SharedDtor(); 1103 void SetCachedSize(int size) const; 1104 void InternalSwap(MVCCWriteIntentOp* other); 1105 private: 1106 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1107 return NULL; 1108 } 1109 inline void* MaybeArenaPtr() const { 1110 return NULL; 1111 } 1112 public: 1113 1114 ::std::string GetTypeName() const final; 1115 1116 // nested types ---------------------------------------------------- 1117 1118 // accessors ------------------------------------------------------- 1119 1120 void clear_txn_id(); 1121 static const int kTxnIdFieldNumber = 1; 1122 const ::std::string& txn_id() const; 1123 void set_txn_id(const ::std::string& value); 1124 #if LANG_CXX11 1125 void set_txn_id(::std::string&& value); 1126 #endif 1127 void set_txn_id(const char* value); 1128 void set_txn_id(const void* value, size_t size); 1129 ::std::string* mutable_txn_id(); 1130 ::std::string* release_txn_id(); 1131 void set_allocated_txn_id(::std::string* txn_id); 1132 1133 // bytes txn_key = 2; 1134 void clear_txn_key(); 1135 static const int kTxnKeyFieldNumber = 2; 1136 const ::std::string& txn_key() const; 1137 void set_txn_key(const ::std::string& value); 1138 #if LANG_CXX11 1139 void set_txn_key(::std::string&& value); 1140 #endif 1141 void set_txn_key(const char* value); 1142 void set_txn_key(const void* value, size_t size); 1143 ::std::string* mutable_txn_key(); 1144 ::std::string* release_txn_key(); 1145 void set_allocated_txn_key(::std::string* txn_key); 1146 1147 bool has_timestamp() const; 1148 void clear_timestamp(); 1149 static const int kTimestampFieldNumber = 3; 1150 private: 1151 const ::cockroach::util::hlc::Timestamp& _internal_timestamp() const; 1152 public: 1153 const ::cockroach::util::hlc::Timestamp& timestamp() const; 1154 ::cockroach::util::hlc::Timestamp* release_timestamp(); 1155 ::cockroach::util::hlc::Timestamp* mutable_timestamp(); 1156 void set_allocated_timestamp(::cockroach::util::hlc::Timestamp* timestamp); 1157 1158 bool has_txn_min_timestamp() const; 1159 void clear_txn_min_timestamp(); 1160 static const int kTxnMinTimestampFieldNumber = 4; 1161 private: 1162 const ::cockroach::util::hlc::Timestamp& _internal_txn_min_timestamp() const; 1163 public: 1164 const ::cockroach::util::hlc::Timestamp& txn_min_timestamp() const; 1165 ::cockroach::util::hlc::Timestamp* release_txn_min_timestamp(); 1166 ::cockroach::util::hlc::Timestamp* mutable_txn_min_timestamp(); 1167 void set_allocated_txn_min_timestamp(::cockroach::util::hlc::Timestamp* txn_min_timestamp); 1168 1169 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.MVCCWriteIntentOp) 1170 private: 1171 1172 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 1173 ::google::protobuf::internal::ArenaStringPtr txn_id_; 1174 ::google::protobuf::internal::ArenaStringPtr txn_key_; 1175 ::cockroach::util::hlc::Timestamp* timestamp_; 1176 ::cockroach::util::hlc::Timestamp* txn_min_timestamp_; 1177 mutable ::google::protobuf::internal::CachedSize _cached_size_; 1178 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 1179 }; 1180 // ------------------------------------------------------------------- 1181 1182 class MVCCUpdateIntentOp : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.MVCCUpdateIntentOp) */ { 1183 public: 1184 MVCCUpdateIntentOp(); 1185 virtual ~MVCCUpdateIntentOp(); 1186 1187 MVCCUpdateIntentOp(const MVCCUpdateIntentOp& from); 1188 1189 inline MVCCUpdateIntentOp& operator=(const MVCCUpdateIntentOp& from) { 1190 CopyFrom(from); 1191 return *this; 1192 } 1193 #if LANG_CXX11 1194 MVCCUpdateIntentOp(MVCCUpdateIntentOp&& from) noexcept 1195 : MVCCUpdateIntentOp() { 1196 *this = ::std::move(from); 1197 } 1198 1199 inline MVCCUpdateIntentOp& operator=(MVCCUpdateIntentOp&& from) noexcept { 1200 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 1201 if (this != &from) InternalSwap(&from); 1202 } else { 1203 CopyFrom(from); 1204 } 1205 return *this; 1206 } 1207 #endif 1208 static const MVCCUpdateIntentOp& default_instance(); 1209 1210 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 1211 static inline const MVCCUpdateIntentOp* internal_default_instance() { 1212 return reinterpret_cast<const MVCCUpdateIntentOp*>( 1213 &_MVCCUpdateIntentOp_default_instance_); 1214 } 1215 static constexpr int kIndexInFileMessages = 1216 7; 1217 1218 void Swap(MVCCUpdateIntentOp* other); 1219 friend void swap(MVCCUpdateIntentOp& a, MVCCUpdateIntentOp& b) { 1220 a.Swap(&b); 1221 } 1222 1223 // implements Message ---------------------------------------------- 1224 1225 inline MVCCUpdateIntentOp* New() const final { 1226 return CreateMaybeMessage<MVCCUpdateIntentOp>(NULL); 1227 } 1228 1229 MVCCUpdateIntentOp* New(::google::protobuf::Arena* arena) const final { 1230 return CreateMaybeMessage<MVCCUpdateIntentOp>(arena); 1231 } 1232 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 1233 final; 1234 void CopyFrom(const MVCCUpdateIntentOp& from); 1235 void MergeFrom(const MVCCUpdateIntentOp& from); 1236 void Clear() final; 1237 bool IsInitialized() const final; 1238 1239 size_t ByteSizeLong() const final; 1240 bool MergePartialFromCodedStream( 1241 ::google::protobuf::io::CodedInputStream* input) final; 1242 void SerializeWithCachedSizes( 1243 ::google::protobuf::io::CodedOutputStream* output) const final; 1244 void DiscardUnknownFields(); 1245 int GetCachedSize() const final { return _cached_size_.Get(); } 1246 1247 private: 1248 void SharedCtor(); 1249 void SharedDtor(); 1250 void SetCachedSize(int size) const; 1251 void InternalSwap(MVCCUpdateIntentOp* other); 1252 private: 1253 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1254 return NULL; 1255 } 1256 inline void* MaybeArenaPtr() const { 1257 return NULL; 1258 } 1259 public: 1260 1261 ::std::string GetTypeName() const final; 1262 1263 // nested types ---------------------------------------------------- 1264 1265 // accessors ------------------------------------------------------- 1266 1267 void clear_txn_id(); 1268 static const int kTxnIdFieldNumber = 1; 1269 const ::std::string& txn_id() const; 1270 void set_txn_id(const ::std::string& value); 1271 #if LANG_CXX11 1272 void set_txn_id(::std::string&& value); 1273 #endif 1274 void set_txn_id(const char* value); 1275 void set_txn_id(const void* value, size_t size); 1276 ::std::string* mutable_txn_id(); 1277 ::std::string* release_txn_id(); 1278 void set_allocated_txn_id(::std::string* txn_id); 1279 1280 bool has_timestamp() const; 1281 void clear_timestamp(); 1282 static const int kTimestampFieldNumber = 2; 1283 private: 1284 const ::cockroach::util::hlc::Timestamp& _internal_timestamp() const; 1285 public: 1286 const ::cockroach::util::hlc::Timestamp& timestamp() const; 1287 ::cockroach::util::hlc::Timestamp* release_timestamp(); 1288 ::cockroach::util::hlc::Timestamp* mutable_timestamp(); 1289 void set_allocated_timestamp(::cockroach::util::hlc::Timestamp* timestamp); 1290 1291 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.MVCCUpdateIntentOp) 1292 private: 1293 1294 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 1295 ::google::protobuf::internal::ArenaStringPtr txn_id_; 1296 ::cockroach::util::hlc::Timestamp* timestamp_; 1297 mutable ::google::protobuf::internal::CachedSize _cached_size_; 1298 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 1299 }; 1300 // ------------------------------------------------------------------- 1301 1302 class MVCCCommitIntentOp : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.MVCCCommitIntentOp) */ { 1303 public: 1304 MVCCCommitIntentOp(); 1305 virtual ~MVCCCommitIntentOp(); 1306 1307 MVCCCommitIntentOp(const MVCCCommitIntentOp& from); 1308 1309 inline MVCCCommitIntentOp& operator=(const MVCCCommitIntentOp& from) { 1310 CopyFrom(from); 1311 return *this; 1312 } 1313 #if LANG_CXX11 1314 MVCCCommitIntentOp(MVCCCommitIntentOp&& from) noexcept 1315 : MVCCCommitIntentOp() { 1316 *this = ::std::move(from); 1317 } 1318 1319 inline MVCCCommitIntentOp& operator=(MVCCCommitIntentOp&& from) noexcept { 1320 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 1321 if (this != &from) InternalSwap(&from); 1322 } else { 1323 CopyFrom(from); 1324 } 1325 return *this; 1326 } 1327 #endif 1328 static const MVCCCommitIntentOp& default_instance(); 1329 1330 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 1331 static inline const MVCCCommitIntentOp* internal_default_instance() { 1332 return reinterpret_cast<const MVCCCommitIntentOp*>( 1333 &_MVCCCommitIntentOp_default_instance_); 1334 } 1335 static constexpr int kIndexInFileMessages = 1336 8; 1337 1338 void Swap(MVCCCommitIntentOp* other); 1339 friend void swap(MVCCCommitIntentOp& a, MVCCCommitIntentOp& b) { 1340 a.Swap(&b); 1341 } 1342 1343 // implements Message ---------------------------------------------- 1344 1345 inline MVCCCommitIntentOp* New() const final { 1346 return CreateMaybeMessage<MVCCCommitIntentOp>(NULL); 1347 } 1348 1349 MVCCCommitIntentOp* New(::google::protobuf::Arena* arena) const final { 1350 return CreateMaybeMessage<MVCCCommitIntentOp>(arena); 1351 } 1352 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 1353 final; 1354 void CopyFrom(const MVCCCommitIntentOp& from); 1355 void MergeFrom(const MVCCCommitIntentOp& from); 1356 void Clear() final; 1357 bool IsInitialized() const final; 1358 1359 size_t ByteSizeLong() const final; 1360 bool MergePartialFromCodedStream( 1361 ::google::protobuf::io::CodedInputStream* input) final; 1362 void SerializeWithCachedSizes( 1363 ::google::protobuf::io::CodedOutputStream* output) const final; 1364 void DiscardUnknownFields(); 1365 int GetCachedSize() const final { return _cached_size_.Get(); } 1366 1367 private: 1368 void SharedCtor(); 1369 void SharedDtor(); 1370 void SetCachedSize(int size) const; 1371 void InternalSwap(MVCCCommitIntentOp* other); 1372 private: 1373 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1374 return NULL; 1375 } 1376 inline void* MaybeArenaPtr() const { 1377 return NULL; 1378 } 1379 public: 1380 1381 ::std::string GetTypeName() const final; 1382 1383 // nested types ---------------------------------------------------- 1384 1385 // accessors ------------------------------------------------------- 1386 1387 void clear_txn_id(); 1388 static const int kTxnIdFieldNumber = 1; 1389 const ::std::string& txn_id() const; 1390 void set_txn_id(const ::std::string& value); 1391 #if LANG_CXX11 1392 void set_txn_id(::std::string&& value); 1393 #endif 1394 void set_txn_id(const char* value); 1395 void set_txn_id(const void* value, size_t size); 1396 ::std::string* mutable_txn_id(); 1397 ::std::string* release_txn_id(); 1398 void set_allocated_txn_id(::std::string* txn_id); 1399 1400 // bytes key = 2; 1401 void clear_key(); 1402 static const int kKeyFieldNumber = 2; 1403 const ::std::string& key() const; 1404 void set_key(const ::std::string& value); 1405 #if LANG_CXX11 1406 void set_key(::std::string&& value); 1407 #endif 1408 void set_key(const char* value); 1409 void set_key(const void* value, size_t size); 1410 ::std::string* mutable_key(); 1411 ::std::string* release_key(); 1412 void set_allocated_key(::std::string* key); 1413 1414 // bytes value = 4; 1415 void clear_value(); 1416 static const int kValueFieldNumber = 4; 1417 const ::std::string& value() const; 1418 void set_value(const ::std::string& value); 1419 #if LANG_CXX11 1420 void set_value(::std::string&& value); 1421 #endif 1422 void set_value(const char* value); 1423 void set_value(const void* value, size_t size); 1424 ::std::string* mutable_value(); 1425 ::std::string* release_value(); 1426 void set_allocated_value(::std::string* value); 1427 1428 // bytes prev_value = 5; 1429 void clear_prev_value(); 1430 static const int kPrevValueFieldNumber = 5; 1431 const ::std::string& prev_value() const; 1432 void set_prev_value(const ::std::string& value); 1433 #if LANG_CXX11 1434 void set_prev_value(::std::string&& value); 1435 #endif 1436 void set_prev_value(const char* value); 1437 void set_prev_value(const void* value, size_t size); 1438 ::std::string* mutable_prev_value(); 1439 ::std::string* release_prev_value(); 1440 void set_allocated_prev_value(::std::string* prev_value); 1441 1442 bool has_timestamp() const; 1443 void clear_timestamp(); 1444 static const int kTimestampFieldNumber = 3; 1445 private: 1446 const ::cockroach::util::hlc::Timestamp& _internal_timestamp() const; 1447 public: 1448 const ::cockroach::util::hlc::Timestamp& timestamp() const; 1449 ::cockroach::util::hlc::Timestamp* release_timestamp(); 1450 ::cockroach::util::hlc::Timestamp* mutable_timestamp(); 1451 void set_allocated_timestamp(::cockroach::util::hlc::Timestamp* timestamp); 1452 1453 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.MVCCCommitIntentOp) 1454 private: 1455 1456 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 1457 ::google::protobuf::internal::ArenaStringPtr txn_id_; 1458 ::google::protobuf::internal::ArenaStringPtr key_; 1459 ::google::protobuf::internal::ArenaStringPtr value_; 1460 ::google::protobuf::internal::ArenaStringPtr prev_value_; 1461 ::cockroach::util::hlc::Timestamp* timestamp_; 1462 mutable ::google::protobuf::internal::CachedSize _cached_size_; 1463 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 1464 }; 1465 // ------------------------------------------------------------------- 1466 1467 class MVCCAbortIntentOp : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.MVCCAbortIntentOp) */ { 1468 public: 1469 MVCCAbortIntentOp(); 1470 virtual ~MVCCAbortIntentOp(); 1471 1472 MVCCAbortIntentOp(const MVCCAbortIntentOp& from); 1473 1474 inline MVCCAbortIntentOp& operator=(const MVCCAbortIntentOp& from) { 1475 CopyFrom(from); 1476 return *this; 1477 } 1478 #if LANG_CXX11 1479 MVCCAbortIntentOp(MVCCAbortIntentOp&& from) noexcept 1480 : MVCCAbortIntentOp() { 1481 *this = ::std::move(from); 1482 } 1483 1484 inline MVCCAbortIntentOp& operator=(MVCCAbortIntentOp&& from) noexcept { 1485 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 1486 if (this != &from) InternalSwap(&from); 1487 } else { 1488 CopyFrom(from); 1489 } 1490 return *this; 1491 } 1492 #endif 1493 static const MVCCAbortIntentOp& default_instance(); 1494 1495 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 1496 static inline const MVCCAbortIntentOp* internal_default_instance() { 1497 return reinterpret_cast<const MVCCAbortIntentOp*>( 1498 &_MVCCAbortIntentOp_default_instance_); 1499 } 1500 static constexpr int kIndexInFileMessages = 1501 9; 1502 1503 void Swap(MVCCAbortIntentOp* other); 1504 friend void swap(MVCCAbortIntentOp& a, MVCCAbortIntentOp& b) { 1505 a.Swap(&b); 1506 } 1507 1508 // implements Message ---------------------------------------------- 1509 1510 inline MVCCAbortIntentOp* New() const final { 1511 return CreateMaybeMessage<MVCCAbortIntentOp>(NULL); 1512 } 1513 1514 MVCCAbortIntentOp* New(::google::protobuf::Arena* arena) const final { 1515 return CreateMaybeMessage<MVCCAbortIntentOp>(arena); 1516 } 1517 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 1518 final; 1519 void CopyFrom(const MVCCAbortIntentOp& from); 1520 void MergeFrom(const MVCCAbortIntentOp& from); 1521 void Clear() final; 1522 bool IsInitialized() const final; 1523 1524 size_t ByteSizeLong() const final; 1525 bool MergePartialFromCodedStream( 1526 ::google::protobuf::io::CodedInputStream* input) final; 1527 void SerializeWithCachedSizes( 1528 ::google::protobuf::io::CodedOutputStream* output) const final; 1529 void DiscardUnknownFields(); 1530 int GetCachedSize() const final { return _cached_size_.Get(); } 1531 1532 private: 1533 void SharedCtor(); 1534 void SharedDtor(); 1535 void SetCachedSize(int size) const; 1536 void InternalSwap(MVCCAbortIntentOp* other); 1537 private: 1538 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1539 return NULL; 1540 } 1541 inline void* MaybeArenaPtr() const { 1542 return NULL; 1543 } 1544 public: 1545 1546 ::std::string GetTypeName() const final; 1547 1548 // nested types ---------------------------------------------------- 1549 1550 // accessors ------------------------------------------------------- 1551 1552 void clear_txn_id(); 1553 static const int kTxnIdFieldNumber = 1; 1554 const ::std::string& txn_id() const; 1555 void set_txn_id(const ::std::string& value); 1556 #if LANG_CXX11 1557 void set_txn_id(::std::string&& value); 1558 #endif 1559 void set_txn_id(const char* value); 1560 void set_txn_id(const void* value, size_t size); 1561 ::std::string* mutable_txn_id(); 1562 ::std::string* release_txn_id(); 1563 void set_allocated_txn_id(::std::string* txn_id); 1564 1565 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.MVCCAbortIntentOp) 1566 private: 1567 1568 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 1569 ::google::protobuf::internal::ArenaStringPtr txn_id_; 1570 mutable ::google::protobuf::internal::CachedSize _cached_size_; 1571 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 1572 }; 1573 // ------------------------------------------------------------------- 1574 1575 class MVCCAbortTxnOp : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.MVCCAbortTxnOp) */ { 1576 public: 1577 MVCCAbortTxnOp(); 1578 virtual ~MVCCAbortTxnOp(); 1579 1580 MVCCAbortTxnOp(const MVCCAbortTxnOp& from); 1581 1582 inline MVCCAbortTxnOp& operator=(const MVCCAbortTxnOp& from) { 1583 CopyFrom(from); 1584 return *this; 1585 } 1586 #if LANG_CXX11 1587 MVCCAbortTxnOp(MVCCAbortTxnOp&& from) noexcept 1588 : MVCCAbortTxnOp() { 1589 *this = ::std::move(from); 1590 } 1591 1592 inline MVCCAbortTxnOp& operator=(MVCCAbortTxnOp&& from) noexcept { 1593 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 1594 if (this != &from) InternalSwap(&from); 1595 } else { 1596 CopyFrom(from); 1597 } 1598 return *this; 1599 } 1600 #endif 1601 static const MVCCAbortTxnOp& default_instance(); 1602 1603 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 1604 static inline const MVCCAbortTxnOp* internal_default_instance() { 1605 return reinterpret_cast<const MVCCAbortTxnOp*>( 1606 &_MVCCAbortTxnOp_default_instance_); 1607 } 1608 static constexpr int kIndexInFileMessages = 1609 10; 1610 1611 void Swap(MVCCAbortTxnOp* other); 1612 friend void swap(MVCCAbortTxnOp& a, MVCCAbortTxnOp& b) { 1613 a.Swap(&b); 1614 } 1615 1616 // implements Message ---------------------------------------------- 1617 1618 inline MVCCAbortTxnOp* New() const final { 1619 return CreateMaybeMessage<MVCCAbortTxnOp>(NULL); 1620 } 1621 1622 MVCCAbortTxnOp* New(::google::protobuf::Arena* arena) const final { 1623 return CreateMaybeMessage<MVCCAbortTxnOp>(arena); 1624 } 1625 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 1626 final; 1627 void CopyFrom(const MVCCAbortTxnOp& from); 1628 void MergeFrom(const MVCCAbortTxnOp& from); 1629 void Clear() final; 1630 bool IsInitialized() const final; 1631 1632 size_t ByteSizeLong() const final; 1633 bool MergePartialFromCodedStream( 1634 ::google::protobuf::io::CodedInputStream* input) final; 1635 void SerializeWithCachedSizes( 1636 ::google::protobuf::io::CodedOutputStream* output) const final; 1637 void DiscardUnknownFields(); 1638 int GetCachedSize() const final { return _cached_size_.Get(); } 1639 1640 private: 1641 void SharedCtor(); 1642 void SharedDtor(); 1643 void SetCachedSize(int size) const; 1644 void InternalSwap(MVCCAbortTxnOp* other); 1645 private: 1646 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1647 return NULL; 1648 } 1649 inline void* MaybeArenaPtr() const { 1650 return NULL; 1651 } 1652 public: 1653 1654 ::std::string GetTypeName() const final; 1655 1656 // nested types ---------------------------------------------------- 1657 1658 // accessors ------------------------------------------------------- 1659 1660 void clear_txn_id(); 1661 static const int kTxnIdFieldNumber = 1; 1662 const ::std::string& txn_id() const; 1663 void set_txn_id(const ::std::string& value); 1664 #if LANG_CXX11 1665 void set_txn_id(::std::string&& value); 1666 #endif 1667 void set_txn_id(const char* value); 1668 void set_txn_id(const void* value, size_t size); 1669 ::std::string* mutable_txn_id(); 1670 ::std::string* release_txn_id(); 1671 void set_allocated_txn_id(::std::string* txn_id); 1672 1673 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.MVCCAbortTxnOp) 1674 private: 1675 1676 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 1677 ::google::protobuf::internal::ArenaStringPtr txn_id_; 1678 mutable ::google::protobuf::internal::CachedSize _cached_size_; 1679 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 1680 }; 1681 // ------------------------------------------------------------------- 1682 1683 class MVCCLogicalOp : public ::google::protobuf::MessageLite /* @@protoc_insertion_point(class_definition:cockroach.storage.enginepb.MVCCLogicalOp) */ { 1684 public: 1685 MVCCLogicalOp(); 1686 virtual ~MVCCLogicalOp(); 1687 1688 MVCCLogicalOp(const MVCCLogicalOp& from); 1689 1690 inline MVCCLogicalOp& operator=(const MVCCLogicalOp& from) { 1691 CopyFrom(from); 1692 return *this; 1693 } 1694 #if LANG_CXX11 1695 MVCCLogicalOp(MVCCLogicalOp&& from) noexcept 1696 : MVCCLogicalOp() { 1697 *this = ::std::move(from); 1698 } 1699 1700 inline MVCCLogicalOp& operator=(MVCCLogicalOp&& from) noexcept { 1701 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { 1702 if (this != &from) InternalSwap(&from); 1703 } else { 1704 CopyFrom(from); 1705 } 1706 return *this; 1707 } 1708 #endif 1709 static const MVCCLogicalOp& default_instance(); 1710 1711 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY 1712 static inline const MVCCLogicalOp* internal_default_instance() { 1713 return reinterpret_cast<const MVCCLogicalOp*>( 1714 &_MVCCLogicalOp_default_instance_); 1715 } 1716 static constexpr int kIndexInFileMessages = 1717 11; 1718 1719 void Swap(MVCCLogicalOp* other); 1720 friend void swap(MVCCLogicalOp& a, MVCCLogicalOp& b) { 1721 a.Swap(&b); 1722 } 1723 1724 // implements Message ---------------------------------------------- 1725 1726 inline MVCCLogicalOp* New() const final { 1727 return CreateMaybeMessage<MVCCLogicalOp>(NULL); 1728 } 1729 1730 MVCCLogicalOp* New(::google::protobuf::Arena* arena) const final { 1731 return CreateMaybeMessage<MVCCLogicalOp>(arena); 1732 } 1733 void CheckTypeAndMergeFrom(const ::google::protobuf::MessageLite& from) 1734 final; 1735 void CopyFrom(const MVCCLogicalOp& from); 1736 void MergeFrom(const MVCCLogicalOp& from); 1737 void Clear() final; 1738 bool IsInitialized() const final; 1739 1740 size_t ByteSizeLong() const final; 1741 bool MergePartialFromCodedStream( 1742 ::google::protobuf::io::CodedInputStream* input) final; 1743 void SerializeWithCachedSizes( 1744 ::google::protobuf::io::CodedOutputStream* output) const final; 1745 void DiscardUnknownFields(); 1746 int GetCachedSize() const final { return _cached_size_.Get(); } 1747 1748 private: 1749 void SharedCtor(); 1750 void SharedDtor(); 1751 void SetCachedSize(int size) const; 1752 void InternalSwap(MVCCLogicalOp* other); 1753 private: 1754 inline ::google::protobuf::Arena* GetArenaNoVirtual() const { 1755 return NULL; 1756 } 1757 inline void* MaybeArenaPtr() const { 1758 return NULL; 1759 } 1760 public: 1761 1762 ::std::string GetTypeName() const final; 1763 1764 // nested types ---------------------------------------------------- 1765 1766 // accessors ------------------------------------------------------- 1767 1768 // .cockroach.storage.enginepb.MVCCWriteValueOp write_value = 1; 1769 bool has_write_value() const; 1770 void clear_write_value(); 1771 static const int kWriteValueFieldNumber = 1; 1772 private: 1773 const ::cockroach::storage::enginepb::MVCCWriteValueOp& _internal_write_value() const; 1774 public: 1775 const ::cockroach::storage::enginepb::MVCCWriteValueOp& write_value() const; 1776 ::cockroach::storage::enginepb::MVCCWriteValueOp* release_write_value(); 1777 ::cockroach::storage::enginepb::MVCCWriteValueOp* mutable_write_value(); 1778 void set_allocated_write_value(::cockroach::storage::enginepb::MVCCWriteValueOp* write_value); 1779 1780 // .cockroach.storage.enginepb.MVCCWriteIntentOp write_intent = 2; 1781 bool has_write_intent() const; 1782 void clear_write_intent(); 1783 static const int kWriteIntentFieldNumber = 2; 1784 private: 1785 const ::cockroach::storage::enginepb::MVCCWriteIntentOp& _internal_write_intent() const; 1786 public: 1787 const ::cockroach::storage::enginepb::MVCCWriteIntentOp& write_intent() const; 1788 ::cockroach::storage::enginepb::MVCCWriteIntentOp* release_write_intent(); 1789 ::cockroach::storage::enginepb::MVCCWriteIntentOp* mutable_write_intent(); 1790 void set_allocated_write_intent(::cockroach::storage::enginepb::MVCCWriteIntentOp* write_intent); 1791 1792 // .cockroach.storage.enginepb.MVCCUpdateIntentOp update_intent = 3; 1793 bool has_update_intent() const; 1794 void clear_update_intent(); 1795 static const int kUpdateIntentFieldNumber = 3; 1796 private: 1797 const ::cockroach::storage::enginepb::MVCCUpdateIntentOp& _internal_update_intent() const; 1798 public: 1799 const ::cockroach::storage::enginepb::MVCCUpdateIntentOp& update_intent() const; 1800 ::cockroach::storage::enginepb::MVCCUpdateIntentOp* release_update_intent(); 1801 ::cockroach::storage::enginepb::MVCCUpdateIntentOp* mutable_update_intent(); 1802 void set_allocated_update_intent(::cockroach::storage::enginepb::MVCCUpdateIntentOp* update_intent); 1803 1804 // .cockroach.storage.enginepb.MVCCCommitIntentOp commit_intent = 4; 1805 bool has_commit_intent() const; 1806 void clear_commit_intent(); 1807 static const int kCommitIntentFieldNumber = 4; 1808 private: 1809 const ::cockroach::storage::enginepb::MVCCCommitIntentOp& _internal_commit_intent() const; 1810 public: 1811 const ::cockroach::storage::enginepb::MVCCCommitIntentOp& commit_intent() const; 1812 ::cockroach::storage::enginepb::MVCCCommitIntentOp* release_commit_intent(); 1813 ::cockroach::storage::enginepb::MVCCCommitIntentOp* mutable_commit_intent(); 1814 void set_allocated_commit_intent(::cockroach::storage::enginepb::MVCCCommitIntentOp* commit_intent); 1815 1816 // .cockroach.storage.enginepb.MVCCAbortIntentOp abort_intent = 5; 1817 bool has_abort_intent() const; 1818 void clear_abort_intent(); 1819 static const int kAbortIntentFieldNumber = 5; 1820 private: 1821 const ::cockroach::storage::enginepb::MVCCAbortIntentOp& _internal_abort_intent() const; 1822 public: 1823 const ::cockroach::storage::enginepb::MVCCAbortIntentOp& abort_intent() const; 1824 ::cockroach::storage::enginepb::MVCCAbortIntentOp* release_abort_intent(); 1825 ::cockroach::storage::enginepb::MVCCAbortIntentOp* mutable_abort_intent(); 1826 void set_allocated_abort_intent(::cockroach::storage::enginepb::MVCCAbortIntentOp* abort_intent); 1827 1828 // .cockroach.storage.enginepb.MVCCAbortTxnOp abort_txn = 6; 1829 bool has_abort_txn() const; 1830 void clear_abort_txn(); 1831 static const int kAbortTxnFieldNumber = 6; 1832 private: 1833 const ::cockroach::storage::enginepb::MVCCAbortTxnOp& _internal_abort_txn() const; 1834 public: 1835 const ::cockroach::storage::enginepb::MVCCAbortTxnOp& abort_txn() const; 1836 ::cockroach::storage::enginepb::MVCCAbortTxnOp* release_abort_txn(); 1837 ::cockroach::storage::enginepb::MVCCAbortTxnOp* mutable_abort_txn(); 1838 void set_allocated_abort_txn(::cockroach::storage::enginepb::MVCCAbortTxnOp* abort_txn); 1839 1840 // @@protoc_insertion_point(class_scope:cockroach.storage.enginepb.MVCCLogicalOp) 1841 private: 1842 1843 ::google::protobuf::internal::InternalMetadataWithArenaLite _internal_metadata_; 1844 ::cockroach::storage::enginepb::MVCCWriteValueOp* write_value_; 1845 ::cockroach::storage::enginepb::MVCCWriteIntentOp* write_intent_; 1846 ::cockroach::storage::enginepb::MVCCUpdateIntentOp* update_intent_; 1847 ::cockroach::storage::enginepb::MVCCCommitIntentOp* commit_intent_; 1848 ::cockroach::storage::enginepb::MVCCAbortIntentOp* abort_intent_; 1849 ::cockroach::storage::enginepb::MVCCAbortTxnOp* abort_txn_; 1850 mutable ::google::protobuf::internal::CachedSize _cached_size_; 1851 friend struct ::protobuf_storage_2fenginepb_2fmvcc3_2eproto::TableStruct; 1852 }; 1853 // =================================================================== 1854 1855 1856 // =================================================================== 1857 1858 #ifdef __GNUC__ 1859 #pragma GCC diagnostic push 1860 #pragma GCC diagnostic ignored "-Wstrict-aliasing" 1861 #endif // __GNUC__ 1862 // TxnMeta 1863 1864 inline void TxnMeta::clear_id() { 1865 id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 1866 } 1867 inline const ::std::string& TxnMeta::id() const { 1868 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.TxnMeta.id) 1869 return id_.GetNoArena(); 1870 } 1871 inline void TxnMeta::set_id(const ::std::string& value) { 1872 1873 id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 1874 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.TxnMeta.id) 1875 } 1876 #if LANG_CXX11 1877 inline void TxnMeta::set_id(::std::string&& value) { 1878 1879 id_.SetNoArena( 1880 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 1881 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.TxnMeta.id) 1882 } 1883 #endif 1884 inline void TxnMeta::set_id(const char* value) { 1885 GOOGLE_DCHECK(value != NULL); 1886 1887 id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 1888 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.TxnMeta.id) 1889 } 1890 inline void TxnMeta::set_id(const void* value, size_t size) { 1891 1892 id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 1893 ::std::string(reinterpret_cast<const char*>(value), size)); 1894 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.TxnMeta.id) 1895 } 1896 inline ::std::string* TxnMeta::mutable_id() { 1897 1898 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.TxnMeta.id) 1899 return id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 1900 } 1901 inline ::std::string* TxnMeta::release_id() { 1902 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.TxnMeta.id) 1903 1904 return id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 1905 } 1906 inline void TxnMeta::set_allocated_id(::std::string* id) { 1907 if (id != NULL) { 1908 1909 } else { 1910 1911 } 1912 id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), id); 1913 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.TxnMeta.id) 1914 } 1915 1916 // bytes key = 3; 1917 inline void TxnMeta::clear_key() { 1918 key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 1919 } 1920 inline const ::std::string& TxnMeta::key() const { 1921 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.TxnMeta.key) 1922 return key_.GetNoArena(); 1923 } 1924 inline void TxnMeta::set_key(const ::std::string& value) { 1925 1926 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 1927 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.TxnMeta.key) 1928 } 1929 #if LANG_CXX11 1930 inline void TxnMeta::set_key(::std::string&& value) { 1931 1932 key_.SetNoArena( 1933 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 1934 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.TxnMeta.key) 1935 } 1936 #endif 1937 inline void TxnMeta::set_key(const char* value) { 1938 GOOGLE_DCHECK(value != NULL); 1939 1940 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 1941 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.TxnMeta.key) 1942 } 1943 inline void TxnMeta::set_key(const void* value, size_t size) { 1944 1945 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 1946 ::std::string(reinterpret_cast<const char*>(value), size)); 1947 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.TxnMeta.key) 1948 } 1949 inline ::std::string* TxnMeta::mutable_key() { 1950 1951 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.TxnMeta.key) 1952 return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 1953 } 1954 inline ::std::string* TxnMeta::release_key() { 1955 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.TxnMeta.key) 1956 1957 return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 1958 } 1959 inline void TxnMeta::set_allocated_key(::std::string* key) { 1960 if (key != NULL) { 1961 1962 } else { 1963 1964 } 1965 key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); 1966 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.TxnMeta.key) 1967 } 1968 1969 inline void TxnMeta::clear_epoch() { 1970 epoch_ = 0; 1971 } 1972 inline ::google::protobuf::int32 TxnMeta::epoch() const { 1973 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.TxnMeta.epoch) 1974 return epoch_; 1975 } 1976 inline void TxnMeta::set_epoch(::google::protobuf::int32 value) { 1977 1978 epoch_ = value; 1979 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.TxnMeta.epoch) 1980 } 1981 1982 inline bool TxnMeta::has_write_timestamp() const { 1983 return this != internal_default_instance() && write_timestamp_ != NULL; 1984 } 1985 inline const ::cockroach::util::hlc::Timestamp& TxnMeta::_internal_write_timestamp() const { 1986 return *write_timestamp_; 1987 } 1988 inline const ::cockroach::util::hlc::Timestamp& TxnMeta::write_timestamp() const { 1989 const ::cockroach::util::hlc::Timestamp* p = write_timestamp_; 1990 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.TxnMeta.write_timestamp) 1991 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::util::hlc::Timestamp*>( 1992 &::cockroach::util::hlc::_Timestamp_default_instance_); 1993 } 1994 inline ::cockroach::util::hlc::Timestamp* TxnMeta::release_write_timestamp() { 1995 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.TxnMeta.write_timestamp) 1996 1997 ::cockroach::util::hlc::Timestamp* temp = write_timestamp_; 1998 write_timestamp_ = NULL; 1999 return temp; 2000 } 2001 inline ::cockroach::util::hlc::Timestamp* TxnMeta::mutable_write_timestamp() { 2002 2003 if (write_timestamp_ == NULL) { 2004 auto* p = CreateMaybeMessage<::cockroach::util::hlc::Timestamp>(GetArenaNoVirtual()); 2005 write_timestamp_ = p; 2006 } 2007 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.TxnMeta.write_timestamp) 2008 return write_timestamp_; 2009 } 2010 inline void TxnMeta::set_allocated_write_timestamp(::cockroach::util::hlc::Timestamp* write_timestamp) { 2011 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 2012 if (message_arena == NULL) { 2013 delete reinterpret_cast< ::google::protobuf::MessageLite*>(write_timestamp_); 2014 } 2015 if (write_timestamp) { 2016 ::google::protobuf::Arena* submessage_arena = NULL; 2017 if (message_arena != submessage_arena) { 2018 write_timestamp = ::google::protobuf::internal::GetOwnedMessage( 2019 message_arena, write_timestamp, submessage_arena); 2020 } 2021 2022 } else { 2023 2024 } 2025 write_timestamp_ = write_timestamp; 2026 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.TxnMeta.write_timestamp) 2027 } 2028 2029 inline bool TxnMeta::has_min_timestamp() const { 2030 return this != internal_default_instance() && min_timestamp_ != NULL; 2031 } 2032 inline const ::cockroach::util::hlc::Timestamp& TxnMeta::_internal_min_timestamp() const { 2033 return *min_timestamp_; 2034 } 2035 inline const ::cockroach::util::hlc::Timestamp& TxnMeta::min_timestamp() const { 2036 const ::cockroach::util::hlc::Timestamp* p = min_timestamp_; 2037 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.TxnMeta.min_timestamp) 2038 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::util::hlc::Timestamp*>( 2039 &::cockroach::util::hlc::_Timestamp_default_instance_); 2040 } 2041 inline ::cockroach::util::hlc::Timestamp* TxnMeta::release_min_timestamp() { 2042 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.TxnMeta.min_timestamp) 2043 2044 ::cockroach::util::hlc::Timestamp* temp = min_timestamp_; 2045 min_timestamp_ = NULL; 2046 return temp; 2047 } 2048 inline ::cockroach::util::hlc::Timestamp* TxnMeta::mutable_min_timestamp() { 2049 2050 if (min_timestamp_ == NULL) { 2051 auto* p = CreateMaybeMessage<::cockroach::util::hlc::Timestamp>(GetArenaNoVirtual()); 2052 min_timestamp_ = p; 2053 } 2054 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.TxnMeta.min_timestamp) 2055 return min_timestamp_; 2056 } 2057 inline void TxnMeta::set_allocated_min_timestamp(::cockroach::util::hlc::Timestamp* min_timestamp) { 2058 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 2059 if (message_arena == NULL) { 2060 delete reinterpret_cast< ::google::protobuf::MessageLite*>(min_timestamp_); 2061 } 2062 if (min_timestamp) { 2063 ::google::protobuf::Arena* submessage_arena = NULL; 2064 if (message_arena != submessage_arena) { 2065 min_timestamp = ::google::protobuf::internal::GetOwnedMessage( 2066 message_arena, min_timestamp, submessage_arena); 2067 } 2068 2069 } else { 2070 2071 } 2072 min_timestamp_ = min_timestamp; 2073 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.TxnMeta.min_timestamp) 2074 } 2075 2076 inline void TxnMeta::clear_priority() { 2077 priority_ = 0; 2078 } 2079 inline ::google::protobuf::int32 TxnMeta::priority() const { 2080 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.TxnMeta.priority) 2081 return priority_; 2082 } 2083 inline void TxnMeta::set_priority(::google::protobuf::int32 value) { 2084 2085 priority_ = value; 2086 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.TxnMeta.priority) 2087 } 2088 2089 inline void TxnMeta::clear_sequence() { 2090 sequence_ = 0; 2091 } 2092 inline ::google::protobuf::int32 TxnMeta::sequence() const { 2093 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.TxnMeta.sequence) 2094 return sequence_; 2095 } 2096 inline void TxnMeta::set_sequence(::google::protobuf::int32 value) { 2097 2098 sequence_ = value; 2099 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.TxnMeta.sequence) 2100 } 2101 2102 // ------------------------------------------------------------------- 2103 2104 // IgnoredSeqNumRange 2105 2106 inline void IgnoredSeqNumRange::clear_start() { 2107 start_ = 0; 2108 } 2109 inline ::google::protobuf::int32 IgnoredSeqNumRange::start() const { 2110 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.IgnoredSeqNumRange.start) 2111 return start_; 2112 } 2113 inline void IgnoredSeqNumRange::set_start(::google::protobuf::int32 value) { 2114 2115 start_ = value; 2116 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.IgnoredSeqNumRange.start) 2117 } 2118 2119 inline void IgnoredSeqNumRange::clear_end() { 2120 end_ = 0; 2121 } 2122 inline ::google::protobuf::int32 IgnoredSeqNumRange::end() const { 2123 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.IgnoredSeqNumRange.end) 2124 return end_; 2125 } 2126 inline void IgnoredSeqNumRange::set_end(::google::protobuf::int32 value) { 2127 2128 end_ = value; 2129 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.IgnoredSeqNumRange.end) 2130 } 2131 2132 // ------------------------------------------------------------------- 2133 2134 // MVCCStatsDelta 2135 2136 // int64 contains_estimates = 14; 2137 inline void MVCCStatsDelta::clear_contains_estimates() { 2138 contains_estimates_ = GOOGLE_LONGLONG(0); 2139 } 2140 inline ::google::protobuf::int64 MVCCStatsDelta::contains_estimates() const { 2141 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.contains_estimates) 2142 return contains_estimates_; 2143 } 2144 inline void MVCCStatsDelta::set_contains_estimates(::google::protobuf::int64 value) { 2145 2146 contains_estimates_ = value; 2147 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.contains_estimates) 2148 } 2149 2150 // sfixed64 last_update_nanos = 1; 2151 inline void MVCCStatsDelta::clear_last_update_nanos() { 2152 last_update_nanos_ = GOOGLE_LONGLONG(0); 2153 } 2154 inline ::google::protobuf::int64 MVCCStatsDelta::last_update_nanos() const { 2155 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.last_update_nanos) 2156 return last_update_nanos_; 2157 } 2158 inline void MVCCStatsDelta::set_last_update_nanos(::google::protobuf::int64 value) { 2159 2160 last_update_nanos_ = value; 2161 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.last_update_nanos) 2162 } 2163 2164 // sfixed64 intent_age = 2; 2165 inline void MVCCStatsDelta::clear_intent_age() { 2166 intent_age_ = GOOGLE_LONGLONG(0); 2167 } 2168 inline ::google::protobuf::int64 MVCCStatsDelta::intent_age() const { 2169 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.intent_age) 2170 return intent_age_; 2171 } 2172 inline void MVCCStatsDelta::set_intent_age(::google::protobuf::int64 value) { 2173 2174 intent_age_ = value; 2175 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.intent_age) 2176 } 2177 2178 inline void MVCCStatsDelta::clear_gc_bytes_age() { 2179 gc_bytes_age_ = GOOGLE_LONGLONG(0); 2180 } 2181 inline ::google::protobuf::int64 MVCCStatsDelta::gc_bytes_age() const { 2182 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.gc_bytes_age) 2183 return gc_bytes_age_; 2184 } 2185 inline void MVCCStatsDelta::set_gc_bytes_age(::google::protobuf::int64 value) { 2186 2187 gc_bytes_age_ = value; 2188 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.gc_bytes_age) 2189 } 2190 2191 // sint64 live_bytes = 4; 2192 inline void MVCCStatsDelta::clear_live_bytes() { 2193 live_bytes_ = GOOGLE_LONGLONG(0); 2194 } 2195 inline ::google::protobuf::int64 MVCCStatsDelta::live_bytes() const { 2196 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.live_bytes) 2197 return live_bytes_; 2198 } 2199 inline void MVCCStatsDelta::set_live_bytes(::google::protobuf::int64 value) { 2200 2201 live_bytes_ = value; 2202 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.live_bytes) 2203 } 2204 2205 // sint64 live_count = 5; 2206 inline void MVCCStatsDelta::clear_live_count() { 2207 live_count_ = GOOGLE_LONGLONG(0); 2208 } 2209 inline ::google::protobuf::int64 MVCCStatsDelta::live_count() const { 2210 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.live_count) 2211 return live_count_; 2212 } 2213 inline void MVCCStatsDelta::set_live_count(::google::protobuf::int64 value) { 2214 2215 live_count_ = value; 2216 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.live_count) 2217 } 2218 2219 // sint64 key_bytes = 6; 2220 inline void MVCCStatsDelta::clear_key_bytes() { 2221 key_bytes_ = GOOGLE_LONGLONG(0); 2222 } 2223 inline ::google::protobuf::int64 MVCCStatsDelta::key_bytes() const { 2224 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.key_bytes) 2225 return key_bytes_; 2226 } 2227 inline void MVCCStatsDelta::set_key_bytes(::google::protobuf::int64 value) { 2228 2229 key_bytes_ = value; 2230 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.key_bytes) 2231 } 2232 2233 // sint64 key_count = 7; 2234 inline void MVCCStatsDelta::clear_key_count() { 2235 key_count_ = GOOGLE_LONGLONG(0); 2236 } 2237 inline ::google::protobuf::int64 MVCCStatsDelta::key_count() const { 2238 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.key_count) 2239 return key_count_; 2240 } 2241 inline void MVCCStatsDelta::set_key_count(::google::protobuf::int64 value) { 2242 2243 key_count_ = value; 2244 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.key_count) 2245 } 2246 2247 // sint64 val_bytes = 8; 2248 inline void MVCCStatsDelta::clear_val_bytes() { 2249 val_bytes_ = GOOGLE_LONGLONG(0); 2250 } 2251 inline ::google::protobuf::int64 MVCCStatsDelta::val_bytes() const { 2252 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.val_bytes) 2253 return val_bytes_; 2254 } 2255 inline void MVCCStatsDelta::set_val_bytes(::google::protobuf::int64 value) { 2256 2257 val_bytes_ = value; 2258 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.val_bytes) 2259 } 2260 2261 // sint64 val_count = 9; 2262 inline void MVCCStatsDelta::clear_val_count() { 2263 val_count_ = GOOGLE_LONGLONG(0); 2264 } 2265 inline ::google::protobuf::int64 MVCCStatsDelta::val_count() const { 2266 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.val_count) 2267 return val_count_; 2268 } 2269 inline void MVCCStatsDelta::set_val_count(::google::protobuf::int64 value) { 2270 2271 val_count_ = value; 2272 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.val_count) 2273 } 2274 2275 // sint64 intent_bytes = 10; 2276 inline void MVCCStatsDelta::clear_intent_bytes() { 2277 intent_bytes_ = GOOGLE_LONGLONG(0); 2278 } 2279 inline ::google::protobuf::int64 MVCCStatsDelta::intent_bytes() const { 2280 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.intent_bytes) 2281 return intent_bytes_; 2282 } 2283 inline void MVCCStatsDelta::set_intent_bytes(::google::protobuf::int64 value) { 2284 2285 intent_bytes_ = value; 2286 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.intent_bytes) 2287 } 2288 2289 // sint64 intent_count = 11; 2290 inline void MVCCStatsDelta::clear_intent_count() { 2291 intent_count_ = GOOGLE_LONGLONG(0); 2292 } 2293 inline ::google::protobuf::int64 MVCCStatsDelta::intent_count() const { 2294 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.intent_count) 2295 return intent_count_; 2296 } 2297 inline void MVCCStatsDelta::set_intent_count(::google::protobuf::int64 value) { 2298 2299 intent_count_ = value; 2300 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.intent_count) 2301 } 2302 2303 // sint64 sys_bytes = 12; 2304 inline void MVCCStatsDelta::clear_sys_bytes() { 2305 sys_bytes_ = GOOGLE_LONGLONG(0); 2306 } 2307 inline ::google::protobuf::int64 MVCCStatsDelta::sys_bytes() const { 2308 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.sys_bytes) 2309 return sys_bytes_; 2310 } 2311 inline void MVCCStatsDelta::set_sys_bytes(::google::protobuf::int64 value) { 2312 2313 sys_bytes_ = value; 2314 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.sys_bytes) 2315 } 2316 2317 // sint64 sys_count = 13; 2318 inline void MVCCStatsDelta::clear_sys_count() { 2319 sys_count_ = GOOGLE_LONGLONG(0); 2320 } 2321 inline ::google::protobuf::int64 MVCCStatsDelta::sys_count() const { 2322 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCStatsDelta.sys_count) 2323 return sys_count_; 2324 } 2325 inline void MVCCStatsDelta::set_sys_count(::google::protobuf::int64 value) { 2326 2327 sys_count_ = value; 2328 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCStatsDelta.sys_count) 2329 } 2330 2331 // ------------------------------------------------------------------- 2332 2333 // MVCCPersistentStats 2334 2335 // int64 contains_estimates = 14; 2336 inline void MVCCPersistentStats::clear_contains_estimates() { 2337 contains_estimates_ = GOOGLE_LONGLONG(0); 2338 } 2339 inline ::google::protobuf::int64 MVCCPersistentStats::contains_estimates() const { 2340 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.contains_estimates) 2341 return contains_estimates_; 2342 } 2343 inline void MVCCPersistentStats::set_contains_estimates(::google::protobuf::int64 value) { 2344 2345 contains_estimates_ = value; 2346 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.contains_estimates) 2347 } 2348 2349 // sfixed64 last_update_nanos = 1; 2350 inline void MVCCPersistentStats::clear_last_update_nanos() { 2351 last_update_nanos_ = GOOGLE_LONGLONG(0); 2352 } 2353 inline ::google::protobuf::int64 MVCCPersistentStats::last_update_nanos() const { 2354 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.last_update_nanos) 2355 return last_update_nanos_; 2356 } 2357 inline void MVCCPersistentStats::set_last_update_nanos(::google::protobuf::int64 value) { 2358 2359 last_update_nanos_ = value; 2360 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.last_update_nanos) 2361 } 2362 2363 // sfixed64 intent_age = 2; 2364 inline void MVCCPersistentStats::clear_intent_age() { 2365 intent_age_ = GOOGLE_LONGLONG(0); 2366 } 2367 inline ::google::protobuf::int64 MVCCPersistentStats::intent_age() const { 2368 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.intent_age) 2369 return intent_age_; 2370 } 2371 inline void MVCCPersistentStats::set_intent_age(::google::protobuf::int64 value) { 2372 2373 intent_age_ = value; 2374 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.intent_age) 2375 } 2376 2377 inline void MVCCPersistentStats::clear_gc_bytes_age() { 2378 gc_bytes_age_ = GOOGLE_LONGLONG(0); 2379 } 2380 inline ::google::protobuf::int64 MVCCPersistentStats::gc_bytes_age() const { 2381 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.gc_bytes_age) 2382 return gc_bytes_age_; 2383 } 2384 inline void MVCCPersistentStats::set_gc_bytes_age(::google::protobuf::int64 value) { 2385 2386 gc_bytes_age_ = value; 2387 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.gc_bytes_age) 2388 } 2389 2390 // int64 live_bytes = 4; 2391 inline void MVCCPersistentStats::clear_live_bytes() { 2392 live_bytes_ = GOOGLE_LONGLONG(0); 2393 } 2394 inline ::google::protobuf::int64 MVCCPersistentStats::live_bytes() const { 2395 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.live_bytes) 2396 return live_bytes_; 2397 } 2398 inline void MVCCPersistentStats::set_live_bytes(::google::protobuf::int64 value) { 2399 2400 live_bytes_ = value; 2401 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.live_bytes) 2402 } 2403 2404 // int64 live_count = 5; 2405 inline void MVCCPersistentStats::clear_live_count() { 2406 live_count_ = GOOGLE_LONGLONG(0); 2407 } 2408 inline ::google::protobuf::int64 MVCCPersistentStats::live_count() const { 2409 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.live_count) 2410 return live_count_; 2411 } 2412 inline void MVCCPersistentStats::set_live_count(::google::protobuf::int64 value) { 2413 2414 live_count_ = value; 2415 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.live_count) 2416 } 2417 2418 // int64 key_bytes = 6; 2419 inline void MVCCPersistentStats::clear_key_bytes() { 2420 key_bytes_ = GOOGLE_LONGLONG(0); 2421 } 2422 inline ::google::protobuf::int64 MVCCPersistentStats::key_bytes() const { 2423 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.key_bytes) 2424 return key_bytes_; 2425 } 2426 inline void MVCCPersistentStats::set_key_bytes(::google::protobuf::int64 value) { 2427 2428 key_bytes_ = value; 2429 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.key_bytes) 2430 } 2431 2432 // int64 key_count = 7; 2433 inline void MVCCPersistentStats::clear_key_count() { 2434 key_count_ = GOOGLE_LONGLONG(0); 2435 } 2436 inline ::google::protobuf::int64 MVCCPersistentStats::key_count() const { 2437 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.key_count) 2438 return key_count_; 2439 } 2440 inline void MVCCPersistentStats::set_key_count(::google::protobuf::int64 value) { 2441 2442 key_count_ = value; 2443 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.key_count) 2444 } 2445 2446 // int64 val_bytes = 8; 2447 inline void MVCCPersistentStats::clear_val_bytes() { 2448 val_bytes_ = GOOGLE_LONGLONG(0); 2449 } 2450 inline ::google::protobuf::int64 MVCCPersistentStats::val_bytes() const { 2451 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.val_bytes) 2452 return val_bytes_; 2453 } 2454 inline void MVCCPersistentStats::set_val_bytes(::google::protobuf::int64 value) { 2455 2456 val_bytes_ = value; 2457 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.val_bytes) 2458 } 2459 2460 // int64 val_count = 9; 2461 inline void MVCCPersistentStats::clear_val_count() { 2462 val_count_ = GOOGLE_LONGLONG(0); 2463 } 2464 inline ::google::protobuf::int64 MVCCPersistentStats::val_count() const { 2465 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.val_count) 2466 return val_count_; 2467 } 2468 inline void MVCCPersistentStats::set_val_count(::google::protobuf::int64 value) { 2469 2470 val_count_ = value; 2471 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.val_count) 2472 } 2473 2474 // int64 intent_bytes = 10; 2475 inline void MVCCPersistentStats::clear_intent_bytes() { 2476 intent_bytes_ = GOOGLE_LONGLONG(0); 2477 } 2478 inline ::google::protobuf::int64 MVCCPersistentStats::intent_bytes() const { 2479 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.intent_bytes) 2480 return intent_bytes_; 2481 } 2482 inline void MVCCPersistentStats::set_intent_bytes(::google::protobuf::int64 value) { 2483 2484 intent_bytes_ = value; 2485 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.intent_bytes) 2486 } 2487 2488 // int64 intent_count = 11; 2489 inline void MVCCPersistentStats::clear_intent_count() { 2490 intent_count_ = GOOGLE_LONGLONG(0); 2491 } 2492 inline ::google::protobuf::int64 MVCCPersistentStats::intent_count() const { 2493 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.intent_count) 2494 return intent_count_; 2495 } 2496 inline void MVCCPersistentStats::set_intent_count(::google::protobuf::int64 value) { 2497 2498 intent_count_ = value; 2499 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.intent_count) 2500 } 2501 2502 // int64 sys_bytes = 12; 2503 inline void MVCCPersistentStats::clear_sys_bytes() { 2504 sys_bytes_ = GOOGLE_LONGLONG(0); 2505 } 2506 inline ::google::protobuf::int64 MVCCPersistentStats::sys_bytes() const { 2507 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.sys_bytes) 2508 return sys_bytes_; 2509 } 2510 inline void MVCCPersistentStats::set_sys_bytes(::google::protobuf::int64 value) { 2511 2512 sys_bytes_ = value; 2513 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.sys_bytes) 2514 } 2515 2516 // int64 sys_count = 13; 2517 inline void MVCCPersistentStats::clear_sys_count() { 2518 sys_count_ = GOOGLE_LONGLONG(0); 2519 } 2520 inline ::google::protobuf::int64 MVCCPersistentStats::sys_count() const { 2521 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCPersistentStats.sys_count) 2522 return sys_count_; 2523 } 2524 inline void MVCCPersistentStats::set_sys_count(::google::protobuf::int64 value) { 2525 2526 sys_count_ = value; 2527 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCPersistentStats.sys_count) 2528 } 2529 2530 // ------------------------------------------------------------------- 2531 2532 // RangeAppliedState 2533 2534 // uint64 raft_applied_index = 1; 2535 inline void RangeAppliedState::clear_raft_applied_index() { 2536 raft_applied_index_ = GOOGLE_ULONGLONG(0); 2537 } 2538 inline ::google::protobuf::uint64 RangeAppliedState::raft_applied_index() const { 2539 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.RangeAppliedState.raft_applied_index) 2540 return raft_applied_index_; 2541 } 2542 inline void RangeAppliedState::set_raft_applied_index(::google::protobuf::uint64 value) { 2543 2544 raft_applied_index_ = value; 2545 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.RangeAppliedState.raft_applied_index) 2546 } 2547 2548 // uint64 lease_applied_index = 2; 2549 inline void RangeAppliedState::clear_lease_applied_index() { 2550 lease_applied_index_ = GOOGLE_ULONGLONG(0); 2551 } 2552 inline ::google::protobuf::uint64 RangeAppliedState::lease_applied_index() const { 2553 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.RangeAppliedState.lease_applied_index) 2554 return lease_applied_index_; 2555 } 2556 inline void RangeAppliedState::set_lease_applied_index(::google::protobuf::uint64 value) { 2557 2558 lease_applied_index_ = value; 2559 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.RangeAppliedState.lease_applied_index) 2560 } 2561 2562 inline bool RangeAppliedState::has_range_stats() const { 2563 return this != internal_default_instance() && range_stats_ != NULL; 2564 } 2565 inline void RangeAppliedState::clear_range_stats() { 2566 if (GetArenaNoVirtual() == NULL && range_stats_ != NULL) { 2567 delete range_stats_; 2568 } 2569 range_stats_ = NULL; 2570 } 2571 inline const ::cockroach::storage::enginepb::MVCCPersistentStats& RangeAppliedState::_internal_range_stats() const { 2572 return *range_stats_; 2573 } 2574 inline const ::cockroach::storage::enginepb::MVCCPersistentStats& RangeAppliedState::range_stats() const { 2575 const ::cockroach::storage::enginepb::MVCCPersistentStats* p = range_stats_; 2576 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.RangeAppliedState.range_stats) 2577 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::storage::enginepb::MVCCPersistentStats*>( 2578 &::cockroach::storage::enginepb::_MVCCPersistentStats_default_instance_); 2579 } 2580 inline ::cockroach::storage::enginepb::MVCCPersistentStats* RangeAppliedState::release_range_stats() { 2581 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.RangeAppliedState.range_stats) 2582 2583 ::cockroach::storage::enginepb::MVCCPersistentStats* temp = range_stats_; 2584 range_stats_ = NULL; 2585 return temp; 2586 } 2587 inline ::cockroach::storage::enginepb::MVCCPersistentStats* RangeAppliedState::mutable_range_stats() { 2588 2589 if (range_stats_ == NULL) { 2590 auto* p = CreateMaybeMessage<::cockroach::storage::enginepb::MVCCPersistentStats>(GetArenaNoVirtual()); 2591 range_stats_ = p; 2592 } 2593 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.RangeAppliedState.range_stats) 2594 return range_stats_; 2595 } 2596 inline void RangeAppliedState::set_allocated_range_stats(::cockroach::storage::enginepb::MVCCPersistentStats* range_stats) { 2597 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 2598 if (message_arena == NULL) { 2599 delete range_stats_; 2600 } 2601 if (range_stats) { 2602 ::google::protobuf::Arena* submessage_arena = NULL; 2603 if (message_arena != submessage_arena) { 2604 range_stats = ::google::protobuf::internal::GetOwnedMessage( 2605 message_arena, range_stats, submessage_arena); 2606 } 2607 2608 } else { 2609 2610 } 2611 range_stats_ = range_stats; 2612 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.RangeAppliedState.range_stats) 2613 } 2614 2615 // ------------------------------------------------------------------- 2616 2617 // MVCCWriteValueOp 2618 2619 // bytes key = 1; 2620 inline void MVCCWriteValueOp::clear_key() { 2621 key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2622 } 2623 inline const ::std::string& MVCCWriteValueOp::key() const { 2624 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCWriteValueOp.key) 2625 return key_.GetNoArena(); 2626 } 2627 inline void MVCCWriteValueOp::set_key(const ::std::string& value) { 2628 2629 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 2630 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCWriteValueOp.key) 2631 } 2632 #if LANG_CXX11 2633 inline void MVCCWriteValueOp::set_key(::std::string&& value) { 2634 2635 key_.SetNoArena( 2636 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 2637 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCWriteValueOp.key) 2638 } 2639 #endif 2640 inline void MVCCWriteValueOp::set_key(const char* value) { 2641 GOOGLE_DCHECK(value != NULL); 2642 2643 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 2644 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCWriteValueOp.key) 2645 } 2646 inline void MVCCWriteValueOp::set_key(const void* value, size_t size) { 2647 2648 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 2649 ::std::string(reinterpret_cast<const char*>(value), size)); 2650 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCWriteValueOp.key) 2651 } 2652 inline ::std::string* MVCCWriteValueOp::mutable_key() { 2653 2654 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCWriteValueOp.key) 2655 return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2656 } 2657 inline ::std::string* MVCCWriteValueOp::release_key() { 2658 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCWriteValueOp.key) 2659 2660 return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2661 } 2662 inline void MVCCWriteValueOp::set_allocated_key(::std::string* key) { 2663 if (key != NULL) { 2664 2665 } else { 2666 2667 } 2668 key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); 2669 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCWriteValueOp.key) 2670 } 2671 2672 inline bool MVCCWriteValueOp::has_timestamp() const { 2673 return this != internal_default_instance() && timestamp_ != NULL; 2674 } 2675 inline const ::cockroach::util::hlc::Timestamp& MVCCWriteValueOp::_internal_timestamp() const { 2676 return *timestamp_; 2677 } 2678 inline const ::cockroach::util::hlc::Timestamp& MVCCWriteValueOp::timestamp() const { 2679 const ::cockroach::util::hlc::Timestamp* p = timestamp_; 2680 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCWriteValueOp.timestamp) 2681 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::util::hlc::Timestamp*>( 2682 &::cockroach::util::hlc::_Timestamp_default_instance_); 2683 } 2684 inline ::cockroach::util::hlc::Timestamp* MVCCWriteValueOp::release_timestamp() { 2685 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCWriteValueOp.timestamp) 2686 2687 ::cockroach::util::hlc::Timestamp* temp = timestamp_; 2688 timestamp_ = NULL; 2689 return temp; 2690 } 2691 inline ::cockroach::util::hlc::Timestamp* MVCCWriteValueOp::mutable_timestamp() { 2692 2693 if (timestamp_ == NULL) { 2694 auto* p = CreateMaybeMessage<::cockroach::util::hlc::Timestamp>(GetArenaNoVirtual()); 2695 timestamp_ = p; 2696 } 2697 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCWriteValueOp.timestamp) 2698 return timestamp_; 2699 } 2700 inline void MVCCWriteValueOp::set_allocated_timestamp(::cockroach::util::hlc::Timestamp* timestamp) { 2701 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 2702 if (message_arena == NULL) { 2703 delete reinterpret_cast< ::google::protobuf::MessageLite*>(timestamp_); 2704 } 2705 if (timestamp) { 2706 ::google::protobuf::Arena* submessage_arena = NULL; 2707 if (message_arena != submessage_arena) { 2708 timestamp = ::google::protobuf::internal::GetOwnedMessage( 2709 message_arena, timestamp, submessage_arena); 2710 } 2711 2712 } else { 2713 2714 } 2715 timestamp_ = timestamp; 2716 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCWriteValueOp.timestamp) 2717 } 2718 2719 // bytes value = 3; 2720 inline void MVCCWriteValueOp::clear_value() { 2721 value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2722 } 2723 inline const ::std::string& MVCCWriteValueOp::value() const { 2724 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCWriteValueOp.value) 2725 return value_.GetNoArena(); 2726 } 2727 inline void MVCCWriteValueOp::set_value(const ::std::string& value) { 2728 2729 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 2730 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCWriteValueOp.value) 2731 } 2732 #if LANG_CXX11 2733 inline void MVCCWriteValueOp::set_value(::std::string&& value) { 2734 2735 value_.SetNoArena( 2736 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 2737 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCWriteValueOp.value) 2738 } 2739 #endif 2740 inline void MVCCWriteValueOp::set_value(const char* value) { 2741 GOOGLE_DCHECK(value != NULL); 2742 2743 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 2744 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCWriteValueOp.value) 2745 } 2746 inline void MVCCWriteValueOp::set_value(const void* value, size_t size) { 2747 2748 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 2749 ::std::string(reinterpret_cast<const char*>(value), size)); 2750 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCWriteValueOp.value) 2751 } 2752 inline ::std::string* MVCCWriteValueOp::mutable_value() { 2753 2754 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCWriteValueOp.value) 2755 return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2756 } 2757 inline ::std::string* MVCCWriteValueOp::release_value() { 2758 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCWriteValueOp.value) 2759 2760 return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2761 } 2762 inline void MVCCWriteValueOp::set_allocated_value(::std::string* value) { 2763 if (value != NULL) { 2764 2765 } else { 2766 2767 } 2768 value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 2769 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCWriteValueOp.value) 2770 } 2771 2772 // bytes prev_value = 4; 2773 inline void MVCCWriteValueOp::clear_prev_value() { 2774 prev_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2775 } 2776 inline const ::std::string& MVCCWriteValueOp::prev_value() const { 2777 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCWriteValueOp.prev_value) 2778 return prev_value_.GetNoArena(); 2779 } 2780 inline void MVCCWriteValueOp::set_prev_value(const ::std::string& value) { 2781 2782 prev_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 2783 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCWriteValueOp.prev_value) 2784 } 2785 #if LANG_CXX11 2786 inline void MVCCWriteValueOp::set_prev_value(::std::string&& value) { 2787 2788 prev_value_.SetNoArena( 2789 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 2790 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCWriteValueOp.prev_value) 2791 } 2792 #endif 2793 inline void MVCCWriteValueOp::set_prev_value(const char* value) { 2794 GOOGLE_DCHECK(value != NULL); 2795 2796 prev_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 2797 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCWriteValueOp.prev_value) 2798 } 2799 inline void MVCCWriteValueOp::set_prev_value(const void* value, size_t size) { 2800 2801 prev_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 2802 ::std::string(reinterpret_cast<const char*>(value), size)); 2803 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCWriteValueOp.prev_value) 2804 } 2805 inline ::std::string* MVCCWriteValueOp::mutable_prev_value() { 2806 2807 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCWriteValueOp.prev_value) 2808 return prev_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2809 } 2810 inline ::std::string* MVCCWriteValueOp::release_prev_value() { 2811 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCWriteValueOp.prev_value) 2812 2813 return prev_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2814 } 2815 inline void MVCCWriteValueOp::set_allocated_prev_value(::std::string* prev_value) { 2816 if (prev_value != NULL) { 2817 2818 } else { 2819 2820 } 2821 prev_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), prev_value); 2822 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCWriteValueOp.prev_value) 2823 } 2824 2825 // ------------------------------------------------------------------- 2826 2827 // MVCCWriteIntentOp 2828 2829 inline void MVCCWriteIntentOp::clear_txn_id() { 2830 txn_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2831 } 2832 inline const ::std::string& MVCCWriteIntentOp::txn_id() const { 2833 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_id) 2834 return txn_id_.GetNoArena(); 2835 } 2836 inline void MVCCWriteIntentOp::set_txn_id(const ::std::string& value) { 2837 2838 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 2839 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_id) 2840 } 2841 #if LANG_CXX11 2842 inline void MVCCWriteIntentOp::set_txn_id(::std::string&& value) { 2843 2844 txn_id_.SetNoArena( 2845 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 2846 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_id) 2847 } 2848 #endif 2849 inline void MVCCWriteIntentOp::set_txn_id(const char* value) { 2850 GOOGLE_DCHECK(value != NULL); 2851 2852 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 2853 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_id) 2854 } 2855 inline void MVCCWriteIntentOp::set_txn_id(const void* value, size_t size) { 2856 2857 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 2858 ::std::string(reinterpret_cast<const char*>(value), size)); 2859 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_id) 2860 } 2861 inline ::std::string* MVCCWriteIntentOp::mutable_txn_id() { 2862 2863 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_id) 2864 return txn_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2865 } 2866 inline ::std::string* MVCCWriteIntentOp::release_txn_id() { 2867 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_id) 2868 2869 return txn_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2870 } 2871 inline void MVCCWriteIntentOp::set_allocated_txn_id(::std::string* txn_id) { 2872 if (txn_id != NULL) { 2873 2874 } else { 2875 2876 } 2877 txn_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), txn_id); 2878 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_id) 2879 } 2880 2881 // bytes txn_key = 2; 2882 inline void MVCCWriteIntentOp::clear_txn_key() { 2883 txn_key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2884 } 2885 inline const ::std::string& MVCCWriteIntentOp::txn_key() const { 2886 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_key) 2887 return txn_key_.GetNoArena(); 2888 } 2889 inline void MVCCWriteIntentOp::set_txn_key(const ::std::string& value) { 2890 2891 txn_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 2892 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_key) 2893 } 2894 #if LANG_CXX11 2895 inline void MVCCWriteIntentOp::set_txn_key(::std::string&& value) { 2896 2897 txn_key_.SetNoArena( 2898 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 2899 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_key) 2900 } 2901 #endif 2902 inline void MVCCWriteIntentOp::set_txn_key(const char* value) { 2903 GOOGLE_DCHECK(value != NULL); 2904 2905 txn_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 2906 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_key) 2907 } 2908 inline void MVCCWriteIntentOp::set_txn_key(const void* value, size_t size) { 2909 2910 txn_key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 2911 ::std::string(reinterpret_cast<const char*>(value), size)); 2912 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_key) 2913 } 2914 inline ::std::string* MVCCWriteIntentOp::mutable_txn_key() { 2915 2916 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_key) 2917 return txn_key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2918 } 2919 inline ::std::string* MVCCWriteIntentOp::release_txn_key() { 2920 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_key) 2921 2922 return txn_key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 2923 } 2924 inline void MVCCWriteIntentOp::set_allocated_txn_key(::std::string* txn_key) { 2925 if (txn_key != NULL) { 2926 2927 } else { 2928 2929 } 2930 txn_key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), txn_key); 2931 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_key) 2932 } 2933 2934 inline bool MVCCWriteIntentOp::has_txn_min_timestamp() const { 2935 return this != internal_default_instance() && txn_min_timestamp_ != NULL; 2936 } 2937 inline const ::cockroach::util::hlc::Timestamp& MVCCWriteIntentOp::_internal_txn_min_timestamp() const { 2938 return *txn_min_timestamp_; 2939 } 2940 inline const ::cockroach::util::hlc::Timestamp& MVCCWriteIntentOp::txn_min_timestamp() const { 2941 const ::cockroach::util::hlc::Timestamp* p = txn_min_timestamp_; 2942 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_min_timestamp) 2943 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::util::hlc::Timestamp*>( 2944 &::cockroach::util::hlc::_Timestamp_default_instance_); 2945 } 2946 inline ::cockroach::util::hlc::Timestamp* MVCCWriteIntentOp::release_txn_min_timestamp() { 2947 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_min_timestamp) 2948 2949 ::cockroach::util::hlc::Timestamp* temp = txn_min_timestamp_; 2950 txn_min_timestamp_ = NULL; 2951 return temp; 2952 } 2953 inline ::cockroach::util::hlc::Timestamp* MVCCWriteIntentOp::mutable_txn_min_timestamp() { 2954 2955 if (txn_min_timestamp_ == NULL) { 2956 auto* p = CreateMaybeMessage<::cockroach::util::hlc::Timestamp>(GetArenaNoVirtual()); 2957 txn_min_timestamp_ = p; 2958 } 2959 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_min_timestamp) 2960 return txn_min_timestamp_; 2961 } 2962 inline void MVCCWriteIntentOp::set_allocated_txn_min_timestamp(::cockroach::util::hlc::Timestamp* txn_min_timestamp) { 2963 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 2964 if (message_arena == NULL) { 2965 delete reinterpret_cast< ::google::protobuf::MessageLite*>(txn_min_timestamp_); 2966 } 2967 if (txn_min_timestamp) { 2968 ::google::protobuf::Arena* submessage_arena = NULL; 2969 if (message_arena != submessage_arena) { 2970 txn_min_timestamp = ::google::protobuf::internal::GetOwnedMessage( 2971 message_arena, txn_min_timestamp, submessage_arena); 2972 } 2973 2974 } else { 2975 2976 } 2977 txn_min_timestamp_ = txn_min_timestamp; 2978 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCWriteIntentOp.txn_min_timestamp) 2979 } 2980 2981 inline bool MVCCWriteIntentOp::has_timestamp() const { 2982 return this != internal_default_instance() && timestamp_ != NULL; 2983 } 2984 inline const ::cockroach::util::hlc::Timestamp& MVCCWriteIntentOp::_internal_timestamp() const { 2985 return *timestamp_; 2986 } 2987 inline const ::cockroach::util::hlc::Timestamp& MVCCWriteIntentOp::timestamp() const { 2988 const ::cockroach::util::hlc::Timestamp* p = timestamp_; 2989 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCWriteIntentOp.timestamp) 2990 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::util::hlc::Timestamp*>( 2991 &::cockroach::util::hlc::_Timestamp_default_instance_); 2992 } 2993 inline ::cockroach::util::hlc::Timestamp* MVCCWriteIntentOp::release_timestamp() { 2994 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCWriteIntentOp.timestamp) 2995 2996 ::cockroach::util::hlc::Timestamp* temp = timestamp_; 2997 timestamp_ = NULL; 2998 return temp; 2999 } 3000 inline ::cockroach::util::hlc::Timestamp* MVCCWriteIntentOp::mutable_timestamp() { 3001 3002 if (timestamp_ == NULL) { 3003 auto* p = CreateMaybeMessage<::cockroach::util::hlc::Timestamp>(GetArenaNoVirtual()); 3004 timestamp_ = p; 3005 } 3006 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCWriteIntentOp.timestamp) 3007 return timestamp_; 3008 } 3009 inline void MVCCWriteIntentOp::set_allocated_timestamp(::cockroach::util::hlc::Timestamp* timestamp) { 3010 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 3011 if (message_arena == NULL) { 3012 delete reinterpret_cast< ::google::protobuf::MessageLite*>(timestamp_); 3013 } 3014 if (timestamp) { 3015 ::google::protobuf::Arena* submessage_arena = NULL; 3016 if (message_arena != submessage_arena) { 3017 timestamp = ::google::protobuf::internal::GetOwnedMessage( 3018 message_arena, timestamp, submessage_arena); 3019 } 3020 3021 } else { 3022 3023 } 3024 timestamp_ = timestamp; 3025 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCWriteIntentOp.timestamp) 3026 } 3027 3028 // ------------------------------------------------------------------- 3029 3030 // MVCCUpdateIntentOp 3031 3032 inline void MVCCUpdateIntentOp::clear_txn_id() { 3033 txn_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3034 } 3035 inline const ::std::string& MVCCUpdateIntentOp::txn_id() const { 3036 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCUpdateIntentOp.txn_id) 3037 return txn_id_.GetNoArena(); 3038 } 3039 inline void MVCCUpdateIntentOp::set_txn_id(const ::std::string& value) { 3040 3041 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 3042 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCUpdateIntentOp.txn_id) 3043 } 3044 #if LANG_CXX11 3045 inline void MVCCUpdateIntentOp::set_txn_id(::std::string&& value) { 3046 3047 txn_id_.SetNoArena( 3048 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 3049 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCUpdateIntentOp.txn_id) 3050 } 3051 #endif 3052 inline void MVCCUpdateIntentOp::set_txn_id(const char* value) { 3053 GOOGLE_DCHECK(value != NULL); 3054 3055 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 3056 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCUpdateIntentOp.txn_id) 3057 } 3058 inline void MVCCUpdateIntentOp::set_txn_id(const void* value, size_t size) { 3059 3060 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 3061 ::std::string(reinterpret_cast<const char*>(value), size)); 3062 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCUpdateIntentOp.txn_id) 3063 } 3064 inline ::std::string* MVCCUpdateIntentOp::mutable_txn_id() { 3065 3066 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCUpdateIntentOp.txn_id) 3067 return txn_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3068 } 3069 inline ::std::string* MVCCUpdateIntentOp::release_txn_id() { 3070 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCUpdateIntentOp.txn_id) 3071 3072 return txn_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3073 } 3074 inline void MVCCUpdateIntentOp::set_allocated_txn_id(::std::string* txn_id) { 3075 if (txn_id != NULL) { 3076 3077 } else { 3078 3079 } 3080 txn_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), txn_id); 3081 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCUpdateIntentOp.txn_id) 3082 } 3083 3084 inline bool MVCCUpdateIntentOp::has_timestamp() const { 3085 return this != internal_default_instance() && timestamp_ != NULL; 3086 } 3087 inline const ::cockroach::util::hlc::Timestamp& MVCCUpdateIntentOp::_internal_timestamp() const { 3088 return *timestamp_; 3089 } 3090 inline const ::cockroach::util::hlc::Timestamp& MVCCUpdateIntentOp::timestamp() const { 3091 const ::cockroach::util::hlc::Timestamp* p = timestamp_; 3092 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCUpdateIntentOp.timestamp) 3093 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::util::hlc::Timestamp*>( 3094 &::cockroach::util::hlc::_Timestamp_default_instance_); 3095 } 3096 inline ::cockroach::util::hlc::Timestamp* MVCCUpdateIntentOp::release_timestamp() { 3097 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCUpdateIntentOp.timestamp) 3098 3099 ::cockroach::util::hlc::Timestamp* temp = timestamp_; 3100 timestamp_ = NULL; 3101 return temp; 3102 } 3103 inline ::cockroach::util::hlc::Timestamp* MVCCUpdateIntentOp::mutable_timestamp() { 3104 3105 if (timestamp_ == NULL) { 3106 auto* p = CreateMaybeMessage<::cockroach::util::hlc::Timestamp>(GetArenaNoVirtual()); 3107 timestamp_ = p; 3108 } 3109 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCUpdateIntentOp.timestamp) 3110 return timestamp_; 3111 } 3112 inline void MVCCUpdateIntentOp::set_allocated_timestamp(::cockroach::util::hlc::Timestamp* timestamp) { 3113 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 3114 if (message_arena == NULL) { 3115 delete reinterpret_cast< ::google::protobuf::MessageLite*>(timestamp_); 3116 } 3117 if (timestamp) { 3118 ::google::protobuf::Arena* submessage_arena = NULL; 3119 if (message_arena != submessage_arena) { 3120 timestamp = ::google::protobuf::internal::GetOwnedMessage( 3121 message_arena, timestamp, submessage_arena); 3122 } 3123 3124 } else { 3125 3126 } 3127 timestamp_ = timestamp; 3128 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCUpdateIntentOp.timestamp) 3129 } 3130 3131 // ------------------------------------------------------------------- 3132 3133 // MVCCCommitIntentOp 3134 3135 inline void MVCCCommitIntentOp::clear_txn_id() { 3136 txn_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3137 } 3138 inline const ::std::string& MVCCCommitIntentOp::txn_id() const { 3139 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCCommitIntentOp.txn_id) 3140 return txn_id_.GetNoArena(); 3141 } 3142 inline void MVCCCommitIntentOp::set_txn_id(const ::std::string& value) { 3143 3144 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 3145 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCCommitIntentOp.txn_id) 3146 } 3147 #if LANG_CXX11 3148 inline void MVCCCommitIntentOp::set_txn_id(::std::string&& value) { 3149 3150 txn_id_.SetNoArena( 3151 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 3152 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCCommitIntentOp.txn_id) 3153 } 3154 #endif 3155 inline void MVCCCommitIntentOp::set_txn_id(const char* value) { 3156 GOOGLE_DCHECK(value != NULL); 3157 3158 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 3159 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCCommitIntentOp.txn_id) 3160 } 3161 inline void MVCCCommitIntentOp::set_txn_id(const void* value, size_t size) { 3162 3163 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 3164 ::std::string(reinterpret_cast<const char*>(value), size)); 3165 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCCommitIntentOp.txn_id) 3166 } 3167 inline ::std::string* MVCCCommitIntentOp::mutable_txn_id() { 3168 3169 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCCommitIntentOp.txn_id) 3170 return txn_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3171 } 3172 inline ::std::string* MVCCCommitIntentOp::release_txn_id() { 3173 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCCommitIntentOp.txn_id) 3174 3175 return txn_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3176 } 3177 inline void MVCCCommitIntentOp::set_allocated_txn_id(::std::string* txn_id) { 3178 if (txn_id != NULL) { 3179 3180 } else { 3181 3182 } 3183 txn_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), txn_id); 3184 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCCommitIntentOp.txn_id) 3185 } 3186 3187 // bytes key = 2; 3188 inline void MVCCCommitIntentOp::clear_key() { 3189 key_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3190 } 3191 inline const ::std::string& MVCCCommitIntentOp::key() const { 3192 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCCommitIntentOp.key) 3193 return key_.GetNoArena(); 3194 } 3195 inline void MVCCCommitIntentOp::set_key(const ::std::string& value) { 3196 3197 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 3198 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCCommitIntentOp.key) 3199 } 3200 #if LANG_CXX11 3201 inline void MVCCCommitIntentOp::set_key(::std::string&& value) { 3202 3203 key_.SetNoArena( 3204 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 3205 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCCommitIntentOp.key) 3206 } 3207 #endif 3208 inline void MVCCCommitIntentOp::set_key(const char* value) { 3209 GOOGLE_DCHECK(value != NULL); 3210 3211 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 3212 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCCommitIntentOp.key) 3213 } 3214 inline void MVCCCommitIntentOp::set_key(const void* value, size_t size) { 3215 3216 key_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 3217 ::std::string(reinterpret_cast<const char*>(value), size)); 3218 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCCommitIntentOp.key) 3219 } 3220 inline ::std::string* MVCCCommitIntentOp::mutable_key() { 3221 3222 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCCommitIntentOp.key) 3223 return key_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3224 } 3225 inline ::std::string* MVCCCommitIntentOp::release_key() { 3226 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCCommitIntentOp.key) 3227 3228 return key_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3229 } 3230 inline void MVCCCommitIntentOp::set_allocated_key(::std::string* key) { 3231 if (key != NULL) { 3232 3233 } else { 3234 3235 } 3236 key_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), key); 3237 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCCommitIntentOp.key) 3238 } 3239 3240 inline bool MVCCCommitIntentOp::has_timestamp() const { 3241 return this != internal_default_instance() && timestamp_ != NULL; 3242 } 3243 inline const ::cockroach::util::hlc::Timestamp& MVCCCommitIntentOp::_internal_timestamp() const { 3244 return *timestamp_; 3245 } 3246 inline const ::cockroach::util::hlc::Timestamp& MVCCCommitIntentOp::timestamp() const { 3247 const ::cockroach::util::hlc::Timestamp* p = timestamp_; 3248 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCCommitIntentOp.timestamp) 3249 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::util::hlc::Timestamp*>( 3250 &::cockroach::util::hlc::_Timestamp_default_instance_); 3251 } 3252 inline ::cockroach::util::hlc::Timestamp* MVCCCommitIntentOp::release_timestamp() { 3253 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCCommitIntentOp.timestamp) 3254 3255 ::cockroach::util::hlc::Timestamp* temp = timestamp_; 3256 timestamp_ = NULL; 3257 return temp; 3258 } 3259 inline ::cockroach::util::hlc::Timestamp* MVCCCommitIntentOp::mutable_timestamp() { 3260 3261 if (timestamp_ == NULL) { 3262 auto* p = CreateMaybeMessage<::cockroach::util::hlc::Timestamp>(GetArenaNoVirtual()); 3263 timestamp_ = p; 3264 } 3265 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCCommitIntentOp.timestamp) 3266 return timestamp_; 3267 } 3268 inline void MVCCCommitIntentOp::set_allocated_timestamp(::cockroach::util::hlc::Timestamp* timestamp) { 3269 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 3270 if (message_arena == NULL) { 3271 delete reinterpret_cast< ::google::protobuf::MessageLite*>(timestamp_); 3272 } 3273 if (timestamp) { 3274 ::google::protobuf::Arena* submessage_arena = NULL; 3275 if (message_arena != submessage_arena) { 3276 timestamp = ::google::protobuf::internal::GetOwnedMessage( 3277 message_arena, timestamp, submessage_arena); 3278 } 3279 3280 } else { 3281 3282 } 3283 timestamp_ = timestamp; 3284 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCCommitIntentOp.timestamp) 3285 } 3286 3287 // bytes value = 4; 3288 inline void MVCCCommitIntentOp::clear_value() { 3289 value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3290 } 3291 inline const ::std::string& MVCCCommitIntentOp::value() const { 3292 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCCommitIntentOp.value) 3293 return value_.GetNoArena(); 3294 } 3295 inline void MVCCCommitIntentOp::set_value(const ::std::string& value) { 3296 3297 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 3298 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCCommitIntentOp.value) 3299 } 3300 #if LANG_CXX11 3301 inline void MVCCCommitIntentOp::set_value(::std::string&& value) { 3302 3303 value_.SetNoArena( 3304 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 3305 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCCommitIntentOp.value) 3306 } 3307 #endif 3308 inline void MVCCCommitIntentOp::set_value(const char* value) { 3309 GOOGLE_DCHECK(value != NULL); 3310 3311 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 3312 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCCommitIntentOp.value) 3313 } 3314 inline void MVCCCommitIntentOp::set_value(const void* value, size_t size) { 3315 3316 value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 3317 ::std::string(reinterpret_cast<const char*>(value), size)); 3318 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCCommitIntentOp.value) 3319 } 3320 inline ::std::string* MVCCCommitIntentOp::mutable_value() { 3321 3322 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCCommitIntentOp.value) 3323 return value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3324 } 3325 inline ::std::string* MVCCCommitIntentOp::release_value() { 3326 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCCommitIntentOp.value) 3327 3328 return value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3329 } 3330 inline void MVCCCommitIntentOp::set_allocated_value(::std::string* value) { 3331 if (value != NULL) { 3332 3333 } else { 3334 3335 } 3336 value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 3337 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCCommitIntentOp.value) 3338 } 3339 3340 // bytes prev_value = 5; 3341 inline void MVCCCommitIntentOp::clear_prev_value() { 3342 prev_value_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3343 } 3344 inline const ::std::string& MVCCCommitIntentOp::prev_value() const { 3345 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCCommitIntentOp.prev_value) 3346 return prev_value_.GetNoArena(); 3347 } 3348 inline void MVCCCommitIntentOp::set_prev_value(const ::std::string& value) { 3349 3350 prev_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 3351 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCCommitIntentOp.prev_value) 3352 } 3353 #if LANG_CXX11 3354 inline void MVCCCommitIntentOp::set_prev_value(::std::string&& value) { 3355 3356 prev_value_.SetNoArena( 3357 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 3358 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCCommitIntentOp.prev_value) 3359 } 3360 #endif 3361 inline void MVCCCommitIntentOp::set_prev_value(const char* value) { 3362 GOOGLE_DCHECK(value != NULL); 3363 3364 prev_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 3365 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCCommitIntentOp.prev_value) 3366 } 3367 inline void MVCCCommitIntentOp::set_prev_value(const void* value, size_t size) { 3368 3369 prev_value_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 3370 ::std::string(reinterpret_cast<const char*>(value), size)); 3371 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCCommitIntentOp.prev_value) 3372 } 3373 inline ::std::string* MVCCCommitIntentOp::mutable_prev_value() { 3374 3375 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCCommitIntentOp.prev_value) 3376 return prev_value_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3377 } 3378 inline ::std::string* MVCCCommitIntentOp::release_prev_value() { 3379 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCCommitIntentOp.prev_value) 3380 3381 return prev_value_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3382 } 3383 inline void MVCCCommitIntentOp::set_allocated_prev_value(::std::string* prev_value) { 3384 if (prev_value != NULL) { 3385 3386 } else { 3387 3388 } 3389 prev_value_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), prev_value); 3390 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCCommitIntentOp.prev_value) 3391 } 3392 3393 // ------------------------------------------------------------------- 3394 3395 // MVCCAbortIntentOp 3396 3397 inline void MVCCAbortIntentOp::clear_txn_id() { 3398 txn_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3399 } 3400 inline const ::std::string& MVCCAbortIntentOp::txn_id() const { 3401 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCAbortIntentOp.txn_id) 3402 return txn_id_.GetNoArena(); 3403 } 3404 inline void MVCCAbortIntentOp::set_txn_id(const ::std::string& value) { 3405 3406 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 3407 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCAbortIntentOp.txn_id) 3408 } 3409 #if LANG_CXX11 3410 inline void MVCCAbortIntentOp::set_txn_id(::std::string&& value) { 3411 3412 txn_id_.SetNoArena( 3413 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 3414 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCAbortIntentOp.txn_id) 3415 } 3416 #endif 3417 inline void MVCCAbortIntentOp::set_txn_id(const char* value) { 3418 GOOGLE_DCHECK(value != NULL); 3419 3420 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 3421 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCAbortIntentOp.txn_id) 3422 } 3423 inline void MVCCAbortIntentOp::set_txn_id(const void* value, size_t size) { 3424 3425 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 3426 ::std::string(reinterpret_cast<const char*>(value), size)); 3427 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCAbortIntentOp.txn_id) 3428 } 3429 inline ::std::string* MVCCAbortIntentOp::mutable_txn_id() { 3430 3431 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCAbortIntentOp.txn_id) 3432 return txn_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3433 } 3434 inline ::std::string* MVCCAbortIntentOp::release_txn_id() { 3435 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCAbortIntentOp.txn_id) 3436 3437 return txn_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3438 } 3439 inline void MVCCAbortIntentOp::set_allocated_txn_id(::std::string* txn_id) { 3440 if (txn_id != NULL) { 3441 3442 } else { 3443 3444 } 3445 txn_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), txn_id); 3446 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCAbortIntentOp.txn_id) 3447 } 3448 3449 // ------------------------------------------------------------------- 3450 3451 // MVCCAbortTxnOp 3452 3453 inline void MVCCAbortTxnOp::clear_txn_id() { 3454 txn_id_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3455 } 3456 inline const ::std::string& MVCCAbortTxnOp::txn_id() const { 3457 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCAbortTxnOp.txn_id) 3458 return txn_id_.GetNoArena(); 3459 } 3460 inline void MVCCAbortTxnOp::set_txn_id(const ::std::string& value) { 3461 3462 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); 3463 // @@protoc_insertion_point(field_set:cockroach.storage.enginepb.MVCCAbortTxnOp.txn_id) 3464 } 3465 #if LANG_CXX11 3466 inline void MVCCAbortTxnOp::set_txn_id(::std::string&& value) { 3467 3468 txn_id_.SetNoArena( 3469 &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); 3470 // @@protoc_insertion_point(field_set_rvalue:cockroach.storage.enginepb.MVCCAbortTxnOp.txn_id) 3471 } 3472 #endif 3473 inline void MVCCAbortTxnOp::set_txn_id(const char* value) { 3474 GOOGLE_DCHECK(value != NULL); 3475 3476 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); 3477 // @@protoc_insertion_point(field_set_char:cockroach.storage.enginepb.MVCCAbortTxnOp.txn_id) 3478 } 3479 inline void MVCCAbortTxnOp::set_txn_id(const void* value, size_t size) { 3480 3481 txn_id_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), 3482 ::std::string(reinterpret_cast<const char*>(value), size)); 3483 // @@protoc_insertion_point(field_set_pointer:cockroach.storage.enginepb.MVCCAbortTxnOp.txn_id) 3484 } 3485 inline ::std::string* MVCCAbortTxnOp::mutable_txn_id() { 3486 3487 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCAbortTxnOp.txn_id) 3488 return txn_id_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3489 } 3490 inline ::std::string* MVCCAbortTxnOp::release_txn_id() { 3491 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCAbortTxnOp.txn_id) 3492 3493 return txn_id_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); 3494 } 3495 inline void MVCCAbortTxnOp::set_allocated_txn_id(::std::string* txn_id) { 3496 if (txn_id != NULL) { 3497 3498 } else { 3499 3500 } 3501 txn_id_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), txn_id); 3502 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCAbortTxnOp.txn_id) 3503 } 3504 3505 // ------------------------------------------------------------------- 3506 3507 // MVCCLogicalOp 3508 3509 // .cockroach.storage.enginepb.MVCCWriteValueOp write_value = 1; 3510 inline bool MVCCLogicalOp::has_write_value() const { 3511 return this != internal_default_instance() && write_value_ != NULL; 3512 } 3513 inline void MVCCLogicalOp::clear_write_value() { 3514 if (GetArenaNoVirtual() == NULL && write_value_ != NULL) { 3515 delete write_value_; 3516 } 3517 write_value_ = NULL; 3518 } 3519 inline const ::cockroach::storage::enginepb::MVCCWriteValueOp& MVCCLogicalOp::_internal_write_value() const { 3520 return *write_value_; 3521 } 3522 inline const ::cockroach::storage::enginepb::MVCCWriteValueOp& MVCCLogicalOp::write_value() const { 3523 const ::cockroach::storage::enginepb::MVCCWriteValueOp* p = write_value_; 3524 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCLogicalOp.write_value) 3525 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::storage::enginepb::MVCCWriteValueOp*>( 3526 &::cockroach::storage::enginepb::_MVCCWriteValueOp_default_instance_); 3527 } 3528 inline ::cockroach::storage::enginepb::MVCCWriteValueOp* MVCCLogicalOp::release_write_value() { 3529 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCLogicalOp.write_value) 3530 3531 ::cockroach::storage::enginepb::MVCCWriteValueOp* temp = write_value_; 3532 write_value_ = NULL; 3533 return temp; 3534 } 3535 inline ::cockroach::storage::enginepb::MVCCWriteValueOp* MVCCLogicalOp::mutable_write_value() { 3536 3537 if (write_value_ == NULL) { 3538 auto* p = CreateMaybeMessage<::cockroach::storage::enginepb::MVCCWriteValueOp>(GetArenaNoVirtual()); 3539 write_value_ = p; 3540 } 3541 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCLogicalOp.write_value) 3542 return write_value_; 3543 } 3544 inline void MVCCLogicalOp::set_allocated_write_value(::cockroach::storage::enginepb::MVCCWriteValueOp* write_value) { 3545 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 3546 if (message_arena == NULL) { 3547 delete write_value_; 3548 } 3549 if (write_value) { 3550 ::google::protobuf::Arena* submessage_arena = NULL; 3551 if (message_arena != submessage_arena) { 3552 write_value = ::google::protobuf::internal::GetOwnedMessage( 3553 message_arena, write_value, submessage_arena); 3554 } 3555 3556 } else { 3557 3558 } 3559 write_value_ = write_value; 3560 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCLogicalOp.write_value) 3561 } 3562 3563 // .cockroach.storage.enginepb.MVCCWriteIntentOp write_intent = 2; 3564 inline bool MVCCLogicalOp::has_write_intent() const { 3565 return this != internal_default_instance() && write_intent_ != NULL; 3566 } 3567 inline void MVCCLogicalOp::clear_write_intent() { 3568 if (GetArenaNoVirtual() == NULL && write_intent_ != NULL) { 3569 delete write_intent_; 3570 } 3571 write_intent_ = NULL; 3572 } 3573 inline const ::cockroach::storage::enginepb::MVCCWriteIntentOp& MVCCLogicalOp::_internal_write_intent() const { 3574 return *write_intent_; 3575 } 3576 inline const ::cockroach::storage::enginepb::MVCCWriteIntentOp& MVCCLogicalOp::write_intent() const { 3577 const ::cockroach::storage::enginepb::MVCCWriteIntentOp* p = write_intent_; 3578 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCLogicalOp.write_intent) 3579 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::storage::enginepb::MVCCWriteIntentOp*>( 3580 &::cockroach::storage::enginepb::_MVCCWriteIntentOp_default_instance_); 3581 } 3582 inline ::cockroach::storage::enginepb::MVCCWriteIntentOp* MVCCLogicalOp::release_write_intent() { 3583 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCLogicalOp.write_intent) 3584 3585 ::cockroach::storage::enginepb::MVCCWriteIntentOp* temp = write_intent_; 3586 write_intent_ = NULL; 3587 return temp; 3588 } 3589 inline ::cockroach::storage::enginepb::MVCCWriteIntentOp* MVCCLogicalOp::mutable_write_intent() { 3590 3591 if (write_intent_ == NULL) { 3592 auto* p = CreateMaybeMessage<::cockroach::storage::enginepb::MVCCWriteIntentOp>(GetArenaNoVirtual()); 3593 write_intent_ = p; 3594 } 3595 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCLogicalOp.write_intent) 3596 return write_intent_; 3597 } 3598 inline void MVCCLogicalOp::set_allocated_write_intent(::cockroach::storage::enginepb::MVCCWriteIntentOp* write_intent) { 3599 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 3600 if (message_arena == NULL) { 3601 delete write_intent_; 3602 } 3603 if (write_intent) { 3604 ::google::protobuf::Arena* submessage_arena = NULL; 3605 if (message_arena != submessage_arena) { 3606 write_intent = ::google::protobuf::internal::GetOwnedMessage( 3607 message_arena, write_intent, submessage_arena); 3608 } 3609 3610 } else { 3611 3612 } 3613 write_intent_ = write_intent; 3614 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCLogicalOp.write_intent) 3615 } 3616 3617 // .cockroach.storage.enginepb.MVCCUpdateIntentOp update_intent = 3; 3618 inline bool MVCCLogicalOp::has_update_intent() const { 3619 return this != internal_default_instance() && update_intent_ != NULL; 3620 } 3621 inline void MVCCLogicalOp::clear_update_intent() { 3622 if (GetArenaNoVirtual() == NULL && update_intent_ != NULL) { 3623 delete update_intent_; 3624 } 3625 update_intent_ = NULL; 3626 } 3627 inline const ::cockroach::storage::enginepb::MVCCUpdateIntentOp& MVCCLogicalOp::_internal_update_intent() const { 3628 return *update_intent_; 3629 } 3630 inline const ::cockroach::storage::enginepb::MVCCUpdateIntentOp& MVCCLogicalOp::update_intent() const { 3631 const ::cockroach::storage::enginepb::MVCCUpdateIntentOp* p = update_intent_; 3632 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCLogicalOp.update_intent) 3633 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::storage::enginepb::MVCCUpdateIntentOp*>( 3634 &::cockroach::storage::enginepb::_MVCCUpdateIntentOp_default_instance_); 3635 } 3636 inline ::cockroach::storage::enginepb::MVCCUpdateIntentOp* MVCCLogicalOp::release_update_intent() { 3637 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCLogicalOp.update_intent) 3638 3639 ::cockroach::storage::enginepb::MVCCUpdateIntentOp* temp = update_intent_; 3640 update_intent_ = NULL; 3641 return temp; 3642 } 3643 inline ::cockroach::storage::enginepb::MVCCUpdateIntentOp* MVCCLogicalOp::mutable_update_intent() { 3644 3645 if (update_intent_ == NULL) { 3646 auto* p = CreateMaybeMessage<::cockroach::storage::enginepb::MVCCUpdateIntentOp>(GetArenaNoVirtual()); 3647 update_intent_ = p; 3648 } 3649 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCLogicalOp.update_intent) 3650 return update_intent_; 3651 } 3652 inline void MVCCLogicalOp::set_allocated_update_intent(::cockroach::storage::enginepb::MVCCUpdateIntentOp* update_intent) { 3653 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 3654 if (message_arena == NULL) { 3655 delete update_intent_; 3656 } 3657 if (update_intent) { 3658 ::google::protobuf::Arena* submessage_arena = NULL; 3659 if (message_arena != submessage_arena) { 3660 update_intent = ::google::protobuf::internal::GetOwnedMessage( 3661 message_arena, update_intent, submessage_arena); 3662 } 3663 3664 } else { 3665 3666 } 3667 update_intent_ = update_intent; 3668 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCLogicalOp.update_intent) 3669 } 3670 3671 // .cockroach.storage.enginepb.MVCCCommitIntentOp commit_intent = 4; 3672 inline bool MVCCLogicalOp::has_commit_intent() const { 3673 return this != internal_default_instance() && commit_intent_ != NULL; 3674 } 3675 inline void MVCCLogicalOp::clear_commit_intent() { 3676 if (GetArenaNoVirtual() == NULL && commit_intent_ != NULL) { 3677 delete commit_intent_; 3678 } 3679 commit_intent_ = NULL; 3680 } 3681 inline const ::cockroach::storage::enginepb::MVCCCommitIntentOp& MVCCLogicalOp::_internal_commit_intent() const { 3682 return *commit_intent_; 3683 } 3684 inline const ::cockroach::storage::enginepb::MVCCCommitIntentOp& MVCCLogicalOp::commit_intent() const { 3685 const ::cockroach::storage::enginepb::MVCCCommitIntentOp* p = commit_intent_; 3686 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCLogicalOp.commit_intent) 3687 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::storage::enginepb::MVCCCommitIntentOp*>( 3688 &::cockroach::storage::enginepb::_MVCCCommitIntentOp_default_instance_); 3689 } 3690 inline ::cockroach::storage::enginepb::MVCCCommitIntentOp* MVCCLogicalOp::release_commit_intent() { 3691 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCLogicalOp.commit_intent) 3692 3693 ::cockroach::storage::enginepb::MVCCCommitIntentOp* temp = commit_intent_; 3694 commit_intent_ = NULL; 3695 return temp; 3696 } 3697 inline ::cockroach::storage::enginepb::MVCCCommitIntentOp* MVCCLogicalOp::mutable_commit_intent() { 3698 3699 if (commit_intent_ == NULL) { 3700 auto* p = CreateMaybeMessage<::cockroach::storage::enginepb::MVCCCommitIntentOp>(GetArenaNoVirtual()); 3701 commit_intent_ = p; 3702 } 3703 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCLogicalOp.commit_intent) 3704 return commit_intent_; 3705 } 3706 inline void MVCCLogicalOp::set_allocated_commit_intent(::cockroach::storage::enginepb::MVCCCommitIntentOp* commit_intent) { 3707 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 3708 if (message_arena == NULL) { 3709 delete commit_intent_; 3710 } 3711 if (commit_intent) { 3712 ::google::protobuf::Arena* submessage_arena = NULL; 3713 if (message_arena != submessage_arena) { 3714 commit_intent = ::google::protobuf::internal::GetOwnedMessage( 3715 message_arena, commit_intent, submessage_arena); 3716 } 3717 3718 } else { 3719 3720 } 3721 commit_intent_ = commit_intent; 3722 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCLogicalOp.commit_intent) 3723 } 3724 3725 // .cockroach.storage.enginepb.MVCCAbortIntentOp abort_intent = 5; 3726 inline bool MVCCLogicalOp::has_abort_intent() const { 3727 return this != internal_default_instance() && abort_intent_ != NULL; 3728 } 3729 inline void MVCCLogicalOp::clear_abort_intent() { 3730 if (GetArenaNoVirtual() == NULL && abort_intent_ != NULL) { 3731 delete abort_intent_; 3732 } 3733 abort_intent_ = NULL; 3734 } 3735 inline const ::cockroach::storage::enginepb::MVCCAbortIntentOp& MVCCLogicalOp::_internal_abort_intent() const { 3736 return *abort_intent_; 3737 } 3738 inline const ::cockroach::storage::enginepb::MVCCAbortIntentOp& MVCCLogicalOp::abort_intent() const { 3739 const ::cockroach::storage::enginepb::MVCCAbortIntentOp* p = abort_intent_; 3740 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCLogicalOp.abort_intent) 3741 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::storage::enginepb::MVCCAbortIntentOp*>( 3742 &::cockroach::storage::enginepb::_MVCCAbortIntentOp_default_instance_); 3743 } 3744 inline ::cockroach::storage::enginepb::MVCCAbortIntentOp* MVCCLogicalOp::release_abort_intent() { 3745 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCLogicalOp.abort_intent) 3746 3747 ::cockroach::storage::enginepb::MVCCAbortIntentOp* temp = abort_intent_; 3748 abort_intent_ = NULL; 3749 return temp; 3750 } 3751 inline ::cockroach::storage::enginepb::MVCCAbortIntentOp* MVCCLogicalOp::mutable_abort_intent() { 3752 3753 if (abort_intent_ == NULL) { 3754 auto* p = CreateMaybeMessage<::cockroach::storage::enginepb::MVCCAbortIntentOp>(GetArenaNoVirtual()); 3755 abort_intent_ = p; 3756 } 3757 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCLogicalOp.abort_intent) 3758 return abort_intent_; 3759 } 3760 inline void MVCCLogicalOp::set_allocated_abort_intent(::cockroach::storage::enginepb::MVCCAbortIntentOp* abort_intent) { 3761 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 3762 if (message_arena == NULL) { 3763 delete abort_intent_; 3764 } 3765 if (abort_intent) { 3766 ::google::protobuf::Arena* submessage_arena = NULL; 3767 if (message_arena != submessage_arena) { 3768 abort_intent = ::google::protobuf::internal::GetOwnedMessage( 3769 message_arena, abort_intent, submessage_arena); 3770 } 3771 3772 } else { 3773 3774 } 3775 abort_intent_ = abort_intent; 3776 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCLogicalOp.abort_intent) 3777 } 3778 3779 // .cockroach.storage.enginepb.MVCCAbortTxnOp abort_txn = 6; 3780 inline bool MVCCLogicalOp::has_abort_txn() const { 3781 return this != internal_default_instance() && abort_txn_ != NULL; 3782 } 3783 inline void MVCCLogicalOp::clear_abort_txn() { 3784 if (GetArenaNoVirtual() == NULL && abort_txn_ != NULL) { 3785 delete abort_txn_; 3786 } 3787 abort_txn_ = NULL; 3788 } 3789 inline const ::cockroach::storage::enginepb::MVCCAbortTxnOp& MVCCLogicalOp::_internal_abort_txn() const { 3790 return *abort_txn_; 3791 } 3792 inline const ::cockroach::storage::enginepb::MVCCAbortTxnOp& MVCCLogicalOp::abort_txn() const { 3793 const ::cockroach::storage::enginepb::MVCCAbortTxnOp* p = abort_txn_; 3794 // @@protoc_insertion_point(field_get:cockroach.storage.enginepb.MVCCLogicalOp.abort_txn) 3795 return p != NULL ? *p : *reinterpret_cast<const ::cockroach::storage::enginepb::MVCCAbortTxnOp*>( 3796 &::cockroach::storage::enginepb::_MVCCAbortTxnOp_default_instance_); 3797 } 3798 inline ::cockroach::storage::enginepb::MVCCAbortTxnOp* MVCCLogicalOp::release_abort_txn() { 3799 // @@protoc_insertion_point(field_release:cockroach.storage.enginepb.MVCCLogicalOp.abort_txn) 3800 3801 ::cockroach::storage::enginepb::MVCCAbortTxnOp* temp = abort_txn_; 3802 abort_txn_ = NULL; 3803 return temp; 3804 } 3805 inline ::cockroach::storage::enginepb::MVCCAbortTxnOp* MVCCLogicalOp::mutable_abort_txn() { 3806 3807 if (abort_txn_ == NULL) { 3808 auto* p = CreateMaybeMessage<::cockroach::storage::enginepb::MVCCAbortTxnOp>(GetArenaNoVirtual()); 3809 abort_txn_ = p; 3810 } 3811 // @@protoc_insertion_point(field_mutable:cockroach.storage.enginepb.MVCCLogicalOp.abort_txn) 3812 return abort_txn_; 3813 } 3814 inline void MVCCLogicalOp::set_allocated_abort_txn(::cockroach::storage::enginepb::MVCCAbortTxnOp* abort_txn) { 3815 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual(); 3816 if (message_arena == NULL) { 3817 delete abort_txn_; 3818 } 3819 if (abort_txn) { 3820 ::google::protobuf::Arena* submessage_arena = NULL; 3821 if (message_arena != submessage_arena) { 3822 abort_txn = ::google::protobuf::internal::GetOwnedMessage( 3823 message_arena, abort_txn, submessage_arena); 3824 } 3825 3826 } else { 3827 3828 } 3829 abort_txn_ = abort_txn; 3830 // @@protoc_insertion_point(field_set_allocated:cockroach.storage.enginepb.MVCCLogicalOp.abort_txn) 3831 } 3832 3833 #ifdef __GNUC__ 3834 #pragma GCC diagnostic pop 3835 #endif // __GNUC__ 3836 // ------------------------------------------------------------------- 3837 3838 // ------------------------------------------------------------------- 3839 3840 // ------------------------------------------------------------------- 3841 3842 // ------------------------------------------------------------------- 3843 3844 // ------------------------------------------------------------------- 3845 3846 // ------------------------------------------------------------------- 3847 3848 // ------------------------------------------------------------------- 3849 3850 // ------------------------------------------------------------------- 3851 3852 // ------------------------------------------------------------------- 3853 3854 // ------------------------------------------------------------------- 3855 3856 // ------------------------------------------------------------------- 3857 3858 3859 // @@protoc_insertion_point(namespace_scope) 3860 3861 } // namespace enginepb 3862 } // namespace storage 3863 } // namespace cockroach 3864 3865 // @@protoc_insertion_point(global_scope) 3866 3867 #endif // PROTOBUF_INCLUDED_storage_2fenginepb_2fmvcc3_2eproto