public void MergeFrom(Event other) { if (other == null) { return; } if (other.Type != 0) { Type = other.Type; } if (other.kv_ != null) { if (kv_ == null) { kv_ = new global::Mvccpb.KeyValue(); } Kv.MergeFrom(other.Kv); } if (other.prevKv_ != null) { if (prevKv_ == null) { prevKv_ = new global::Mvccpb.KeyValue(); } PrevKv.MergeFrom(other.PrevKv); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(Event other) { if (other == null) { return; } if (other.Type != 0) { Type = other.Type; } if (other.kv_ != null) { if (kv_ == null) { kv_ = new global::Mvccpb.KeyValue(); } Kv.MergeFrom(other.Kv); } if (other.prevKv_ != null) { if (prevKv_ == null) { prevKv_ = new global::Mvccpb.KeyValue(); } PrevKv.MergeFrom(other.PrevKv); } }