github.com/cockroachdb/cockroach@v20.2.0-alpha.1+incompatible/c-deps/libroach/protos/storage/enginepb/mvcc3.pb.cc (about)

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