public void MergeFrom(Document other) { if (other == null) { return; } if (other.Id != 0) { Id = other.Id; } if (other.org_ != null) { if (org_ == null) { org_ = new global::Grpc.Store.StoreService.Base.Company(); } Org.MergeFrom(other.Org); } if (other.Period != 0) { Period = other.Period; } data_.Add(other.data_); }