public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { Key = input.ReadBytes(); break; } case 18: { if (value_ == null) { value_ = new global::Openchain.Messages.RecordValue(); } input.ReadMessage(value_); break; } case 26: { Version = input.ReadBytes(); break; } } } }
public void MergeFrom(Record other) { if (other == null) { return; } if (other.Key.Length != 0) { Key = other.Key; } if (other.value_ != null) { if (value_ == null) { value_ = new global::Openchain.Messages.RecordValue(); } Value.MergeFrom(other.Value); } if (other.Version.Length != 0) { Version = other.Version; } }